Snap Builds using SVN Unable to Access Internet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpad-buildd |
Fix Released
|
Low
|
Colin Watson |
Bug Description
I attempted to build a simple snap from a Launchpad git repository using the snap builders. It failed due to not being able to connect to the internet to do the 'svn checkout'. kyrofa suspected that this might have something to do with the proxy.
Sample Build Log: https:/
Relevant Snippet:
Pulling labelnation
svn: E170013: Unable to connect to a repository at URL 'http://
svn: E670002: Name or service not known
Command '['svn', 'checkout', 'http://
Traceback (most recent call last):
File "/usr/share/
builder.pull()
File "/usr/share/
env=env)
File "/usr/share/
self.
File "/usr/share/
"/usr/
File "/usr/lib/
raise CalledProcessEr
CalledProcessError: Command '['/usr/bin/sudo', '/usr/sbin/chroot', '/home/
Related branches
- William Grant: Approve (code)
-
Diff: 89 lines (+42/-0)3 files modifieddebian/changelog (+6/-0)
lpbuildd/target/build_snap.py (+29/-0)
lpbuildd/target/tests/test_build_snap.py (+7/-0)
Changed in launchpad-buildd: | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → Low |
status: | Confirmed → In Progress |
Changed in launchpad-buildd: | |
status: | In Progress → Fix Committed |
Changed in launchpad-buildd: | |
assignee: | Colin Watson (cjwatson) → Airkm (airkm) |
information type: | Public → Private Security |
information type: | Private Security → Public |
Changed in launchpad-buildd: | |
assignee: | Airkm (airkm) → Colin Watson (cjwatson) |
Same error here for https:/ /code.launchpad .net/~osomon/ +snap/0ad- svn:
Pulling 0ad-svn-build svn.wildfiregam es.com/ public/ ps/trunk' svn.wildfiregam es.com/ public/ ps/trunk/ ', '/build/ 0ad-svn/ parts/0ad- svn-build/ src']' returned non-zero exit status 1 launchpad- buildd/ slavebin/ buildsnap" , line 240, in main launchpad- buildd/ slavebin/ buildsnap" , line 177, in pull launchpad- buildd/ slavebin/ buildsnap" , line 100, in run_build_command get_output) launchpad- buildd/ slavebin/ buildsnap" , line 71, in chroot check_call( cmd) python2. 7/subprocess. py", line 541, in check_call ror(retcode, cmd) buildd/ build-SNAPBUILD -38414/ chroot- autobuild' , 'linux64', '/bin/sh', '-c', 'cd /build/0ad-svn && env LANG=C.UTF-8 https_proxy=http:// snap-proxy. launchpad. net:3128 SNAPCRAFT_ LOCAL_SOURCES= 1 SNAPCRAFT_ SETUP_CORE= 1 http_proxy=http:// snap-proxy. launchpad. net:3128 GIT_PROXY_ COMMAND= /usr/local/ bin/snap- git-proxy snapcraft pull']' returned non-zero exit status 1
svn: E170013: Unable to connect to a repository at URL 'http://
svn: E670002: Name or service not known
Command '['svn', 'checkout', 'http://
Traceback (most recent call last):
File "/usr/share/
builder.pull()
File "/usr/share/
env=env)
File "/usr/share/
["/bin/sh", "-c", command], echo=echo, get_output=
File "/usr/share/
subprocess.
File "/usr/lib/
raise CalledProcessEr
CalledProcessError: Command '['/usr/bin/sudo', '/usr/sbin/chroot', '/home/
I’m guessing launchpad-buildd needs something like https:/ /code.launchpad .net/~cjwatson/ launchpad- buildd/ snap-git- proxy/+ merge/323691 for SVN ?