"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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs