#1711 Builder live logs contain logs from other target building.
Closed: Insufficient data 2 years ago by praiskup. Opened 3 years ago by mvadkert.

We run Testing Farm, Packit testing system. We parse rpm/srpms from build log, as we lack proper API to do so. This worked for us for some time, but after we started to test a lot, we commonly hit this problem:

See this F33 build:
https://download.copr.fedorainfracloud.org/results/packit/psss-tmt-610/fedora-33-x86_64/02050586-tmt/

And the corresponding builder live logs:
https://download.copr.fedorainfracloud.org/results/packit/psss-tmt-610/fedora-33-x86_64/02050586-tmt/builder-live.log.gz

Note that the builder live logs contain logs from building CentOS-8. Which then causes our problem. After discussion with @praiskup:

This is suspicious in the logs:

"/usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated"

We parse rpm/srpms from build log, as we lack proper API to do so

Already reported in #1411 and it looks like there was some consensus how the output should look like. We should implement this.

We parse rpm/srpms from build log, as we lack proper API to do so

Already reported in #1411 and it looks like there was some consensus how the output should look like. We should implement this.

sounds good, that will help!

Normally the build-live.log file should be cleaned before next build happens on the same builder, so this certainly needs at least some debugging to see why this happened.

Metadata Update from @praiskup:
- Issue tagged with: bug

3 years ago

I haven't seen this problem since the report, so this was fixed accidentally, I guess?
I'm closing, feel free to reopen Miro.

FTR, there already is the API for getting NVR nowadays #1780.

Metadata Update from @praiskup:
- Issue close_status updated to: Insufficient data
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata