Bug 204526 - run-javascriptcore-tests: Failure to determine configuration for reporting is fatal
Summary: run-javascriptcore-tests: Failure to determine configuration for reporting is...
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: 2019-11-22 11:02 PST by Jonathan Bedard
Modified: 2019-11-22 18:25 PST (History)
4 users (show)

See Also:


Attachments
Patch (2.09 KB, patch)
2019-11-22 11:08 PST, Jonathan Bedard
no flags Details | Formatted Diff | Diff
Patch (1.88 KB, patch)
2019-11-22 17:20 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 2019-11-22 11:02:28 PST
There is a request to make a failure to determine the upload configuration for the results database a soft failure, rather than a hard one.
Comment 1 Jonathan Bedard 2019-11-22 11:08:47 PST
Created attachment 384173 [details]
Patch
Comment 2 Aakash Jain 2019-11-22 11:14:40 PST
Comment on attachment 384173 [details]
Patch

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

> Tools/Scripts/run-javascriptcore-tests:880
> +    if (!keys $configuration) {

is this tested?
Comment 3 Jonathan Bedard 2019-11-22 11:22:18 PST
Comment on attachment 384173 [details]
Patch

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

>> Tools/Scripts/run-javascriptcore-tests:880
>> +    if (!keys $configuration) {
> 
> is this tested?

I did a test locally by modifying configurationForUpload() to return an empty hash, yes. 'key $configuration' will return a string, it will be an empty string if the hash is empty
Comment 4 WebKit Commit Bot 2019-11-22 12:06:25 PST
Comment on attachment 384173 [details]
Patch

Clearing flags on attachment: 384173

Committed r252791: <https://trac.webkit.org/changeset/252791>
Comment 5 WebKit Commit Bot 2019-11-22 12:06:27 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2019-11-22 12:07:23 PST
<rdar://problem/57436631>
Comment 7 Aakash Jain 2019-11-22 13:20:09 PST
(In reply to Jonathan Bedard from comment #3)
> >> +    if (!keys $configuration) {
> > is this tested?
> 
> I did a test locally by modifying configurationForUpload() to return an
> empty hash, yes. 'key $configuration' will return a string, it will be an
> empty string if the hash is empty

Seems like this broke the tests in different manner: https://build.webkit.org/builders/JSCOnly%20Linux%20ARMv7%20Thumb2%20Release/builds/10121/steps/jscore-test/logs/stdio

It seems like this doesn't work with newer version of perl (or on the version of perl installed on the bots).

Although it failed with different error on same bot here: https://build.webkit.org/builders/JSCOnly%20Linux%20ARMv7%20Thumb2%20Release/builds/10120/steps/jscore-test/logs/stdio
Comment 8 Jonathan Bedard 2019-11-22 13:30:17 PST
Reverted r252791 for reason:

Cannot use key on scalar in some perl versions

Committed r252797: <https://trac.webkit.org/changeset/252797>
Comment 9 Jonathan Bedard 2019-11-22 17:17:14 PST
Trying a different approach using uname.
Comment 10 Jonathan Bedard 2019-11-22 17:20:11 PST
Created attachment 384215 [details]
Patch
Comment 11 WebKit Commit Bot 2019-11-22 18:25:51 PST
Comment on attachment 384215 [details]
Patch

Clearing flags on attachment: 384215

Committed r252822: <https://trac.webkit.org/changeset/252822>
Comment 12 WebKit Commit Bot 2019-11-22 18:25:53 PST
All reviewed patches have been landed.  Closing bug.