-
Notifications
You must be signed in to change notification settings - Fork 196
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
Intermittent failure of FileTests #3584
Comments
The same kind of issue happens in
After investigations, the race condition could be made more probable with manual changes below:
At the end of the day, it could happen that |
…to mockEndpoint.reset() apache#3584
…to mockEndpoint.reset() apache#3584
…to mockEndpoint.reset() #3584
It seems to still be there after 2.8.0-M1. At least, we have seen it once in a Windows build:
Let records few occurences to see how frequent it is and whether it still happen on Linux or not. |
FileTest.idempotent
FileTest
s
FileTest
sFileTests
FileTests
We had another occurence of this in https://github.com/apache/camel-quarkus/runs/5790386191?check_suite_focus=true :
This time, it was not Linux platform with JDK version 17. Chances are that this is an infrequent flaky test on all platforms, jdk versions. |
Caught another occurence in integration-tests-alternative-jdk, this time in
|
At this stage, we've experienced this flakiness once on alternative-platform, few times on alternative-jdks and never on regular itests. And as of now, the failing test is either idempotent or filter. |
This PR introduces extra logs to attempt catching more information. The flaky tests caught, idempotent and filter, are both using getFromMock. However, only idempotent is using resetMock, so we may be facing a new issue. On next occurence, it would be of special interest to check what files are really consumed by the filter and idempotent routes. |
The filter and idempotent tests have been rewritten from scratch in a new test harness: Let's give some time to check whether they are still flaky. If not, maybe we could rewrite all tests. |
On July 20th, the rewritten file tests are not flaky for more than a month. |
2 monthes without flakiness. Time to migrate more tests to the new test harness. |
Every tests have been migrated to the new harness and no more flakiness on ci. Let's see how it behaves on quarkus platform ci on next release. |
The new harness is also fixing issues on the quarkus-platform as shown in this pr. |
Regular offender for CI failures:
The text was updated successfully, but these errors were encountered: