Activity log for bug #2031375

Date Who What changed Old value New value Message
2023-08-15 07:04:08 Simon Fels bug added bug
2023-08-15 07:05:06 Shunde Zhang tags sts
2023-08-15 07:36:48 Simon Fels description We have a snap named "anbox-cloud-tests" on the snap store which has a set of versioned tracks (1.9 - 1.21) and nothing in the latest/{stable,candidate,beta,edge} channels. Latest is also set as the default track. We now download a snap from a channel (rev 592 from 1.17/edge in this case) and install it together with its assertion: $ snap download --revision=592 anbox-cloud-tests $ snap ack anbox-cloud-tests_592.assert $ snap install anbox-cloud-tests_592.snap anbox-cloud-tests 1.17.1-alpha.9+gitd9a1e82 from Canonical✓ installed As a next step we run a manual refresh (but can also be an automatic refresh, does not matter): $ snap refresh anbox-cloud-tests anbox-cloud-tests 1.14.1-fix1 from Canonical✓ refreshed Channel for anbox-cloud-tests is closed; temporarily forwarding to stable The snap is now incorrectly refreshed to the 1.14/stable track (see `snap info anbox-cloud-tests`) and snapd also fails to indicate what channel it has the snap refreshed to. I have not expected the refresh to be successful as I installed the snap without an associated channel. A `snap refresh anbox-cloud` should have failed as no channel is associated and should have required a --channel argument to succeed. The info message from refresh also is confused about what it is actually doing. I am not sure if this is expected behavior, a bug or both. We have a snap named "anbox-cloud-tests" on the snap store which has a set of versioned tracks (1.9 - 1.21) and nothing in the latest/{stable,candidate,beta,edge} channels. Latest is also set as the default track. We now download a snap from a channel (rev 592 from 1.17/edge in this case) and install it together with its assertion: $ snap download --revision=592 anbox-cloud-tests $ snap ack anbox-cloud-tests_592.assert $ snap install anbox-cloud-tests_592.snap anbox-cloud-tests 1.17.1-alpha.9+gitd9a1e82 from Canonical✓ installed $ snap list Name Version Rev Tracking Publisher Notes anbox-cloud-tests 1.17.1-alpha.9+gitd9a1e82 592 - canonical✓ - As a next step we run a manual refresh (but can also be an automatic refresh, does not matter): $ snap refresh anbox-cloud-tests anbox-cloud-tests 1.14.1-fix1 from Canonical✓ refreshed Channel for anbox-cloud-tests is closed; temporarily forwarding to stable The snap is now incorrectly refreshed to the 1.14/stable track (see `snap info anbox-cloud-tests`) and snapd also fails to indicate what channel it has the snap refreshed to. Looking at the list of installed snaps there is still no tracking channel: $ snap list Name Version Rev Tracking Publisher Notes anbox-cloud-tests 1.14.1-fix1 338 - canonical✓ - I have not expected the refresh to be successful as I installed the snap without an associated channel. A `snap refresh anbox-cloud` should have failed as no channel is associated and should have required a --channel argument to succeed. The info message from refresh also is confused about what it is actually doing. I am not sure if this is expected behavior, a bug or both.
2023-08-28 08:43:34 Michael Vogt snapd: status New Triaged
2023-08-28 08:43:36 Michael Vogt snapd: importance Undecided Medium
2023-08-28 09:58:40 Michael Vogt bug task added snapstore-server
2023-08-31 13:57:04 Michael Vogt snapd: importance Medium High
2023-08-31 18:10:17 Guillermo Gonzalez attachment added refresh-context payload https://bugs.launchpad.net/snapd/+bug/2031375/+attachment/5696861/+files/refresh-context.json
2023-08-31 18:10:43 Guillermo Gonzalez attachment added refresh response https://bugs.launchpad.net/snapd/+bug/2031375/+attachment/5696862/+files/refresh-response.json
2023-09-01 04:35:13 William Grant snapstore-server: importance Undecided High
2023-09-01 04:35:15 William Grant snapstore-server: assignee William Grant (wgrant)
2023-09-01 04:35:16 William Grant snapstore-server: status New In Progress