#319 Zuul fails if the spec file is created in the PR
Closed by churchyard. Opened by churchyard.

In this PR https://src.fedoraproject.org/rpms/python-tomli/pull-request/9 the spec file is created. Zuul fails the rpm-scratch-build job:

2022-02-15 20:30:39.408049 | TASK [fedpkg-srpm-build : Install system dependencies]
2022-02-15 20:31:04.538200 | container | changed
2022-02-15 20:31:04.595253 | 
2022-02-15 20:31:04.595514 | LOOP [fedpkg-srpm-build : Set origin and tracking branch]
2022-02-15 20:31:06.279867 | container | ok: Item: git remote set-url origin https://src.fedoraproject.org/rpms/python-tomli Runtime: 0:00:00.004306
2022-02-15 20:31:07.677031 | container | ok: Item: git fetch Runtime: 0:00:00.222785
2022-02-15 20:31:08.852080 | container | Branch 'f34' set up to track remote branch 'f34' from 'origin'.
2022-02-15 20:31:08.852234 | container | ok: Item: git branch -u origin/f34 Runtime: 0:00:00.005878
2022-02-15 20:31:08.880559 | 
2022-02-15 20:31:08.880786 | TASK [fedpkg-srpm-build : Build the package SRPM]
2022-02-15 20:31:11.109099 | container | sources file doesn't exist. Source files download skipped.
2022-02-15 20:31:11.154024 | container | Could not execute srpm: No spec file found.
2022-02-15 20:31:11.603324 | container | ERROR
2022-02-15 20:31:11.603507 | container | {
2022-02-15 20:31:11.603558 | container |   "delta": "0:00:00.624890",
2022-02-15 20:31:11.603597 | container |   "end": "2022-02-15 20:31:11.250497",
2022-02-15 20:31:11.603633 | container |   "msg": "non-zero return code",
2022-02-15 20:31:11.603669 | container |   "rc": 1,
2022-02-15 20:31:11.603766 | container |   "start": "2022-02-15 20:31:10.625607"
2022-02-15 20:31:11.603808 | container | }

It appears as if Zuul attempted to create a SRPM before the pull request content was fetched.


A second build passed, probably just a fluke.

Metadata Update from @churchyard:
- Issue status updated to: Closed (was: Open)

Metadata