Building on core18, failure on pulling core18 on

I’m building a classic ubuntu-report snap via

The snapcraft.yaml definition is, which is using on core18.

However, it can’t build in the lxc xenial container, contrary to 18.04:

Preparing to pull cli 
Pulling cli 
Segmentation fault (core dumped)
Downloading 'core18.snap'   0%                                                 
Downloading 'core18.snap'   1%                                                 
Downloading 'core18.snap'   2%                                                 
Downloading 'core18.snap'   3%                                                 
Downloading 'core18.snap' 100%                                                 
Downloading 'core18.snap' 100%                                                 
Failed to run 'override-pull': Exit code was 139.
Build failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/lpbuildd/target/", line 269, in run
  File "/usr/lib/python2.7/dist-packages/lpbuildd/target/", line 221, in pull
  File "/usr/lib/python2.7/dist-packages/lpbuildd/target/", line 103, in run_build_command
    return, cwd=cwd, env=full_env, **kwargs)
  File "/usr/lib/python2.7/dist-packages/lpbuildd/target/", line 456, in run
    subprocess.check_call(cmd, **kwargs)
  File "/usr/lib/python2.7/", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['lxc', 'exec', 'lp-xenial-amd64', '--env', 'LANG=C.UTF-8', '--env', 'SHELL=/bin/sh', '--env', 'SNAPCRAFT_LOCAL_SOURCES=1', '--env', 'SNAPCRAFT_SETUP_CORE=1', '--env', 'SNAPCRAFT_BUILD_INFO=1', '--env', 'SNAPCRAFT_IMAGE_INFO={"build_url": "', '--env', 'https_proxy=', '--env', 'GIT_PROXY_COMMAND=/usr/local/bin/snap-git-proxy', '--', '/bin/sh', '-c', 'cd /build/ubuntu-report && linux64 snapcraft pull']' returned non-zero exit status 2
Revoking proxy token...
RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=lxd --series=xenial --arch=amd64 SNAPBUILD-204965
Scanning for processes to kill in build SNAPBUILD-204965
RUN: /usr/share/launchpad-buildd/slavebin/in-target umount-chroot --backend=lxd --series=xenial --arch=amd64 SNAPBUILD-204965
Stopping target for build SNAPBUILD-204965
/usr/lib/python2.7/dist-packages/pylxd/ UserWarning: Attempted to set unknown attribute "description" on instance of "Container"
  key, self.__class__.__name__
RUN: /usr/share/launchpad-buildd/slavebin/in-target remove-build --backend=lxd --series=xenial --arch=amd64 SNAPBUILD-204965

It happens also with ubuntu-make.

Segmentation fault (core dumped)

Failed to run ‘override-pull’: Exit code was 139.

Any update/hints on that one? This is blocking building the ubuntu-report classic snap to be pushed to the store.

We don’t support using core18 for classic with snapcraft yet, nor do we support building classic snaps in any environment other that one setup on your own.

A roadmap of whens and hows will be shared out next week after we finish doing this cycle’s planning.

Additionally, currently only supports core as a base.

Well, actually you do support it in snapcraft (locally, it all works fine ;)), but ok, blocked on the side.

Yes, locally though, it is still experimental

1 Like

Is this now fixed, as core18 was something as usable…

1 Like

I guess I am still seeing the issue today. Would appreciate a hint how to get over it. :wink: