You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2021/11/22 22:24:00 UTC
[jira] (CASSANDRA-17080) Fix test: dtest-upgrade.upgrade_tests.drop_compact_storage_upgrade_test.TestDropCompactStorage.test_drop_compact_storage_mixed_cluster
[ https://issues.apache.org/jira/browse/CASSANDRA-17080 ]
Ekaterina Dimitrova deleted comment on CASSANDRA-17080:
-------------------------------------------------
was (Author: e.dimitrova):
The problem identified in the logs:
{code:java}
DEBUG [GossipTasks:1] 2021-11-21 15:22:03,864 Gossiper.java:1790 - Can't parse version string 4.1-SNAPSHOT java.lang.IllegalArgumentException: Invalid version value: 4.1-SNAPSHOT at org.apache.cassandra.utils.CassandraVersion.<init>(CassandraVersion.java:66) ~[main/:na] at org.apache.cassandra.gms.Gossiper.computeMinVersion(Gossiper.java:1782) ~[main/:na] at org.apache.cassandra.utils.RecomputingSupplier.doWork(RecomputingSupplier.java:80) ~[main/:na] at org.apache.cassandra.utils.RecomputingSupplier.lambda$recompute$0(RecomputingSupplier.java:68) ~[main/:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_292] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_292] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_292] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[na:1.8.0_292] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_292] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_292] at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:83) ~[main/:na] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_292] DEBUG [ScheduledTasks:1] 2021-11-21 15:22:07,063 MigrationCoordinator.java:288 - Not pulling schema from /127.0.0.3 because release version in Gossip is not major version 3, it is 4.1-SNAPSHOT{code}
> Fix test: dtest-upgrade.upgrade_tests.drop_compact_storage_upgrade_test.TestDropCompactStorage.test_drop_compact_storage_mixed_cluster
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-17080
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17080
> Project: Cassandra
> Issue Type: Bug
> Components: Test/dtest/python
> Reporter: Josh McKenzie
> Assignee: Ekaterina Dimitrova
> Priority: Normal
> Fix For: 4.0.x, 4.x
>
>
> !https://ci-cassandra.apache.org/static/a177fe56/images/32x32/health-80plus.png! Failed 28 times in the last 28 runs. Flakiness: 0%, Stability: 0%
>
> Example of failure: [https://ci-cassandra.apache.org/job/Cassandra-trunk/801/testReport/junit/dtest-upgrade.upgrade_tests.drop_compact_storage_upgrade_test/TestDropCompactStorage/test_drop_compact_storage_mixed_cluster/]
>
> {code:java}
> upgrade_tests/drop_compact_storage_upgrade_test.py:149:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> self = <upgrade_tests.drop_compact_storage_upgrade_test.TestDropCompactStorage object at 0x7fa0e7f1ceb0>
> session = <cassandra.cluster.Session object at 0x7fa0e7c56d30>
> assert_msg = 'Cannot DROP COMPACT STORAGE as some nodes in the cluster ([/127.0.0.2:7000, /127.0.0.1:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying.'
> def drop_compact_storage(self, session, assert_msg):
> try:
> session.execute("ALTER TABLE drop_compact_storage_test.test DROP COMPACT STORAGE")
> pytest.fail("No exception has been thrown")
> except InvalidRequest as e:
> > assert assert_msg in str(e)
> E assert 'Cannot DROP COMPACT STORAGE as some nodes in the cluster ([/127.0.0.2:7000, /127.0.0.1:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying.' in 'Error from server: code=2200 [Invalid query] message="Cannot DROP COMPACT STORAGE as some nodes in the cluster ([/127....1:7000, /127.0.0.2:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying."'
> E + where 'Error from server: code=2200 [Invalid query] message="Cannot DROP COMPACT STORAGE as some nodes in the cluster ([/127....1:7000, /127.0.0.2:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying."' = str(InvalidRequest('Error from server: code=2200 [Invalid query] message="Cannot DROP COMPACT STORAGE as some nodes in the...1:7000, /127.0.0.2:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying."'))
> upgrade_tests/drop_compact_storage_upgrade_test.py:45: AssertionError
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org