Snapcraft build failing in Yakkety for unauthenticated stage-packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson | ||
launchpad-buildd |
Fix Released
|
High
|
Colin Watson |
Bug Description
I'm trying to use Launchpad to build a snap of my application which depends on some packages like nmap, netstat, etc. However, when building against Yakkety, it fails with the following error:
CalledProcessError: Command '['/usr/bin/sudo', '/usr/sbin/chroot', '/home/
Please refer the build log at the following location:
https:/
The snapcraft.yaml is located here:
http://
Colin Watson has provided a cause for this error and a potential solution at the following AskUbuntu thread:
http://
Please let me know if further information is required.
Related branches
- William Grant (community): Approve (code)
-
Diff: 544 lines (+381/-5)10 files modifiedMANIFEST.in (+1/-0)
Makefile (+1/-0)
add-trusted-keys (+24/-0)
debian/changelog (+6/-0)
debian/launchpad-buildd.install (+1/-0)
lpbuildd/debian.py (+34/-0)
lpbuildd/slave.py (+15/-4)
lpbuildd/tests/fakeslave.py (+2/-1)
lpbuildd/tests/test_debian.py (+294/-0)
sbuildrc (+3/-0)
- William Grant (community): Approve (code)
-
Diff: 1256 lines (+541/-643)5 files modifiedlib/lp/soyuz/adapters/tests/test_archivedependencies.py (+517/-0)
lib/lp/soyuz/doc/archive-dependencies.txt (+0/-637)
lib/lp/soyuz/interfaces/archive.py (+2/-2)
lib/lp/soyuz/tests/test_archive.py (+14/-1)
lib/lp/testing/factory.py (+8/-3)
- William Grant (community): Approve (code)
-
Diff: 804 lines (+151/-107)9 files modifiedlib/lp/code/model/recipebuilder.py (+8/-5)
lib/lp/code/model/tests/test_recipebuilder.py (+44/-23)
lib/lp/snappy/model/snapbuildbehaviour.py (+2/-2)
lib/lp/snappy/tests/test_snapbuildbehaviour.py (+4/-4)
lib/lp/soyuz/model/binarypackagebuildbehaviour.py (+12/-8)
lib/lp/soyuz/model/livefsbuildbehaviour.py (+10/-8)
lib/lp/soyuz/tests/test_archive.py (+9/-3)
lib/lp/soyuz/tests/test_binarypackagebuildbehaviour.py (+38/-45)
lib/lp/soyuz/tests/test_livefsbuildbehaviour.py (+24/-9)
- William Grant (community): Approve (code)
-
Diff: 594 lines (+222/-56)9 files modifiedlib/lp/archivepublisher/archivesigningkey.py (+44/-15)
lib/lp/archivepublisher/interfaces/archivesigningkey.py (+5/-2)
lib/lp/archivepublisher/tests/test_archivesigningkey.py (+10/-4)
lib/lp/archivepublisher/tests/test_publishdistro.py (+18/-14)
lib/lp/archivepublisher/tests/test_publisher.py (+17/-15)
lib/lp/archivepublisher/tests/test_signing.py (+12/-5)
lib/lp/testing/keyserver/__init__.py (+3/-1)
lib/lp/testing/keyserver/inprocess.py (+69/-0)
lib/lp/testing/keyserver/tests/test_inprocess.py (+44/-0)
- William Grant (community): Approve (code)
-
Diff: 1502 lines (+445/-123)14 files modifiedlib/lp/code/model/recipebuilder.py (+5/-4)
lib/lp/code/model/tests/test_recipebuilder.py (+51/-11)
lib/lp/services/tests/test_timeout.py (+10/-0)
lib/lp/services/timeout.py (+18/-0)
lib/lp/snappy/model/snapbuildbehaviour.py (+4/-3)
lib/lp/snappy/tests/test_snapbuildbehaviour.py (+59/-16)
lib/lp/soyuz/adapters/archivedependencies.py (+54/-13)
lib/lp/soyuz/adapters/tests/test_archivedependencies.py (+129/-61)
lib/lp/soyuz/model/binarypackagebuildbehaviour.py (+3/-2)
lib/lp/soyuz/model/livefsbuildbehaviour.py (+3/-2)
lib/lp/soyuz/tests/soyuz.py (+21/-1)
lib/lp/soyuz/tests/test_archive.py (+20/-3)
lib/lp/soyuz/tests/test_binarypackagebuildbehaviour.py (+30/-2)
lib/lp/soyuz/tests/test_livefsbuildbehaviour.py (+38/-5)
- William Grant (community): Approve (code)
-
Diff: 207 lines (+59/-25)5 files modifiedlib/lp/services/config/schema-lazr.conf (+5/-0)
lib/lp/snappy/tests/test_snapbuildbehaviour.py (+1/-1)
lib/lp/soyuz/adapters/archivedependencies.py (+32/-22)
lib/lp/soyuz/adapters/tests/test_archivedependencies.py (+18/-2)
lib/lp/soyuz/tests/soyuz.py (+3/-0)
- Colin Watson (community): Approve
-
Diff: 14 lines (+3/-1)1 file modifiedlib/lp/snappy/model/snapbuildbehaviour.py (+3/-1)
summary: |
- Snapcraft build failing in Yaketty for unauthenticated stage-packages + Snapcraft build failing in Yakkety for unauthenticated stage-packages |
description: | updated |
Changed in launchpad: | |
status: | New → Triaged |
tags: |
added: lp-snappy removed: launchpad snap |
Changed in launchpad: | |
importance: | Undecided → High |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in launchpad-buildd: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
tags: | added: soyuz-build |
Changed in launchpad-buildd: | |
status: | In Progress → Fix Committed |
Changed in launchpad-buildd: | |
status: | Fix Committed → Confirmed |
status: | Confirmed → Incomplete |
status: | Incomplete → Fix Released |
Changed in launchpad-buildd: | |
status: | Fix Released → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → In Progress |
Changed in launchpad: | |
status: | Fix Committed → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Same goes for zesty.
Full log: https:/ /paste. ubuntu. com/23593672/