Skip to content

autogen: use run_and_print_on_failure function #1763

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

Merged
merged 4 commits into from
Jun 27, 2025

Conversation

larsewi
Copy link
Contributor

@larsewi larsewi commented Jun 20, 2025

  • autogen: Use run_and_print_on_failure function
  • autogen: Add filename to log messages
  • compare-versions: add filename to log messages
  • revision-file: add filename to log messages

Example output:

$ PROJECT=nova ./buildscripts/build-scripts/autogen
autogen: Debug: Running autogen.sh for project core...
autogen: Debug: Running autogen.sh for project masterfiles...
autogen: Debug: Running autogen.sh for project enterprise...
autogen: Debug: Running autogen.sh for project nova...
revision-file: Debug: Revision file already exists in core
revision-file: Debug: Revision file already exists in buildscripts
revision-file: Debug: Revision file already exists in buildscripts/deps-packaging
revision-file: Debug: Revision file already exists in enterprise
revision-file: Debug: Revision file already exists in nova
compare-versions: Error: Detected version mismatch: core 3.27.0 != nova 3.24.0

With exotics (no tests)
Build Status
^ Solaris 11 failure is unrelated 14:50:08 ssh: connect to host cloud.siteox.com port 16322: No route to host

@larsewi larsewi merged commit 9115e84 into cfengine:master Jun 27, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants