Focal: fatal error: mlock failed

Bug #1867918 reported by Canonical Juju QA Bot
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

When testing supporting a release before it's released (re: focal) - I encountered this (see stack trace).

I don't know what to make of it and I've only seen it once.

Note: it was built with go1.14, which I forgot to switch back to go1.11 after doing some personal work.

--------------------------

juju bootstrap lxd test --bootstrap-series focal --config image-stream=daily
Creating Juju controller "test" on lxd/default
Looking for packaged Juju agent version 2.7.5 for amd64
No packaged binary found, preparing local Juju agent binary
To configure your system to better support LXD containers, please see: https://github.com/lxc/lxd/blob/master/doc/production-setup.md
Launching controller instance(s) on lxd/default...
 - juju-e20d8b-0 (arch=amd64)
Installing Juju agent on bootstrap instance
Fetching Juju GUI 2.15.0
Waiting for address
Attempting to connect to 10.132.183.213:22
Connected to 10.132.183.213
Running machine configuration script...
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
Cloud-init v. 20.1-10-g71af48df-0ubuntu1 running 'init-local' at Wed, 18 Mar 2020 11:37:58 +0000. Up 0.91 seconds.
Cloud-init v. 20.1-10-g71af48df-0ubuntu1 running 'init' at Wed, 18 Mar 2020 11:37:59 +0000. Up 1.63 seconds.
ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
ci-info: | eth0 | True | 10.132.183.213 | 255.255.255.0 | global | 00:16:3e:7d:78:14 |
ci-info: | eth0 | True | fe80::216:3eff:fe7d:7814/64 | . | link | 00:16:3e:7d:78:14 |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
ci-info: +++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++
ci-info: +-------+--------------+--------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+--------------+--------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.132.183.1 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 10.132.183.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
ci-info: | 2 | 10.132.183.1 | 0.0.0.0 | 255.255.255.255 | eth0 | UH |
ci-info: +-------+--------------+--------------+-----------------+-----------+-------+
ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | 0 | fe80::/64 | :: | eth0 | U |
ci-info: | 2 | local | :: | eth0 | U |
ci-info: | 3 | ff00::/8 | :: | eth0 | U |
ci-info: +-------+-------------+---------+-----------+-------+
Cloud-init v. 20.1-10-g71af48df-0ubuntu1 running 'modules:config' at Wed, 18 Mar 2020 11:38:05 +0000. Up 7.98 seconds.
+ install -D -m 644 /dev/null /etc/systemd/system/juju-clean-shutdown.service
+ printf %s\n
[Unit]
Description=Stop all network interfaces on shutdown
DefaultDependencies=false
After=final.target

[Service]
Type=oneshot
ExecStart=/sbin/ifdown -a -v --force
StandardOutput=tty
StandardError=tty

[Install]
WantedBy=final.target

