Robbie Gemmell created ARTEMIS-2874:
---------------------------------------
Summary: PagingStoreImplTest.testConcurrentDepage fails a lot
Key: ARTEMIS-2874
URL: https://issues.apache.org/jira/browse/ARTEMIS-2874
Project: ActiveMQ Artemis
Issue Type: Bug
Components: Broker
Affects Versions: 2.14.0
Reporter: Robbie Gemmell
PagingStoreImplTest.testConcurrentDepage fails a lot in CI. It failed in a
recent PR I raised, and in looking I'd say I've now seen it fail on every JDK
version across both the Travis and GitHub Actions jobs.
[https://github.com/apache/activemq-artemis/runs/950415342?check_suite_focus=true]
{noformat}
[main] 17:44:34,061 WARN [org.apache.activemq.artemis.core.server] AMQ222033:
Page file 00010.page had incomplete records at position 10,100 at record number
101
[main] 17:44:34,061 WARN [org.apache.activemq.artemis.core.server] AMQ222030:
File 00010.page being renamed to 00010.page.invalidPage as it was loaded
partially. Please verify your data.
[main] 17:44:34,077 WARN [org.apache.activemq.artemis.core.server] AMQ222033:
Page file 00010.page had incomplete records at position 101,000 at record
number 1,001
[main] 17:44:34,078 WARN [org.apache.activemq.artemis.core.server] AMQ222030:
File 00010.page being renamed to 00010.page.invalidPage as it was loaded
partially. Please verify your data.
[main] 17:44:51,110 WARN [org.apache.activemq.artemis.core.server] AMQ222033:
Page file 000000001.page had incomplete records at position 2,720 at record
number 21
[main] 17:44:51,113 WARN [org.apache.activemq.artemis.core.server] AMQ222033:
Page file 000000001.page had incomplete records at position 2,720 at record
number 21
[ERROR] Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 17.101
s <<< FAILURE! - in
org.apache.activemq.artemis.tests.unit.core.paging.impl.PagingStoreImplTest
[ERROR]
testConcurrentDepage(org.apache.activemq.artemis.tests.unit.core.paging.impl.PagingStoreImplTest)
Time elapsed: 0.066 s <<< ERROR!
java.lang.IllegalStateException: Is closed
at
org.apache.activemq.artemis.tests.unit.core.paging.impl.PagingStoreImplTest.testConcurrentPaging(PagingStoreImplTest.java:554)
at
org.apache.activemq.artemis.tests.unit.core.paging.impl.PagingStoreImplTest.testConcurrentDepage(PagingStoreImplTest.java:372)
{noformat}
I'm not sure if the preceding log snippets actually go with that test failure
or something else, i.e they may be unrelated, as the failure notice isnt
timestampted and the CI builds suppress most of the maven output (such as rest
results) except errors, so you basically cant tell what goes with what. I'll
possibly look into changing that separately, at least for the GitHub Actions
build.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)