diff options
Diffstat (limited to 'jenkins-server-slave-setup/nodes')
12 files changed, 406 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/jenkins.desktop b/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/jenkins.desktop new file mode 100755 index 0000000..fd5f558 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/jenkins.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Comment[en_US]= +Comment= +Exec=/home/jogamp/jenkins/start-ssh-jenkins-linux.sh +GenericName[en_US]=jenkins KDE autostart +GenericName=jenkins KDE autostart +Icon=exec +MimeType= +Name[en_US]=jenkins +Name=jenkins +Path=/home/jogamp/jenkins +StartupNotify=false +Terminal=false +TerminalOptions= +Type=Application +X-DBUS-ServiceName= +X-DBUS-StartupType=none +X-KDE-SubstituteUID=false +X-KDE-Username= +X-Ubuntu-Gettext-Domain=desktop_kdebase 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 new file mode 100755 index 0000000..1db2f57 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh @@ -0,0 +1,152 @@ +#! /bin/bash + +cd ~/jenkins + +scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar . + +function connect_1 { + . /opt-share/etc/profile.ant + . /opt-linux-x86/etc/profile.jre6 + . /opt-linux-x86/etc/profile.j2se6 + 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 -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/linux64-AMD58xx-ubuntu10-jogamp-x32-sgothel-001/slave-agent.jnlp + done +} + +function connect_2 { + . /opt-share/etc/profile.ant + . /opt-linux-x86_64/etc/profile.jre6 + . /opt-linux-x86_64/etc/profile.j2se6 + 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 -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002/slave-agent.jnlp + done +} + +function connect_30 { + . /opt-share/etc/profile.ant + . /opt-linux-x86_64/etc/profile.jre6 + . /opt-linux-x86_64/etc/profile.j2se6 + + export NODE_LABEL=label/linux-armv7-img + HOST_ROOT=/home/jogamp/JogAmpSlaveARMv7 + JENKINS_WS=$HOST_ROOT/workspace + GLUEGEN_ROOT=$JENKINS_WS/gluegen/$NODE_LABEL + + # arm-linux-gnueabi == armel triplet + PATH=$GLUEGEN_ROOT/make/lib/linux/arm-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/JogAmpSlaveARMv7 + export TARGET_ANT_HOME=/usr/share/ant + + export TARGET_PLATFORM_ROOT=/opt-linux-armv7-armel + export TARGET_PLATFORM_LIBS=$TARGET_PLATFORM_ROOT/usr/lib + export TARGET_JAVA_LIBS=$TARGET_PLATFORM_ROOT/jre/lib/arm + + export GLUEGEN_CPPTASKS_FILE=$GLUEGEN_ROOT/make/lib/gluegen-cpptasks-linux-armv7.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 6030:localhost:5555 -N & + sshpid=$! + java -server -Xmx512m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/linuxARMv7-jogamp-arm32-sgothel-030/slave-agent.jnlp + done +} + +function connect_40 { + export NODE_LABEL=label/android-armv7-img + HOST_ROOT=/home/jogamp/JogAmpSlaveARMv7_Android + JENKINS_WS=$HOST_ROOT/workspace + GLUEGEN_ROOT=$JENKINS_WS/gluegen/$NODE_LABEL + + export HOST_UID=jogamp + # jogamp02 - 10.1.0.122 + export HOST_IP=10.1.0.122 + export HOST_RSYNC_ROOT=PROJECTS/JOGL + + 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 NDK_ROOT=/opt-linux-x86/android-ndk + export ANDROID_SDK_HOME=/opt-linux-x86/android-sdk-linux_x86 + + echo NDK_ROOT $NDK_ROOT + echo ANDROID_SDK_HOME $ANDROID_SDK_HOME + + export ANDROID_VERSION=9 + export SOURCE_LEVEL=1.6 + export TARGET_LEVEL=1.6 + export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar + + export GCC_VERSION=4.4.3 + HOST_ARCH=linux-x86 + export TARGET_TRIPLE=arm-linux-androideabi + + export NDK_TOOLCHAIN_ROOT=$NDK_ROOT/toolchains/${TARGET_TRIPLE}-${GCC_VERSION}/prebuilt/${HOST_ARCH} + export TARGET_PLATFORM_ROOT=${NDK_ROOT}/platforms/android-${ANDROID_VERSION}/arch-arm + + # Need to add toolchain bins to the PATH. + export PATH="$NDK_TOOLCHAIN_ROOT/$TARGET_TRIPLE/bin:$ANDROID_SDK_HOME/platform-tools:$PATH" + + export GLUEGEN_CPPTASKS_FILE=$GLUEGEN_ROOT/make/lib/gluegen-cpptasks-android-armv7.xml + + #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 -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/androidARMv7-jogamp-arm32-sgothel-040/slave-agent.jnlp + done + +} + +connect_1 > linux64-AMD58xx-ubuntu10-jogamp-x32-sgothel-001.log 2>&1 & +disown $! + +connect_2 > linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002.log 2>&1 & +disown $! + +connect_30 > linuxARMv7-jogamp-arm32-sgothel-030.log 2>&1 & +disown $! + +connect_40 > androidARMv7-jogamp-arm32-sgothel-040.log 2>&1 & +disown $! + diff --git a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012/README.macosx b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012/README.macosx new file mode 100644 index 0000000..a66496e --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012/README.macosx @@ -0,0 +1,14 @@ +mac has a feature called "security context" which causes the node to fail resolving domains after a while. +see e.g: http://osdir.com/ml/unix-porting/2010-05/msg00000.html + +symptoms: + - works as long the console which invoked the script is up + - works until process goes in background + +possible workarounds: + - invoke as: /usr/libexec/StartupItemContext ./script.sh + - run as root + - run with launchd + +(i tried the first option... lets see if it works) + diff --git a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012/macosx-startup-start-ssh-jenkins.command b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012/macosx-startup-start-ssh-jenkins.command new file mode 100755 index 0000000..a33f7dc --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012/macosx-startup-start-ssh-jenkins.command @@ -0,0 +1,5 @@ +#! /bin/bash + +sleep 60s + +/usr/libexec/StartupItemContext /Users/jogamp/jenkins/start-ssh-jenkins.sh diff --git a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012/start-ssh-jenkins.sh b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012/start-ssh-jenkins.sh new file mode 100755 index 0000000..0f2349d --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012/start-ssh-jenkins.sh @@ -0,0 +1,24 @@ +#! /bin/bash + +cd /Users/jogamp/jenkins + +scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar . + +function connect_12 { + . /opt-share/etc/profile.ant + java -version + which git + 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 6012:localhost:5555 -N & + sshpid=$! + java -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/macosx64-NV320M-10_6-jogamp-x64-sgothel-012/slave-agent.jnlp + done +} + +connect_12 > macosx64-NV320M-10_6-jogamp-x64-sgothel-012.log 2>&1 & +disown $! + diff --git a/jenkins-server-slave-setup/nodes/sgothel-solaris10-nvquadro-020_021/autologin.txt b/jenkins-server-slave-setup/nodes/sgothel-solaris10-nvquadro-020_021/autologin.txt new file mode 100644 index 0000000..9558b8f --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-solaris10-nvquadro-020_021/autologin.txt @@ -0,0 +1,20 @@ +# GDM configuration storage +# +# /etc/gdm/custom.conf +# + +[daemon] +TimedLoginEnable=true +TimedLogin=jogamp +TimedLoginDelay=5 + +[security] + +[xdmcp] + +[greeter] + +[chooser] + +[debug] + diff --git a/jenkins-server-slave-setup/nodes/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris-1.sh b/jenkins-server-slave-setup/nodes/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris-1.sh new file mode 100755 index 0000000..2a5630a --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris-1.sh @@ -0,0 +1,49 @@ +#! /bin/bash + +cd ~/jenkins + +rm -f slave.jar +# wget --no-check-certificate https://jogamp.org/chuck/jnlpJars/slave.jar +scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar . + +function connect_1 { + # solaris-x86_32-nv + . /opt-share/etc/profile.ant + . /opt-solaris-x86/etc/profile.jre6 + . /opt-solaris-x86/etc/profile.j2se6 + java -d32 -version + which java + 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 6020:localhost:5555 -N & + sshpid=$! + java -d32 -server -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/solaris-NVQUADRO-solaris10-jogamp-x32-sgothel-020/slave-agent.jnlp + done +} + +function connect_2 { + # solaris-x86_64-nv + . /opt-share/etc/profile.ant + . /opt-solaris-x86_64/etc/profile.jre6 + . /opt-solaris-x86_64/etc/profile.j2se6 + java -d64 -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 6021:localhost:5555 -N & + sshpid=$! + java -d64 -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/solaris-NVQUADRO-solaris10-jogamp-x64-sgothel-021/slave-agent.jnlp + done +} + +connect_1 > solaris-NVQUADRO-solaris10-jogamp-x32-sgothel-020.log 2>&1 & +disown $! + +connect_2 > solaris-NVQUADRO-solaris10-jogamp-x64-sgothel-021.log 2>&1 & +disown $! + diff --git a/jenkins-server-slave-setup/nodes/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris.sh b/jenkins-server-slave-setup/nodes/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris.sh new file mode 100755 index 0000000..8d9425b --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris.sh @@ -0,0 +1,51 @@ +#! /bin/bash + +cd ~/jenkins + +rm -f slave.jar +# wget --no-check-certificate https://jogamp.org/chuck/jnlpJars/slave.jar +scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar . + +function connect_1 { + # solaris-x86_32-nv + . /opt-share/etc/profile.ant + export PATH=/usr/java/bin:$PATH + #. /opt-solaris-x86/etc/profile.jre6 + #. /opt-solaris-x86/etc/profile.j2se6 + java -d32 -version + which java + sshpid= + while true ; do + if [ ! -z "$sshpid" ] ; then + kill -9 $sshpid + fi + ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "KeepAlive yes" [email protected] -L 6020:localhost:5555 -N & + sshpid=$! + java -d32 -server -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/solaris-NVQUADRO-solaris10-jogamp-x32-sgothel-020/slave-agent.jnlp + done +} + +function connect_2 { + # solaris-x86_64-nv + . /opt-share/etc/profile.ant + export PATH=/usr/java/bin/amd64:$PATH + #. /opt-solaris-x86_64/etc/profile.jre6 + #. /opt-solaris-x86_64/etc/profile.j2se6 + java -d64 -version + sshpid= + while true ; do + if [ ! -z "$sshpid" ] ; then + kill -9 $sshpid + fi + ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "KeepAlive yes" [email protected] -L 6021:localhost:5555 -N & + sshpid=$! + java -d64 -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/solaris-NVQUADRO-solaris10-jogamp-x64-sgothel-021/slave-agent.jnlp + done +} + +connect_1 > solaris-NVQUADRO-solaris10-jogamp-x32-sgothel-020.log 2>&1 & +disown $! + +connect_2 > solaris-NVQUADRO-solaris10-jogamp-x64-sgothel-021.log 2>&1 & +disown $! + diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/Cygwin-sshd-jenkins.bat b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/Cygwin-sshd-jenkins.bat new file mode 100755 index 0000000..dc406e2 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/Cygwin-sshd-jenkins.bat @@ -0,0 +1,4 @@ +@echo off
+c:
+chdir c:\cygwin\bin
+bash --login -c "/usr/sbin/sshd ; /home/jogamp/jenkins/start-ssh-jenkins.sh" diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/start-ssh-jenkins.sh b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/start-ssh-jenkins.sh new file mode 100755 index 0000000..d55c2c0 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/start-ssh-jenkins.sh @@ -0,0 +1,37 @@ +#! /bin/sh + +cd ~/jenkins + +scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar . + +function connect_1 { + 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 6010:localhost:5555 -N & + sshpid=$! + ./win64-nvgtx460-win7-jogamp-x32-sgothel-010.bat + done +} + +function connect_2 { + 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 6011:localhost:5555 -N & + sshpid=$! + ./win64-nvgtx460-win7-jogamp-x64-sgothel-011.bat + done +} + + +connect_1 > win64-nvgtx460-win7-jogamp-x32-sgothel-010.log 2>&1 & +disown $! + +connect_2 > win64-nvgtx460-win7-jogamp-x64-sgothel-011.log 2>&1 & +disown $! + diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x32-sgothel-010.bat b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x32-sgothel-010.bat new file mode 100755 index 0000000..740160f --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x32-sgothel-010.bat @@ -0,0 +1,15 @@ +set J2RE_HOME=c:\jre1.6.0_30_x32 +set JAVA_HOME=c:\jdk1.6.0_30_x32 +set ANT_PATH=C:\apache-ant-1.8.2 +set GIT_PATH=C:\cygwin\bin +set SEVENZIP=C:\Program Files\7-Zip + +set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw\bin;%GIT_PATH%;%SEVENZIP%;%PATH% + +REM -Dc.compiler.debug=true +REM -DuseOpenMAX=true +REM -DuseKD=true +REM -Djogl.cg=1 -D-Dwindows.cg.lib=C:\Cg-2.2 +REM -Dbuild.noarchives=true + +java -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/win64-nvgtx460-win7-jogamp-x32-sgothel-010/slave-agent.jnlp diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x64-sgothel-011.bat b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x64-sgothel-011.bat new file mode 100755 index 0000000..8e27bd4 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x64-sgothel-011.bat @@ -0,0 +1,15 @@ +set J2RE_HOME=c:\jre1.6.0_30_x64 +set JAVA_HOME=c:\jdk1.6.0_30_x64 +set ANT_PATH=C:\apache-ant-1.8.2 +set GIT_PATH=C:\cygwin\bin +set SEVENZIP=C:\Program Files\7-Zip + +set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw64\bin;%GIT_PATH%;%SEVENZIP%;%PATH% + +REM -Dc.compiler.debug=true +REM -DuseOpenMAX=true +REM -DuseKD=true +REM -Djogl.cg=1 -D-Dwindows.cg.lib=C:\Cg-2.2 +REM -Dbuild.noarchives=true + +java -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/win64-nvgtx460-win7-jogamp-x64-sgothel-011/slave-agent.jnlp |