Skip to content

Commit

Permalink
Run sample command on related node
Browse files Browse the repository at this point in the history
Signed-off-by: Mesbah-Alam <[email protected]>
  • Loading branch information
Mesbah-Alam committed Jan 9, 2023
1 parent 61d6570 commit 9f3d46b
Show file tree
Hide file tree
Showing 6 changed files with 3,063 additions and 63 deletions.
4 changes: 3 additions & 1 deletion buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -818,10 +818,12 @@ def testExecution() {
env.BUILD_LIST = "jck"
buildTest()
env.BUILD_LIST = temp
sshagent(credentials:["${params.JENKINS_KEY}"], ignoreMissing: true) {
runTest()
}
} else {
buildTest()
}
runTest()
} finally {
post("${env.BUILD_LIST}")
}
Expand Down
14 changes: 14 additions & 0 deletions jck/agent-drive.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

echo "Starting JCK agent.."
eval $1

pid=$!

echo "Agent started with PID $pid"

echo "Starting JCK harness.."
eval $2

echo "Test complete. Stopping JCK Agent.."
kill -9 $pid
115 changes: 115 additions & 0 deletions jck/compiler.api/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,119 @@
<group>jck</group>
</groups>
</test>
<test>
<testCaseName>jck-compiler-api-java_rmi_multijvm</testCaseName>
<disables>
<disable>
<comment>Disabled on all platforms and Java levels due to backlog/issues/559. To be run manually by CR team</comment>
<impl>ibm</impl>
</disable>
<disable>
<comment>Disabled on all platforms and Java levels due to backlog/issues/559. To be run manually by CR team</comment>
<impl>openj9</impl>
</disable>
</disables>
<variations>
<variation>NoOptions</variation>
</variations>
<command>$(GEN_JTB) tests=api/java_rmi testsuite=COMPILER'; \
$(START_MULTI_JVM_COMP_TEST); \
$(GEN_SUMMARY) tests=api/java_rmi testsuite=COMPILER; \
$(TEST_STATUS)</command>
<levels>
<level>dev</level>
</levels>
<groups>
<group>jck</group>
</groups>
<versions>
<version>8</version>
<version>9</version>
<version>10</version>
<version>11</version>
<version>12</version>
<version>13</version>
<version>14</version>
</versions>
</test>
<test>
<testCaseName>jck-compiler-api-javax_annotation_multijvm</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>$(GEN_JTB) tests=api/javax_annotation testsuite=COMPILER'; \
$(START_MULTI_JVM_COMP_TEST); \
$(GEN_SUMMARY) tests=api/javax_annotation testsuite=COMPILER; \
$(TEST_STATUS)</command>
<levels>
<level>dev</level>
</levels>
<groups>
<group>jck</group>
</groups>
</test>
<test>
<testCaseName>jck-compiler-api-javax_lang_multijvm</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>$(GEN_JTB) tests=api/javax_lang testsuite=COMPILER'; \
$(START_MULTI_JVM_COMP_TEST); \
$(GEN_SUMMARY) tests=api/javax_lang testsuite=COMPILER; \
$(TEST_STATUS)</command>
<levels>
<level>dev</level>
</levels>
<groups>
<group>jck</group>
</groups>
</test>
<test>
<testCaseName>jck-compiler-api-javax_tools_multijvm</testCaseName>
<disables>
<disable>
<comment>Temporarily disabled on z/OS for backlog/issues/669</comment>
<platform>.*zos.*</platform>
<impl>ibm</impl>
<version>11</version>
</disable>
</disables>
<variations>
<variation>NoOptions</variation>
</variations>
<command>$(GEN_JTB) tests=api/javax_tools testsuite=COMPILER'; \
$(START_MULTI_JVM_COMP_TEST); \
$(GEN_SUMMARY) tests=api/javax_tools testsuite=COMPILER; \
$(TEST_STATUS)</command>
<levels>
<level>dev</level>
</levels>
<groups>
<group>jck</group>
</groups>
</test>
<test>
<testCaseName>jck-compiler-api-signaturetest_multijvm</testCaseName>
<disables>
<disable>
<comment>Temporarily disabled on aix on JDK8 for test setup issue: backlog/issues/506</comment>
<platform>ppc64_aix</platform>
<version>8</version>
<impl>openj9</impl>
</disable>
</disables>
<variations>
<variation>NoOptions</variation>
</variations>
<command>$(GEN_JTB) tests=api/signaturetest testsuite=COMPILER'; \
$(START_MULTI_JVM_COMP_TEST); \
$(GEN_SUMMARY) tests=api/signaturetest testsuite=COMPILER; \
$(TEST_STATUS)</command>
<levels>
<level>dev</level>
</levels>
<groups>
<group>jck</group>
</groups>
</test>
</playlist>
Loading

0 comments on commit 9f3d46b

Please sign in to comment.