-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Try to fix CI sctp test. #19511
Try to fix CI sctp test. #19511
Conversation
This is a test -(mainly for my own sanity) |
@paulidale - this verifies what we saw before.. i.e. it works here... Maybe that means the infrastructure is different for the daily build? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see a difference. Maybe add this to ci.yml
instead?
run: | | ||
sudo apt-get update | ||
sudo apt-get -yq install lksctp-tools libsctp-dev | ||
checksctp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be enough and get rid of the OK environment variable:
- name: Check SCTP is available
run: checksctp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except for when it fails again on merge and I have to spend another day looking at it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that. This step will fail if checksctp does and the rest won't run. It avoid the conditionals.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might have to try this out by merging..
|
||
- name: make test | ||
run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} | ||
if: $OK == 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line at end of file.
333ac71
to
24700b8
Compare
@paulidale - just entered something bad to test it out.. That skips the tests and marks it as green |
What I am trying to do here is skip doing the tests if sctp cant be setup, and report a green result.. |
For some reason the newly introduced CI test for sctp causes issues. It is unknown why this seems to work when testing, but doesnt work once it was merged. The test has been put into its own file, with skips on error if the setup fails.. This will need to be merged to test if this works.
02776fe
to
c1272cd
Compare
ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try merging this to see.
Merging as this is CI failure fix. |
Merged to master branch. Thank you. |
For some reason the newly introduced CI test for sctp causes issues. It is unknown why this seems to work when testing, but doesnt work once it was merged. The test has been put into its own file, with skips on error if the setup fails.. This will need to be merged to test if this works. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #19511)
For some reason the newly introduced CI test for sctp causes issues. It is unknown why this seems to work when testing, but doesnt work once it was merged. The test has been put into its own file, with skips on error if the setup fails.. This will need to be merged to test if this works. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#19511)
For some reason when I tried this before it worked. So retrying this again to see if it still works.
Not sure why it decided to fail once merged yet.
Checklist