Closed Bug 1349120 Opened 7 years ago Closed 7 years ago

Win64 Opt TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js | xpcshell return code: 0 (TC only and will be fixed when TC supports signing, etc.)

Categories

(Toolkit :: Application Update, defect, P5)

x86_64
Windows
defect

Tracking

()

RESOLVED DUPLICATE of bug 1352185
Tracking Status
firefox55 --- affected

People

(Reporter: ting, Assigned: robert.strong.bugs)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Normal win64 build is also failed on taskcluster for this one.

08:32:47     INFO -  TEST-START | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js
08:32:48  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js | xpcshell return code: 0
08:32:48     INFO -  TEST-INFO took 1078ms
08:32:48     INFO -  >>>>>>>
08:32:48     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
08:32:48     INFO -  "08:32:48:268 | TEST-INFO | Z:/task_1489392969/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js | [run_test : 22] Launching maintenance service bin: Z:\\task_1489392969\\build\\application\\firefox\\maintenanceservice.exe to check updater: Z:\\task_1489392969\\build\\application\\firefox\\updater.exe signature."
08:32:48  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js | run_test - [run_test : 37] the maintenance service exit value should be 0 - 1 == 0
08:32:48     INFO -  Z:/task_1489392969/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js:run_test:37
08:32:48     INFO -  Z:\task_1489392969\build\tests\xpcshell\head.js:_execute_test:536
08:32:48     INFO -  -e:null:1
08:32:48     INFO -  exiting test
08:32:48     INFO -  <<<<<<<
Can you provide a link to the log file? I'd like to check the tests that follow since this test is mainly to verify that the binary is signed as well as other requirements of the build process. Thanks
Flags: needinfo?(janus926)
Attached file live_backing.log
The log is from win64 asan on taskcluster.:

  https://treeherder.mozilla.org/#/jobs?repo=try&revision=0c3647fea293f7a04360316fdbc98b4a820f909c&filter-tier=1&filter-tier=2&filter-tier=3&selectedJob=83333921

I have another run for normal win64:

  https://treeherder.mozilla.org/#/jobs?repo=try&revision=c79d609647bcc939405fe8e19753020c52182513&filter-tier=1&filter-tier=2&filter-tier=3&selectedJob=81387029

but the log isn't there anymore.

I expect this is something about test environment, e.g., maintenanceservice is installed or not.
Flags: needinfo?(janus926)
Seems this is related to bug 1323732.
I can tell that the failing TC system isn't even running the maintenance service tests so it isn't setup the same as the non TC systems. This appears to be a build system issue.
Hardware: Unspecified → x86_64
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
Could you try out the patch on try to see if it fixes this for you? Thanks!
Flags: needinfo?(janus926)
I am not sure is skipping the test that something releng prefer for TaskCluster, :grenade?
Flags: needinfo?(janus926) → needinfo?(rthijssen)
Note: this is at the very least due to binary signing (possibly other TC issues as well) and all of the rest of the maintenance service tests already don't run on TC because TC builds don't support everything the non TC builds support. Also see bug 1322705
we have some tests disabled because they are not validated as normally green on both Win 7 and 10. if the failing test is one of those commented out in https://dxr.mozilla.org/mozilla-central/source/taskcluster/ci/test/test-sets.yml#127, i wouldn't worry too much. we'll get to enabling those as we fix all the env problems.

i saw in comment 4 that the missing maintenance service is causing problems, so i have just added that to both win 7 and 10 test workers (https://github.com/mozilla-releng/OpenCloudConfig/commit/9578e3cc98a06195c0043f974d00bf54fec660de). those amis should propagate in the next few hours and i would hope that errors relating to that service being missing, should start to disappear from test logs going forward.

errors relating to unsigned binaries will continue for a while as the effort to make signing work for tc win builds is ongoing. you can follow progress on that in bug 1277591.
Flags: needinfo?(rthijssen)
Depends on: 1277591
Priority: -- → P5
Summary: Win64 Opt TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js | xpcshell return code: 0 → Win64 Opt TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js | xpcshell return code: 0 (will be fixed when TC supports signing, etc.)
Summary: Win64 Opt TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js | xpcshell return code: 0 (will be fixed when TC supports signing, etc.) → Win64 Opt TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js | xpcshell return code: 0 (TC only and will be fixed when TC supports signing, etc.)
Something seemed changed, now there's not only checkUpdaterSigSvc.js failed, but also the other tests under unit_service_updater:

  https://treeherder.mozilla.org/#/jobs?repo=try&revision=e02c27228db675ea25c93f84cf4cc4cd94e63414&filter-tier=1&filter-tier=2&filter-tier=3&group_state=expanded&selectedJob=85859637

Not sure what's changed, but with attachment 8849647 [details] [diff] [review], checkUpdaterSigSvc.js still runs and fails.
Attachment #8849647 - Attachment is obsolete: true
Since this only affect TC on Windows which isn't completely implemented per the related bugs and there is a significant backload of other app update work I'm going to let the TC bugs be responsible for fixing this.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: