Closed Bug 860249 Opened 11 years ago Closed 10 years ago

Exception "Sorry, cannot connect to jsbridge extension, port 24242" while running functional and remote tests

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect, P2)

All
Linux
defect

Tracking

(firefox22 wontfix, firefox23 wontfix, firefox24 affected, firefox25 affected)

RESOLVED DUPLICATE of bug 956315
Tracking Status
firefox22 --- wontfix
firefox23 --- wontfix
firefox24 --- affected
firefox25 --- affected

People

(Reporter: daniela.p98911, Unassigned)

Details

(Whiteboard: [mozmill-test-failure])

A functional testrun failed with exception "Sorry, cannot connect to jsbridge extension, port 24242" on mm-ub-1210-64-2 machine. The console log is here: http://mm-ci-master.qa.scl3.mozilla.com:8080/job/mozilla-central_functional/2467/console (and also pasted below since it will not be available after today):
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test1.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test1.js | test1.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test1.js | testInstallBlocklistedExtension
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test1.js | test1.js::testInstallBlocklistedExtension
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test2.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test2.js | test2.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test2.js | testBlocklistsExtension
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test2.js | test2.js::testBlocklistsExtension
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test3.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test3.js | test3.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test3.js | testUninstallBlocklistedExtension
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test3.js | test3.js::testUninstallBlocklistedExtension
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test4.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test4.js | test4.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test4.js | testBlocklistedExtensionUninstalled
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test4.js | test4.js::testBlocklistedExtensionUninstalled
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test4.js | teardownModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installUninstallHardBlocklistedExtension/test4.js | test4.js::teardownModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test1.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test1.js | test1.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test1.js | testInstallMultipleExtensions
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test1.js | test1.js::testInstallMultipleExtensions
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test2.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test2.js | test2.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test2.js | testCheckMultipleExtensionsAreInstalled
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test2.js | test2.js::testCheckMultipleExtensionsAreInstalled
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test2.js | teardownModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_installMultipleExtensions/test2.js | test2.js::teardownModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testDefaultBookmarks/test1.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testDefaultBookmarks/test1.js | test1.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testDefaultBookmarks/test1.js | testVerifyDefaultBookmarks
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testDefaultBookmarks/test1.js | test1.js::testVerifyDefaultBookmarks
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testDefaultBookmarks/test1.js | teardownModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testDefaultBookmarks/test1.js | test1.js::teardownModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test1.js | setupModule
WARNING | test1.js::setupModule | (SKIP) Architecture changes only supported on OSX 10.6
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test1.js | testArchitecture64bit
WARNING | test1.js::testArchitecture64bit | (SKIP) setupModule failed.
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test2.js | setupModule
WARNING | test2.js::setupModule | (SKIP) Architecture changes only supported on OSX 10.6
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test2.js | testRestartedNormally
WARNING | test2.js::testRestartedNormally | (SKIP) setupModule failed.
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test3.js | setupModule
WARNING | test3.js::setupModule | (SKIP) Architecture changes only supported on OSX 10.6
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test3.js | testRestarted32bit
WARNING | test3.js::testRestarted32bit | (SKIP) setupModule failed.
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test4.js | setupModule
WARNING | test4.js::setupModule | (SKIP) Architecture changes only supported on OSX 10.6
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test4.js | testArchitecture32bit
WARNING | test4.js::testArchitecture32bit | (SKIP) setupModule failed.
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test5.js | setupModule
WARNING | test5.js::setupModule | (SKIP) Architecture changes only supported on OSX 10.6
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testRestartChangeArchitecture/test5.js | testRestarted64bit
WARNING | test5.js::testRestarted64bit | (SKIP) setupModule failed.
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test1.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test1.js | test1.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test1.js | testInstallExtensions
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test1.js | test1.js::testInstallExtensions
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test2.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test2.js | test2.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test2.js | testDisableExtension
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test2.js | test2.js::testDisableExtension
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test3.js | setupModule
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test3.js | test3.js::setupModule
TEST-START | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test3.js | testUninstallDisabledExtension
TEST-PASS | /tmp/tmp25Trgw.mozmill-tests/tests/functional/restartTests/testAddons_uninstallExtension/test3.js | test3.js::testUninstallDisabledExtension
Sorry, cannot connect to jsbridge extension, port 24242
*** Removing old installation at /tmp/tmp4vIj7N.binary/
*** Removing repository '/tmp/tmp25Trgw.mozmill-tests'
Traceback (most recent call last):
  File "mozmill-automation/testrun_functional.py", line 51, in <module>
    main()
  File "mozmill-automation/testrun_functional.py", line 46, in main
    FunctionalTestRun().run()
  File "/home/mozauto/jenkins/workspace/mozilla-central_functional/mozmill-automation/libs/testrun.py", line 439, in run
    raise self.last_exception
