diff options
author | Sven Gothel <[email protected]> | 2020-01-01 06:17:22 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-01-01 06:17:22 +0100 |
commit | af0ec953243284821b00cd30acdcef376e7ad53e (patch) | |
tree | 2016b775d5613edfd89f6c5612609babb56aaa6e /jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh | |
parent | f65c043458545055b790b623743e7fa39d508888 (diff) |
jenkins nodes: remove unused; split sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040
split sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040 on two machines
- sgothel-linuxARMv7l-030.androidARMv7l-040 (4 nodes crosscompiling w/o unit tests)
- sgothel-linux64-amd58xx-002 (1 node w/ actual unit tests)
Diffstat (limited to 'jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh')
-rwxr-xr-x | jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh | 301 |
1 files changed, 0 insertions, 301 deletions
diff --git a/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh b/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh deleted file mode 100755 index 118f41d..0000000 --- a/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh +++ /dev/null @@ -1,301 +0,0 @@ -#! /bin/bash - -# Bug 1386: Mesa 18.3.6 hardware renderer (Intel/AMD) freezes after native parenting -export LIBGL_ALWAYS_SOFTWARE=true - -cd ~/jenkins - -JENKINS_NODE_STARTUP_DIR=`pwd` - -#scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar . -curl -O https://jogamp.org/chuck/jnlpJars/agent.jar - -function connect_1 { - . ./profile.ant - . ./profile.i386.j2se11 - - export LIBGL_ALWAYS_SOFTWARE=true - - export SOURCE_LEVEL=1.8 - export TARGET_LEVEL=1.8 - export TARGET_RT_JAR=/opt-share/jre1.8.0_212/lib/rt.jar - - export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" - - java -version - sshpid= - while true ; do - if [ ! -z "$sshpid" ] ; then - kill -9 $sshpid - fi - ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6001:localhost:5555 -N & - sshpid=$! - java -server -Xmx512m -XX:+UseCompressedOops -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/linux64-AMD58xx-debian7-jogamp-x32-sgothel-001/slave-agent.jnlp - done -} - -function connect_2 { - . ./profile.ant - . ./profile.amd64.j2se11 - - export LIBGL_ALWAYS_SOFTWARE=true - - export SOURCE_LEVEL=1.8 - export TARGET_LEVEL=1.8 - export TARGET_RT_JAR=/opt-share/jre1.8.0_212/lib/rt.jar - - export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" - - java -version - sshpid= - while true ; do - if [ ! -z "$sshpid" ] ; then - kill -9 $sshpid - fi - ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6002:localhost:5555 -N & - sshpid=$! - java -server -Xmx512m -XX:+UseCompressedOops -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/linux64-AMD58xx-debian7-jogamp-x64-sgothel-002/slave-agent.jnlp - done -} - -function connect_31 { - . ./profile.ant - . ./profile.amd64.j2se11 - - export SOURCE_LEVEL=1.8 - export TARGET_LEVEL=1.8 - export TARGET_RT_JAR=/opt-share/jre1.8.0_212/lib/rt.jar - - export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" - - export NODE_LABEL=label/linux-armv7hf-img - HOST_ROOT=/home/jogamp/JogAmpSlaveARMv7hf - JENKINS_WS=$HOST_ROOT/workspace - - # arm-linux-gnueabi == armel triplet - PATH=$JENKINS_NODE_STARTUP_DIR/toolchain/armhf-linux-gnueabi/bin:$PATH - export PATH - - export HOST_UID=jogamp - export HOST_IP=jogamp02 - export HOST_RSYNC_ROOT=ROOTDIR/$JENKINS_WS - - export TARGET_UID=jogamp - export TARGET_IP=panda01 - export TARGET_ROOT=/home/jogamp/JogAmpSlaveARMv7hf - export TARGET_ANT_HOME=/usr/share/ant - - export TARGET_PLATFORM_SYSROOT=`gcc --print-sysroot` - export TARGET_PLATFORM_USRROOT=/opt-linux-armv6-armhf - export TARGET_PLATFORM_USRLIBS=$TARGET_PLATFORM_USRROOT/usr/lib - export TARGET_JAVA_LIBS=$TARGET_PLATFORM_USRROOT/jre/lib/arm - - export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-linux-armv6hf.xml - - export JUNIT_RUN_ARG0="-Dnewt.test.Screen.disableScreenMode" - - java -version - sshpid= - while true ; do - if [ ! -z "$sshpid" ] ; then - kill -9 $sshpid - fi - ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6031:localhost:5555 -N & - sshpid=$! - java -server -Xmx512m -XX:+UseCompressedOops -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/linuxARMv7hf-jogamp-arm32hf-sgothel-031/slave-agent.jnlp - done -} - -function connect_32 { - . ./profile.ant - . ./profile.amd64.j2se11 - - export SOURCE_LEVEL=1.8 - export TARGET_LEVEL=1.8 - export TARGET_RT_JAR=/opt-share/jre1.8.0_212/lib/rt.jar - - export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" - - export NODE_LABEL=label/linux-armv7hf-img - HOST_ROOT=/home/jogamp/JogAmpSlaveARM64 - JENKINS_WS=$HOST_ROOT/workspace - - # arm-linux-gnueabi == armel triplet - PATH=$JENKINS_NODE_STARTUP_DIR/toolchain/aarch64-linux-gnueabi/bin:$PATH - export PATH - - export HOST_UID=jogamp - export HOST_IP=jogamp02 - export HOST_RSYNC_ROOT=ROOTDIR/$JENKINS_WS - - export TARGET_UID=jogamp - export TARGET_IP=panda01 - export TARGET_ROOT=/home/jogamp/JogAmpSlaveARMv7hf - export TARGET_ANT_HOME=/usr/share/ant - - export TARGET_PLATFORM_SYSROOT=`gcc --print-sysroot` - export TARGET_PLATFORM_USRROOT=/opt-linux-arm64 - export TARGET_PLATFORM_USRLIBS=$TARGET_PLATFORM_USRROOT/usr/lib - export TARGET_JAVA_LIBS=$TARGET_PLATFORM_USRROOT/jre/lib/aarch64 - - export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-linux-aarch64.xml - - export JUNIT_RUN_ARG0="-Dnewt.test.Screen.disableScreenMode" - - java -version - sshpid= - while true ; do - if [ ! -z "$sshpid" ] ; then - kill -9 $sshpid - fi - ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6032:localhost:5555 -N & - sshpid=$! - java -server -Xmx512m -XX:+UseCompressedOops -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/linuxARM64-jogamp-aarch64-sgothel-032/slave-agent.jnlp - done -} - -function connect_40 { - . ./profile.ant - . ./profile.amd64.j2se11 - - export ANDROID_HOME=/opt-linux-x86_64/android-sdk-linux_x86_64 - export ANDROID_API_LEVEL=24 - export ANDROID_HOST_TAG=linux-x86_64 - export ANDROID_ABI=armeabi-v7a - - if [ -e ${JENKINS_NODE_STARTUP_DIR}/setenv-android-tools.sh ] ; then - . ${JENKINS_NODE_STARTUP_DIR}/setenv-android-tools.sh - else - echo "${JENKINS_NODE_STARTUP_DIR}/setenv-android-tools.sh doesn't exist!" - exit 1 - fi - - export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-android-armv6.xml - export GLUEGEN_PROPERTIES_FILE=/home/jogamp/android/gluegen.properties # for key signing props - - export PATH_VANILLA=$PATH - export PATH=${ANDROID_TOOLCHAIN_ROOT}/${ANDROID_TOOLCHAIN_NAME}/bin:${ANDROID_TOOLCHAIN_ROOT}/bin:${ANDROID_HOME}/platform-tools:${ANDROID_BUILDTOOLS_ROOT}:${PATH} - echo PATH ${PATH} 2>&1 | tee -a ${LOGF} - echo clang `which clang` 2>&1 | tee -a ${LOGF} - - export NODE_LABEL=label/android-armv7-img - HOST_ROOT=/home/jogamp/JogAmpSlaveARMv7_Android - JENKINS_WS=$HOST_ROOT/workspace - - export HOST_UID=jogamp - # jogamp02 - 10.1.0.122 - export HOST_IP=10.1.0.122 - export HOST_RSYNC_ROOT=ROOTDIR/$JENKINS_WS - - export TARGET_UID=jogamp - export TARGET_IP=panda02 - #export TARGET_IP=jautab03 - #export TARGET_IP=jauphone04 - export TARGET_ADB_PORT=5555 - # needs executable bit (probably su) - export TARGET_ROOT=/data/projects - export TARGET_ANT_HOME=/usr/share/ant - - export SOURCE_LEVEL=1.8 - export TARGET_LEVEL=1.8 - export TARGET_RT_JAR=/opt-share/jre1.8.0_212/lib/rt.jar - - export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" - - #export JUNIT_DISABLED="true" - #export JUNIT_RUN_ARG0="-Dnewt.test.Screen.disableScreenMode" - - java -version - sshpid= - while true ; do - if [ ! -z "$sshpid" ] ; then - kill -9 $sshpid - fi - ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6040:localhost:5555 -N & - sshpid=$! - java -server -Xmx512m -XX:+UseCompressedOops -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/androidARMv7-jogamp-arm32-sgothel-040/slave-agent.jnlp - done - -} - -function connect_41 { - . ./profile.ant - . ./profile.amd64.j2se11 - - export ANDROID_HOME=/opt-linux-x86_64/android-sdk-linux_x86_64 - export ANDROID_API_LEVEL=24 - export ANDROID_HOST_TAG=linux-x86_64 - export ANDROID_ABI=arm64-v8a - - if [ -e ${JENKINS_NODE_STARTUP_DIR}/setenv-android-tools.sh ] ; then - . ${JENKINS_NODE_STARTUP_DIR}/setenv-android-tools.sh - else - echo "${JENKINS_NODE_STARTUP_DIR}/setenv-android-tools.sh doesn't exist!" - exit 1 - fi - - export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-android-aarch64.xml - export GLUEGEN_PROPERTIES_FILE=/home/jogamp/android/gluegen.properties # for key signing props - - export PATH_VANILLA=$PATH - export PATH=${ANDROID_TOOLCHAIN_ROOT}/${ANDROID_TOOLCHAIN_NAME}/bin:${ANDROID_TOOLCHAIN_ROOT}/bin:${ANDROID_HOME}/platform-tools:${ANDROID_BUILDTOOLS_ROOT}:${PATH} - echo PATH ${PATH} 2>&1 | tee -a ${LOGF} - echo clang `which clang` 2>&1 | tee -a ${LOGF} - - export NODE_LABEL=label/android-aarch64 - HOST_ROOT=/home/jogamp/JogAmpSlaveArm64_Android - JENKINS_WS=$HOST_ROOT/workspace - - export HOST_UID=jogamp - # jogamp02 - 10.1.0.122 - export HOST_IP=10.1.0.122 - export HOST_RSYNC_ROOT=ROOTDIR/$JENKINS_WS - - export TARGET_UID=jogamp - export TARGET_IP=panda02 - #export TARGET_IP=jautab03 - #export TARGET_IP=jauphone04 - export TARGET_ADB_PORT=5555 - # needs executable bit (probably su) - export TARGET_ROOT=/data/projects - export TARGET_ANT_HOME=/usr/share/ant - - export SOURCE_LEVEL=1.8 - export TARGET_LEVEL=1.8 - export TARGET_RT_JAR=/opt-share/jre1.8.0_212/lib/rt.jar - - export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" - - #export JUNIT_DISABLED="true" - #export JUNIT_RUN_ARG0="-Dnewt.test.Screen.disableScreenMode" - - java -version - sshpid= - while true ; do - if [ ! -z "$sshpid" ] ; then - kill -9 $sshpid - fi - ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6041:localhost:5555 -N & - sshpid=$! - java -server -Xmx512m -XX:+UseCompressedOops -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/androidArm64-jogamp-aarch64-sgothel-041/slave-agent.jnlp - done -} - -#connect_1 > linux64-AMD58xx-debian7-jogamp-x32-sgothel-001.log 2>&1 & -#disown $! - -connect_2 > linux64-AMD58xx-debian7-jogamp-x64-sgothel-002.log 2>&1 & -disown $! - -connect_31 > linuxARMv7hf-jogamp-arm32hf-sgothel-031.log 2>&1 & -disown $! - -connect_32 > linuxARM64-jogamp-aarch64-sgothel-032.log 2>&1 & -disown $! - -connect_40 > androidARMv7-jogamp-arm32-sgothel-040.log 2>&1 & -disown $! - -connect_41 > androidArm64-jogamp-aarch64-sgothel-041.log 2>&1 & -disown $! - |