[Bug 1691782] Re: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8
"List prints core snap version" test still fails with 4.11.0-6.11 and snapd 2.26.4+17.10. I did some investigation running the tests locally. In the test environment 'snapd list' prints: Name Version Rev Developer Notes core 16-2.26.4+git234.5f77219 2160 canonical - test-snapd-tools 1.0 x1 - >From the log, the (Perl-style) regex the test uses is '^core .* [0-9]{2}-[0-9.]+(\+[0-9]+(\.git\.[0-9a-f]+)?)? +[0-9]+ +canonical +- *$'. This regex fails to match on several counts: - It expects some number of [0-9] characters followed by '.' after the '+' but before 'git'. - It expects a '.' after 'git' before the version number which follows. - It does not expect any '.' characters within the version number following 'git'. Here's a potential replacement which at least matches the version number above: '^core .* [0-9]{2}-[0-9.]+(\+*git[0-9]+\.[0-9a-f]+)? +[0-9]+ +canonical +- *$' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691782 Title: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1691782/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1691782] Re: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8
** Changed in: snapd (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691782 Title: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1691782/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1691782] Re: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8
The "List prints core snap version" test is still failing. ** Description changed: Testing failed on: - amd64 - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful-canonical-kernel-team-ppa/artful/amd64/s/snapd/20170517_171222_5c77c@/log.gz - armhf - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful-canonical-kernel-team-ppa/artful/armhf/s/snapd/20170517_145550_5c77c@/log.gz - ppc64el - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful-canonical-kernel-team-ppa/artful/ppc64el/s/snapd/20170517_154230_5c77c@/log.gz - s390x - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful-canonical-kernel-team-ppa/artful/s390x/s/snapd/20170517_140730_5c77c@/log.gz + amd64 - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful-canonical-kernel-team-ppa/artful/amd64/s/snapd/20170517_171222_5c77c@/log.gz + armhf - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful-canonical-kernel-team-ppa/artful/armhf/s/snapd/20170517_145550_5c77c@/log.gz + ppc64el - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful-canonical-kernel-team-ppa/artful/ppc64el/s/snapd/20170517_154230_5c77c@/log.gz + s390x - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful-canonical-kernel-team-ppa/artful/s390x/s/snapd/20170517_140730_5c77c@/log.gz + + + 2017-05-17 16:44:16 Error executing autopkgtest:ubuntu-17.10-amd64:tests/main/listing : + - + + echo 'List prints core snap version' + List prints core snap version + + '[' autopkgtest = linode -o autopkgtest == qemu ']' + + expected='^core +.*? +(\d{2}\-\d+) + \d+ +canonical +- *' + + grep -Pq '^core +.*? +(\d{2}\-\d+) + \d+ +canonical +- *' + + snap list + - -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691782 Title: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1691782/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1691782] Re: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8
One of these failure is definitely a kernel bug, see LP #1691752. 2017-05-17 17:11:40 Error restoring autopkgtest:ubuntu-17.10-amd64:tests/main/econnreset : - + echo 'Remove the firewall rule again' Remove the firewall rule again ++ id -u test + iptables -D OUTPUT -m owner --uid-owner 12345 -j REJECT -p tcp --reject-with tcp-reset iptables: No chain/target/match by that name. - -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691782 Title: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1691782/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1691782] Re: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8
armhf - tests refuse to run due to being in a container. ppc64el - same econnreset failure as above. s390x: + /tmp/go/bin/spread -v autopkgtest:ubuntu-17.10-s390x 2017-05-17 14:07:26 Found /data/adttmp/autopkgtest-virt-lxc.shared.x382neyd/downtmp/build.jtO/snapd-2.26.1+17.10/spread.yaml. error: nothing matches provider filter -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691782 Title: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1691782/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1691782] Re: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8
Other amd64 failures. tests/main/listing - doesn't find expected pattern for core snap in 'snap list'. When I run the same thing manually it matches, so not sure what the problem is. 2017-05-17 16:44:16 Error executing autopkgtest:ubuntu-17.10-amd64:tests/main/listing : - + echo 'List prints core snap version' List prints core snap version + '[' autopkgtest = linode -o autopkgtest == qemu ']' + expected='^core +.*? +(\d{2}\-\d+) + \d+ +canonical +- *' + grep -Pq '^core +.*? +(\d{2}\-\d+) + \d+ +canonical +- *' + snap list - tests/main/snap-run-alias - Network timeout trying to installing the core snap. 2017-05-17 16:42:32 Error preparing autopkgtest:ubuntu-17.10-amd64:tests/main/snap-run-alias:testsnapdtoolsecho : - ... + snap install --channel=beta core error: cannot install "core": Get https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=beta&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%2Cchannel_maps_list: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) - -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691782 Title: snapd 2.26.1+17.10 ADT test failure with linux 4.11.0-3.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1691782/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs