Bug 208341 - run-javascriptcore-tests: Make upload format valid
Summary: run-javascriptcore-tests: Make upload format valid
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: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-27 14:10 PST by Jonathan Bedard
Modified: 2020-02-28 11:31 PST (History)
3 users (show)

See Also:


Attachments
Patch (1016 bytes, patch)
2020-02-27 14:17 PST, Jonathan Bedard
no flags Details | Formatted Diff | Diff
Patch (1.07 KB, patch)
2020-02-27 14:52 PST, Jonathan Bedard
no flags Details | Formatted Diff | Diff
Patch (1.12 KB, patch)
2020-02-27 15:38 PST, Jonathan Bedard
no flags Details | Formatted Diff | Diff
Patch (5.08 KB, patch)
2020-02-28 10:43 PST, Jonathan Bedard
no flags Details | Formatted Diff | Diff
Patch for landing (4.39 KB, patch)
2020-02-28 10:59 PST, Jonathan Bedard
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2020-02-27 14:10:52 PST
A number of ports are having trouble uploading JSC results. We should print the json we attempted to upload when the upload fails.
Comment 1 Jonathan Bedard 2020-02-27 14:17:17 PST
Created attachment 391915 [details]
Patch
Comment 2 Aakash Jain 2020-02-27 14:17:33 PST
(In reply to Jonathan Bedard from comment #0)
> A number of ports are having trouble uploading JSC results. 
can you provide example?

> We should print the json we attempted to upload when the upload fails.
Wouldn't json be quite large? How will printing help? Is it for debugging?
Comment 3 Jonathan Bedard 2020-02-27 14:19:19 PST
(In reply to Aakash Jain from comment #2)
> (In reply to Jonathan Bedard from comment #0)
> > A number of ports are having trouble uploading JSC results. 
> can you provide example?
> 
> > We should print the json we attempted to upload when the upload fails.
> Wouldn't json be quite large? How will printing help? Is it for debugging?

Not any larger than the log we've already printed.

I sort of need this because I don't know why non Apple and Windows platforms are getting rejected by the server. I presume it's because their configurations are incorrect, but I don't know for sure.
Comment 4 Aakash Jain 2020-02-27 14:27:14 PST
(In reply to Jonathan Bedard from comment #3)
> I sort of need this because I don't know why non Apple and Windows platforms are getting rejected by the server. I presume it's because their configurations are incorrect, but I don't know for sure.
In that case, can you add a FIXME/TODO indicating that this is just for debugging and should be removed in some time.
Comment 5 Jonathan Bedard 2020-02-27 14:52:07 PST
Created attachment 391924 [details]
Patch
Comment 6 Alexey Proskuryakov 2020-02-27 15:22:37 PST
Comment on attachment 391924 [details]
Patch

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

> Tools/Scripts/run-javascriptcore-tests:938
> +    # FIXME: https://bugs.webkit.org/show_bug.cgi?id=208341

It's really hard to understand what this means even after looking at the bug. Can you change this to say something like "This is just for debugging and should be removed once not needed any more"? Even so, it's quite vague and non-actionable.
Comment 7 Jonathan Bedard 2020-02-27 15:38:31 PST
Created attachment 391934 [details]
Patch
Comment 8 Aakash Jain 2020-02-27 15:42:52 PST
Comment on attachment 391934 [details]
Patch

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

> Tools/Scripts/run-javascriptcore-tests:938
> +    # FIXME: This is for temporary debugging and should be removed https://bugs.webkit.org/show_bug.cgi?id=208341

looks better.
Comment 9 WebKit Commit Bot 2020-02-27 16:05:23 PST
Comment on attachment 391934 [details]
Patch

Clearing flags on attachment: 391934

Committed r257597: <https://trac.webkit.org/changeset/257597>
Comment 10 WebKit Commit Bot 2020-02-27 16:05:25 PST
All reviewed patches have been landed.  Closing bug.
Comment 11 Radar WebKit Bug Importer 2020-02-27 16:06:16 PST
<rdar://problem/59867155>
Comment 12 Jonathan Bedard 2020-02-28 07:58:40 PST
Found our problem: "version":"5.4.0-0"
Comment 13 Jonathan Bedard 2020-02-28 10:43:08 PST
Reopening to attach new patch.
Comment 14 Jonathan Bedard 2020-02-28 10:43:09 PST
Created attachment 391993 [details]
Patch
Comment 16 Aakash Jain 2020-02-28 10:46:30 PST
Comment on attachment 391993 [details]
Patch

rs=me
Comment 17 Jonathan Bedard 2020-02-28 10:59:11 PST
Created attachment 391998 [details]
Patch for landing
Comment 18 WebKit Commit Bot 2020-02-28 11:31:36 PST
Comment on attachment 391998 [details]
Patch for landing

Clearing flags on attachment: 391998

Committed r257647: <https://trac.webkit.org/changeset/257647>
Comment 19 WebKit Commit Bot 2020-02-28 11:31:37 PST
All reviewed patches have been landed.  Closing bug.