snapd 2.26.8+17.10 ADT test failure with linux 4.12.0-6.7
Bug #1704158 reported by
Seth Forshee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Seth Forshee |
Bug Description
Testing failed on:
i386: https:/
ppc64el: https:/
CVE References
tags: | added: kernel-adt-failure |
affects: | snapd (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
assignee: | nobody → Seth Forshee (sforshee) |
importance: | Undecided → High |
status: | New → In Progress |
To post a comment you must log in.
Both look like they hit timeouts.
On i386:
2017-07-12 20:41:37 Error executing autopkgtest: ubuntu- 17.10-i386: tests/main/ econnreset : *download- snap/.* \.snap, attempt 1' snap-download.log download. log' test *download- snap/.* \.snap, attempt 1' snap-download.log *download- snap/.* \.snap, attempt 1' snap-download.log
-----
+ echo 'Downloading a large snap in the background'
Downloading a large snap in the background
+ echo 'Wait until it actually got some data for the snap'
Wait until it actually got some data for the snap
+ grep -q 'Retrying.
grep: + su -c '/usr/bin/env SNAPD_DEBUG=1 snap download --edge test-snapd-huge 2>snap-
snap-download.log: No such file or directory
+ sleep 1
...
test-snapd-huge 511.30 MB / 512.00 MB 99.86% 8.13 MB/s 0s
[K+ grep -q 'Retrying.
+ sleep 1
+ grep -q 'Retrying.
+ sleep 1
<above 2 lines repeated many times>
<kill-timeout reached> ubuntu- 17.10-i386: tests/main/ econnreset. .. ubuntu- 17.10-i386: tests/main/ econnreset :
-----
...
2017-07-12 20:41:37 Restoring autopkgtest:
2017-07-12 20:41:38 Error restoring autopkgtest:
-----
+ 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.
-----
This error removing the firewall rule has been seen previously (bug #1691752) but was fixed, in this case I'm just assuming the rule wasn't actually added due to the test aborting.
On ppc64el:
2017-07-12 20:41:03 Error preparing autopkgtest: ubuntu- 17.10-ppc64el: tests/main/ classic- custom- device- reg :
-----
...
+ snap download --edge core
Fetching snap "core"
core 0 B / 77.89 MB 0.00%
core 47.41 KB / 77.89 MB 0.06% 236.15 KB/s 5m37s
...
core 18.84 MB / 77.89 MB 24.19% 111.07 KB/s 9m4s
<kill-timeout reached>
-----
This has been happening consistently with 4.12 kernels on ppc64el. I see one result where this happened with 4.11, but later tests passed, so possibly it's a kernel regression.