# Pastebin ZfOqgk4D 2018-12-18 20:04:56 Error executing google:ubuntu-16.04-64:tests/regression/lp-1693042 : ----- + . /home/gopath/src/github.com/snapcore/snapd/tests/lib/names.sh +++ awk '{ print $1 }' +++ grep 'gadget$' +++ snap list ++ gadget_name= +++ awk '{ print $1 }' +++ grep 'kernel$' +++ snap list ++ kernel_name= +++ awk '/^base: / { print $2 }' +++ snap known model ++ core_name= ++ '[' -z '' ']' ++ core_name=core + snap list core Name Version Rev Tracking Publisher Notes core 16-2.36.3+git1063.bbf4a49 6153 edge canonical✓ core ++ snap refresh core --channel bogus + out= ----- . 2018-12-18 20:04:56 Debug output for google:ubuntu-16.04-64:tests/regression/lp-1693042 : + '[' 0 = 1 ']' 2018-12-18 20:04:56 Starting shell to debug... google:ubuntu-16.04-64 .../tests/regression/lp-1693042# snap list Name Version Rev Tracking Publisher Notes core 16-2.36.3+git1063.bbf4a49 6153 bogus canonical✓ core google:ubuntu-16.04-64 .../tests/regression/lp-1693042# cat task.yaml summary: Regression check for https://bugs.launchpad.net/snapd/+bug/1693042 details: | When attempting to refresh to a bogus channel, detect it and fail. execute: | # shellcheck source=tests/lib/names.sh . "$TESTSLIB/names.sh" # sanity check snap list "$core_name" out=$(! snap refresh "$core_name" --channel bogus 2>&1 1>- ) revno=$( snap info "$core_name" | awk '/^installed:/{print $3}' ) if [[ "$revno" =~ x[0-9]+ ]]; then MATCH "error: local snap \"$core_name\" is unknown to the store" <<< "$out" else MATCH not.available <<< "$out" fi google:ubuntu-16.04-64 .../tests/regression/lp-1693042#