Dmitry Konstantinov created CASSANDRA-21396:
-----------------------------------------------
Summary: ci_summary.html does not have actual reaport
Key: CASSANDRA-21396
URL: https://issues.apache.org/jira/browse/CASSANDRA-21396
Project: Apache Cassandra
Issue Type: Bug
Components: Build, CI
Reporter: Dmitry Konstantinov
Attachments: ci_summary.html
https://pre-ci.cassandra.apache.org/job/cassandra/563/pipeline-overview/?selected-node=9352
corrupted [^ci_summary.html]
{code}
17:31:38 fatal: not a git repository (or any parent up to mount point /)
17:31:38 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not
set).
17:31:38 Traceback (most recent call last):
17:31:38 File "/home/build/cassandra/.build/ci/ci_parser.py", line 309, in
<module>
17:31:38 main()
17:31:38 File "/home/build/cassandra/.build/ci/ci_parser.py", line 74, in
main
17:31:38 test_suites = process_xml_files(xml_files)
17:31:38 File "/home/build/cassandra/.build/ci/ci_parser.py", line 96, in
process_xml_files
17:31:38 files, tests = process_xml_file(file, test_suites)
17:31:38 File "/home/build/cassandra/.build/ci/ci_parser.py", line 159, in
process_xml_file
17:31:38 raise e
17:31:38 File "/home/build/cassandra/.build/ci/ci_parser.py", line 150, in
process_xml_file
17:31:38 fc = process_test_cases(active_suite, xml_file, root)
17:31:38 File "/home/build/cassandra/.build/ci/ci_parser.py", line 195, in
process_test_cases
17:31:38 processed = JUnitTestCase(testcase)
17:31:38 File "/home/build/cassandra/.build/ci/junit_helpers.py", line 220,
in __init__
17:31:38 _check_for_child_element(JUnitTestStatus.ERROR)
17:31:38 File "/home/build/cassandra/.build/ci/junit_helpers.py", line 206,
in _check_for_child_element
17:31:38 raise AssertionError(f'Got a test with > 1 "bad" state (error,
failed, skipped). classname: {self._class_name}. test: {self._test_name}.')
17:31:38 AssertionError: Got a test with > 1 "bad" state (error, failed,
skipped). classname: distributed.test.accord.AccordMigrationTest. test:
testPaxosToAccordCAS-_jdk17_x86_64.
17:31:38 + echo 'failed generate-ci-summary.sh'
17:31:38 failed generate-ci-summary.sh
{code}
The parser is confused by this XML result which has both sections for a single
test: failure and error at he the same time:
{code:xml}
<testcase
classname="org.apache.cassandra.distributed.test.accord.AccordMigrationTest"
name="testPaxosToAccordCAS-_jdk17_x86_64" time="2.781">
<failure message="Failed nodetool [repair, -full, --force]"
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
Failed nodetool [repair, -full, --force]
at
org.apache.cassandra.distributed.test.TestBaseImpl.nodetool(TestBaseImpl.java:375)
at
org.apache.cassandra.distributed.test.TestBaseImpl.nodetool(TestBaseImpl.java:382)
at
org.apache.cassandra.distributed.test.accord.AccordMigrationTest.lambda$testPaxosToAccordCAS$17(AccordMigrationTest.java:441)
at
org.apache.cassandra.utils.FailingConsumer.accept(FailingConsumer.java:30)
at
org.apache.cassandra.distributed.test.accord.AccordTestBase.test(AccordTestBase.java:234)
at
org.apache.cassandra.distributed.test.accord.AccordTestBase.test(AccordTestBase.java:202)
at
org.apache.cassandra.distributed.test.accord.AccordMigrationTest.testPaxosToAccordCAS(AccordMigrationTest.java:379)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: java.lang.RuntimeException: Repair job has failed with the error
message: Repair command #10 failed with error Repair session
d612b8c0-5528-11f1-a97a-555e5dd3463f for range
[(-3074457345618258603,3074457345618258601],
(9223372036854775805,-3074457345618258603],
(3074457345618258601,9223372036854775805]] failed with error null:
[tid:9:[(-Inf,+Inf]]]. Check the logs on the repair participants for further
details
at
org.apache.cassandra.tools.RepairRunner.progress(RepairRunner.java:199)
at
org.apache.cassandra.utils.progress.jmx.JMXNotificationProgressListener.handleNotification(JMXNotificationProgressListener.java:78)
at
java.management/javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:275)
at
java.management/javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:352)
at
org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:138)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:840)
</failure>
<error message="Error during truncate: Cannot achieve consistency level
ALL. Required 3 but only 2 alive."
type="org.apache.cassandra.exceptions.TruncateException">org.apache.cassandra.exceptions.TruncateException:
Error during truncate: Cannot achieve consistency level ALL. Required 3 but
only 2 alive.
at
org.apache.cassandra.cql3.statements.TruncateStatement.execute(TruncateStatement.java:91)
at
org.apache.cassandra.distributed.impl.CoordinatorHelper.unsafeExecuteInternal(CoordinatorHelper.java:70)
at
org.apache.cassandra.distributed.impl.CoordinatorHelper.unsafeExecuteInternal(CoordinatorHelper.java:48)
at
org.apache.cassandra.distributed.impl.Coordinator.unsafeExecuteInternal(Coordinator.java:127)
at
org.apache.cassandra.distributed.impl.Coordinator.lambda$executeWithResult$0(Coordinator.java:64)
at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.apache.cassandra.exceptions.UnavailableException: Cannot achieve
consistency level ALL. Required 3 but only 2 alive.
at
org.apache.cassandra.exceptions.UnavailableException.create(UnavailableException.java:37)
at
org.apache.cassandra.exceptions.UnavailableException.create(UnavailableException.java:31)
at
org.apache.cassandra.service.StorageProxy.truncateBlocking(StorageProxy.java:3062)
at
org.apache.cassandra.cql3.statements.TruncateStatement.execute(TruncateStatement.java:86)
</error>
</testcase>
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]