-
-
Notifications
You must be signed in to change notification settings - Fork 939
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
Run integration tests on alpine:latest #1553
base: develop
Are you sure you want to change the base?
Conversation
Integration tests failing with "Killing sshd.pam service failed with exit code 1" e.g.
Started between 4Dec and 7Dec. Looks like it is caused by alpine:latest bumping to 3.21. It uses OpenSSH 9.9 |
works with Alpine Linux 3.20 & OpenSSH 9.7 can reproduce locally now (my "alpine:latest" was still at 3.18) |
output = command.Execute(); | ||
if (command.ExitStatus != 0) | ||
|
||
using (var command = client.CreateCommand("sudo pkill -9 -U sshnet -f sshd-session.pam")) |
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.
sshd.pam -> sshd-session.pam is the fix for OpenSSH 9.8+. However, that release also completely removes DSA at compile time, so now the DSA tests fail.
I think it is time to remove DSA
@@ -1,4 +1,4 @@ | |||
FROM alpine:3.20 | |||
FROM alpine:latest |
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.
Didn't the original issue show that using latest is a bad idea? It made CI suddenly fail without an obvious indication why. Imho it would make more sense to tag it to 3.21.0 (even the patch) and use Dependabot to keep it up-to-date.
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 is the first such issue in ~1.5 years of these integration tests. I don't think we necessarily need to make a process out of it, but if it's simple enough to do then sure
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.
well it was simple enough
edit: the integration tests started failing with Alpine Linux 3.21. This tracks setting the image back to alpine:latest after #1554