adoptium / adoptium/TKG

TKG cannot parse data from TRSS

Open
#558 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
22
Forks
114
Avg merge
4d 2h
Merged PRs (30d)
8

Description

TKG cannot parse data from TRSS
```
00:04:10.061 Attempting to get test duration data from TRSS.
00:04:10.061 curl --silent --max-time 120 -L http://trssrtp1.fyre.ibm.com/api/getTestAvgDuration?limit=10&jdkVersion=11&impl=j9&platform=ppc64_aix&group=functional&level=sanity
00:04:10.406 Warning: cannot parse data from TRSS.
00:04:10.406 Unexpected token END OF FILE at position 0.
00:04:10.406 at org.json.simple.parser.JSONParser.parse(JSONParser.java:257)
00:04:10.406 at org.json.simple.parser.JSONParser.parse(JSONParser.java:92)
00:04:10.406 at org.testKitGen.TestDivider.parseDuration(TestDivider.java:162)
00:04:10.406 at org.testKitGen.TestDivider.getDataFromTRSS(TestDivider.java:241)
00:04:10.406 at org.testKitGen.TestDivider.createDurationQueue(TestDivider.java:270)
00:04:10.406 at org.testKitGen.TestDivider.divideTests(TestDivider.java:393)
00:04:10.406 at org.testKitGen.TestDivider.generateLists(TestDivider.java:414)
00:04:10.406 at org.testKitGen.MainRunner.genParallelList(MainRunner.java:74)
00:04:10.406 at org.testKitGen.MainRunner.main(MainRunner.java:38)
00:04:10.406 Attempting to get test duration data from cached files.
00:04:10.406 Reading file: Test_openjdk11_j9_functional_ppc64_aix.json
```

[internal link](https://hyc-runtimes-jenkins.swg-devops.com/job/Test_openjdk11_j9_sanity.functional_ppc64_aix/718/console)

Contributor guide

Open the contributing guide

Research direction

Start in TestDivider.java at parseDuration (line 162) and getDataFromTRSS (line 241), then inspect the curl request shown in the issue and the linked Jenkins console. Determine why the TRSS response cannot be parsed and verify that test-duration data is obtained without the reported JSON parsing warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.