Unfortunately there is no easy way to reproduce without building a new core. I build a core snap with the "networkd-allow-networkd-to-start-in-early-boot.patch" included.
With that our tests fail all over the place, e.g.: https://s3.amazonaws.com/archive.travis-ci.org/jobs/224387435/log.txt - search for "dial tcp: lookup".
I created an image with the problematic core (it is revision 1754) and ran the testsuite:
With an image generated with core r1754: $ kvm -m 1500 -redir tcp:10022::22 ./ubuntu-core-16-amd64.img/pc.img -snapshot $ export SPREAD_EXTERNAL_ADDRESS=localhost:10022 $ ./tests/lib/external/prepare-ssh.sh localhost 10022 $ spread -v -reuse external:ubuntu-core-16-64
but on qemu it is fine. However when I try this on linode I get: ... error: cannot install "jq": Get https://search.apps.ubuntu.com/api/v1/snaps/details/jq?channel=stable&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement: dial tcp: lookup search.apps.ubuntu.com on [::1]:53: read udp [::1]:54730->[::1]:53: read: connection refused ... 2017/04/21 20:54:24 Failed tasks: 6 - linode:ubuntu-core-16-64:tests/main/auto-aliases - linode:ubuntu-core-16-64:tests/main/searching - linode:ubuntu-core-16-64:tests/main/snap-connect - linode:ubuntu-core-16-64:tests/main/snap-download - linode:ubuntu-core-16-64:tests/main/ubuntu-core-classic - linode:ubuntu-core-16-64:tests/main/ubuntu-core-create-user 2017/04/21 20:54:24 Failed task prepare: 10 - linode:ubuntu-core-16-64:tests/main/auto-refresh - linode:ubuntu-core-16-64:tests/main/interfaces-content - linode:ubuntu-core-16-64:tests/main/interfaces-content-empty-content-attr - linode:ubuntu-core-16-64:tests/main/interfaces-fuse_support - linode:ubuntu-core-16-64:tests/main/interfaces-kernel-module-control - linode:ubuntu-core-16-64:tests/main/interfaces-snapd-control - linode:ubuntu-core-16-64:tests/main/refresh:strict_remote - linode:ubuntu-core-16-64:tests/main/revert-devmode:remote - linode:ubuntu-core-16-64:tests/main/revert:remote - linode:ubuntu-core-16-64:tests/main/snap-auto-mount 2017/04/21 20:54:24 Failed task restore: 1 - linode:ubuntu-core-16-64:tests/main/snap-auto-mount
so ~10% of the tests on linode fail. Unfortunately I don't know yet why this is fine in qemu but not on linode.
Unfortunately there is no easy way to reproduce without building a new core. I build a core snap with the "networkd- allow-networkd- to-start- in-early- boot.patch" included.
With that our tests fail all over the place, e.g.: https:/ /s3.amazonaws. com/archive. travis- ci.org/ jobs/224387435/ log.txt - search for "dial tcp: lookup".
I created an image with the problematic core (it is revision 1754) and ran the testsuite:
With an image generated with core r1754: core-16- amd64.img/ pc.img -snapshot EXTERNAL_ ADDRESS= localhost: 10022 lib/external/ prepare- ssh.sh localhost 10022 ubuntu- core-16- 64
$ kvm -m 1500 -redir tcp:10022::22 ./ubuntu-
$ export SPREAD_
$ ./tests/
$ spread -v -reuse external:
but on qemu it is fine. However when I try this on linode I get: /search. apps.ubuntu. com/api/ v1/snaps/ details/ jq?channel= stable& fields= anon_download_ url%2Carchitect ure%2Cchannel% 2Cdownload_ sha3_384% 2Csummary% 2Cdescription% 2Cdeltas% 2Cbinary_ filesize% 2Cdownload_ url%2Cepoch% 2Cicon_ url%2Clast_ updated% 2Cpackage_ name%2Cprices% 2Cpublisher% 2Cratings_ average% 2Crevision% 2Cscreenshot_ urls%2Csnap_ id%2Csupport_ url%2Ccontact% 2Ctitle% 2Ccontent% 2Cversion% 2Corigin% 2Cdeveloper_ id%2Cprivate% 2Cconfinement: dial tcp: lookup search. apps.ubuntu. com on [::1]:53: read udp [::1]:54730- >[::1]: 53: read: connection refused ubuntu- core-16- 64:tests/ main/auto- aliases ubuntu- core-16- 64:tests/ main/searching ubuntu- core-16- 64:tests/ main/snap- connect ubuntu- core-16- 64:tests/ main/snap- download ubuntu- core-16- 64:tests/ main/ubuntu- core-classic ubuntu- core-16- 64:tests/ main/ubuntu- core-create- user ubuntu- core-16- 64:tests/ main/auto- refresh ubuntu- core-16- 64:tests/ main/interfaces -content ubuntu- core-16- 64:tests/ main/interfaces -content- empty-content- attr ubuntu- core-16- 64:tests/ main/interfaces -fuse_support ubuntu- core-16- 64:tests/ main/interfaces -kernel- module- control ubuntu- core-16- 64:tests/ main/interfaces -snapd- control ubuntu- core-16- 64:tests/ main/refresh: strict_ remote ubuntu- core-16- 64:tests/ main/revert- devmode: remote ubuntu- core-16- 64:tests/ main/revert: remote ubuntu- core-16- 64:tests/ main/snap- auto-mount ubuntu- core-16- 64:tests/ main/snap- auto-mount
...
error: cannot install "jq": Get https:/
...
2017/04/21 20:54:24 Failed tasks: 6
- linode:
- linode:
- linode:
- linode:
- linode:
- linode:
2017/04/21 20:54:24 Failed task prepare: 10
- linode:
- linode:
- linode:
- linode:
- linode:
- linode:
- linode:
- linode:
- linode:
- linode:
2017/04/21 20:54:24 Failed task restore: 1
- linode:
so ~10% of the tests on linode fail. Unfortunately I don't know yet why this is fine in qemu but not on linode.