2017-09-10 15:14:44 Error executing external:ubuntu-core-16-32:tests/main/snapctl-configure-core :
-----
+ echo 'Check that service disable works'
Check that service disable works
+ systemctl status rsyslog.service
+ MATCH 'Active: active'
+ snap set core service.rsyslog.disable=true
+ systemctl status rsyslog.service
+ MATCH 'Active: inactive'
+ snap set core service.rsyslog.disable=false
+ echo 'Check that powerkey handling works'
Check that powerkey handling works
+ snap set core system.power-key-action=reboot
+ cat /etc/systemd/logind.conf.d/00-snap-core.conf
+ MATCH HandlePowerKey=reboot
+ echo 'Ensure unsetting cleans the file again'
Ensure unsetting cleans the file again
+ snap set core system.power-key-action=
+ test -f /etc/systemd/logind.conf.d/00-snap-core.conf
+ echo 'Check that pi config handline works'
Check that pi config handline works
+ '[' -e /boot/uboot/config.txt ']'
+ cp /boot/uboot/config.txt config.txt.save
+ snap set core pi-config.hdmi-mode=1
+ cat /boot/uboot/config.txt
+ MATCH '^hdmi_mode=1'
+ snap set core pi-config.hdmi-mode=
+ cat /boot/uboot/config.txt
+ MATCH '^#hdmi_mode=1'
+ echo 'Ensure the config.txt are fully undo when an option is unset'
Ensure the config.txt are fully undo when an option is unset
+ diff -u /boot/uboot/config.txt config.txt.save
--- /boot/uboot/config.txt 2017-09-10 18:14:44.000000000 +0000
+++ config.txt.save 2017-09-10 18:14:32.472929216 +0000
@@ -52,4 +52,4 @@
dtparam=pwr_led_trigger=mmc0
device_tree_address=0x02000000
-core_freq=250
\ No newline at end of file
+core_freq=250
+ echo 'error: unexpected diff in /boot/uboot/config.txt'
error: unexpected diff in /boot/uboot/config.txt
+ exit 1