TKG
TKG copied to clipboard
No AQACert.log and SHA.txt content on windows
There is no AQACert.log and SHA.txt content in TAP file on windows: https://ci.adoptopenjdk.net/job/Test_openjdk11_j9_sanity.functional_x86-64_windows/ https://ci.adoptopenjdk.net/job/Test_openjdk11_j9_sanity.functional_x86-64_windows/lastSuccessfulBuild/artifact/aqa-tests/TKG/output_16658700363494/Test_openjdk11_j9_sanity.functional_x86-64_windows.tap/view/
# AQACert.log content:
#
#SHA.txt content:
#
# Timestamp: Sun Oct 16 00:32:19 2022 UTC
1..358
ok 1 - cmdLineTester_bootstrapMethodArgumentTest_0
---
duration_ms: 4553
...
ok 2 - cmdLineTester_callsitedbgddrext_openj9_0
---
duration_ms: 87664
Hey @smlambert @llxia I'd like to take this up. Can you please assign this issue to me?
Adding note from Slack conversation with Toshitaka Ogata:
This information is obtained via cat command in resultsSum.pl. (https://github.com/adoptium/TKG/blob/1cd98d0ef8004e1300cf104785acc51a2e7205cb/scripts/resultsSum.pl#L355) On Windows, the operand of the cat command contains unescaped backslashes, such as /path_to_aqatests/TKG\output../AQACert.log, which seems to cause this problem. I think, escaping backslashes or replacing them with slashes would solve this issue.
Seems to be a missing / between TKG and output_xxxtimestampxxx folder
15:42:26 cat: 'C:/jenkins/workspace/Grinder/aqa-tests/TKGoutput_17329129243908../AQACert.log': No such file or directory
15:42:26 cat: 'C:/jenkins/workspace/Grinder/aqa-tests/TKGoutput_17329129243908../SHA.txt': No such file or directory
15:42:25 perl "resultsSum.pl" --failuremk="C:/jenkins/workspace/Grinder/aqa-tests/\\TKG\\failedtargets.mk" --resultFile="C:/jenkins/workspace/Grinder/aqa-tests/\\TKG\\output_17329129243908\\TestTargetResult" --platFile="C:/jenkins/workspace/Grinder/aqa-tests/\\TKG\\resources\\buildPlatformMap.properties" --diagnostic=failure --jdkVersion=11 --jdkImpl=hotspot --jdkVendor="eclipse" --spec=win_x86-64 --buildList=functional --customTarget="" --testTarget=sanity.functional --tapPath=C:/jenkins/workspace/Grinder/aqa-tests/\\TKG\\output_17329129243908\\ --tapName=Grinder_20241129204054.tap --comment=""
Look to see how tapPath is built, tacking 2 paths together, one that has slashes adjusted, one that does not
--tapPath=C:/jenkins/workspace/Grinder/aqa-tests/\\TKG\\output_17329129243908\\