Launchpad fails to clone https://github.com/LibreOffice/translations.git in snapcraft build

Bug #1655127 reported by Björn Michaelsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rutabaga
Incomplete
Undecided
Unassigned
Snapcraft
New
Undecided
Unassigned
Revision history for this message
Colin Watson (cjwatson) wrote :

There's a one-hour timeout on network access, counting from the start of the build. (In theory we could raise this, but it's a useful defence and I don't want to do so indefinitely.) Even though it's no longer strictly always required, you should try to do all your network access in the pull phase, which in this case should have the effect of doing it before time-consuming build tasks. Can you arrange to do these git clones in the pull phase?

affects: launchpad → rutabaga
Changed in rutabaga:
status: New → Incomplete
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

Pulling stuff during build() instead of doing it in pull() proper is a workaround for bug 1649620. see: https://git.launchpad.net/~bjoern-michaelsen/df-libreoffice/+git/libreoffice-snap-playground/commit/?id=0237177276bcfc56abfba89626652c9202a271ff

So:

> Can you arrange to do these git clones in the pull phase?

not quite.

But the timeout is an helpful hint, actually even as is, the pulling is supposed to happen at the start of build(), not later. I will try to adjust this.

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

> I will try to adjust this.

This Worked for Me(tm). Unsure what to do with this bug status though: the problem is worked around for me, but might still be an issue for others. => Leaving it to your discretion if it should be closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.