Bug: Intermittent OSError: [Errno 22] Invalid argument: 'Z:\\task_171141101923466\\build\\tests\\bin\\lgpllibs.dll' | TinderboxPrint: mochitest-mochitest-browser-chrome<br/>
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-03-26 02:10:52+00:00
Resolved: 2024-04-24 12:01:12+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=452257564&repo=mozilla-esr115
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ODco10PgQ6aHM2Qd_WJYRg/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2024-03-26T01:16:01.442Z] 01:16:01     INFO -    File "Z:\task_171141101923466\build\tests\mochitest\runtests.py", line 4102, in <module>
[task 2024-03-26T01:16:01.442Z] 01:16:01     INFO -      sys.exit(cli())
[task 2024-03-26T01:16:01.442Z] 01:16:01     INFO -               ^^^^^
[task 2024-03-26T01:16:01.443Z] 01:16:01     INFO -    File "Z:\task_171141101923466\build\tests\mochitest\runtests.py", line 4098, in cli
[task 2024-03-26T01:16:01.443Z] 01:16:01     INFO -      return run_test_harness(parser, options)
[task 2024-03-26T01:16:01.443Z] 01:16:01     INFO -             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-03-26T01:16:01.444Z] 01:16:01     INFO -    File "Z:\task_171141101923466\build\tests\mochitest\runtests.py", line 4083, in run_test_harness
[task 2024-03-26T01:16:01.445Z] 01:16:01     INFO -      result = runner.runTests(options)
[task 2024-03-26T01:16:01.445Z] 01:16:01     INFO -               ^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-03-26T01:16:01.445Z] 01:16:01     INFO -    File "Z:\task_171141101923466\build\tests\mochitest\runtests.py", line 3438, in runTests
[task 2024-03-26T01:16:01.445Z] 01:16:01     INFO -      res = self.runMochitests(options, tests_in_manifest, manifestToFilter=m)
[task 2024-03-26T01:16:01.446Z] 01:16:01     INFO -            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-03-26T01:16:01.446Z] 01:16:01     INFO -    File "Z:\task_171141101923466\build\tests\mochitest\runtests.py", line 3123, in runMochitests
[task 2024-03-26T01:16:01.446Z] 01:16:01     INFO -      result = self.doTests(options, testsToRun, manifestToFilter)
[task 2024-03-26T01:16:01.446Z] 01:16:01     INFO -               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-03-26T01:16:01.447Z] 01:16:01     INFO -    File "Z:\task_171141101923466\build\tests\mochitest\runtests.py", line 3574, in doTests
[task 2024-03-26T01:16:01.447Z] 01:16:01     INFO -      self.manifest = self.buildProfile(options)
[task 2024-03-26T01:16:01.447Z] 01:16:01     INFO -                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-03-26T01:16:01.448Z] 01:16:01     INFO -    File "Z:\task_171141101923466\build\tests\mochitest\runtests.py", line 2425, in buildProfile
[task 2024-03-26T01:16:01.448Z] 01:16:01     INFO -      certificateStatus = self.fillCertificateDB(options)
[task 2024-03-26T01:16:01.448Z] 01:16:01     INFO -                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-03-26T01:16:01.448Z] 01:16:01     INFO -    File "Z:\task_171141101923466\build\tests\mochitest\runtests.py", line 2186, in fillCertificateDB
[task 2024-03-26T01:16:01.449Z] 01:16:01     INFO -      shutil.copy(os.path.join(install_dir, f), options.utilityPath)
[task 2024-03-26T01:16:01.449Z] 01:16:01     INFO -    File "c:\mozilla-build\python3\Lib\shutil.py", line 419, in copy
[task 2024-03-26T01:16:01.487Z] 01:16:01     INFO -      copyfile(src, dst, follow_symlinks=follow_symlinks)
[task 2024-03-26T01:16:01.490Z] 01:16:01     INFO -    File "c:\mozilla-build\python3\Lib\shutil.py", line 258, in copyfile
[task 2024-03-26T01:16:01.490Z] 01:16:01     INFO -      with open(dst, 'wb') as fdst:
[task 2024-03-26T01:16:01.491Z] 01:16:01     INFO -           ^^^^^^^^^^^^^^^
[task 2024-03-26T01:16:01.491Z] 01:16:01     INFO -  OSError: [Errno 22] Invalid argument: 'Z:\\task_171141101923466\\build\\tests\\bin\\lgpllibs.dll'
[task 2024-03-26T01:16:01.753Z] 01:16:01     INFO - Return code: 1
[task 2024-03-26T01:16:01.753Z] 01:16:01    ERROR - No suite end message was emitted by this harness.
[task 2024-03-26T01:16:01.753Z] 01:16:01     INFO - TinderboxPrint: mochitest-mochitest-browser-chrome<br/>151/0/0
[task 2024-03-26T01:16:01.753Z] 01:16:01  WARNING - setting return code to 2
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - The mochitest suite: mochitest-browser-chrome ran with return status: FAILURE
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - Running post-action listener: _package_coverage_data
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - Running post-action listener: _resource_record_post_action
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - Running post-action listener: process_java_coverage_data
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - [mozharness: 2024-03-26 01:16:01.754446Z] Finished run-tests step (success)
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - [mozharness: 2024-03-26 01:16:01.754446Z] Running uninstall step.
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - Running pre-action listener: _resource_record_pre_action
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - Running main action method: uninstall
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - Getting output from command: ['Z:\\task_171141101923466\\build\\venv\\Scripts\\mozuninstall', 'C:\\Program Files\\WindowsApps\\Mozilla.MozillaFirefox_115.10.0.0_x64__gmpnhwe7bv608\\VFS\\ProgramFiles\\MozillaFirefox Package Root\\firefox.exe']
[task 2024-03-26T01:16:01.754Z] 01:16:01     INFO - Copy/paste: Z:\task_171141101923466\build\venv\Scripts\mozuninstall "C:\Program Files\WindowsApps\Mozilla.MozillaFirefox_115.10.0.0_x64__gmpnhwe7bv608\VFS\ProgramFiles\MozillaFirefox Package Root\firefox.exe"
[task 2024-03-26T01:16:30.327Z] 01:16:30     INFO - Using _rmtree_windows ...
[task 2024-03-26T01:16:30.333Z] 01:16:30     INFO - Running command: del /F /Q "Z:\task_171141101923466\tmpfile_stderr"
[task 2024-03-26T01:16:30.343Z] 01:16:30     INFO - Return code: 0
[task 2024-03-26T01:16:30.343Z] 01:16:30     INFO - Using _rmtree_windows ...
[task 2024-03-26T01:16:30.344Z] 01:16:30     INFO - Running command: del /F /Q "Z:\task_171141101923466\tmpfile_stdout"
[task 2024-03-26T01:16:30.353Z] 01:16:30     INFO - Return code: 0
[task 2024-03-26T01:16:30.353Z] 01:16:30     INFO - Return code: 0
[task 2024-03-26T01:16:30.353Z] 01:16:30     INFO - Running post-action listener: _resource_record_post_action
[task 2024-03-26T01:16:30.353Z] 01:16:30     INFO - [mozharness: 2024-03-26 01:16:30.353745Z] Finished uninstall step (success)
[task 2024-03-26T01:16:30.353Z] 01:16:30     INFO - Running post-run listener: _resource_record_post_run
[task 2024-03-26T01:16:30.514Z] 01:16:30     INFO - instance_metadata.json not found; unable to determine instance type
[task 2024-03-26T01:16:30.530Z] 01:16:30     INFO - Validating Perfherder data against Z:\task_171141101923466\mozharness\external_tools\performance-artifact-schema.json
[task 2024-03-26T01:16:30.532Z] 01:16:30     INFO - PERFHERDER_DATA: {"framework": {"name": "job_resource_usage"}, "suites": [{"name": "mochitest.mochitest-browser-chrome.overall", "extraOptions": ["e10s", "buildbot-unknown"], "subtests": [{"name": "cpu_percent", "value": 20.78020693135933}, {"name": "io_write_bytes", "value": 1583242240}, {"name": "io.read_bytes", "value": 794313216}, {"name": "io_write_time", "value": 53}, {"name": "io_read_time", "value": 213}]}, {"name": "mochitest.mochitest-browser-chrome.start-pulseaudio", "subtests": [{"name": "time", "value": 0.0}, {"name": "cpu_percent", "value": 0}]}, {"name": "mochitest.mochitest-browser-chrome.install", "subtests": [{"name": "time", "value": 39.52521467208862}, {"name": "cpu_percent", "value": 24.887179487179488}]}, {"name": "mochitest.mochitest-browser-chrome.stage-files", "subtests": [{"name": "time", "value": 0.0}, {"name": "cpu_percent", "value": 0}]}, {"name": "mochitest.mochitest-browser-chrome.run-tests", "subtests": [{"name": "time", "value": 1421.4870386123657}, {"name": "cpu_percent", "value": 20.628158080451634}]}, {"name": "mochitest.mochitest-browser-chrome.uninstall", "subtests": [{"name": "time", "value": 28.598234176635742}, {"name": "cpu_percent", "value": 22.296875000000004}]}]}
[task 2024-03-26T01:16:30.532Z] 01:16:30     INFO - Total resource usage - Wall time: 1489s; CPU: 22%; Read bytes: 794313216; Write bytes: 1583242240; Read time: 213; Write time: 53
[task 2024-03-26T01:16:30.532Z] 01:16:30     INFO - TinderboxPrint: CPU usage<br/>22.3%
[task 2024-03-26T01:16:30.532Z] 01:16:30     INFO - TinderboxPrint: I/O read bytes / time<br/>794,313,216 / 213
[task 2024-03-26T01:16:30.532Z] 01:16:30     INFO - TinderboxPrint: I/O write bytes / time<br/>1,583,242,240 / 53
[task 2024-03-26T01:16:30.532Z] 01:16:30     INFO - TinderboxPrint: CPU idle<br/>9,439.7 (79.2%)
[task 2024-03-26T01:16:30.532Z] 01:16:30     INFO - TinderboxPrint: CPU system<br/>916.4 (7.7%)
[task 2024-03-26T01:16:30.532Z] 01:16:30     INFO - TinderboxPrint: CPU user<br/>1,555.5 (13.1%)
[task 2024-03-26T01:16:30.533Z] 01:16:30     INFO - start-pulseaudio - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2024-03-26T01:16:30.533Z] 01:16:30     INFO - install - Wall time: 40s; CPU: 25%; Read bytes: 2722304; Write bytes: 300883968; Read time: 1; Write time: 4
[task 2024-03-26T01:16:30.534Z] 01:16:30     INFO - stage-files - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2024-03-26T01:16:30.543Z] 01:16:30     INFO - run-tests - Wall time: 1421s; CPU: 21%; Read bytes: 777799680; Write bytes: 1253858304; Read time: 212; Write time: 48
[task 2024-03-26T01:16:30.544Z] 01:16:30     INFO - uninstall - Wall time: 29s; CPU: 22%; Read bytes: 11299840; Write bytes: 26296320; Read time: 0; Write time: 1
[task 2024-03-26T01:16:30.905Z] 01:16:30  WARNING - returning nonzero exit status 2
[taskcluster 2024-03-26T01:16:30.984Z]    Exit Code: 2
[taskcluster 2024-03-26T01:16:30.984Z]    User Time: 15.625ms
[taskcluster 2024-03-26T01:16:30.984Z]  Kernel Time: 15.625ms
[taskcluster 2024-03-26T01:16:30.984Z]    Wall Time: 31m43.4107642s
[taskcluster 2024-03-26T01:16:30.984Z]       Result: FAILED
[taskcluster 2024-03-26T01:16:30.984Z] === Task Finished ===
[taskcluster 2024-03-26T01:16:30.985Z] Task Duration: 31m43.4455031s
[taskcluster 2024-03-26T01:16:31.492Z] Uploading artifact public/logs/localconfig.json from file Z:\task_171141101923466\logs\localconfig.json with content encoding "gzip", mime type "application/json" and expiry 2024-06-23T22:23:29.379Z
[taskcluster 2024-03-26T01:16:31.772Z] Uploading artifact public/test_info/manifests.list from file Z:\task_171141101923466\build\blobber_upload_dir\manifests.list with content encoding "gzip", mime type "application/octet-stream" and expiry 2024-06-23T22:23:29.379Z
[taskcluster 2024-03-26T01:16:32.040Z] Uploading artifact public/test_info/mochitest-browser-chrome_errorsummary.log from file Z:\task_171141101923466\build\blobber_upload_dir\mochitest-browser-chrome_errorsummary.log with content encoding "gzip", mime type "text/plain" and expiry 2024-06-23T22:23:29.379Z
[taskcluster 2024-03-26T01:16:32.299Z] Uploading artifact public/test_info/resource-usage.json from file Z:\task_171141101923466\build\blobber_upload_dir\resource-usage.json with content encoding "gzip", mime type "application/json" and expiry 2024-06-23T22:23:29.379Z
[taskcluster 2024-03-26T01:16:32.598Z] Uploading artifact public/test_info/system-info.log from file Z:\task_171141101923466\build\blobber_upload_dir\system-info.log with content encoding "gzip", mime type "text/plain" and expiry 2024-06-23T22:23:29.379Z
[taskcluster 2024-03-26T01:16:32.848Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2024-06-23T22:23:29.379Z
[taskcluster:error] exit status 2
```