Skip to content

build-driver: hide build-driver traceback when grml-live fails#531

Merged
zeha merged 1 commit into
masterfrom
zeha/build-driver-quiet
Jun 16, 2026
Merged

build-driver: hide build-driver traceback when grml-live fails#531
zeha merged 1 commit into
masterfrom
zeha/build-driver-quiet

Conversation

@zeha

@zeha zeha commented Jun 14, 2026

Copy link
Copy Markdown
Member

Currently a grml-live failure driven by build-driver has a very noisy traceback, looking like this:

  [!] Error: critical error while executing fai [exit code 2]. Exiting.
  [*] Cleaning up
E: Caught fatal exception
I: moving build results from /tmp/tmpkrp8sw9w to /builds/grml/build-daily/results
Traceback (most recent call last):
  File "/builds/grml/build-daily/grml-live/build-driver/build.py", line 526, in <module>
    sys.exit(main(sys.argv.pop(0), sys.argv))
             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builds/grml/build-daily/grml-live/build-driver/build.py", line 492, in main
    build(
    ~~~~~^
        build_dir,
        ^^^^^^^^^^
    ...<4 lines>...
        old_iso_path,
        ^^^^^^^^^^^^^
    )
    ^
  File "/builds/grml/build-daily/grml-live/build-driver/build.py", line 244, in build
    run_grml_live(
    ~~~~~~~~~~~~~^
        grml_live_path,
        ^^^^^^^^^^^^^^^
    ...<9 lines>...
        job_properties.job_timestamp,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/builds/grml/build-daily/grml-live/build-driver/build.py", line 138, in run_grml_live
    run_x(grml_live_cmd, env=env)
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builds/grml/build-daily/grml-live/build-driver/build.py", line 54, in run_x
    return subprocess.run(args, check=check, **kwargs)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/builds/grml/build-daily/grml-live/grml-live', '-F', '-A', '-a', 'amd64', '-c', 'GRML_FULL,SOURCES', '-s', 'testing', '-v', 'd20260614b744', '-r', 'daily20260614build744testing', '-g', 'grml-full-amd64', '-i', 'grml-full-daily20260614build744testing-amd64.iso', '-o', '/tmp/tmpkrp8sw9w']' returned non-zero exit status 1.

Afterwards it should look like this:

  [!] Error: critical error while executing fai [exit code 2]. Exiting.
  [*] Cleaning up
E: Caught fatal exception
I: moving build results from /tmp/tmpkrp8sw9w to /builds/grml/build-daily/results
E: grml-live failed with exit code 1, command was: "/builds/grml/build-daily/grml-live/grml-live" "-F" "-A" "-a" "amd64" "-c" "GRML_FULL,SOURCES" "-s" "testing" "-v" "d20260614b744" "-r" "daily20260614build744testing" "-g" "grml-small-amd64" "-i" "grml-full-daily20260614build744testing-amd64.iso" "-o" "/tmp/tmpkrp8sw9w"

@zeha

zeha commented Jun 14, 2026

Copy link
Copy Markdown
Member Author

Builds are failing because of the known systemd-tmpfiles issue in forky (#533).

@zeha zeha self-assigned this Jun 14, 2026
@zeha zeha requested a review from mika June 14, 2026 17:36
@zeha zeha merged commit 4e82008 into master Jun 16, 2026
18 of 34 checks passed
@zeha zeha deleted the zeha/build-driver-quiet branch June 16, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants