Skip to content
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

Enable timestamps in CI logs #1228

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

msimberg
Copy link
Collaborator

@msimberg msimberg commented Dec 5, 2024

Enables timestamps in CI logs (according to https://docs.gitlab.com/runner/configuration/feature-flags.html). Raw logs become slightly more verbose. The GitLab UI renders the timestamps in a dark gray (same color as the line number) separately from the actual log output (see e.g. https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/479009878135925/5304355110917878/-/jobs/8557603567).

I find this is useful to see if e.g. a test hung for a long time before eventually being killed by slurm, or if it ran for only a few seconds before being killed. Without timestamps one only sees the total time taken for a full command.

@msimberg
Copy link
Collaborator Author

msimberg commented Dec 5, 2024

cscs-ci run

@msimberg
Copy link
Collaborator Author

msimberg commented Dec 5, 2024

cscs-ci run

@msimberg msimberg marked this pull request as ready for review December 5, 2024 16:48
@msimberg
Copy link
Collaborator Author

msimberg commented Dec 5, 2024

cscs-ci run

1 similar comment
@msimberg
Copy link
Collaborator Author

msimberg commented Dec 6, 2024

cscs-ci run

@rasolca rasolca merged commit 896ffad into eth-cscs:master Dec 6, 2024
9 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 6, 2024
@msimberg msimberg deleted the ci-timestamps branch December 9, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants