multiple "output" and "series" doubles the job output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Simone Pelosi |
Bug Description
I have something similar to the following for .launchpad.yaml (this is simplified for example but still recreates):
pipeline:
- ubuntu-build
- ubuntu-autopkgtest
- cloud-archive-build
- cloud-archive-
jobs:
ubuntu-build:
series: jammy
run: |
apt build-dep ./ --yes
mv ../*.deb ../*.changes ./
output:
paths: ["*.deb", "*.changes"]
ubuntu-
series: jammy
packages:
- autopkgtest
input:
job-name: ubuntu-build
run: |
cloud-
series: focal
run: |
apt build-dep ./ --yes
mv ../*.deb ../*.changes ./
output:
paths: ["*.deb", "*.changes"]
cloud-
series: focal
packages:
- autopkgtest
input:
job-name: cloud-archive-build
run: |
This results in 8 jobs running rather than the expected 4. See screenshot attached.
Related branches
- Colin Watson (community): Approve
-
Diff: 383 lines (+290/-8)2 files modifiedlib/lp/code/model/cibuild.py (+37/-8)
lib/lp/code/model/tests/test_cibuild.py (+253/-0)
Changed in lpcraft: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in lpcraft: | |
assignee: | nobody → Jürgen Gmach (jugmac00) |
status: | Triaged → In Progress |
affects: | lpcraft → launchpad |
Changed in launchpad: | |
status: | In Progress → Triaged |
Changed in launchpad: | |
assignee: | Jürgen Gmach (jugmac00) → Simone Pelosi (pelpsi) |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Corey, thanks for reporting this issue.
I was able to reproduce it, but only in CI with the following configuration file - lpcraft on its own works correctly. /code.launchpad .net/~jugmac00/ lpcraft/ +git/lpcraft/ +merge/ 434636
see https:/
```
pipeline:
- aa
- cc
jobs:
architectures: amd64
architectures: amd64
aa:
series: jammy
run: |
echo "1111"
cc:
series: focal
run: |
echo "3333"
```
This results in 4 builds, see https:/ /code.launchpad .net/~jugmac00/ lpcraft/ +git/lpcraft/ +ref/reproduce- bug-1999591
Colin suspects an issue in Launchpad itself, see https:/ /chat.canonical .com/canonical/ pl/1urdsf4dkpgw ppg35f343d8ekr
Let's keep the issue here until this is verified.