You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2024/07/18 21:30:00 UTC
[jira] [Updated] (CASSANDRA-17476) Test failure: org.apache.cassandra.db.ImportTest.testImportCorrupt
[ https://issues.apache.org/jira/browse/CASSANDRA-17476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Semb Wever updated CASSANDRA-17476:
-------------------------------------------
Fix Version/s: (was: 5.0.x)
> Test failure: org.apache.cassandra.db.ImportTest.testImportCorrupt
> ------------------------------------------------------------------
>
> Key: CASSANDRA-17476
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17476
> Project: Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: Andres de la Peña
> Assignee: Berenguer Blasi
> Priority: Normal
> Fix For: 5.0-alpha1, 5.0
>
>
> There are intermittent failures in {{org.apache.cassandra.db.ImportTest#testImportCorrupt}} in trunk. This has only be hit once in Jenkins, for {{testImportCorrupt-cdc}}:
> https://ci-cassandra.apache.org/job/Cassandra-trunk/1029/testReport/org.apache.cassandra.db/ImportTest/testImportCorrupt_cdc_3/
> {code}
> Error Message
> Data dir should contain one file expected:<1> but was:<2>
> Stacktrace
> junit.framework.AssertionFailedError: Data dir should contain one file expected:<1> but was:<2>
> at org.apache.cassandra.db.ImportTest.testCorruptHelper(ImportTest.java:349)
> at org.apache.cassandra.db.ImportTest.testImportCorrupt(ImportTest.java:378)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Standard Output
> INFO [main] 2022-03-21 12:53:37,982 YamlConfigurationLoader.java:103 - Configuration location: file:////home/cassandra/cassandra/build/test/cassandra.cdc.yaml
> DEBUG [main] 2022-03-21 12:53:37,987 YamlConfigurationLoader.java:124 - Loading settings from file:////home/cassandra/cassandra/build/test/cassandra.cdc.yaml
> INFO [main] 2022-03-21 12:53:38,203 Config.java:1119 - Node configuration:[allocate_tokens_for_keyspace=null; allocate_tokens_for_local_replication_factor=null; allow_extra_insecure
> ...[truncated 2109130 chars]...
> G [main] 2022-03-21 12:54:10,127 DefaultSchemaUpdateHandler.java:237 - Schema updated: SchemaTransformationResult{1a9fb97a-05c5-3af1-846c-72e67e40e056 --> 2326e45e-6c53-3f40-99c2-af12b234dfcf, diff=KeyspacesDiff{created=[], dropped=[KeyspaceMetadata{name=cql_test_keyspace_alt, kind=REGULAR, params=KeyspaceParams{durable_writes=true, replication=ReplicationParams{class=org.apache.cassandra.locator.SimpleStrategy, replication_factor=1}}, tables=[], views=[], functions=[], types=[]}], altered=[]}}
> {code}
> However, it's possible to hit the failure on both {{testImportCorrupt}} and {{testImportCorruptWithoutValidationWithCopying}} with the test multiplexer, although with a very low flakiness:
> https://app.circleci.com/pipelines/github/adelapena/cassandra/1412/workflows/f2ca69cd-f1e3-450f-b444-a6f9fe6d1fd4/jobs/14186/tests
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org