This would install the python zmq module and re-enable the rpc tests.
Disabling zmq tests on travis would be another solution, but IMO we should maximize the CI test coverage.
Not sure if this is a good solution (@theuni?).
Let’s discuss this before merging.
jonasschnelli force-pushed
on Sep 17, 2015
sipa
commented at 2:55 pm on September 17, 2015:
member
ACK
jgarzik
commented at 3:21 pm on September 17, 2015:
contributor
ACK - is both necessary and correct
enable zmq-test in rpc-tests.sh110a1fd727
jonasschnelli force-pushed
on Sep 17, 2015
jonasschnelli force-pushed
on Sep 17, 2015
jonasschnelli renamed this:
[travis] add zmq python module
[travis] add zmq python module and re-enable zmq rpc tests on travis
on Sep 17, 2015
jonasschnelli renamed this:
[travis] add zmq python module and re-enable zmq rpc tests on travis
[travis] add zmq python module, re-enable zmq rpc tests
on Sep 17, 2015
btcdrak
commented at 11:58 pm on September 18, 2015:
contributor
Looks like Travis timed out on a couple of jobs.
dcousens
commented at 4:23 am on September 19, 2015:
contributor
ACK
jonasschnelli
commented at 9:15 am on September 19, 2015:
contributor
Somehow even if travis successfully installs libzmq3 and python-zmq, the rpc test can’t connect over zmq with bitcoind.
Still try to figure out why…
theuni
commented at 2:27 am on September 22, 2015:
member
Does this work locally? It’s not clear to me what needs to be native and what needs to be per-arch.
jonasschnelli
commented at 7:56 am on September 22, 2015:
contributor
@theuni
The zmq_test.py (RPC test) works prefect locally. Tested on OSX/Debian and Ubuntu.
The zmq_test.py changes within this PR are for debugging purposes.
I can only encounter the problem in Travis builds.
It looks like that zmq tcp:// connection does not work in travis. Even after installing python-zmq. Also my solution (sudo rm -f /etc/apt/sources.list.d/travis_ci_zeromq3-source.list;) looks after a workaround hack.
Maybe you have a different approach to get the zmq_test.py running on travis.
laanwj added the label
Tests
on Sep 23, 2015
jonasschnelli
commented at 9:13 am on September 29, 2015:
contributor
@theuni: Any idea how we could fix this? Having CI tests for the ZMQ would be important IMO otherwise the risks are high that things break without noticing.
theuni
commented at 5:39 pm on September 29, 2015:
member
@jonasschnelli I need to spend a bit of time learning about the intricacies of zmq/python here. But I’ll try to track down the issue.
theuni
commented at 11:48 pm on September 29, 2015:
member
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-12-19 09:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me