Bug 179695 - Log moveFile failure errors
Summary: Log moveFile failure errors
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-11-14 14:55 PST by Alex Christensen
Modified: 2017-11-15 09:31 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.63 KB, patch)
2017-11-14 14:56 PST, Alex Christensen
beidson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2017-11-14 14:55:15 PST
Log moveFile failure errors
Comment 1 Alex Christensen 2017-11-14 14:56:59 PST
Created attachment 326928 [details]
Patch
Comment 2 Alex Christensen 2017-11-14 14:59:53 PST
http://trac.webkit.org/r224850
Comment 3 Alex Christensen 2017-11-14 21:58:52 PST
Here's an example of the log this produces:

2017-11-14 17:53:50.204 WebKitTestRunner[63613:1440909] Error in moveFile: Error Domain=NSCocoaErrorDomain Code=4 "“ContentRuleListWVDp3h” couldn’t be moved to “ContentExtensions” because either the former doesn’t exist, or the folder containing the latter doesn’t exist." UserInfo={NSSourceFilePathErrorKey=/var/folders/cx/86nvz4dn2hj7t_1sczmy517w0000gn/T/WebKitTestRunners-bv_a7e/ContentRuleListWVDp3h, NSUserStringVariant=(
    Move
), NSDestinationFilePath=/Users/buildbot/Library/WebKit/WebKitTestRunner/ContentExtensions/ContentExtension-TestContentExtensions, NSFilePath=/var/folders/cx/86nvz4dn2hj7t_1sczmy517w0000gn/T/WebKitTestRunners-bv_a7e/ContentRuleListWVDp3h, NSUnderlyingError=0x7ff677783e30 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
Content Rule List compiling failed: Moving file failed.
2017-11-14 17:53:50.204 WebKitTestRunner[63613:1425579] Rule list compilation failed: Unspecified error during compile.
Comment 4 Alex Christensen 2017-11-14 23:29:20 PST
Speculative fix in https://bugs.webkit.org/show_bug.cgi?id=179719
Comment 5 Radar WebKit Bug Importer 2017-11-15 09:31:21 PST
<rdar://problem/35561855>