-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Fix failing docker packaging tests due to too long commandline #125053
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
Conversation
Pinging @elastic/es-delivery (Team:Delivery) |
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.
Pull Request Overview
This PR addresses failing docker packaging tests by replacing the usage of "ps ax" with a direct call to "jps" to avoid issues with overly long command lines.
- Changed the shell command to use "/usr/share/elasticsearch/jdk/bin/jps -mlV" for better output.
Comments suppressed due to low confidence (1)
qa/packaging/src/test/java/org/elasticsearch/packaging/util/docker/Docker.java:190
- Ensure that the specified jps binary exists in all expected docker environments; consider adding a fallback or check to prevent potential runtime errors if the binary is missing.
psOutput = dockerShell.run("bash -c '/usr/share/elasticsearch/jdk/bin/jps -mlV'").stdout();
7c2a5cd
to
22dda80
Compare
22dda80
to
768db15
Compare
💔 Backport failed
You can use sqren/backport to manually backport by running |
…ic#125053) * Increate COLUMN for detecting running elasticsearch instance * Unmute DockerTest test (cherry picked from commit 38f2439) # Conflicts: # muted-tests.yml
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
…ic#125053) * Increate COLUMN for detecting running elasticsearch instance * Unmute DockerTest test (cherry picked from commit 38f2439) # Conflicts: # muted-tests.yml
…ic#125053) * Increate COLUMN for detecting running elasticsearch instance * Unmute DockerTest test (cherry picked from commit 38f2439) # Conflicts: # muted-tests.yml
…ic#125053) * Increate COLUMN for detecting running elasticsearch instance * Unmute DockerTest test (cherry picked from commit 38f2439) # Conflicts: # muted-tests.yml # qa/packaging/src/test/java/org/elasticsearch/packaging/util/docker/Docker.java
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
…ic#125053) * Increate COLUMN for detecting running elasticsearch instance * Unmute DockerTest test
…ic#125053) * Increate COLUMN for detecting running elasticsearch instance * Unmute DockerTest test
…ic#125053) * Increate COLUMN for detecting running elasticsearch instance * Unmute DockerTest test
Use jps for now to avoid issues with too long commandline when relying on plain ps ax and terminal specific COLUMN restrictions.
Fixes #119441