Silent uninstaller for Firefox hangs (Windows configuration issue?)

Henrik's Avatar

Henrik

Mar 11, 2015 @ 08:44 AM

Hi,

We are running tests for Firefox and recently I added support for Appveyor. As we can see now the very last step in uninstalling the application fails because it's hanging forever until the build timeout of 40min. We don't see those problems on our own machines. Maybe it is a Windows setting (like the UAC), which should be updated globally for all Windows machines?

A build of the tests can be found here:
https://ci.appveyor.com/project/whimboo/firefox-ui-tests/build/1.0.31

We would appreciate your feedback. Thanks.

  1. Support Staff 1 Posted by Feodor Fitsner on Mar 11, 2015 @ 05:16 PM

    Feodor Fitsner's Avatar

    Could it be by chance that it's asking for some input or requires interactive session (say to create a window)? Btw, try running the build on "unstable" image where build agent is running in interactive mode, not as a service. Add this to appveyor.yml:

    os: unstable

    -Feodor

  2. 2 Posted by Henrik on Mar 12, 2015 @ 08:37 AM

    Henrik's Avatar

    It shouldn't ask for anything. We are also running this code in a CI system on our side for various versions of Firefox and one of them has problems with the uninstall part. So I applied your suggestion to run on unstable, but what should I look out for?

  3. Support Staff 3 Posted by Feodor Fitsner on Mar 12, 2015 @ 10:37 AM

    Feodor Fitsner's Avatar

    Well, just give it a try and see if it works.

    -Feodor

  4. 4 Posted by Henrik on Mar 12, 2015 @ 12:07 PM

    Henrik's Avatar

    It also hangs during uninstall of the application: https://ci.appveyor.com/project/whimboo/firefox-ui-tests/build/1.0.38

    At least I see "Reason: Access is denied (13)" now. So it looks like the application is still running. I will do more debugging on it and come back with more information.

  5. 5 Posted by Henrik on Mar 24, 2015 @ 10:58 PM

    Henrik's Avatar

    This problem doesn't seem to be related to our silent uninstaller step. I removed it and I can still experience a hang after our test command exits. So something is holding off the job from finishing.

    Is there something specific which gets run at the end? Do you see something problematic with the config file? https://github.com/whimboo/firefox-ui-tests/blob/appveyor/appveyor.yml

  6. 6 Posted by Henrik on Mar 25, 2015 @ 12:36 AM

    Henrik's Avatar

    Sorry, i was wrong here. What I have seen here is that our tests had a lot of surprising timeouts now, but at least we can finish successfully when I only run a couple of them. So this is indeed related to the uninstaller.

  7. Support Staff 7 Posted by Feodor Fitsner on Mar 25, 2015 @ 10:16 AM

    Feodor Fitsner's Avatar

    Will check it out by logging in via RDP - maybe there is process crash or something.

  8. Support Staff 8 Posted by Feodor Fitsner on Mar 25, 2015 @ 10:17 AM

    Feodor Fitsner's Avatar

    So, to make it with installer included I should put pack:

    - "%PYTHON%/Scripts/firefox-ui-tests --installer firefox-installer.exe"
    

    right?

  9. 9 Posted by Henrik on Mar 26, 2015 @ 09:00 AM

    Henrik's Avatar

    Yes, that is correct. Simply revert the commit https://github.com/mozilla/firefox-ui-tests/commit/6c8f1950c4bea121a6767de8061be8a6454d0be3. That will be enough.

  10. Support Staff 10 Posted by Feodor Fitsner on Mar 31, 2015 @ 06:22 PM

    Feodor Fitsner's Avatar

    I've cloned your repo and trying to build, but getting this: https://ci.appveyor.com/project/FeodorFitsner/firefox-ui-tests

  11. Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 01:55 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac