Bug 240419
Summary: | REGRESSION(r294161): Broke PrettyPatch when running layout tests | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <pnormand> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | ap, jbedard, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philippe Normand
run-webkit-tests --gtk --no-show-results media/encrypted-media/encrypted-media-constants.html
Failed to run "('ruby', '-I', '/app/webkit/Websites/bugs.webkit.org/PrettyPatch', '/app/webkit/Websites/bugs.webkit.org/PrettyPatch/prettify.rb', '/app/webkit/WebKitBuild/Release/layout-test-results/media/encrypted-media/encrypted-media-constants-diff.txt')" exit_code: 1
Last 500 characters of output:
b"Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:844:in `new'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:844:in `block in parse'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:844:in `collect'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:844:in `parse'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/prettify.rb:30:in `<main>'\n"
full error output:
b"/app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:642:in `initialize': undefined method `chomp' for nil:NilClass (NoMethodError)\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:844:in `new'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:844:in `block in parse'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:844:in `collect'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:844:in `parse'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'\n\tfrom /app/webkit/Websites/bugs.webkit.org/PrettyPatch/prettify.rb:30:in `<main>'\n"
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/93703477>
Jonathan Bedard
I've tried to reproduce this, but can't.
If this is still a problem, could we get the diff.txt that's causing it attached to this bug?