Closed Bug 1885176 Opened 11 months ago Closed 2 months ago

Intermittent testing/mozbase/mozproxy/tests/test_recording.py::test_record_and_replay TEST-UNEXPECTED-FAIL

Categories

(Testing :: Mozbase, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2024-03-13T16:04:50.929Z] testing/mozbase/mozprocess/tests/test_run_and_wait.py::ProcTestSimpleRunAndWait::test_waitnotimeout PASSED
[task 2024-03-13T16:04:50.929Z] 
[task 2024-03-13T16:04:50.929Z] ============================= 6 passed in 56.05s ==============================
[task 2024-03-13T16:04:50.930Z] 
[task 2024-03-13T16:04:50.930Z] 
[task 2024-03-13T16:04:50.930Z] Tests Completed: 100%|##########| 81/81 [01:10<00:00,  6.20s/Test]
[task 2024-03-13T16:04:50.930Z]                                                                   
[task 2024-03-13T16:04:50.930Z] Z:\task_171034111229220\build\src\testing\mozbase\mozproxy\tests\test_recording.py
[task 2024-03-13T16:04:50.930Z] ============================= test session starts =============================
[task 2024-03-13T16:04:50.930Z] platform win32 -- Python 3.8.10, pytest-7.0.1, pluggy-1.4.0 -- C:\Users\task_171034111229220\.mozbuild\srcdirs\src-9a913f1afa9c\_virtualenvs\python-test\Scripts\python.exe
[task 2024-03-13T16:04:50.930Z] rootdir: z:\task_171034111229220\build\src, configfile: config\mozunit\mozunit\pytest.ini
[task 2024-03-13T16:04:50.930Z] plugins: mock-3.12.0
[task 2024-03-13T16:04:50.930Z] collecting ... collected 1 item
[task 2024-03-13T16:04:50.931Z] 
[task 2024-03-13T16:04:50.931Z] testing/mozbase/mozproxy/tests/test_recording.py::test_record_and_replay TEST-UNEXPECTED-FAIL
[task 2024-03-13T16:04:50.931Z] 
[task 2024-03-13T16:04:50.931Z] ================================== FAILURES ===================================
[task 2024-03-13T16:04:50.931Z] ___________________________ test_record_and_replay ____________________________
[task 2024-03-13T16:04:50.931Z] testing\mozbase\mozproxy\tests\test_recording.py:50: in test_record_and_replay
[task 2024-03-13T16:04:50.931Z]     record.start()
[task 2024-03-13T16:04:50.931Z] testing\mozbase\mozproxy\mozproxy\backends\mitm\mitm.py:242: in start
[task 2024-03-13T16:04:50.931Z]     self.setup()
[task 2024-03-13T16:04:50.931Z] testing\mozbase\mozproxy\mozproxy\backends\mitm\desktop.py:69: in setup
[task 2024-03-13T16:04:50.931Z]     self.install_mitmproxy_cert(self.browser_path)
[task 2024-03-13T16:04:50.931Z] testing\mozbase\mozproxy\mozproxy\backends\mitm\desktop.py:95: in install_mitmproxy_cert
[task 2024-03-13T16:04:50.931Z]     os.makedirs(self.policies_dir)
[task 2024-03-13T16:04:50.931Z] ..\..\fetches\python\lib\os.py:223: in makedirs
[task 2024-03-13T16:04:50.931Z]     mkdir(name, mode)
[task 2024-03-13T16:04:50.931Z] E   FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'distribution'
[task 2024-03-13T16:04:50.931Z] ---------------------------- Captured stderr call -----------------------------
[task 2024-03-13T16:04:50.931Z] INFO - File mitmproxy-8.1.1-windows.zip not present in local cache folder C:\builds\tooltool_cache
[task 2024-03-13T16:04:50.931Z] 
[task 2024-03-13T16:04:50.931Z] INFO - Attempting to fetch from 'https://tooltool.mozilla-releng.net/'...
[task 2024-03-13T16:04:50.931Z] 
[task 2024-03-13T16:04:50.931Z] INFO - File mitmproxy-8.1.1-windows.zip fetched from https://tooltool.mozilla-releng.net/ as C:\Users\task_171034111229220\AppData\Local\Temp\tmpztyylyq3\testing\mozproxy\mitmdump-8.1.1\tmplilt1y_g
[task 2024-03-13T16:04:50.931Z] 
[task 2024-03-13T16:04:50.931Z] INFO - File integrity verified, renaming tmplilt1y_g to mitmproxy-8.1.1-windows.zip
[task 2024-03-13T16:04:50.932Z] 
[task 2024-03-13T16:04:50.932Z] INFO - Updating local cache C:\builds\tooltool_cache...
[task 2024-03-13T16:04:50.932Z] 
[task 2024-03-13T16:04:50.932Z] INFO - Local cache C:\builds\tooltool_cache updated with mitmproxy-8.1.1-windows.zip
[task 2024-03-13T16:04:50.932Z] 
[task 2024-03-13T16:04:50.932Z] INFO - unzipping "mitmproxy-8.1.1-windows.zip"
[task 2024-03-13T16:04:50.932Z] 
[task 2024-03-13T16:04:50.932Z] ============================= 1 failed in 16.16s ==============================
[task 2024-03-13T16:04:50.932Z] 
[task 2024-03-13T16:04:50.932Z] 
[task 2024-03-13T16:04:50.932Z] Tests Completed: 100%|##########| 81/81 [01:10<00:00,  1.15Test/s]Return code from mach python-test: 1
[task 2024-03-13T16:04:50.988Z] 
[taskcluster 2024-03-13T16:04:51.065Z]    Exit Code: 1
[taskcluster 2024-03-13T16:04:51.065Z]    User Time: 15.625ms
[taskcluster 2024-03-13T16:04:51.065Z]  Kernel Time: 0s
[taskcluster 2024-03-13T16:04:51.065Z]    Wall Time: 23m48.0399486s
[taskcluster 2024-03-13T16:04:51.065Z]       Result: FAILED
[taskcluster 2024-03-13T16:04:51.065Z] === Task Finished ===
[taskcluster 2024-03-13T16:04:51.065Z] Task Duration: 23m48.0420618s
[taskcluster 2024-03-13T16:04:51.065Z] [mounts] Preserving cache: Moving "Z:\\task_171034111229220\\build" to "Z:\\caches\\VUzu8OiWQB-i8qXnrRYJBg"
[taskcluster 2024-03-13T16:04:51.769Z] [mounts] Denying task_171034111229220 access to 'Z:\caches\VUzu8OiWQB-i8qXnrRYJBg'
[taskcluster 2024-03-13T16:05:18.091Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-03-13T15:38:50.337Z
[taskcluster:error] exit status 1
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 9 months ago8 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 8 months ago2 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.