-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty
fails on Windows 2022/2019 using Buildkite
#15562
Comments
This commit adds JDK matrix Buildkite pipelines for Windows 2022, 2019 and 2016. It also makes the groups easier to read (on both Linux and Windows pipelines) by removing the os-jdk prefix from the job labels. `testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty` fails on Windows Buildkite agents and it's a test issue tracked in elastic#15562. Relates: - elastic#15539 - elastic/ingest-dev#1725 -
This is greatly due to the fact that we are testing about time and this make the test fragile. Add a TODO to refactor the scheduler inside DLQ writer so that it can abstract from time, and respond to events like "schedule period elapsed". In this way the test could easily test conditions like "after a schedule period is elapsed, and after the sealer jab executed verify that the set of segment files is what we expect". This is addressed by #15594 |
This commit adds JDK matrix Buildkite pipelines for Windows 2022, 2019 and 2016. It also makes the groups easier to read (on both Linux and Windows pipelines) by removing the os-jdk prefix from the job labels. `testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty` fails on Windows Buildkite agents and it's a test issue tracked in #15562. Relates: - #15539 - elastic/ingest-dev#1725
This commit adds JDK matrix Buildkite pipelines for Windows 2022, 2019 and 2016. It also makes the groups easier to read (on both Linux and Windows pipelines) by removing the os-jdk prefix from the job labels. `testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty` fails on Windows Buildkite agents and it's a test issue tracked in #15562. Relates: - #15539 - elastic/ingest-dev#1725 (cherry picked from commit 0ede19a)
This commit adds JDK matrix Buildkite pipelines for Windows 2022, 2019 and 2016. It also makes the groups easier to read (on both Linux and Windows pipelines) by removing the os-jdk prefix from the job labels. `testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty` fails on Windows Buildkite agents and it's a test issue tracked in #15562. Relates: - #15539 - elastic/ingest-dev#1725 (cherry picked from commit 0ede19a)
This commit adds JDK matrix Buildkite pipelines for Windows 2022, 2019 and 2016. It also makes the groups easier to read (on both Linux and Windows pipelines) by removing the os-jdk prefix from the job labels. `testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty` fails on Windows Buildkite agents and it's a test issue tracked in #15562. Relates: - #15539 - elastic/ingest-dev#1725 (cherry picked from commit 0ede19a)
This commit adds JDK matrix Buildkite pipelines for Windows 2022, 2019 and 2016. It also makes the groups easier to read (on both Linux and Windows pipelines) by removing the os-jdk prefix from the job labels. `testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty` fails on Windows Buildkite agents and it's a test issue tracked in #15562. Relates: - #15539 - elastic/ingest-dev#1725 (cherry picked from commit 0ede19a) Co-authored-by: Dimitrios Liappis <[email protected]>
This commit adds JDK matrix Buildkite pipelines for Windows 2022, 2019 and 2016. It also makes the groups easier to read (on both Linux and Windows pipelines) by removing the os-jdk prefix from the job labels. `testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty` fails on Windows Buildkite agents and it's a test issue tracked in #15562. Relates: - #15539 - elastic/ingest-dev#1725 (cherry picked from commit 0ede19a) Co-authored-by: Dimitrios Liappis <[email protected]>
This commit adds JDK matrix Buildkite pipelines for Windows 2022, 2019 and 2016. It also makes the groups easier to read (on both Linux and Windows pipelines) by removing the os-jdk prefix from the job labels. `testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty` fails on Windows Buildkite agents and it's a test issue tracked in #15562. Relates: - #15539 - elastic/ingest-dev#1725 (cherry picked from commit 0ede19a) Co-authored-by: Dimitrios Liappis <[email protected]>
Fixed by #15680 |
Follow up issue for BK failure not related to the way we used Awaitility in this context: #15767 |
While transitioning JDK matrix jobs from Jenkins to Buildkite we've spotted a strange failure with
testDLQWriterFlusherRemovesExpiredSegmentWhenCurrentHeadSegmentIsEmpty
. It happens on Windows 2022, 2019 and occasionally on 2019 agents. Interestingly enough it doesn't fail using the same VM image / user / CSP account / instance type when running it in an interactive UI session over RDP.Example failure:
By looking at the test, we tested the following scenarios:
flushInterval
from1s
to2s
This results in success in Buildkite.
makes the test fail, on an interactive Windows 2019 session where the default test always succeeds.
This indicates that, if there is a delay (e.g. due to an operating system context switch) between starting to write the DLQ file and the
Awaitility
test, it may delay starting the test and its timer such that the condition that the file doesn't become available <1s
fails. Therefore, there is potential for this test to fail, regardless of the OS, if cycles get stolen between the two actions.The text was updated successfully, but these errors were encountered: