interfaces-upower-observe snap test fails on ppc64el
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Expired
|
High
|
Unassigned |
Bug Description
The full test log is:
"""
2016/12/16 21:09:45 Error executing autopkgtest:
-----
+ . /home/gopath/
+++ sed -n 's/^\(pc\
+++ snap list
++ gadget_name=
++ kernel_name=-kernel
+++ awk '/^(ubuntu-)?core / {print $1; exit}'
+++ snap list
++ core_name=core
++ '[' -kernel = pi3-kernel ']'
+ CONNECTED_
+ DISCONNECTED_
+ echo 'Then it is connected by default'
Then it is connected by default
+ grep -Pzq ':upower-observe +test-snapd-
+ snap interfaces
+ echo =======
=======
+ echo 'When the plug is disconnected'
When the plug is disconnected
+ snap disconnect test-snapd-
[|] Disconnect test-snapd-
[/] Disconnect test-snapd-
[-] Disconnect test-snapd-
�[K+ grep -Pzq '(?s).*?\n- +test-snapd-
+ snap interfaces
+ echo 'Then the snap is not able to dump info about the upower devices'
Then the snap is not able to dump info about the upower devices
+ su -l -c 'test-snapd-
+ grep -q 'Permission denied' upower.error
+ echo =======
=======
+ echo 'When the plug is connected'
When the plug is connected
+ snap connect test-snapd-
[|] Connect test-snapd-
[/] Connect test-snapd-
[-] Connect test-snapd-
�[K+ grep -Pzq ':upower-observe +test-snapd-
+ snap interfaces
+ echo 'Then the snap is able to dump info about the upower devices'
Then the snap is able to dump info about the upower devices
+ expected=
+ su -l -c 'test-snapd-
+ true
+ grep -Pqz '(?s)Device: +/org/freedeskt
+ su -l -c 'test-snapd-
"""
Changed in snappy: | |
status: | New → Triaged |
importance: | Undecided → High |
Is there an apparmor denial here? I'll mark this as incomplete for now.