#11 Sidetag plugin bug
Opened 4 years ago by jjames. Modified 4 years ago

I am trying to diagnose a build failure from the recent ocaml 4.09 side tag:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1420345

After clicking through to the task page:

https://koji.fedoraproject.org/koji/taskinfo?taskID=39451983

I cannot get to any of the builds. It looks like only the ppc64le build failed, but clicking on any of them, failed or not, results in a page that says:

Error
An error has occurred while processing your request.
NotFound: cannot find 'name' while searching for 'buildTag.name'

Full tracebacks disabled


this plugin just deletes a tag, so this is probably koji bug.

@tkopecek @mikem ?

Yep, it is a koji bug. It uses build target (+ tags) which are already deleted, so web page fails when it tries to reference them.

As a workaround, you should be able to use CLI to get to those data:

$ koji taskinfo 39451989
Task: 39451989
Type: buildArch
Owner: rjones
State: failed
Created: Fri Dec  6 17:03:07 2019
Started: Fri Dec  6 17:03:08 2019
Finished: Fri Dec  6 17:04:42 2019
Host: buildvm-ppc64le-14.ppc.fedoraproject.org
Buildroots:
  /var/lib/mock/f32-build-side-14856-18411733-1312098/
Log Files:
  /mnt/koji/work/tasks/1989/39451989/root.log
  /mnt/koji/work/tasks/1989/39451989/mock_output.log
  /mnt/koji/work/tasks/1989/39451989/hw_info.log
  /mnt/koji/work/tasks/1989/39451989/state.log
  /mnt/koji/work/tasks/1989/39451989/build.log

$ koji download-logs 39451989

# or even (not sure if enabled in fedora's koji) to download build's data in tarball if task was not garbage-collected yet

$ koji save-failed-tree 39451989

# even with --full to get whole mock directory (can be pretty large)

Created https://pagure.io/koji/issue/1866 for koji

Login to comment on this ticket.

Metadata