Skip to content

23.3.0rc3: feature_discount_ct.py test failure: AssertionError: not(10299 == 10300) #1406

@whitslack

Description

@whitslack
./configure \
	--prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu \
	--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share \
	--sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share \
	--disable-dependency-tracking --disable-silent-rules --disable-static \
	--docdir=/usr/share/doc/elements-23.3.0_rc3 \
	--htmldir=/usr/share/doc/elements-23.3.0_rc3/html --with-sysroot=/ \
	--libdir=/usr/lib64 --disable-static --enable-wallet --with-sqlite \
	--with-bdb --disable-usdt --without-miniupnpc --without-natpmp \
	--enable-tests --disable-bench --disable-fuzz --disable-fuzz-binary \
	--without-qrencode --disable-ccache --enable-asm --disable-zmq \
	--enable-man --enable-external-signer --with-utils --enable-util-cli \
	--enable-util-tx --enable-util-wallet --disable-util-util \
	--without-seccomp --without-libs --with-daemon --without-gui \
	--without-qtdbus --with-system-libsecp256k1
2025-02-11T20:44:06.128000Z TestFramework (DEBUG): PRNG seed is: 8755724000128018475
2025-02-11T20:44:06.128000Z TestFramework (DEBUG): Setting up network thread
2025-02-11T20:44:06.129000Z TestFramework (INFO): Initializing test directory /var/tmp/portage/net-p2p/elements-23.3.0_rc3/temp/test_runner_₿_🏃_20250211_200814/feature_discount_ct_167
2025-02-11T20:44:06.140000Z TestFramework.node0 (DEBUG): bitcoind started, waiting for RPC to come up
2025-02-11T20:44:06.159000Z TestFramework.node1 (DEBUG): bitcoind started, waiting for RPC to come up
2025-02-11T20:44:06.190000Z TestFramework.node2 (DEBUG): bitcoind started, waiting for RPC to come up
2025-02-11T20:44:06.983000Z TestFramework.node0 (DEBUG): RPC successfully started
2025-02-11T20:44:06.986000Z TestFramework.node1 (DEBUG): RPC successfully started
2025-02-11T20:44:06.994000Z TestFramework.node2 (DEBUG): RPC successfully started
2025-02-11T20:44:07.825000Z TestFramework.node0 (DEBUG): TestNode.generate() dispatches `generate` call to `generatetoaddress`
2025-02-11T20:44:09.688000Z TestFramework (INFO): Create UTXOs
2025-02-11T20:44:12.152000Z TestFramework.node0 (DEBUG): TestNode.generate() dispatches `generate` call to `generatetoaddress`
2025-02-11T20:44:12.288000Z TestFramework (INFO): Send explicit tx to node 0
2025-02-11T20:44:12.562000Z TestFramework.node0 (DEBUG): TestNode.generate() dispatches `generate` call to `generatetoaddress`
2025-02-11T20:44:12.643000Z TestFramework (INFO): Send confidential tx to node 0
2025-02-11T20:44:13.432000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/var/tmp/portage/net-p2p/elements-23.3.0_rc3/work/elements-elements-23.3.0rc3/test/functional/test_framework/test_framework.py", line 132, in main
    self.run_test()
    ~~~~~~~~~~~~~^^
  File "/var/tmp/portage/net-p2p/elements-23.3.0_rc3/work/elements-elements-23.3.0rc3/test/functional/feature_discount_ct.py", line 101, in run_test
    assert_equal(decoded['weight'], 10300)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/net-p2p/elements-23.3.0_rc3/work/elements-elements-23.3.0rc3/test/functional/test_framework/util.py", line 63, in assert_equal
    raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
AssertionError: not(10299 == 10300)
2025-02-11T20:44:13.448000Z TestFramework (DEBUG): Closing down network thread
2025-02-11T20:44:13.499000Z TestFramework (INFO): Stopping nodes
2025-02-11T20:44:13.499000Z TestFramework.node0 (DEBUG): Stopping node
2025-02-11T20:44:13.501000Z TestFramework.node1 (DEBUG): Stopping node
2025-02-11T20:44:13.531000Z TestFramework.node2 (DEBUG): Stopping node
2025-02-11T20:44:13.819000Z TestFramework.node0 (DEBUG): Node stopped
2025-02-11T20:44:13.891000Z TestFramework.node1 (DEBUG): Node stopped
2025-02-11T20:44:14.045000Z TestFramework.node2 (DEBUG): Node stopped
2025-02-11T20:44:14.048000Z TestFramework (WARNING): Not cleaning up dir /var/tmp/portage/net-p2p/elements-23.3.0_rc3/temp/test_runner_₿_🏃_20250211_200814/feature_discount_ct_167
2025-02-11T20:44:14.048000Z TestFramework (ERROR): Test failed. Test logging available at /var/tmp/portage/net-p2p/elements-23.3.0_rc3/temp/test_runner_₿_🏃_20250211_200814/feature_discount_ct_167/test_framework.log
2025-02-11T20:44:14.049000Z TestFramework (ERROR): 
2025-02-11T20:44:14.049000Z TestFramework (ERROR): Hint: Call /var/tmp/portage/net-p2p/elements-23.3.0_rc3/work/elements-elements-23.3.0rc3/test/functional/combine_logs.py '/var/tmp/portage/net-p2p/elements-23.3.0_rc3/temp/test_runner_₿_🏃_20250211_200814/feature_discount_ct_167' to consolidate all logs
2025-02-11T20:44:14.051000Z TestFramework (ERROR): 
2025-02-11T20:44:14.051000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2025-02-11T20:44:14.051000Z TestFramework (ERROR): https://github.com/ElementsProject/elements/issues
2025-02-11T20:44:14.051000Z TestFramework (ERROR): 

Expected behavior

All tests pass.

Actual behavior

Assertion error in feature_discount_ct.py.

To reproduce

Unknown if this occurs every time. It happened on my first test run of 23.3.0rc3.

System information

Elements 23.3.0rc3 compiled with GCC Gentoo 15.0.0_pre20241222 p34.

Linux x86_64

Combined log: http://www.mattwhitlock.com/feature_discount_ct_20250311.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions