TKG icon indicating copy to clipboard operation
TKG copied to clipboard

TKG failed to parse TRSS getTestAvgDuration result

Open llxia opened this issue 6 months ago • 0 comments

02:14:19.101  cmd.exe /c curl --silent --max-time 120 -L -k "https://trssrtp1.fyre.ibm.com/api/getTestAvgDuration?limit=10&jdkVersion=8&impl=ibm&platform=x86-32_windows&group=jck&level=extended"
02:14:19.532  Warning: cannot parse data from TRSS.
02:14:19.532  Unexpected character (<) at position 0.
02:14:19.532  	at org.json.simple.parser.Yylex.yylex(Yylex.java:610)
02:14:19.532  	at org.json.simple.parser.JSONParser.nextToken(JSONParser.java:269)
02:14:19.532  	at org.json.simple.parser.JSONParser.parse(JSONParser.java:118)
02:14:19.532  	at org.json.simple.parser.JSONParser.parse(JSONParser.java:92)
02:14:19.532  	at org.testKitGen.TestDivider.parseDuration(TestDivider.java:167)
02:14:19.532  	at org.testKitGen.TestDivider.getDataFromTRSS(TestDivider.java:257)
02:14:19.532  	at org.testKitGen.TestDivider.createDurationQueue(TestDivider.java:286)
02:14:19.532  	at org.testKitGen.TestDivider.divideTests(TestDivider.java:409)
02:14:19.532  	at org.testKitGen.TestDivider.generateLists(TestDivider.java:430)
02:14:19.532  	at org.testKitGen.MainRunner.genParallelList(MainRunner.java:74)
02:14:19.532  	at org.testKitGen.MainRunner.main(MainRunner.java:38)
02:14:19.532  Attempting to get test duration data from cached files.
02:14:19.977  Reading file: Test_openjdk8_ibm_jck_x86-32_windows.json
02:14:19.977  
02:14:19.977  TEST DURATION
02:14:19.977  ====================================================================================
02:14:19.977  Total number of tests searched: 117
02:14:19.977  Number of test durations found: 0
02:14:19.977  No test duration data found.
02:14:19.977  (Default duration assigned, executed tests: 40s; not executed tests: 0s.)
02:14:19.977  ====================================================================================

Jenkins job windows

Jenkins job xlinux

The issue is intermittent. Reran in Grinder seems fine.

00:01:37.813  Attempting to get test duration data from TRSS.
00:01:37.813  curl --silent --max-time 120 -L -k https://trssrtp1.fyre.ibm.com/api/getTestAvgDuration?limit=10&jdkVersion=8&impl=ibm&platform=x86-32_linux&group=jck&level=extended
00:01:39.866  Attempting to get test duration data from cached files.
00:01:39.866  
00:01:39.866  TEST DURATION
00:01:39.866  ====================================================================================
00:01:39.866  Total number of tests searched: 117
00:01:39.866  Number of test durations found: 117
00:01:39.866  Top slowest tests: 
00:01:39.866  	81m49s jck-devtools-xml_schema-nistData_0
00:01:39.866  	61m01s jck-devtools-xml_schema-msData-group3_0
00:01:39.866  	55m34s jck-compiler-lang-LMBD_0
00:01:39.866  ====================================================================================
00:01:39.866  
00:01:39.866  Test target is split into 9 lists.
00:01:39.866  Reducing estimated test running time from 1022m14s to 119m57s.

llxia avatar Jun 09 '25 13:06 llxia