Open
Bug 1968548
Opened 10 months ago
Updated 10 months ago
perma fail ubuntu 24.04 toolkit/components/downloads/test/unit/ test_DownloadLegacy.js | test_DownloadCore.js
Categories
(Core :: Widget: Gtk, defect)
Core
Widget: Gtk
Tracking
()
NEW
People
(Reporter: jmaher, Unassigned)
References
(Blocks 1 open bug)
Details
when running tests in CI on a newer version of linux (18.04 -> 24.04) we run into some new perma failures.
in this debug log, you can see both failures:
[task 2025-05-24T20:35:26.038Z] 20:35:26 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadCore.js | test_launch_id - [test_launch_id : 2443] "launch can only be called if the download succeeded" == "launch can only be called if the download succeeded"
[task 2025-05-24T20:35:26.039Z] 20:35:26 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadCore.js | test_launch_id - [test_launch_id : 2449] true == true
[task 2025-05-24T20:35:26.039Z] 20:35:26 INFO - PID 40377 | [Parent 40377, sqldb:places.sqlite #1] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/workspace/obj-build/dist/include/mozStorageHelper.h:148
[task 2025-05-24T20:35:26.039Z] 20:35:26 INFO - PID 40377 | [Parent 40377, sqldb:places.sqlite #1] WARNING: 'NS_FAILED(transaction.Start())', file /builds/worker/checkouts/gecko/toolkit/components/places/History.cpp:918
[task 2025-05-24T20:35:26.040Z] 20:35:26 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadCore.js | test_launch_id - [test_launch_id : 2468] true == true
[task 2025-05-24T20:35:26.040Z] 20:35:26 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadCore.js | test_launch_id - [test_launch_id : 44] Sanity check the temporary file doesn't exist. - true == true
[task 2025-05-24T20:35:26.040Z] 20:35:26 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadCore.js | test_launch_id - [test_launch_id : 2443] "launch can only be called if the download succeeded" == "launch can only be called if the download succeeded"
[task 2025-05-24T20:35:26.040Z] 20:35:26 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadCore.js | test_launch_id - [test_launch_id : 2449] true == true
[task 2025-05-24T20:35:26.041Z] 20:35:26 INFO - PID 40377 | ** (xpcshell:40377): WARNING **: 20:30:28.249: Appinfo not found for: org.gnome.gedit.desktop
[task 2025-05-24T20:35:26.041Z] 20:35:26 INFO - PID 40377 | console.error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIGIOService.createHandlerAppFromAppId]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/DownloadIntegration.sys.mjs :: launchDownload :: line 708" data: no]
[task 2025-05-24T20:35:26.041Z] 20:35:26 INFO - PID 40377 | ** (xpcshell:40377): WARNING **: 20:30:28.252: Appinfo not found for: org.gnome.gedit.desktop
[task 2025-05-24T20:35:26.042Z] 20:35:26 INFO - PID 40377 | JavaScript error: resource://gre/modules/DownloadIntegration.sys.mjs, line 708: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIGIOService.createHandlerAppFromAppId]
[task 2025-05-24T20:35:26.042Z] 20:35:26 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIGIOService.createHandlerAppFromAppId]" {file: "resource://gre/modules/DownloadIntegration.sys.mjs" line: 708}]"
[task 2025-05-24T20:35:26.042Z] 20:35:26 INFO - PID 40377 | console.trace: Places - FrecencyRecalculator: "Recalculate 50 frecency values"
[task 2025-05-24T20:35:26.042Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs 261 recalculateSomeFrecencies
[task 2025-05-24T20:35:26.043Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs 193 #taskFn
[task 2025-05-24T20:35:26.043Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/DeferredTask.sys.mjs 356 #runTask
[task 2025-05-24T20:35:26.044Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/DeferredTask.sys.mjs 327 #timerCallback/<
[task 2025-05-24T20:35:26.044Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/DeferredTask.sys.mjs 346 #timerCallback
[task 2025-05-24T20:35:26.044Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/DeferredTask.sys.mjs 192 #startTimer/callback/<
[task 2025-05-24T20:35:26.044Z] 20:35:26 INFO - PID 40377 | /builds/worker/workspace/build/tests/xpcshell/head.js 245 _do_main
[task 2025-05-24T20:35:26.044Z] 20:35:26 INFO - PID 40377 | /builds/worker/workspace/build/tests/xpcshell/head.js 596 _execute_test
[task 2025-05-24T20:35:26.044Z] 20:35:26 INFO - PID 40377 | -e 1
[task 2025-05-24T20:35:26.044Z] 20:35:26 INFO - PID 40377 | console.trace: Places - FrecencyRecalculator: "Recalculate 50 origins frecency values"
[task 2025-05-24T20:35:26.045Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs 316 #recalculateSomeOriginsFrecencies
[task 2025-05-24T20:35:26.045Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs 288 recalculateSomeFrecencies
[task 2025-05-24T20:35:26.045Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs 193 #taskFn
[task 2025-05-24T20:35:26.045Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/DeferredTask.sys.mjs 356 #runTask
[task 2025-05-24T20:35:26.045Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/DeferredTask.sys.mjs 327 #timerCallback/<
[task 2025-05-24T20:35:26.046Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/DeferredTask.sys.mjs 346 #timerCallback
[task 2025-05-24T20:35:26.046Z] 20:35:26 INFO - PID 40377 | resource://gre/modules/DeferredTask.sys.mjs 192 #startTimer/callback/<
[task 2025-05-24T20:35:26.046Z] 20:35:26 INFO - PID 40377 | /builds/worker/workspace/build/tests/xpcshell/head.js 245 _do_main
[task 2025-05-24T20:35:26.046Z] 20:35:26 INFO - PID 40377 | /builds/worker/workspace/build/tests/xpcshell/head.js 596 _execute_test
and:
[task 2025-05-24T20:35:29.219Z] 20:35:29 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadLegacy.js | test_launch_id - [test_launch_id : 44] Sanity check the temporary file doesn't exist. - true == true
[task 2025-05-24T20:35:29.219Z] 20:35:29 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadLegacy.js | test_launch_id - [test_launch_id : 2454] true == true
[task 2025-05-24T20:35:29.219Z] 20:35:29 INFO - (xpcshell/head.js) | test run_next_test 54 finished (2)
[task 2025-05-24T20:35:29.220Z] 20:35:29 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadLegacy.js | test_launch_id - [test_launch_id : 2458] true == true
[task 2025-05-24T20:35:29.220Z] 20:35:29 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadLegacy.js | test_launch_id - [test_launch_id : 2468] true == true
[task 2025-05-24T20:35:29.220Z] 20:35:29 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadLegacy.js | test_launch_id - [test_launch_id : 44] Sanity check the temporary file doesn't exist. - true == true
[task 2025-05-24T20:35:29.221Z] 20:35:29 INFO - TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadLegacy.js | test_launch_id - [test_launch_id : 2454] true == true
[task 2025-05-24T20:35:29.221Z] 20:35:29 INFO - PID 40425 | ** (xpcshell:40425): WARNING **: 20:35:28.731: Appinfo not found for: org.gnome.gedit.desktop
[task 2025-05-24T20:35:29.221Z] 20:35:29 INFO - Unexpected exception NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIGIOService.createHandlerAppFromAppId]
[task 2025-05-24T20:35:29.222Z] 20:35:29 INFO - promiseStartLegacyDownload@/builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/downloads/test/unit/head.js:283:8
[task 2025-05-24T20:35:29.222Z] 20:35:29 INFO - test_launch_id@file:///builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/downloads/test/unit/common_test_Download.js:2454:26
[task 2025-05-24T20:35:29.223Z] 20:35:29 INFO - async*_run_next_test/<@/builds/worker/workspace/build/tests/xpcshell/head.js:1759:22
[task 2025-05-24T20:35:29.223Z] 20:35:29 INFO - _run_next_test@/builds/worker/workspace/build/tests/xpcshell/head.js:1759:38
[task 2025-05-24T20:35:29.223Z] 20:35:29 INFO - run@/builds/worker/workspace/build/tests/xpcshell/head.js:808:9
[task 2025-05-24T20:35:29.224Z] 20:35:29 INFO - _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:245:6
[task 2025-05-24T20:35:29.224Z] 20:35:29 INFO - _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:596:5
[task 2025-05-24T20:35:29.224Z] 20:35:29 INFO - @-e:1:1
[task 2025-05-24T20:35:29.224Z] 20:35:29 INFO - exiting test
[task 2025-05-24T20:35:29.224Z] 20:35:29 INFO - "Interruptible responses are now allowed to continue."
this bug will be for tracking investigations, I will be skipping these tests in a manifest in a larger patch to green stuff up.
Comment 1•10 months ago
|
||
it sounds like related to an error in nsIGIOService.createHandlerAppFromAppId
launcherId is either null or org.gnome.gedit.desktop
Test was landed by bug 1751467
Component: Downloads API → Widget: Gtk
Product: Toolkit → Core
Comment 2•10 months ago
|
||
I think that makes sense, gedit is not installed with the newer gnome desktop in 24.04.
| Reporter | ||
Comment 3•10 months ago
|
||
so should the test be modified, or adjust to be run-if = ["os != 'linux'"]
Comment 4•10 months ago
|
||
Probably modified; it's a linux-only test in the first place.
You need to log in
before you can comment on or make changes to this bug.
Description
•