SSL Errors in cleanbuild / lxd

I have a simple app which pulls from github. Today when I do a cleanbuild, after the initial setup, it falls over with:-

Anyone else seen this? Just me?

Full log:-

Creating snapcraft-fairly-able-wombat
Starting snapcraft-fairly-able-wombat
Setting up container with project assets
./
./snapcraft.yaml
Waiting for a network connection...
Network connection established
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [284 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [121 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7420 B]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2428 B]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [138 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [71.5 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2748 B]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1232 B]          
Get:13 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]                     
Get:14 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4354 kB]            
Get:15 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]         
Get:16 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [553 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [224 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7772 B]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2548 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [483 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [191 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [8928 B]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [4460 B]
Get:25 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4688 B]
Get:26 http://archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3216 B]
Get:27 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [5624 B]
Get:28 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [2872 B]
Fetched 14.6 MB in 5s (2488 kB/s)                
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libarchive13 libsodium18 libxslt1.1 python3-bs4 python3-docopt python3-html5lib python3-jsonschema python3-libarchive-c python3-libnacl python3-lxml python3-magic python3-petname python3-progressbar
  python3-pymacaroons python3-pysha3 python3-requests-toolbelt python3-simplejson python3-tabulate python3-xdg xdelta3
Suggested packages:
  lrzip python3-genshi python3-lxml-dbg python-lxml-doc python-pysha3-doc
The following NEW packages will be installed:
  libarchive13 libsodium18 libxslt1.1 python3-bs4 python3-docopt python3-html5lib python3-jsonschema python3-libarchive-c python3-libnacl python3-lxml python3-magic python3-petname python3-progressbar
  python3-pymacaroons python3-pysha3 python3-requests-toolbelt python3-simplejson python3-tabulate python3-xdg snapcraft xdelta3
0 upgraded, 21 newly installed, 0 to remove and 26 not upgraded.
Need to get 1979 kB of archives.
After this operation, 7959 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libarchive13 amd64 3.1.2-11ubuntu0.16.04.3 [262 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libsodium18 amd64 1.0.8-5 [144 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxslt1.1 amd64 1.1.28-2.1ubuntu0.1 [145 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-bs4 all 4.4.1-1 [64.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-docopt all 0.6.2-1build1 [19.4 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-html5lib all 0.999-4 [79.3 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-jsonschema all 2.5.1-4 [30.3 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python3-libnacl all 1.4.5-0ubuntu1 [9576 B]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-lxml amd64 3.5.0-1build1 [811 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-petname all 2.0-0ubuntu1~16.04 [10.7 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-progressbar all 2.3-2 [9570 B]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python3-pymacaroons all 0.9.2-0ubuntu1 [9942 B]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python3-pysha3 amd64 1.0.0-0ubuntu1~ubuntu16.04.1 [39.6 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-requests-toolbelt all 0.6.0-2 [31.6 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-simplejson amd64 3.8.1-1ubuntu2 [48.6 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-tabulate all 0.7.5-1 [23.8 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-xdg all 0.25-4 [31.5 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial/universe amd64 xdelta3 amd64 3.0.8-dfsg-1ubuntu2 [67.1 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-libarchive-c all 2.1-3 [9546 B]
Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-magic all 1:5.25-2ubuntu1 [5438 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 snapcraft all 2.29 [126 kB]
Fetched 1979 kB in 0s (17.7 MB/s)
Selecting previously unselected package libarchive13:amd64.
(Reading database ... 25504 files and directories currently installed.)
Preparing to unpack .../libarchive13_3.1.2-11ubuntu0.16.04.3_amd64.deb ...
Unpacking libarchive13:amd64 (3.1.2-11ubuntu0.16.04.3) ...
Selecting previously unselected package libsodium18:amd64.
Preparing to unpack .../libsodium18_1.0.8-5_amd64.deb ...
Unpacking libsodium18:amd64 (1.0.8-5) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../libxslt1.1_1.1.28-2.1ubuntu0.1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) ...
Selecting previously unselected package python3-bs4.
Preparing to unpack .../python3-bs4_4.4.1-1_all.deb ...
Unpacking python3-bs4 (4.4.1-1) ...
Selecting previously unselected package python3-docopt.
Preparing to unpack .../python3-docopt_0.6.2-1build1_all.deb ...
Unpacking python3-docopt (0.6.2-1build1) ...
Selecting previously unselected package python3-html5lib.
Preparing to unpack .../python3-html5lib_0.999-4_all.deb ...
Unpacking python3-html5lib (0.999-4) ...
Selecting previously unselected package python3-jsonschema.
Preparing to unpack .../python3-jsonschema_2.5.1-4_all.deb ...
Unpacking python3-jsonschema (2.5.1-4) ...
Selecting previously unselected package python3-libnacl.
Preparing to unpack .../python3-libnacl_1.4.5-0ubuntu1_all.deb ...
Unpacking python3-libnacl (1.4.5-0ubuntu1) ...
Selecting previously unselected package python3-lxml.
Preparing to unpack .../python3-lxml_3.5.0-1build1_amd64.deb ...
Unpacking python3-lxml (3.5.0-1build1) ...
Selecting previously unselected package python3-petname.
Preparing to unpack .../python3-petname_2.0-0ubuntu1~16.04_all.deb ...
Unpacking python3-petname (2.0-0ubuntu1~16.04) ...
Selecting previously unselected package python3-progressbar.
Preparing to unpack .../python3-progressbar_2.3-2_all.deb ...
Unpacking python3-progressbar (2.3-2) ...
Selecting previously unselected package python3-pymacaroons.
Preparing to unpack .../python3-pymacaroons_0.9.2-0ubuntu1_all.deb ...
Unpacking python3-pymacaroons (0.9.2-0ubuntu1) ...
Selecting previously unselected package python3-pysha3.
Preparing to unpack .../python3-pysha3_1.0.0-0ubuntu1~ubuntu16.04.1_amd64.deb ...
Unpacking python3-pysha3 (1.0.0-0ubuntu1~ubuntu16.04.1) ...
Selecting previously unselected package python3-requests-toolbelt.
Preparing to unpack .../python3-requests-toolbelt_0.6.0-2_all.deb ...
Unpacking python3-requests-toolbelt (0.6.0-2) ...
Selecting previously unselected package python3-simplejson.
Preparing to unpack .../python3-simplejson_3.8.1-1ubuntu2_amd64.deb ...
Unpacking python3-simplejson (3.8.1-1ubuntu2) ...
Selecting previously unselected package python3-tabulate.
Preparing to unpack .../python3-tabulate_0.7.5-1_all.deb ...
Unpacking python3-tabulate (0.7.5-1) ...
Selecting previously unselected package python3-xdg.
Preparing to unpack .../python3-xdg_0.25-4_all.deb ...
Unpacking python3-xdg (0.25-4) ...
Selecting previously unselected package xdelta3.
Preparing to unpack .../xdelta3_3.0.8-dfsg-1ubuntu2_amd64.deb ...
Unpacking xdelta3 (3.0.8-dfsg-1ubuntu2) ...
Selecting previously unselected package python3-libarchive-c.
Preparing to unpack .../python3-libarchive-c_2.1-3_all.deb ...
Unpacking python3-libarchive-c (2.1-3) ...
Selecting previously unselected package python3-magic.
Preparing to unpack .../python3-magic_1%3a5.25-2ubuntu1_all.deb ...
Unpacking python3-magic (1:5.25-2ubuntu1) ...
Selecting previously unselected package snapcraft.
Preparing to unpack .../snapcraft_2.29_all.deb ...
Unpacking snapcraft (2.29) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libarchive13:amd64 (3.1.2-11ubuntu0.16.04.3) ...
Setting up libsodium18:amd64 (1.0.8-5) ...
Setting up libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) ...
Setting up python3-bs4 (4.4.1-1) ...
Setting up python3-docopt (0.6.2-1build1) ...
Setting up python3-html5lib (0.999-4) ...
Setting up python3-jsonschema (2.5.1-4) ...
update-alternatives: using /usr/bin/python3-jsonschema to provide /usr/bin/jsonschema (jsonschema) in auto mode
Setting up python3-libnacl (1.4.5-0ubuntu1) ...
Setting up python3-lxml (3.5.0-1build1) ...
Setting up python3-petname (2.0-0ubuntu1~16.04) ...
Setting up python3-progressbar (2.3-2) ...
Setting up python3-pymacaroons (0.9.2-0ubuntu1) ...
Setting up python3-pysha3 (1.0.0-0ubuntu1~ubuntu16.04.1) ...
Setting up python3-requests-toolbelt (0.6.0-2) ...
Setting up python3-simplejson (3.8.1-1ubuntu2) ...
Setting up python3-tabulate (0.7.5-1) ...
Setting up python3-xdg (0.25-4) ...
Setting up xdelta3 (3.0.8-dfsg-1ubuntu2) ...
Setting up python3-libarchive-c (2.1-3) ...
Setting up python3-magic (1:5.25-2ubuntu1) ...
Setting up snapcraft (2.29) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
Stopping local:snapcraft-fairly-able-wombat
Command '['lxc', 'exec', 'local:snapcraft-fairly-able-wombat', '--env', 'HOME=/build_ss-qt', '--', 'snapcraft', 'snap', '--output', 'ss-qt_0.1_amd64.snap']' returned non-zero exit status 1
3 Likes

Happening to me as well with conjure-up

The SSL cert on parts.snapcraft.io has expired, we’re looking into it and hope to renew the cert shortly.

Update: We anticipate a fix being rolled out by 15:30 UTC.

We were missing SSL checks on parts.snapcraft.io, which are now in place.

4 Likes

parts.snapcraft.io cert has been updated.

There are no known issues with building snaps, sorry for the inconvenience.

1 Like