Blockers:
[qa] Switch to py3 #7814
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:Mf1604-qaPy3 changing 72 files +504 −547-
MarcoFalke commented at 12:59 PM on April 5, 2016: member
- laanwj added the label Tests on Apr 5, 2016
- laanwj renamed this:
[qa] Switch to py3
[WIP] [qa] Switch to py3
on Apr 6, 2016 - MarcoFalke force-pushed on Apr 8, 2016
- MarcoFalke force-pushed on Apr 8, 2016
- MarcoFalke force-pushed on Apr 8, 2016
- MarcoFalke force-pushed on Apr 9, 2016
- MarcoFalke force-pushed on Apr 9, 2016
- MarcoFalke force-pushed on Apr 10, 2016
- MarcoFalke force-pushed on Apr 10, 2016
- MarcoFalke force-pushed on Apr 10, 2016
- MarcoFalke force-pushed on Apr 10, 2016
- MarcoFalke force-pushed on Apr 11, 2016
- MarcoFalke force-pushed on Apr 15, 2016
- MarcoFalke force-pushed on Apr 15, 2016
- MarcoFalke force-pushed on Apr 16, 2016
- MarcoFalke force-pushed on Apr 16, 2016
- MarcoFalke force-pushed on Apr 19, 2016
- MarcoFalke force-pushed on Apr 19, 2016
- MarcoFalke force-pushed on Apr 20, 2016
- MarcoFalke force-pushed on Apr 20, 2016
- MarcoFalke force-pushed on Apr 20, 2016
- MarcoFalke force-pushed on Apr 20, 2016
- MarcoFalke force-pushed on Apr 20, 2016
- MarcoFalke force-pushed on Apr 23, 2016
- MarcoFalke force-pushed on Apr 27, 2016
- MarcoFalke renamed this:
[WIP] [qa] Switch to py3
[qa] Switch to py3
on Apr 27, 2016 - MarcoFalke renamed this:
[qa] Switch to py3
[WIP] [qa] Switch to py3
on Apr 27, 2016 - MarcoFalke force-pushed on Apr 30, 2016
- MarcoFalke renamed this:
[WIP] [qa] Switch to py3
[qa] Switch to py3
on Apr 30, 2016 -
laanwj commented at 1:19 PM on May 2, 2016: member
- MarcoFalke force-pushed on May 3, 2016
-
MarcoFalke commented at 11:17 AM on May 3, 2016: member
Rebased
-
MarcoFalke commented at 8:37 AM on May 4, 2016: member
I've been testing this on fedora linux. Would be good to know if this also works on osx and win. (If you want to test this, there is no need to compile anything. Just fetch the commit and run it through the test suite.)
-
fanquake commented at 11:49 AM on May 4, 2016: member
Run through the short test suite on OSX 10.11, all tests passed. Can we add a line for the zeromq osx dependancy?
pip3 install pyzmqwas what I needed to get it working. -
laanwj commented at 11:06 AM on May 5, 2016: member
I've tested both the extended and short test suite on Ubuntu 14.04. This passes. Going to test on Debian 8.4 and Ubuntu 16.04 next.
-
fanquake commented at 11:56 AM on May 5, 2016: member
Running through the extended test suite.
Running testscript signmessages.py ... Initializing test directory /var/folders/rb/jqqd25w926s5429rf58_zsv00000gn/T/testim6xak JSONRPC error: Method not found File "/Users/michael/Github/bitcoin/qa/rpc-tests/test_framework/test_framework.py", line 135, in main self.run_test() File "/Users/michael/github/bitcoin/qa/rpc-tests/signmessages.py", line 27, in run_test signature = self.nodes[0].signmessagewithprivkey(privKey, message) File "/Users/michael/Github/bitcoin/qa/rpc-tests/test_framework/coverage.py", line 49, in __call__ return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs) File "/Users/michael/Github/bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 139, in __call__ raise JSONRPCException(response['error']) Stopping nodes Cleaning up Failed Traceback (most recent call last): File "qa/pull-tester/rpc-tests.py", line 275, in <module> runtests() File "qa/pull-tester/rpc-tests.py", line 178, in runtests rpcTestDir + testScripts[i] + flags, shell=True) File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 584, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/Users/michael/github/bitcoin/qa/rpc-tests/signmessages.py --srcdir /Users/michael/github/bitcoin/src ' returned non-zero exit status 1Looks like
signmessages.pyhas been missed, as it also still hasenv/ python2 -
laanwj commented at 12:49 PM on May 5, 2016: member
Ah yes - merging a pull that adds a new test wasn't a very good idea. Now this probably needs to be updated to include the new test, otherwise it can't be merged without breaking travis.
- MarcoFalke force-pushed on May 5, 2016
- MarcoFalke force-pushed on May 5, 2016
-
[qa] Switch to py3 fa389d4edc
- MarcoFalke force-pushed on May 5, 2016
-
MarcoFalke commented at 1:44 PM on May 5, 2016: member
JSONRPC error: Method not found
Na, you just need to compile the new signmessage code.
Rebased nonetheless.
-
MarcoFalke commented at 2:16 PM on May 5, 2016: member
Interesting that this makes the test slower, though:
py3:
$ ./qa/pull-tester/rpc-tests.py signmessages Running testscript signmessages.py ... Initializing test directory /tmp/testgxs02bu5 Stopping nodes Cleaning up Tests successful Duration: 2 spy2:
$ ./qa/pull-tester/rpc-tests.py signmessages Running testscript signmessages.py ... Initializing test directory /tmp/testXaAvpQ Stopping nodes Cleaning up Tests successful Duration: 0 swait_bitcoinds() takes 2 seconds now.
-
laanwj commented at 5:04 PM on May 5, 2016: member
Strange.
-
MarcoFalke commented at 9:05 AM on May 6, 2016: member
Indeed interesting; Other test still run fast with py3:
$ qa/pull-tester/rpc-tests.py disablewallet Running testscript disablewallet.py ... Initializing test directory /tmp/test_zgnh7e3 Stopping nodes Cleaning up Tests successful Duration: 0 sBut let's not worry about it too much, this will be compensated by #7972, hopefully.
-
laanwj commented at 9:24 AM on May 6, 2016: member
Right, well if it is two seconds on one test I don't see why it would need to be a blocker.
- laanwj merged this on May 6, 2016
- laanwj closed this on May 6, 2016
- laanwj referenced this in commit 77b637f20e on May 6, 2016
- MarcoFalke deleted the branch on May 6, 2016
- MarcoFalke referenced this in commit a6eee2fc29 on Jun 9, 2016
- MarcoFalke referenced this in commit 07a9fb3755 on Jun 9, 2016
- MarcoFalke referenced this in commit 28265655da on Jul 15, 2016
- sickpig referenced this in commit a3c0d60ed9 on Nov 14, 2016
- UdjinM6 referenced this in commit 5b26aa0ce8 on Mar 22, 2017
- codablock referenced this in commit 48fc6fa055 on Sep 16, 2017
- codablock referenced this in commit 8317040999 on Sep 19, 2017
- codablock referenced this in commit 25147c9dc7 on Dec 21, 2017
- zkbot referenced this in commit 025bd44543 on Nov 21, 2020
- zkbot referenced this in commit 7a0a268054 on Dec 2, 2020
- zkbot referenced this in commit c8896f9907 on Dec 2, 2020
- DrahtBot locked this on Sep 8, 2021