address_types.py test seems to fail intermittently on travis
It was mentioned in #11991 (comment) that this could be due to sync_mempools failing. A failure I saw looked like:
0address_types.py failed, Duration: 14 s
1stdout:
22018-01-12 23:14:39.513000 TestFramework (INFO): Initializing test directory /tmp/bitcoin_test_runner_20180112_231145/address_types_178
32018-01-12 23:14:48.747000 TestFramework (INFO): Sending from node 0 (['-addresstype=legacy']) without multisig using default
42018-01-12 23:14:51.012000 TestFramework (INFO): Sending from node 1 (['-addresstype=p2sh-segwit']) without multisig using default
52018-01-12 23:14:53.263000 TestFramework (ERROR): Assertion failed
6Traceback (most recent call last):
7 File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/test_framework/test_framework.py", line 123, in main
8 self.run_test()
9 File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/address_types.py", line 183, in run_test
10 assert_equal(unconf_balances[to_node], to_send * 10 * (2 + n))
11 File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/test_framework/util.py", line 38, in assert_equal
12 raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
13AssertionError: not(0E-8 == 1176.25722960)
142018-01-12 23:14:53.263000 TestFramework (INFO): Stopping nodes
152018-01-12 23:14:53.577000 TestFramework (WARNING): Not cleaning up dir /tmp/bitcoin_test_runner_20180112_231145/address_types_178
162018-01-12 23:14:53.577000 TestFramework (ERROR): Test failed. Test logging available at /tmp/bitcoin_test_runner_20180112_231145/address_types_178/test_framework.log
172018-01-12 23:14:53.578000 TestFramework (ERROR): Hint: Call /home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/combine_logs.py '/tmp/bitcoin_test_runner_20180112_231145/address_types_178' to consolidate all logs