Skip to content

Conversation

@zwass
Copy link
Member

@zwass zwass commented Oct 17, 2024

In some CI runs (eg. https://github.com/osquery/osquery/actions/runs/11383780628/job/31670155405?pr=8421#step:19:2925) the server seems to shut down before the test completes. This is intended to improve reliability by increasing the timeout.

In some CI runs (eg. https://github.com/osquery/osquery/actions/runs/11383780628/job/31688077319?pr=8421) the server seems to shut down before the test completes. This is intended to improve reliability by increasing the timeout.
@zwass zwass added flaky test A unit test that sometimes or on some systems does not return success, when it should test CI/CD Anything about the Continuous Integration or Continuous Deployment tool used by the repository labels Oct 17, 2024
@zwass zwass requested review from a team as code owners October 17, 2024 18:18
Smjert
Smjert previously approved these changes Oct 17, 2024
@zwass
Copy link
Member Author

zwass commented Oct 17, 2024

30 seconds does not appear to be long enough: https://github.com/osquery/osquery/actions/runs/11390707801/job/31692924542?pr=8445#step:19:2899

Side note, I don't understand why these tests have just become so flakey...

@Smjert
Copy link
Member

Smjert commented Oct 17, 2024

At this point I'm not sure this is a timeout issue; looking at the messages I don't see the message of the python server starting, even though it does give the message of the timeout. This is quite weird.

Looking at older logs one should be able to see:

13: W20241016 12:13:08.813382 3939988032 test_utils.cpp:131] No pid listening on port: 22712
13: -- [DEBUG] Starting TLS/HTTPS server on TCP port: 22712

Which means that the osquery test found that port 22712 is free, so it can start the python server.

But in the logs of this PR that Starting message did not appear

@directionless directionless merged commit 1852eb6 into master Oct 18, 2024
@directionless directionless deleted the zwass-patch-1 branch October 18, 2024 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD Anything about the Continuous Integration or Continuous Deployment tool used by the repository flaky test A unit test that sometimes or on some systems does not return success, when it should test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants