Bug 301891

Summary: [Win] os.makedirs fails when WebKitTrash directory already exists
Product: WebKit Reporter: Ian Grunert <ian.grunert>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Windows 11   

Ian Grunert
Reported 2025-11-03 17:34:28 PST
https://ews-build.webkit.org/#/builders/60/builds/66390 File "C:\BW\Win-Tests-EWS\build\Tools\CISupport\built-product-archive", line 124, in handleRemoveError os.makedirs(os.path.dirname(new_path)) File "<frozen os>", line 225, in makedirs FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\WebKitTrash'
Attachments
Ian Grunert
Comment 1 2025-11-03 17:37:24 PST
EWS
Comment 2 2025-11-03 20:11:21 PST
Committed 302512@main (9d22554c5d2f): <https://commits.webkit.org/302512@main> Reviewed commits have been landed. Closing PR #53364 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-11-03 20:12:12 PST
Note You need to log in before you can comment on or make changes to this bug.