java-driver icon indicating copy to clipboard operation
java-driver copied to clipboard

4.x: AddedNodeIT.should_signal_and_create_pool_when_node_gets_added fails on cassandra

Open dkropachev opened this issue 7 months ago • 0 comments

18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr> Traceback (most recent call last):
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>   File "/opt/hostedtoolcache/Python/3.11.13/x64/bin/ccm", line 8, in <module>
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>     sys.exit(main())
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>              ^^^^^^
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>   File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/ccmlib/bin/__init__.py", line 75, in main
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>     cmd.run()
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>   File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/ccmlib/cmds/node_cmds.py", line 195, in run
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>     self.node.start(not self.options.no_join_ring,
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>   File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/ccmlib/node.py", line 676, in start
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>     node.watch_log_for_alive(self, from_mark=mark)
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>   File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/ccmlib/node.py", line 535, in watch_log_for_alive
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>     tofind = [f"{node.identifier_pattern}.* now UP" for node in tofind]
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>   File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/ccmlib/node.py", line 535, in <listcomp>
18:37:53.457 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>     tofind = [f"{node.identifier_pattern}.* now UP" for node in tofind]
18:37:53.458 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>                  ^^^^^^^^^^^^^^^^^^^^^^^
18:37:53.458 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>   File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/ccmlib/node.py", line 1467, in identifier_pattern
18:37:53.459 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>     host_id = self.hostid()
18:37:53.459 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>               ^^^^^^^^^^^^^
18:37:53.459 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>   File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/ccmlib/node.py", line 1444, in hostid
18:37:53.459 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>     m = self.grep_log("No host ID found, created ([a-zA-Z0-9-]{36})")
18:37:53.459 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18:37:53.459 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>   File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/ccmlib/node.py", line 377, in grep_log
18:37:53.459 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>     with open(os.path.join(self.get_path(), 'logs', filename)) as f:
18:37:53.459 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18:37:53.459 [Exec Stream Pumper] ERROR c.d.o.d.api.testinfra.ccm.CcmBridge - ccmerr> FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ccm176752512561308759/ccm_1/node4/logs/system.log'
Error:  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.378 s <<< FAILURE! - in com.datastax.oss.driver.core.session.AddedNodeIT
Error:  com.datastax.oss.driver.core.session.AddedNodeIT.should_signal_and_create_pool_when_node_gets_added  Time elapsed: 3.584 s  <<< ERROR!
java.lang.RuntimeException: The command '[ccm, node4, start, --jvm_arg=-Dcassandra.allow_new_old_config_keys=true, --jvm_arg=-Dcassandra.allow_duplicate_config_keys=false, --wait-for-binary-proto, --wait-other-notice, --config-dir=/tmp/ccm176752512561308759]' failed to execute
	at com.datastax.oss.driver.api.testinfra.ccm.CcmBridge.execute(CcmBridge.java:594)
	at com.datastax.oss.driver.api.testinfra.ccm.CcmBridge.execute(CcmBridge.java:539)
	at com.datastax.oss.driver.api.testinfra.ccm.CcmBridge.startWithArgs(CcmBridge.java:465)
	at com.datastax.oss.driver.api.testinfra.ccm.CcmBridge.start(CcmBridge.java:489)
	at com.datastax.oss.driver.api.testinfra.ccm.CcmBridge.add(CcmBridge.java:513)
	at com.datastax.oss.driver.core.session.AddedNodeIT.should_signal_and_create_pool_when_node_gets_added(AddedNodeIT.java:56)

Cassandra it failed on: 3.11.19 and 4.1.9

dkropachev avatar Jul 04 '25 00:07 dkropachev