[Bug 2039052] Re: blocking refresh does not block auto-refresh

Maciej Borzecki 2039052 at bugs.launchpad.net
Tue Feb 13 11:35:06 UTC 2024


Is the firefox snap preinstalled in the images you use during the CI
runs? I suspect you're basically racing with snapd which finds there's
an update for firefox and starts it. Then subsequent commands have no
effect on a refresh which is already in progress.

Would it be possible to grab the output of `snap changes` and add it to
the bug report?

For the time being, I would suggest to use this order:
1. set snap refresh --hold=forever
2. run `snap changes` and sleep whenever you observe `(Doing/Undoing/Do\s)`, eg:

  while true; do 
    if snap changes 2>&1 | grep -E '(Doing|Undoing|Do\s|restarting)'; then 
      echo wait; sleep 0.5 
    else 
      break
    fi
  done

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla.
https://bugs.launchpad.net/bugs/2039052

Title:
  blocking refresh does not block auto-refresh

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/2039052/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list