Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flaky test - RollCycleMultiThreadStressTest.stress #671

Closed
RobAustin opened this issue May 14, 2020 · 5 comments
Closed

flaky test - RollCycleMultiThreadStressTest.stress #671

RobAustin opened this issue May 14, 2020 · 5 comments
Assignees

Comments

@RobAustin
Copy link
Member

see https://teamcity.chronicle.software/repository/download/OpenHFT_ReleaseJob_ReleaseByArtifact/409946:id/ReleaseAutomation/projects/chronicle-queue-runTests-1589447515464.log

image

[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 65.537 s <<< FAILURE! - in net.openhft.chronicle.queue.impl.single.RollCycleMultiThreadStressTest
[ERROR] net.openhft.chronicle.queue.impl.single.RollCycleMultiThreadStressTest.stress Time elapsed: 65.434 s <<< FAILURE!
java.lang.AssertionError: Readers did not catch up
at net.openhft.chronicle.queue.impl.single.RollCycleMultiThreadStressTest.stress(RollCycleMultiThreadStressTest.java:230)

@RobAustin
Copy link
Member Author

RobAustin commented May 14, 2020

I also see this in the log file

but this is when running - net.openhft.chronicle.queue.impl.single.PretoucherStressTest

[main/pretouch] WARN net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreAppender - 
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
	at net.openhft.chronicle.bytes.MappedBytes.compareAndSwapLong(MappedBytes.java:996)
	at net.openhft.chronicle.queue.impl.single.PretoucherState.touchPage(PretoucherState.java:101)
	at net.openhft.chronicle.queue.impl.single.PretoucherState.pretouch(PretoucherState.java:71)
	at net.openhft.chronicle.queue.impl.single.Pretoucher.execute(Pretoucher.java:58)
	at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreAppender.pretouch(SingleChronicleQueueExcerpts.java:177)
	at net.openhft.chronicle.queue.impl.single.RollCycleMultiThreadStressTest$PretoucherThread.call(RollCycleMultiThreadStressTest.java:474)
	at net.openhft.chronicle.queue.impl.single.RollCycleMultiThreadStressTest$PretoucherThread.call(RollCycleMultiThreadStressTest.java:455)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

@JerryShea
Copy link
Contributor

JerryShea commented May 15, 2020 via email

@dpisklov
Copy link
Contributor

ran it 200 times and it doesn't fail - most likely has been fixed by the changes made in #673

@RobAustin
Copy link
Member Author

@dpisklov
Copy link
Contributor

Likely fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants