-
-
Notifications
You must be signed in to change notification settings - Fork 180
tests(windows) re-enable failing test(s) on AWS #538
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
tests(windows) re-enable failing test(s) on AWS #538
Conversation
…infra/helpdesk#4557 infra issue is resolved"""
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
ea1209b
to
bbdce5f
Compare
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
tests/sshAgent.Tests.ps1
Outdated
It 'can check running containers' { | ||
$exitCode, $stdout, $stderr = Run-Program 'docker' "container ls" | ||
$exitCode | Should -Be 0 | ||
} | ||
|
||
It 'can get logs of running container' { | ||
$exitCode, $stdout, $stderr = Run-Program 'docker' "logs `"$global:CONTAINERNAME`"" | ||
$exitCode | Should -Be 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.
@dduportal: Was removing those tests intentional? Looking at the commit message, it doesn't seem so.
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.
Nevermind, these changes don't appear in https://github.com/jenkinsci/docker-ssh-agent/pull/538/files
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.
Yes it was intentional as per the PR description:
Removed all the "sub steps" added to debug the problem in march/April 2025 and that we did clean since then (checking list of containers, getting logs of container, etc.)
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.
(note: these 2 blocks were not test in any way, or you have to explain what were they testing ;) )
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 was a bit confused when reviewing your PR commit per commit without taking too much attention to the PR body. My bad, make perfect sense now, thanks for the explanations!
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.
Thanks for the careful review! 👍
Ref. jenkins-infra/helpdesk#4557
This PR is focused on the Windows test harnesses and reverts #531 along with a few changes to allow these tests to be run without failures.
The main change is to remove the embedded
ssh.exe
and its dll binary file and instead rely on thessh.exe
in the environment where the tests are running. These binary where introduced 5 years ago in #49:ssh.exe
is not really up to date and refuses the ciphers set in the SSH server of the SUT)A few cleanups are also added:
Start-Sleep -Seconds 10
instructions: unneeded anymore