-
Notifications
You must be signed in to change notification settings - Fork 24.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
Relative paths, jornalctl in additional logs #48276
Relative paths, jornalctl in additional logs #48276
Conversation
This PR fixes the archive generation to preserve the paths relative to the project directory. It also fixes callign journalctl to get the system log.
Pinging @elastic/es-core-infra (:Core/Infra/Build) |
@elasticmachine run |
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.
One comment, otherwise LGTM 👍
gradle/build-complete.gradle
Outdated
.onMac { | ||
|
||
} | ||
if (OS.current() != OS.WINDOWS) { |
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 think we only want this to run on Linux since journalctl
doesn't exist on OSX.
@elasticmachine run elasticsearch-ci/2 |
@elaticmachine run elasticsearch-ci/2 and run elasticsearch-ci/packaging-sample-matrix |
* Relative paths, jornalctl in additional logs This PR fixes the archive generation to preserve the paths relative to the project directory. It also fixes calling journalctl to get the system log. * explicitly remove the file we are building * Skip files locked on windows * Extended readability probe * Try to read the file ahead on windows * Make the tar a best effort * Catch all exceptions
* Relative paths, jornalctl in additional logs This PR fixes the archive generation to preserve the paths relative to the project directory. It also fixes calling journalctl to get the system log. * explicitly remove the file we are building * Skip files locked on windows * Extended readability probe * Try to read the file ahead on windows * Make the tar a best effort * Catch all exceptions
* Relative paths, jornalctl in additional logs This PR fixes the archive generation to preserve the paths relative to the project directory. It also fixes calling journalctl to get the system log. * explicitly remove the file we are building * Skip files locked on windows * Extended readability probe * Try to read the file ahead on windows * Make the tar a best effort * Catch all exceptions
I got a couple of issues running this under elasticsearch-ci:
|
I don't think we have any restrictions on sizing ... anyhow this is no longer be considered a fatal error in master |
This PR fixes the archive generation to preserve the paths relative to
the project directory.
It also fixes calling journalctl to get the system log.