OS version detection prints out the osInfo and osLabel. In the following case, cent6-x64-1 does not have /etc/os-release file. TKG sets OS_LABEL with the error msg. However, the cmdlinetest looks for no such file or directory as a failure condition, finding it in the environment variable in the javacore.
23:04:10 osInfo : cat: /etc/os-release: No such file or directory
23:04:10 osLabel : grep: /etc/os-release: no such file or directory.grep: /etc/os-release: No such file or directory
00:34:45 [OUT] 2CIENVVAR OS_LABEL=grep: /etc/os-release: no such file or directory.grep: /etc/os-release: No such file or directory
00:34:45 >> Failure condition was found: [Output match: No such file or directory]
OS version detection prints out the
osInfo
andosLabel
. In the following case, cent6-x64-1 does not have/etc/os-release
file. TKG sets OS_LABEL with the error msg. However, the cmdlinetest looks forno such file or directory
as a failure condition, finding it in the environment variable in the javacore.https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_extended.functional_x86-64_linux_Nightly_testList_1/481/consoleFull