+ /bin/systemctl enable /etc/systemd/system/juju-clean-shutdown.service
Created symlink /etc/systemd/system/final.target.wants/juju-clean-shutdown.service → /etc/systemd/system/juju-clean-shutdown.service.
+ install -D -m 644 /dev/null /var/lib/juju/nonce.txt
+ printf %s\n user-admin:bootstrap
Cloud-init v. 20.1-10-g71af48df-0ubuntu1 running 'modules:final' at Wed, 18 Mar 2020 11:38:06 +0000. Up 8.46 seconds.
Cloud-init v. 20.1-10-g71af48df-0ubuntu1 finished at Wed, 18 Mar 2020 11:38:06 +0000. Datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 8.69 seconds
Logging to /var/log/cloud-init-output.log on the bootstrap machine
Regenerating SSH RSA host key
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
SHA256:KeyemKlhb5LA2UGUi2q9fY3hWx26OZicOcDtQ2Hdf+Y root@juju-e20d8b-0
The key's randomart image is:
+---[RSA 3072]----+
| ... |
| o |
| o . . . |
| . o . o o . |
|o + o = S .. |
|o+ o + = o .. o |
|..o.o B Oo . + |
| .o+.* #.oo E |
| .+= +.+o. |
+----[SHA256]-----+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
SHA256:q3TmvZT2/qmBivMR/ulNt2x/Htfn2HDPpWjZdPcgrv4 root@juju-e20d8b-0
The key's randomart image is:
+---[DSA 1024]----+
| |
| |
| |
| |
| S |
| . o o. o +|
| . * =.o=o+O|
| ..* B =+=o@O|
| oo+oO*E+BoO|
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
SHA256:2GQbIlOZGW5y7vyaZprmfwubuEyJB9aEDLbcdLJc0ZA root@juju-e20d8b-0
The key's randomart image is:
+---[ECDSA 256]---+
|.. o =B= |
|oo=.=E+. |
| oo+= = + |
| o B * o |
| o . o S |
| . o + |
| . + + |
| +.oo*. |
| oB**oo. |
+----[SHA256]-----+
Running apt-get update
Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [255 kB]
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [79.7 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [112 B]
Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [975 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [116 B]
Get:8 http://archive.ubuntu.com/ubuntu focal/main Translation-en [502 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [21.4 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal/restricted Translation-en [6128 B]
Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8623 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal/universe Translation-en [5154 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [267 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [145 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal/multiverse Translation-en [105 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9276 B]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [112 B]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [116 B]
Get:19 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [112 B]
Get:20 http://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
Get:21 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [116 B]
Get:22 http://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
Fetched 16.1 MB in 3s (5961 kB/s)
Reading package lists...
Running apt-get upgrade
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
  base-files libc-bin libc6 libperl5.30 libpython3.8 libpython3.8-minimal
  libpython3.8-stdlib locales login passwd perl perl-base python3.8
  python3.8-minimal
The following packages will be upgraded:
  dirmngr gcc-10-base gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg
  gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv isc-dhcp-client
  isc-dhcp-common kmod libappstream4 libasound2 libasound2-data libgcc-s1
  libgcc1 libgirepository-1.0-1 libglib2.0-0 libglib2.0-bin libglib2.0-data
  libkmod2 libldap-2.4-2 libldap-common libstdc++6 libx11-6 libx11-data
  perl-modules-5.30 python3-gi python3-keyring python3-twisted
  python3-twisted-bin tzdata unattended-upgrades
38 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Need to get 11.7 MB of archives.
After this operation, 584 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 perl-modules-5.30 all 5.30.0-9build1 [2737 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 gcc-10-base amd64 10-20200307-0ubuntu1 [18.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 libstdc++6 amd64 10-20200307-0ubuntu1 [502 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 libgcc-s1 amd64 10-20200307-0ubuntu1 [41.5 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgcc1 amd64 1:10-20200307-0ubuntu1 [41.4 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 gpg-wks-client amd64 2.2.19-3ubuntu2 [97.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 dirmngr amd64 2.2.19-3ubuntu2 [329 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 gpg-wks-server amd64 2.2.19-3ubuntu2 [90.3 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 gnupg-utils amd64 2.2.19-3ubuntu2 [481 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 gpg-agent amd64 2.2.19-3ubuntu2 [232 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 gpg amd64 2.2.19-3ubuntu2 [482 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 gpgconf amd64 2.2.19-3ubuntu2 [124 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal/main amd64 gnupg-l10n all 2.2.19-3ubuntu2 [51.7 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal/main amd64 gnupg all 2.2.19-3ubuntu2 [259 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal/main amd64 gpgsm amd64 2.2.19-3ubuntu2 [217 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal/main amd64 libldap-common all 2.4.49+dfsg-2ubuntu1 [17.3 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 libldap-2.4-2 amd64 2.4.49+dfsg-2ubuntu1 [156 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal/main amd64 gpgv amd64 2.2.19-3ubuntu2 [200 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 libglib2.0-data all 2.64.1-1 [6540 B]
Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 libglib2.0-bin amd64 2.64.1-1 [72.8 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal/main amd64 libglib2.0-0 amd64 2.64.1-1 [1284 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal/main amd64 libgirepository-1.0-1 amd64 1.64.0-1 [85.7 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal/main amd64 gir1.2-glib-2.0 amd64 1.64.0-1 [134 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal/main amd64 isc-dhcp-client amd64 4.4.1-2.1ubuntu3 [247 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal/main amd64 isc-dhcp-common amd64 4.4.1-2.1ubuntu3 [44.8 kB]
Get:26 http://archive.ubuntu.com/ubuntu focal/main amd64 kmod amd64 27-1ubuntu2 [93.9 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal/main amd64 libkmod2 amd64 27-1ubuntu2 [44.3 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-gi amd64 3.36.0-1 [165 kB]
Get:29 http://archive.ubuntu.com/ubuntu focal/main amd64 tzdata all 2019c-3ubuntu1 [294 kB]
Get:30 http://archive.ubuntu.com/ubuntu focal/main amd64 libx11-data all 2:1.6.9-2ubuntu1 [113 kB]
Get:31 http://archive.ubuntu.com/ubuntu focal/main amd64 libx11-6 amd64 2:1.6.9-2ubuntu1 [573 kB]
Get:32 http://archive.ubuntu.com/ubuntu focal/main amd64 libappstream4 amd64 0.12.10-2 [129 kB]
Get:33 http://archive.ubuntu.com/ubuntu focal/main amd64 libasound2 amd64 1.2.2-2.1 [328 kB]
Get:34 http://archive.ubuntu.com/ubuntu focal/main amd64 libasound2-data all 1.2.2-2.1 [19.0 kB]
Get:35 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-keyring all 18.0.1-2ubuntu1 [28.7 kB]
Get:36 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-twisted-bin amd64 18.9.0-6ubuntu1 [11.2 kB]
Get:37 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-twisted all 18.9.0-6ubuntu1 [1931 kB]
Get:38 http://archive.ubuntu.com/ubuntu focal/main amd64 unattended-upgrades all 2.0 [50.1 kB]
Preconfiguring packages ...
Fetched 11.7 MB in 0s (72.9 MB/s)
(Reading database ... 31162 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.30_5.30.0-9build1_all.deb ...
Unpacking perl-modules-5.30 (5.30.0-9build1) over (5.30.0-9) ...
Preparing to unpack .../gcc-10-base_10-20200307-0ubuntu1_amd64.deb ...
Unpacking gcc-10-base:amd64 (10-20200307-0ubuntu1) over (10-20200304-1ubuntu1) ...
Setting up gcc-10-base:amd64 (10-20200307-0ubuntu1) ...
(Reading database ... 31162 files and directories currently installed.)
Preparing to unpack .../libstdc++6_10-20200307-0ubuntu1_amd64.deb ...
Unpacking libstdc++6:amd64 (10-20200307-0ubuntu1) over (10-20200304-1ubuntu1) ...
Setting up libstdc++6:amd64 (10-20200307-0ubuntu1) ...
(Reading database ... 31162 files and directories currently installed.)
Preparing to unpack .../libgcc-s1_10-20200307-0ubuntu1_amd64.deb ...
Unpacking libgcc-s1:amd64 (10-20200307-0ubuntu1) over (10-20200304-1ubuntu1) ...
Setting up libgcc-s1:amd64 (10-20200307-0ubuntu1) ...
(Reading database ... 31162 files and directories currently installed.)
Preparing to unpack .../libgcc1_1%3a10-20200307-0ubuntu1_amd64.deb ...
Unpacking libgcc1 (1:10-20200307-0ubuntu1) over (1:10-20200304-1ubuntu1) ...
Setting up libgcc1 (1:10-20200307-0ubuntu1) ...
(Reading database ... 31162 files and directories currently installed.)
Preparing to unpack .../00-gpg-wks-client_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gpg-wks-client (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../01-dirmngr_2.2.19-3ubuntu2_amd64.deb ...
Unpacking dirmngr (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../02-gpg-wks-server_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gpg-wks-server (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../03-gnupg-utils_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gnupg-utils (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../04-gpg-agent_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gpg-agent (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../05-gpg_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gpg (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../06-gpgconf_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gpgconf (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../07-gnupg-l10n_2.2.19-3ubuntu2_all.deb ...
Unpacking gnupg-l10n (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../08-gnupg_2.2.19-3ubuntu2_all.deb ...
Unpacking gnupg (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../09-gpgsm_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gpgsm (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Preparing to unpack .../10-libldap-common_2.4.49+dfsg-2ubuntu1_all.deb ...
Unpacking libldap-common (2.4.49+dfsg-2ubuntu1) over (2.4.49+dfsg-1ubuntu1) ...
Preparing to unpack .../11-libldap-2.4-2_2.4.49+dfsg-2ubuntu1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1) over (2.4.49+dfsg-1ubuntu1) ...
Preparing to unpack .../12-gpgv_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gpgv (2.2.19-3ubuntu2) over (2.2.17-3ubuntu1) ...
Setting up gpgv (2.2.19-3ubuntu2) ...
(Reading database ... 31159 files and directories currently installed.)
Preparing to unpack .../00-libglib2.0-data_2.64.1-1_all.deb ...
Unpacking libglib2.0-data (2.64.1-1) over (2.64.0-1) ...
Preparing to unpack .../01-libglib2.0-bin_2.64.1-1_amd64.deb ...
Unpacking libglib2.0-bin (2.64.1-1) over (2.64.0-1) ...
Preparing to unpack .../02-libglib2.0-0_2.64.1-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.64.1-1) over (2.64.0-1) ...
Preparing to unpack .../03-libgirepository-1.0-1_1.64.0-1_amd64.deb ...
Unpacking libgirepository-1.0-1:amd64 (1.64.0-1) over (1.63.2-1) ...
Preparing to unpack .../04-gir1.2-glib-2.0_1.64.0-1_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (1.64.0-1) over (1.63.2-1) ...
Preparing to unpack .../05-isc-dhcp-client_4.4.1-2.1ubuntu3_amd64.deb ...
Unpacking isc-dhcp-client (4.4.1-2.1ubuntu3) over (4.4.1-2.1ubuntu2) ...
Preparing to unpack .../06-isc-dhcp-common_4.4.1-2.1ubuntu3_amd64.deb ...
Unpacking isc-dhcp-common (4.4.1-2.1ubuntu3) over (4.4.1-2.1ubuntu2) ...
Preparing to unpack .../07-kmod_27-1ubuntu2_amd64.deb ...
Unpacking kmod (27-1ubuntu2) over (27-1ubuntu1) ...
Preparing to unpack .../08-libkmod2_27-1ubuntu2_amd64.deb ...
Unpacking libkmod2:amd64 (27-1ubuntu2) over (27-1ubuntu1) ...
Preparing to unpack .../09-python3-gi_3.36.0-1_amd64.deb ...
Unpacking python3-gi (3.36.0-1) over (3.34.0-6build1) ...
Preparing to unpack .../10-tzdata_2019c-3ubuntu1_all.deb ...
Unpacking tzdata (2019c-3ubuntu1) over (2019c-3) ...
Preparing to unpack .../11-libx11-data_2%3a1.6.9-2ubuntu1_all.deb ...
Unpacking libx11-data (2:1.6.9-2ubuntu1) over (2:1.6.9-2) ...
Preparing to unpack .../12-libx11-6_2%3a1.6.9-2ubuntu1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.9-2ubuntu1) over (2:1.6.9-2) ...
Preparing to unpack .../13-libappstream4_0.12.10-2_amd64.deb ...
Unpacking libappstream4:amd64 (0.12.10-2) over (0.12.10-1) ...
Preparing to unpack .../14-libasound2_1.2.2-2.1_amd64.deb ...
Unpacking libasound2:amd64 (1.2.2-2.1) over (1.2.2-2ubuntu1) ...
Preparing to unpack .../15-libasound2-data_1.2.2-2.1_all.deb ...
Unpacking libasound2-data (1.2.2-2.1) over (1.2.2-2ubuntu1) ...
Preparing to unpack .../16-python3-keyring_18.0.1-2ubuntu1_all.deb ...
Unpacking python3-keyring (18.0.1-2ubuntu1) over (18.0.1-2) ...
Preparing to unpack .../17-python3-twisted-bin_18.9.0-6ubuntu1_amd64.deb ...
Unpacking python3-twisted-bin:amd64 (18.9.0-6ubuntu1) over (18.9.0-6build1) ...
Preparing to unpack .../18-python3-twisted_18.9.0-6ubuntu1_all.deb ...
Unpacking python3-twisted (18.9.0-6ubuntu1) over (18.9.0-6build1) ...
Preparing to unpack .../19-unattended-upgrades_2.0_all.deb ...
Unpacking unattended-upgrades (2.0) over (1.18) ...
Setting up perl-modules-5.30 (5.30.0-9build1) ...
Setting up libglib2.0-0:amd64 (2.64.1-1) ...
Setting up python3-twisted-bin:amd64 (18.9.0-6ubuntu1) ...
Setting up isc-dhcp-client (4.4.1-2.1ubuntu3) ...
Installing new version of config file /etc/apparmor.d/sbin.dhclient ...
Setting up libldap-common (2.4.49+dfsg-2ubuntu1) ...
Setting up libappstream4:amd64 (0.12.10-2) ...
Setting up tzdata (2019c-3ubuntu1) ...

Current default time zone: 'Etc/UTC'
Local time is now: Wed Mar 18 11:38:30 UTC 2020.
Universal Time is now: Wed Mar 18 11:38:30 UTC 2020.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libasound2-data (1.2.2-2.1) ...
Setting up unattended-upgrades (2.0) ...
Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
Setting up libglib2.0-data (2.64.1-1) ...
Setting up libx11-data (2:1.6.9-2ubuntu1) ...
Setting up gnupg-l10n (2.2.19-3ubuntu2) ...
Setting up python3-twisted (18.9.0-6ubuntu1) ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/python3/dist-packages/twisted/conch/client/knownhosts.py:492: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if keytype is "EC":
Setting up libasound2:amd64 (1.2.2-2.1) ...
Setting up gpgconf (2.2.19-3ubuntu2) ...
Setting up python3-keyring (18.0.1-2ubuntu1) ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
Setting up libx11-6:amd64 (2:1.6.9-2ubuntu1) ...
Setting up libgirepository-1.0-1:amd64 (1.64.0-1) ...
Setting up isc-dhcp-common (4.4.1-2.1ubuntu3) ...
Setting up gpg (2.2.19-3ubuntu2) ...
Setting up libkmod2:amd64 (27-1ubuntu2) ...
Setting up gnupg-utils (2.2.19-3ubuntu2) ...
Setting up gpg-agent (2.2.19-3ubuntu2) ...
Setting up gpgsm (2.2.19-3ubuntu2) ...
Setting up libglib2.0-bin (2.64.1-1) ...
Setting up libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1) ...
Setting up kmod (27-1ubuntu2) ...
update-initramfs: deferring update (trigger activated)
Setting up dirmngr (2.2.19-3ubuntu2) ...
Setting up gir1.2-glib-2.0:amd64 (1.64.0-1) ...
Setting up gpg-wks-server (2.2.19-3ubuntu2) ...
Setting up gpg-wks-client (2.2.19-3ubuntu2) ...
Setting up python3-gi (3.36.0-1) ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
Setting up gnupg (2.2.19-3ubuntu2) ...
Processing triggers for libc-bin (2.30-0ubuntu3) ...
Processing triggers for systemd (244.3-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for initramfs-tools (0.136ubuntu1) ...
Installing curl, cpu-checker, bridge-utils, tmux, ubuntu-fan
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (7.68.0-1ubuntu1).
curl set to manually installed.
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  msr-tools
The following NEW packages will be installed:
  cpu-checker msr-tools
0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded.
Need to get 16.9 kB of archives.
After this operation, 66.6 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 msr-tools amd64 1.3-3 [10.0 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 cpu-checker amd64 0.7-1.1 [6936 B]
Fetched 16.9 kB in 0s (1459 kB/s)
Selecting previously unselected package msr-tools.
(Reading database ... 31172 files and directories currently installed.)
Preparing to unpack .../msr-tools_1.3-3_amd64.deb ...
Unpacking msr-tools (1.3-3) ...
Selecting previously unselected package cpu-checker.
Preparing to unpack .../cpu-checker_0.7-1.1_amd64.deb ...
Unpacking cpu-checker (0.7-1.1) ...
Setting up msr-tools (1.3-3) ...
Setting up cpu-checker (0.7-1.1) ...
Processing triggers for man-db (2.9.1-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'sudo apt autoremove' to remove it.
Suggested packages:
  ifupdown
The following NEW packages will be installed:
  bridge-utils
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 30.5 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 bridge-utils amd64 1.6-2ubuntu1 [30.5 kB]
Fetched 30.5 kB in 0s (2730 kB/s)
Selecting previously unselected package bridge-utils.
(Reading database ... 31186 files and directories currently installed.)
Preparing to unpack .../bridge-utils_1.6-2ubuntu1_amd64.deb ...
Unpacking bridge-utils (1.6-2ubuntu1) ...
Setting up bridge-utils (1.6-2ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
tmux is already the newest version (3.0a-2).
tmux set to manually installed.
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  dns-root-data dnsmasq-base libidn11
The following NEW packages will be installed:
  dns-root-data dnsmasq-base libidn11 ubuntu-fan
0 upgraded, 4 newly installed, 0 to remove and 14 not upgraded.
Need to get 400 kB of archives.
After this operation, 1229 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 dns-root-data all 2019052802 [5300 B]
Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 libidn11 amd64 1.33-2.2ubuntu2 [46.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 dnsmasq-base amd64 2.80-1.1ubuntu1 [314 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 ubuntu-fan all 0.12.13 [34.5 kB]
Fetched 400 kB in 0s (20.8 MB/s)
Selecting previously unselected package dns-root-data.
(Reading database ... 31214 files and directories currently installed.)
Preparing to unpack .../dns-root-data_2019052802_all.deb ...
Unpacking dns-root-data (2019052802) ...
Selecting previously unselected package libidn11:amd64.
Preparing to unpack .../libidn11_1.33-2.2ubuntu2_amd64.deb ...
Unpacking libidn11:amd64 (1.33-2.2ubuntu2) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../dnsmasq-base_2.80-1.1ubuntu1_amd64.deb ...
Unpacking dnsmasq-base (2.80-1.1ubuntu1) ...
Selecting previously unselected package ubuntu-fan.
Preparing to unpack .../ubuntu-fan_0.12.13_all.deb ...
Unpacking ubuntu-fan (0.12.13) ...
Setting up dns-root-data (2019052802) ...
Setting up libidn11:amd64 (1.33-2.2ubuntu2) ...
Setting up dnsmasq-base (2.80-1.1ubuntu1) ...
Setting up ubuntu-fan (0.12.13) ...
Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-fan.service → /lib/systemd/system/ubuntu-fan.service.
Processing triggers for systemd (244.3-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Processing triggers for libc-bin (2.30-0ubuntu3) ...
3c5aadafc30ec7d42af3071fc1aea6cb73022516376be80a5e1daabf5c788449 /var/lib/juju/tools/2.7.5.1-focal-amd64/tools.tar.gz
ea1d5a41c36521c315b60442cbdfb2cbd0703df926d089f721b30c857c6344a4 /var/lib/juju/gui/gui.tar.bz2
Installing Juju machine agent
2020-03-18 11:38:45 INFO juju.cmd supercommand.go:83 running jujud [2.7.5.1 9825e246a9ec70e6551744d033802f19d78cabce gc go1.14]
runtime: mlock of signal stack failed: 12
runtime: increase the mlock limit (ulimit -l) or
runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+
fatal error: mlock failed

runtime stack:
runtime.throw(0x40a81f8, 0xc)
 /usr/local/go/src/runtime/panic.go:1112 +0x72
runtime.mlockGsignal(0xc0004c7200)
 /usr/local/go/src/runtime/os_linux_x86.go:72 +0x107
runtime.mpreinit(0xc000f10000)
 /usr/local/go/src/runtime/os_linux.go:341 +0x78
runtime.mcommoninit(0xc000f10000)
 /usr/local/go/src/runtime/proc.go:630 +0x108
runtime.allocm(0xc00007c000, 0x423b998, 0x44477d)
 /usr/local/go/src/runtime/proc.go:1390 +0x14e
runtime.newm(0x423b998, 0xc00007c000)
 /usr/local/go/src/runtime/proc.go:1704 +0x39
runtime.startm(0x0, 0xc000500301)
 /usr/local/go/src/runtime/proc.go:1869 +0x12a
runtime.wakep(...)
 /usr/local/go/src/runtime/proc.go:1953
runtime.resetspinning()
 /usr/local/go/src/runtime/proc.go:2415 +0x93
runtime.schedule()
 /usr/local/go/src/runtime/proc.go:2527 +0x2de
runtime.park_m(0xc000103b00)
 /usr/local/go/src/runtime/proc.go:2690 +0x9d
runtime.mcall(0x800000)
 /usr/local/go/src/runtime/asm_amd64.s:318 +0x5b

goroutine 1 [runnable]:
time.Time.date(0x0, 0xef0e0dc0c, 0x0, 0x40b8400, 0x11, 0xc000e059a0, 0xd, 0xef0e0dc0c)
 /usr/local/go/src/time/time.go:973 +0x8d
time.Time.Year(...)
 /usr/local/go/src/time/time.go:505
encoding/asn1.parseUTCTime(0xc000e12097, 0xd, 0x37d, 0x1, 0x100, 0x17, 0xd, 0x0)
 /usr/local/go/src/encoding/asn1/asn1.go:351 +0x2b5
encoding/asn1.parseField(0x3f58b00, 0xc000e0e400, 0x199, 0xc000e12086, 0x1e, 0x38e, 0xf, 0x0, 0x0, 0x0, ...)
 /usr/local/go/src/encoding/asn1/asn1.go:872 +0x2510
encoding/asn1.parseField(0x3a99cc0, 0xc000e0e3e8, 0x199, 0xc000e12008, 0x2e8, 0x40c, 0x7c, 0x0, 0x0, 0x0, ...)
 /usr/local/go/src/encoding/asn1/asn1.go:945 +0x1c0e
encoding/asn1.parseField(0x3e71880, 0xc000e0e318, 0x199, 0xc000e12004, 0x400, 0x410, 0x0, 0x0, 0x0, 0x0, ...)
 /usr/local/go/src/encoding/asn1/asn1.go:945 +0x1c0e
encoding/asn1.parseField(0x3c58600, 0xc000e0e300, 0x199, 0xc000e12000, 0x404, 0x414, 0x0, 0x0, 0x0, 0x0, ...)
 /usr/local/go/src/encoding/asn1/asn1.go:945 +0x1c0e
encoding/asn1.UnmarshalWithParams(0xc000e12000, 0x404, 0x414, 0x359f6e0, 0xc000e0e300, 0x0, 0x0, 0xc000d977ee, 0x0, 0x1, ...)
 /usr/local/go/src/encoding/asn1/asn1.go:1090 +0x1ad
encoding/asn1.Unmarshal(...)
 /usr/local/go/src/encoding/asn1/asn1.go:1083
crypto/x509.ParseCertificate(0xc000e12000, 0x404, 0x414, 0xc00091d080, 0xc000d97d8b, 0x18ff2)
 /usr/local/go/src/crypto/x509/x509.go:1571 +0x7d
crypto/x509.(*CertPool).AppendCertsFromPEM(0xc000abcae0, 0xc000d80000, 0x30d7d, 0x30f7d, 0x30f7d)
 /usr/local/go/src/crypto/x509/cert_pool.go:139 +0xf2
crypto/x509.loadSystemRoots(0x0, 0x0, 0x0)
 /usr/local/go/src/crypto/x509/root_unix.go:51 +0x5b1
crypto/x509.initSystemRoots()
 /usr/local/go/src/crypto/x509/root.go:21 +0x26
sync.(*Once).doSlow(0x701f580, 0x4233e10)
 /usr/local/go/src/sync/once.go:66 +0xec
sync.(*Once).Do(...)
 /usr/local/go/src/sync/once.go:57
crypto/x509.systemRootsPool(...)
 /usr/local/go/src/crypto/x509/root.go:16
crypto/x509.SystemCertPool(0x0, 0xc000bbe150, 0x60d6b8)
 /usr/local/go/src/crypto/x509/cert_pool.go:61 +0xa5
github.com/juju/juju/vendor/github.com/lxc/lxd/shared.systemCertPool(0xc00047b41d, 0x0, 0x8)
 /home/simon/go/src/github.com/juju/juju/vendor/github.com/lxc/lxd/shared/network_unix.go:12 +0x26
github.com/juju/juju/vendor/github.com/lxc/lxd/shared.finalizeTLSConfig(0xc00029a900, 0xc0004f1600)
 /home/simon/go/src/github.com/juju/juju/vendor/github.com/lxc/lxd/shared/network.go:69 +0x17d
github.com/juju/juju/vendor/github.com/lxc/lxd/shared.GetTLSConfigMem(0xc000681500, 0x31e, 0xc00024c6c0, 0x120, 0x0, 0x0, 0xc000680a80, 0x316, 0xc000bbe300, 0x410568, ...)
 /home/simon/go/src/github.com/juju/juju/vendor/github.com/lxc/lxd/shared/network.go:158 +0x11b
github.com/juju/juju/vendor/github.com/lxc/lxd/client.tlsHTTPClient(0x0, 0xc000681500, 0x31e, 0xc00024c6c0, 0x120, 0x0, 0x0, 0xc000680a80, 0x316, 0xc000bbe400, ...)
 /home/simon/go/src/github.com/juju/juju/vendor/github.com/lxc/lxd/client/util.go:18 +0x99
github.com/juju/juju/vendor/github.com/lxc/lxd/client.httpsLXD(0xc000525520, 0x17, 0xc000bdcfd0, 0x0, 0x0, 0x8, 0xc0006a2888)
 /home/simon/go/src/github.com/juju/juju/vendor/github.com/lxc/lxd/client/connection.go:192 +0x1d8
github.com/juju/juju/vendor/github.com/lxc/lxd/client.ConnectLXD(0xc000525520, 0x17, 0xc000bdcfd0, 0x17, 0x0, 0x0, 0xc0006a2120)
 /home/simon/go/src/github.com/juju/juju/vendor/github.com/lxc/lxd/client/connection.go:67 +0xaa
github.com/juju/juju/container/lxd.ConnectRemote(0x0, 0x0, 0xc000525080, 0x17, 0x0, 0x0, 0xc000bdcfd0, 0xc000519da0, 0x1d5a803, 0xc000525080, ...)
 /home/simon/go/src/github.com/juju/juju/container/lxd/connection.go:146 +0xad
github.com/juju/juju/container/lxd.NewRemoteServer(0x0, 0x0, 0xc000525080, 0x17, 0x0, 0x0, 0xc000bdcfd0, 0x3a3b5a0, 0x101, 0xc000519da0)
 /home/simon/go/src/github.com/juju/juju/container/lxd/server.go:83 +0x62
github.com/juju/juju/provider/lxd.NewServerFactory.func2(0x0, 0x0, 0xc000525080, 0x17, 0x0, 0x0, 0xc000bdcfd0, 0x0, 0x0, 0xc0004bc6c0, ...)
 /home/simon/go/src/github.com/juju/juju/provider/lxd/server.go:138 +0x4c
github.com/juju/juju/provider/lxd.(*serverFactory).RemoteServer(0xc000136fc0, 0xc00068e3a8, 0x3, 0xc00068e398, 0x3, 0xc00068e1a8, 0x7, 0xc000525080, 0x17, 0x0, ...)
 /home/simon/go/src/github.com/juju/juju/provider/lxd/server.go:200 +0x363
github.com/juju/juju/provider/lxd.(*environ).SetCloudSpec(0xc0001ce0f0, 0xc00068e3a8, 0x3, 0xc00068e398, 0x3, 0xc00068e1a8, 0x7, 0xc000525080, 0x17, 0x0, ...)
 /home/simon/go/src/github.com/juju/juju/provider/lxd/environ.go:136 +0xce
github.com/juju/juju/provider/lxd.newEnviron(0xc000137020, 0xc00068e3a8, 0x3, 0xc00068e398, 0x3, 0xc00068e1a8, 0x7, 0xc000525080, 0x17, 0x0, ...)
 /home/simon/go/src/github.com/juju/juju/provider/lxd/environ.go:78 +0x2d2
github.com/juju/juju/provider/lxd.(*environProvider).Open(0xc000137020, 0xc00050c600, 0x24, 0xc00068e3a8, 0x3, 0xc00068e398, 0x3, 0xc00068e1a8, 0x7, 0xc000525080, ...)
 /home/simon/go/src/github.com/juju/juju/provider/lxd/provider.go:144 +0x10e
github.com/juju/juju/environs.Open(0x48ac640, 0xc000137020, 0xc00050c600, 0x24, 0xc00068e3a8, 0x3, 0xc00068e398, 0x3, 0xc00068e1a8, 0x7, ...)
 /home/simon/go/src/github.com/juju/juju/environs/open.go:30 +0x231
github.com/juju/juju/environs.New(0xc00050c600, 0x24, 0xc00068e3a8, 0x3, 0xc00068e398, 0x3, 0xc00068e1a8, 0x7, 0xc000525080, 0x17, ...)
 /home/simon/go/src/github.com/juju/juju/environs/open.go:22 +0xf9
github.com/juju/juju/cmd/jujud/agent.(*BootstrapCommand).Run(0xc0009f4780, 0xc0000d52c0, 0x0, 0x0)
 /home/simon/go/src/github.com/juju/juju/cmd/jujud/agent/bootstrap.go:183 +0x1d7f
github.com/juju/juju/vendor/github.com/juju/cmd.(*SuperCommand).Run(0xc000b757c0, 0xc0000d52c0, 0xc0000d52c0, 0x0)
 /home/simon/go/src/github.com/juju/juju/vendor/github.com/juju/cmd/supercommand.go:516 +0x299
github.com/juju/juju/vendor/github.com/juju/cmd.Main(0x4896860, 0xc000b757c0, 0xc0000d52c0, 0xc000138010, 0x7, 0x7, 0x0)
 /home/simon/go/src/github.com/juju/juju/vendor/github.com/juju/cmd/cmd.go:379 +0x2bf
main.jujuDMain(0xc000138000, 0x8, 0x8, 0xc0000d52c0, 0x0, 0x0, 0x0)
 /home/simon/go/src/github.com/juju/juju/cmd/jujud/main.go:255 +0x722
main.Main(0xc000138000, 0x8, 0x8, 0x0)
 /home/simon/go/src/github.com/juju/juju/cmd/jujud/main.go:288 +0x1d6
main.MainWrapper(0xc000138000, 0x8, 0x8)
 /home/simon/go/src/github.com/juju/juju/cmd/jujud/main.go:263 +0x3f
main.main()
 /home/simon/go/src/github.com/juju/juju/cmd/jujud/main_nix.go:22 +0x45

goroutine 33 [chan receive]:
github.com/juju/juju/vendor/k8s.io/klog.(*loggingT).flushDaemon(0x6fe9280)
 /home/simon/go/src/github.com/juju/juju/vendor/k8s.io/klog/klog.go:1010 +0x8b
created by github.com/juju/juju/vendor/k8s.io/klog.init.0
 /home/simon/go/src/github.com/juju/juju/vendor/k8s.io/klog/klog.go:411 +0xd6

goroutine 9 [select]:
github.com/juju/juju/worker/logsender.(*BufferedLogWriter).loop(0xc0000c95c0)
 /home/simon/go/src/github.com/juju/juju/worker/logsender/bufferedlogwriter.go:116 +0x10a
created by github.com/juju/juju/worker/logsender.NewBufferedLogWriter
 /home/simon/go/src/github.com/juju/juju/worker/logsender/bufferedlogwriter.go:97 +0xc1

goroutine 98 [select]:
github.com/juju/juju/vendor/go.opencensus.io/stats/view.(*worker).start(0xc000868000)
 /home/simon/go/src/github.com/juju/juju/vendor/go.opencensus.io/stats/view/worker.go:152 +0xdd
created by github.com/juju/juju/vendor/go.opencensus.io/stats/view.init.0
 /home/simon/go/src/github.com/juju/juju/vendor/go.opencensus.io/stats/view/worker.go:29 +0x57
ERROR failed to bootstrap model: subprocess encountered error code 2

Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Undecided → Low
tags: added: expirebugs-bot
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.