[ 
https://issues.apache.org/jira/browse/CASSANDRA-17606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17536358#comment-17536358
 ] 

Brandon Williams commented on CASSANDRA-17606:
----------------------------------------------

I've got a 
[branch|https://github.com/driftx/cassandra-dtest/tree/CASSANDRA-17606] that 
adds a wait for schema agreement at the end of both schema creation calls, and 
it has a run in 
[jenkins|https://ci-cassandra.apache.org/job/Cassandra-devbranch/1705/] and 100 
in 
[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/482/workflows/67c88777-35b9-4931-ac5a-93d6c321aa1a/jobs/5561]
 passed.  While we don't yet have a way to multiplex a test in Jenkins, in 
practice I was able to reproduce this before the patch and am unable after, so 
I don't think this was _just_ an environmental thing.  Regardless, waiting for 
schema agreement is the correct thing to do and perhaps what 
[this|https://github.com/apache/cassandra-dtest/blob/trunk/upgrade_tests/upgrade_through_versions_test.py#L388]
 is trying to accomplish.


> Fix 
> dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_RandomPartitioner_EndsAt_3_11_X_HEAD.test_rolling_upgrade_with_internode_ssl
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17606
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17606
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CI
>            Reporter: Ekaterina Dimitrova
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 4.x, 4.1-beta
>
>
> [https://ci-cassandra.apache.org/job/Cassandra-trunk/1126/testReport/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_RandomPartitioner_EndsAt_3_11_X_HEAD/test_rolling_upgrade_with_internode_ssl/]
> Failed twice on trunk. 
> h3.  
> {code:java}
> Error Message
> test teardown failure
> Stacktrace
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [WARN [MessagingService-Incoming-/127.0.0.2] 2022-05-03 21:37:48,446 
> IncomingTcpConnection.java:100 - UnknownColumnFamilyException reading from 
> socket; closing org.apache.cassandra.db.UnknownColumnFamilyException: Got 
> slice command for nonexistent table system_auth.roles. If the table was just 
> created, this is likely due to the schema not being fully propagated. Please 
> wait for schema agreement on table creation. at 
> org.apache.cassandra.db.SliceFromReadCommandSerializer.deserialize(SliceFromReadCommand.java:184)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.db.ReadCommandSerializer.deserialize(ReadCommand.java:158)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.db.ReadCommandSerializer.deserialize(ReadCommand.java:132)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.net.MessageIn.read(MessageIn.java:99) 
> ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:200)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessages(IncomingTcpConnection.java:177)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:91)
>  ~[apache-cassandra-2.2.19.jar:2.2.19], WARN 
> [MessagingService-Incoming-/127.0.0.2] 2022-05-03 21:37:48,446 
> IncomingTcpConnection.java:100 - UnknownColumnFamilyException reading from 
> socket; closing org.apache.cassandra.db.UnknownColumnFamilyException: Got 
> slice command for nonexistent table system_auth.roles. If the table was just 
> created, this is likely due to the schema not being fully propagated. Please 
> wait for schema agreement on table creation. at 
> org.apache.cassandra.db.SliceFromReadCommandSerializer.deserialize(SliceFromReadCommand.java:184)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.db.ReadCommandSerializer.deserialize(ReadCommand.java:158)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.db.ReadCommandSerializer.deserialize(ReadCommand.java:132)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.net.MessageIn.read(MessageIn.java:99) 
> ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:200)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessages(IncomingTcpConnection.java:177)
>  ~[apache-cassandra-2.2.19.jar:2.2.19] at 
> org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:91)
>  ~[apache-cassandra-2.2.19.jar:2.2.19]]
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to