Bug 187384 - [Flatpak] HTTP layout tests broken due to missing CGI.pm in the sandbox
Summary: [Flatpak] HTTP layout tests broken due to missing CGI.pm in the sandbox
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Thibault Saunier
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-07-06 04:10 PDT by Philippe Normand
Modified: 2018-07-09 05:47 PDT (History)
5 users (show)

See Also:


Attachments
WIP (2.74 KB, patch)
2018-07-06 04:12 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
Patch (2.76 KB, patch)
2018-07-06 12:24 PDT, Thibault Saunier
no flags Details | Formatted Diff | Diff
Patch (2.60 KB, patch)
2018-07-06 14:04 PDT, Thibault Saunier
no flags Details | Formatted Diff | Diff
Patch for landing (2.62 KB, patch)
2018-07-09 05:06 PDT, Thibault Saunier
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2018-07-06 04:10:13 PDT
...
Comment 1 Philippe Normand 2018-07-06 04:12:34 PDT
Created attachment 344417 [details]
WIP

I started a patch but don't have time to finish it right now.
Comment 2 Thibault Saunier 2018-07-06 12:24:03 PDT
Created attachment 344435 [details]
Patch
Comment 3 Philippe Normand 2018-07-06 12:56:56 PDT
Comment on attachment 344435 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=344435&action=review

> Tools/ChangeLog:14
> +        Need the bug URL (OOPS!).
> +
> +        Reviewed by NOBODY (OOPS!).
> +
> +        https://bugs.webkit.org/show_bug.cgi?id=187384
> +
> +        And make it usable inside the sandbox even when
> +        perl is launched "tainted" (as the PERL5LIB won't
> +        work otherwise).
> +
> +        Reviewed by NOBODY (OOPS!).

This is messed up!
Comment 4 Thibault Saunier 2018-07-06 14:04:09 PDT
Created attachment 344451 [details]
Patch

=I should fix the webkit-patch script at some point :-)
Comment 5 Philippe Normand 2018-07-07 09:17:43 PDT
Ha... bug title doesn't match in changelog...
Comment 6 WebKit Commit Bot 2018-07-07 09:18:18 PDT
Comment on attachment 344451 [details]
Patch

Rejecting attachment 344451 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 344451, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Logging in as commit-queue@webkit.org...
Fetching: https://bugs.webkit.org/attachment.cgi?id=344451&action=edit
Fetching: https://bugs.webkit.org/show_bug.cgi?id=187384&ctype=xml&excludefield=attachmentdata
Processing 1 patch from 1 bug.
Processing patch 344451 from bug 187384.
Fetching: https://bugs.webkit.org/attachment.cgi?id=344451
Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Philippe Normand']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Parsed 3 diffs from patch file(s).
patching file Tools/ChangeLog
Hunk #1 succeeded at 1 with fuzz 3.
patching file Tools/flatpak/flatpakutils.py
Hunk #1 FAILED at 654.
1 out of 1 hunk FAILED -- saving rejects to file Tools/flatpak/flatpakutils.py.rej
patching file Tools/flatpak/org.webkit.WebKit.yaml

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Philippe Normand']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Full output: https://webkit-queues.webkit.org/results/8467185
Comment 7 Philippe Normand 2018-07-09 01:29:20 PDT
This needs some ChangeLog love :)
Comment 8 Philippe Normand 2018-07-09 04:24:53 PDT
Comment on attachment 344451 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=344451&action=review

> Tools/ChangeLog:3
> +        [WPE][GTK] Install perl CGI inside the sandbox

This should match the actual bug title
Comment 9 Thibault Saunier 2018-07-09 05:06:35 PDT
Created attachment 344577 [details]
Patch for landing
Comment 10 WebKit Commit Bot 2018-07-09 05:45:10 PDT
Comment on attachment 344577 [details]
Patch for landing

Clearing flags on attachment: 344577

Committed r233639: <https://trac.webkit.org/changeset/233639>
Comment 11 WebKit Commit Bot 2018-07-09 05:45:12 PDT
All reviewed patches have been landed.  Closing bug.
Comment 12 Radar WebKit Bug Importer 2018-07-09 05:47:38 PDT
<rdar://problem/41970307>