snap builds: network access timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned | ||
Rutabaga |
Triaged
|
High
|
Unassigned |
Bug Description
It appears that launchpad builds are limited to 120 minutes of network connectivity. This will break builds that require network access after 120 minutes. It can be quite challenging to force all network requirements to be satisfied in that time-frame, particularly for large builds on slower architectures.
Historically snapcraft has had a number of issues by attempting to get all/most of the network access done in the `pull` phase. It required brittle constructs that tend to break. So core20 snaps tend to rely on the natural build system constructs which typically expect network access at any point in the build process. Even for non-core20, the use of `after` tends to require pull steps be run late(r) in the build process.
Can we relax the timeout and perhaps allow configuration for select snaps to enable an extended time-frame? For example, Chromium takes a really long time to build and has to work around the time constraints.
Thanks!
Changed in launchpad: | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: build-infrastructure buildfarm lp-snappy |
I'm again running into this issue with the wpe-webkit- mir-kiosk snap, because WPE WebKit takes > 4 hours to build on ARM, then fails on stage-packages (not even to mention a part that needs WPE WebKit built before it can start). Any update on this?