Exception: Sorry, cannot connect to jsbridge extension, port 24242
Build step 'Invoke XShell command' marked build as failure
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure
Sending email to: mozmill-ci@mozilla.org
Finished: FAILURE

This happens after /tests/functional/restartTests/testAddons_uninstallExtension/test3.js and no mozmill-ci report is created for this.
Thanks Daniela but please do not paste the whole console log into the bug comment. The affected parts are enough. Looks like it's a one time thing here which could also be a crash we have faced. Can you please check if a crash report for Firefox exists on that machine?
Priority: -- → P3
There are three files from 04/09 called InstallTime<date> in ~/.mozilla/firefox/Crash\ Reports, but I am not sure these are related to this issue.
This happened again on Ubuntu (machine: mm-ub-1210-64-2) http://mm-ci-master.qa.scl3.mozilla.com:8080/job/mozilla-central_functional/2639/console
Seems to be a single machine here which is affected by this. Lets see if we get more. If it's the case I might have to take  a look at.
So this is Linux only? Any change to get it reproduced? Beta, release, and esr17 are not affected?
Priority: P3 → P2
Hardware: x86_64 → All
Summary: Exception "Sorry, cannot connect to jsbridge extension, port 24242" in functional testrun → Exception "Sorry, cannot connect to jsbridge extension, port 24242" while running functional restart tests
Whiteboard: [mozmill-test-failure]
No, I haven't seen this on those other branches. I can try to reproduce it on our local Jenkins and a Linux 12.10 node or just watch to see what happens during the runs on one Ubuntu from those 3 above. I see there are more aurora-functional coming.
I tried functional testruns and also running only the restart tests directory on mm-ub-1210-32-2, but it did not reproduce.
Happened in remote tests on machine: mm-ub-1210-64-2
http://mm-ci-master.qa.scl3.mozilla.com:8080/job/mozilla-aurora_remote/2890/console
Summary: Exception "Sorry, cannot connect to jsbridge extension, port 24242" while running functional restart tests → Exception "Sorry, cannot connect to jsbridge extension, port 24242" while running functional and remote tests
Happened in 17th of May on the following machines: mm-ub-1210-64-2 - functional and mm-ub-1210-64-3 - update. Jenkins console logs:
http://mm-ci-master.qa.scl3.mozilla.com:8080/job/mozilla-esr17_update/601/console
http://mm-ci-master.qa.scl3.mozilla.com:8080/job/mozilla-esr17_functional/602/console
All of those issues happened on the same machine. At least for the reports given above. I wouldn't do anything on that bug anymore given that mozmill 2.0 is close to be released. It should fix this problem.
Sorry, I was over-zealous with my status flag changes. I only meant to add Fx25 as affected and drop Fx23 as wontfix as we are no longer supporting 23. 

If Mozmill-2.0 cannot be released in the next few days I think this bug needs to be fixed ASAP. What can be done to escalate the priority? When bugs begin impacting our ability to ship on-time releases I think they need top priority.
(In reply to Henrik Skupin (:whimboo) from comment #12)
> All of those issues happened on the same machine. At least for the reports
> given above. 

By the way, the linked reports are all one machine, yes. But every machine was red yesterday before I left for the day. I only linked the reports above as an example as I didn't have time to link every single hung machine.
At Henrik's request I'm need-infoing Andreea.

Andreea, from where the Desktop QA team sits the hangs in Jenkins are causing us to cut corners on testing to make sure we release on time. This is of extreme concern to us. I'm living with it today for 25.0b1 but next week we'll be doing two Betas and I don't want to deal with this if it can be avoided.

If this is "wontfix" because Mozmill 2.0 is coming then we need Mozmill 2.0 shipped sooner rather than later. If that's not possible then a workaround for this issue needs to be put in place until Mozmill 2.0 is shipped.

One way or another the priority around this needs to be escalated.
Flags: needinfo?(andreea.matei)
Andreea is on PTO today.

> By the way, the linked reports are all one machine, yes.
> But every machine was red yesterday before I left for the day.
Red in Jenkins in the sidebar is most probably the same issue reported in bug 918142.
I don't think the hangs in Jenkins and this bug are connected.

I don't see us having Mozmill 2.0 running on CI by next week.

If by *hangs in Jenkins* you mean the issue reported in bug 918142, with https://github.com/mozilla/mozmill-ci/issues/301 as a possible fix, we will handle that asap.

I'll look into both issues.
Flags: needinfo?(andreea.matei)
(In reply to Andrei Eftimie from comment #16)

Whatever needs to happen so that ondemand_update testruns don't take 5+ hours to run with the next Beta (going to build Monday). Resolving this is a critical for us.
This might actually be a similar or the same issue as bug 956315. Given that 1.5 is dead lets get it duped to bug 956315.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.