| Summary: | Remove non-inclusive language from tests in http/tests/xmlhttprequest | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Beth Dakin <bdakin> | ||||
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | achristensen, ap, bdakin, beidson, ggaren, rniwa, sam, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Local Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 213092 | ||||||
| Attachments: |
|
||||||
|
Description
Beth Dakin
2020-12-22 11:37:51 PST
I don't remember anything anything tricky about these. Presumably you renamed the cgi files, not just changed the requests? (In reply to Alexey Proskuryakov from comment #1) > I don't remember anything anything tricky about these. Presumably you > renamed the cgi files, not just changed the requests? Yes, I did. I can try again and upload a patch here to try on the bots. Created attachment 416689 [details]
Patch
Okay well now these tests do show as passing with these changes on my machine, so maybe I did something silly before.
Okay, now the tests are failing in the same way they were before. What do you think? Comment on attachment 416689 [details]
Patch
I see the problem - cgi files need to have the Unix executable bit set, and they do not when testing the patch in EWS.
Applying the patch locally to an svn checkout with svn-apply, I see the executable bit preserved on rename, so it must be a webkit-patch limitation when dealing with git-svn.
Please land this manually from a pure svn checkout, or I can land it for you.
The way I found the problem was by downloading the full archive (via the "download layout test results" link in Buildbot), and checking Apache's error_log.txt file: [Tue Dec 22 14:05:19.565341 2020] [cgi:error] [pid 1426] [client ::1:49939] AH01215: (13)Permission denied: exec of '/Volumes/Data/worker/macOS-Mojave-Release-WK1-Tests-EWS/build/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allowlist-request-headers.cgi' failed: /Volumes/Data/worker/macOS-Mojave-Release-WK1-Tests-EWS/build/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allowlist-request-headers.cgi, referer: http://127.0.0.1:8000/xmlhttprequest/access-control-basic-allow-list-request-headers.html Committed http://trac.webkit.org/r271067 |