fgimenez@dunwich:~/workspace/snappy$ export SPREAD_CORE_CHANNEL=stable
fgimenez@dunwich:~/workspace/snappy$ export SPREAD_CORE_REFRESH_CHANNEL=edge
fgimenez@dunwich:~/workspace/snappy$ spread -v qemu:ubuntu-16.04-64:tests/nested/core-revert
2017/06/01 17:00:40 Found /home/fgimenez/workspace/snappy/spread.yaml.
2017/06/01 17:00:41 Project content is packed for delivery (1.37MB).
2017/06/01 17:00:41 Allocating qemu:ubuntu-16.04-64...
2017/06/01 17:00:41 Serial and monitor for qemu:ubuntu-16.04-64 available at ports 59446 and 59546.
2017/06/01 17:00:41 Waiting for qemu:ubuntu-16.04-64 to make SSH available...
2017/06/01 17:00:42 Allocated qemu:ubuntu-16.04-64.
2017/06/01 17:00:42 If killed, discard servers with: spread -reuse-pid=28073 -discard
2017/06/01 17:00:42 Connecting to qemu:ubuntu-16.04-64...
2017/06/01 17:01:01 Connected to qemu:ubuntu-16.04-64 at localhost:59346.
2017/06/01 17:01:01 Sending project content to qemu:ubuntu-16.04-64...
2017/06/01 17:01:02 Preparing project on qemu:ubuntu-16.04-64...
2017/06/01 17:05:18 Preparing qemu:ubuntu-16.04-64:tests/nested/...
2017/06/01 17:06:05 Preparing qemu:ubuntu-16.04-64:tests/nested/core-revert...
2017/06/01 17:09:37 Executing qemu:ubuntu-16.04-64:tests/nested/core-revert (1/1)...
2017/06/01 17:14:37 WARNING: qemu:ubuntu-16.04-64 running late. Current output:
-----
(... 10 lines above ...)
+ sshpass -p ubuntu ssh -p 8022 -q -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user1@localhost 'sudo mv /etc/netplan/00-snapd-config.yaml /etc/netplan/00-snapd-config.yaml.back'
+ execute_remote 'sudo sed -i '\''s/unmanaged-devices+=interface-name:eth*/#unmanaged-devices+=interface-name:eth*/'\'' /var/snap/network-manager/current/conf.d/disable-ethernet.conf'
+ sshpass -p ubuntu ssh -p 8022 -q -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user1@localhost 'sudo sed -i '\''s/unmanaged-devices+=interface-name:eth*/#unmanaged-devices+=interface-name:eth*/'\'' /var/snap/network-manager/current/conf.d/disable-ethernet.conf'
+ MATCH 'tracking: +stable'
+ execute_remote 'snap info core'
+ sshpass -p ubuntu ssh -p 8022 -q -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user1@localhost 'snap info core'
+ execute_remote 'sudo snap refresh --edge core'
+ sshpass -p ubuntu ssh -p 8022 -q -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user1@localhost 'sudo snap refresh --edge core'
2017-06-01T15:11:49Z INFO Waiting for restart...
[|] Setup snap "core" (2080) security profiles (phase 2)
-----
2017/06/01 17:19:37 WARNING: qemu:ubuntu-16.04-64 running late. Current output:
-----
(...)
2017-06-01T15:16:49Z INFO Waiting for restart...
2017-06-01T15:16:50Z INFO Waiting for restart...
2017-06-01T15:18:38Z INFO Waiting for restart...
[\] Setup snap "core" (2080) security profiles (phase 2)
-----
2017/06/01 17:24:37 WARNING: qemu:ubuntu-16.04-64 running late. Current output:
-----
(... 261 lines above ...)
+ sleep 1
+ MATCH 'Done.*Refresh "core" snap from "edge" channel'
+ execute_remote 'snap changes'
+ sshpass -p ubuntu ssh -p 8022 -q -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user1@localhost 'snap changes'
-----
2017/06/01 17:29:37 WARNING: qemu:ubuntu-16.04-64 running late. Current output:
-----
(... 21 lines above ...)
+ execute_remote 'sudo snap refresh'
+ sshpass -p ubuntu ssh -p 8022 -q -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user1@localhost 'sudo snap refresh'
All snaps up to date.
+ MATCH nmcli
+ execute_remote 'snap aliases'
+ sshpass -p ubuntu ssh -p 8022 -q -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user1@localhost 'snap aliases'
+ execute_remote 'sudo snap revert core'
+ sshpass -p ubuntu ssh -p 8022 -q -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user1@localhost 'sudo snap revert core'
2017-06-01T15:25:09Z INFO Waiting for restart...
[\] Setup snap "core" (1689) security profiles (phase 2)
-----
2017/06/01 17:34:37 WARNING: qemu:ubuntu-16.04-64 running late. Current output:
-----
(...)
2017-06-01T15:30:09Z INFO Waiting for restart...
2017-06-01T15:30:10Z INFO Waiting for restart...
2017-06-01T15:34:17Z INFO Waiting for restart...
[/] Setup snap "core" (1689) security profiles (phase 2)
-----
2017/06/01 17:37:42 Restoring qemu:ubuntu-16.04-64:tests/nested/core-revert...
2017/06/01 17:37:44 Restoring qemu:ubuntu-16.04-64:tests/nested/...
2017/06/01 17:37:45 Restoring project on qemu:ubuntu-16.04-64...
2017/06/01 17:37:45 Discarding qemu:ubuntu-16.04-64...
2017/06/01 17:37:45 Successful tasks: 1
2017/06/01 17:37:45 Aborted tasks: 0