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

testrunner reliability improvements #14960

Closed
wants to merge 1 commit into from

Conversation

icing
Copy link
Contributor

@icing icing commented Sep 18, 2024

  • perform torture tests with '-j2' for shorter runtime
  • when waiting on test results overly long, log the tests waited for and eventually log the test log directories for easier analysis what is wrong in CI jobs.
  • sockfilt.c: treat the windows errno 109 (ERROR_BROKEN_PIPE) as a socket closed by the client and do not exit.
  • when verifying https server, do not in addition check the http server behind it also
  • when tearing down the stunnel of a non-responsive https server, tear down the http server with it

- perform torture tests with '-j2' for shorter runtime
- when waiting on test results overly long, log the tests
  waited for and eventually log the test log directories
  for easier analysis what is wrong in CI jobs.
- sockfilt.c: treat the windows errno 109 (ERROR_BROKEN_PIPE)
  as a socket closed by the client and do not exit.
- when verifying https server, do not in addition check
  the http server behind it also
- when tearing down the stunnel of a non-responsive https
  server, tear down the http server with it
@bagder bagder closed this in 8ad3597 Sep 18, 2024
@@ -2587,15 +2587,24 @@ sub startservers {
if(stopserver('https')) {
return ("failed stopping HTTPS server with different cert", 3);
}
# also stop http server, we do not know which state it is in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comments in stopserver() says that it already does this "given a stunnel based ssl server, also kill non-ssl underlying one". Is that not working?

vszakats added a commit to vszakats/curl that referenced this pull request Sep 19, 2024
vszakats added a commit to vszakats/curl that referenced this pull request Sep 19, 2024
moritzbuhl pushed a commit to moritzbuhl/curl that referenced this pull request Sep 20, 2024
- perform torture tests with '-j2' for shorter runtime
- when waiting on test results overly long, log the tests
  waited for and eventually log the test log directories
  for easier analysis what is wrong in CI jobs.
- sockfilt.c: treat the windows errno 109 (ERROR_BROKEN_PIPE)
  as a socket closed by the client and do not exit.
- when verifying https server, do not in addition check
  the http server behind it also
- when tearing down the stunnel of a non-responsive https
  server, tear down the http server with it

Closes curl#14960
moritzbuhl pushed a commit to moritzbuhl/curl that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants