interfaces-upower-observe snap test fails on ppc64el

Bug #1655592 reported by Michael Vogt on 2017-01-11

This bug report will be marked for expiration in 36 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
High
Unassigned

Bug Description

The full test log is:
"""
2016/12/16 21:09:45 Error executing autopkgtest:ubuntu-16.04-64:tests/main/interfaces-upower-observe :
-----
+ . /home/gopath/src/github.com/snapcore/snapd/tests/lib/names.sh
+++ sed -n 's/^\(pc\|pi[23]\|dragonboard\) .*/\1/p'
+++ snap list
++ gadget_name=
++ kernel_name=-kernel
+++ awk '/^(ubuntu-)?core / {print $1; exit}'
+++ snap list
++ core_name=core
++ '[' -kernel = pi3-kernel ']'
+ CONNECTED_PATTERN=':upower-observe +test-snapd-upower-observe-consumer'
+ DISCONNECTED_PATTERN='(?s).*?\n- +test-snapd-upower-observe-consumer:upower-observe'
+ echo 'Then it is connected by default'
Then it is connected by default
+ grep -Pzq ':upower-observe +test-snapd-upower-observe-consumer'
+ snap interfaces
+ echo ===================================
===================================
+ echo 'When the plug is disconnected'
When the plug is disconnected
+ snap disconnect test-snapd-upower-observe-consumer:upower-observe core:upower-observe

[|] Disconnect test-snapd-upower-observe-consumer:upower-observe from core:upower-observe�[K
[/] Disconnect test-snapd-upower-observe-consumer:upower-observe from core:upower-observe�[K
[-] Disconnect test-snapd-upower-observe-consumer:upower-observe from core:upower-observe�[K
�[K+ grep -Pzq '(?s).*?\n- +test-snapd-upower-observe-consumer:upower-observe'
+ 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-upower-observe-consumer.upower --dump 2>/home/gopath/src/github.com/snapcore/snapd/tests/main/interfaces-upower-observe/upower.error' test
+ grep -q 'Permission denied' upower.error
+ echo ===================================
===================================
+ echo 'When the plug is connected'
When the plug is connected
+ snap connect test-snapd-upower-observe-consumer:upower-observe core:upower-observe

[|] Connect test-snapd-upower-observe-consumer:upower-observe to core:upower-observe�[K
[/] Connect test-snapd-upower-observe-consumer:upower-observe to core:upower-observe�[K
[-] Connect test-snapd-upower-observe-consumer:upower-observe to core:upower-observe�[K
�[K+ grep -Pzq ':upower-observe +test-snapd-upower-observe-consumer'
+ 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='(?s)Device: +/org/freedesktop/UPower/devices/DisplayDevice.*Daemon:.*'
+ su -l -c 'test-snapd-upower-observe-consumer.upower --dump' test
+ true
+ grep -Pqz '(?s)Device: +/org/freedesktop/UPower/devices/DisplayDevice.*Daemon:.*'
+ su -l -c 'test-snapd-upower-observe-consumer.upower --dump' test
"""

Michael Vogt (mvo) on 2017-01-11
Changed in snappy:
status: New → Triaged
importance: Undecided → High
Zygmunt Krynicki (zyga) wrote :

Is there an apparmor denial here? I'll mark this as incomplete for now.

Changed in snappy:
status: Triaged → Incomplete
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers