Console Output

Gestartet durch Benutzer sk13
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Baue in Arbeitsbereich /var/lib/jenkins/jobs/TunDeviceLib/workspace
Cleaning local Directory .
Checking out https://anon.inf.tu-dresden.de/svn/TunDeviceLib/TunDeviceLib/trunk at revision '2020-04-30T19:20:29.319 +0200'
A         .settings
A         .settings/org.eclipse.jdt.core.prefs
A         .settings/org.eclipse.m2e.core.prefs
A         src
A         src/main
A         src/main/c
A         src/main/c/CMakeLists.txt
A         src/main/c/TunDeviceLib.c
A         src/main/c/private.h
A         src/main/c/tuntap-unix-linux.c
A         src/main/c/tuntap-unix.c
A         src/main/c/tuntap-windows-wintun.c
A         src/main/c/tuntap-windows.c
A         src/main/c/tuntap.c
A         src/main/c/tuntap.h
A         src/main/c/tuntap_log.c
A         src/main/java
A         src/main/java/org
A         src/main/java/org/it4y
A         src/main/java/org/it4y/jni
A         src/main/java/org/it4y/jni/JNILoader.java
A         src/main/java/org/it4y/jni/libc.java
A         src/main/java/org/it4y/jni/tuntap.java
A         src/main/java/org/it4y/net
A         src/main/java/org/it4y/net/tuntap
A         src/main/java/org/it4y/net/tuntap/TunDevice.java
A         src/main/resources
AU        src/main/resources/TunDeviceLib.dll
AU        src/main/resources/libTunDeviceLib-x86.so
AU        src/main/resources/libTunDeviceLib.so
A         src/test
A         src/test/java
A         src/test/java/org
A         src/test/java/org/it4y
A         src/test/java/org/it4y/jni
A         src/test/java/org/it4y/jni/JNILoaderTest.java
A         src/test/java/org/it4y/net
A         src/test/java/org/it4y/net/tuntap
A         src/test/java/org/it4y/net/tuntap/TunDeviceTest.java
A         .classpath
A         .project
A         pom.xml
At revision 41

[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
JAVA_HOME=/opt/java/jdk1.8

[EnvInject] - Variables injected successfully.
Parsing POMs
Established TCP socket on 40225
[workspace] $ /opt/java/openjdk-13/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3 /var/cache/jenkins/war/WEB-INF/lib/remoting-4.3.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 40225
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/TunDeviceLib/workspace/pom.xml -Dmaven.repo.local=/var/lib/jenkins/maven-repositories/1 deploy -Plinux-x64,linux-x86
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------------< anon:TunDeviceLib >--------------------------
[INFO] Building TunDeviceLib 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- cmake-maven-plugin:3.16.3-b2:generate (cmake-generate-linux_64) @ TunDeviceLib ---
[INFO] Downloading binaries to /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake
[INFO] Configured Artifact: com.googlecode.cmake-maven-project:cmake-binaries:linux-x86_64:3.16.3-b2:jar
[INFO] Unpacking /var/lib/jenkins/maven-repositories/1/com/googlecode/cmake-maven-project/cmake-binaries/3.16.3-b2/cmake-binaries-3.16.3-b2-linux-x86_64.jar to /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake with includes "" and excludes ""
[INFO] Executing /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake/bin/cmake
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found JNI: /opt/java/jdk1.8/jre/lib/amd64/libjawt.so  
-- JNI_INCLUDE_DIRS=/opt/java/jdk1.8/include;/opt/java/jdk1.8/include/linux;/opt/java/jdk1.8/include
-- JNI_LIBRARIES=/opt/java/jdk1.8/jre/lib/amd64/libjawt.so;/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so
-- Configuring done
-- Generating done
-- Build files have been written to: /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/cmake/linux-x64
[INFO] 
[INFO] --- cmake-maven-plugin:3.16.3-b2:compile (cmake-compile-linux_64) @ TunDeviceLib ---
[INFO] Downloading binaries to /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake
[INFO] Configured Artifact: com.googlecode.cmake-maven-project:cmake-binaries:linux-x86_64:3.16.3-b2:jar
[INFO] cmake-binaries-3.16.3-b2-linux-x86_64.jar already unpacked.
[INFO] Executing /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake/bin/cmake
Scanning dependencies of target TunDeviceLib
[ 16%] Building C object CMakeFiles/TunDeviceLib.dir/TunDeviceLib.c.o
[ 33%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap.c.o
[ 50%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap_log.c.o
[ 66%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix.c.o
[ 83%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix-linux.c.o
[100%] Linking C shared module libTunDeviceLib.so
[100%] Built target TunDeviceLib
Scanning dependencies of target TunDeviceLibTarget
[100%] Built target TunDeviceLibTarget
[INFO] 
[INFO] --- cmake-maven-plugin:3.16.3-b2:generate (cmake-generate-linux_32) @ TunDeviceLib ---
[INFO] Downloading binaries to /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake
[INFO] Configured Artifact: com.googlecode.cmake-maven-project:cmake-binaries:linux-x86_64:3.16.3-b2:jar
[INFO] cmake-binaries-3.16.3-b2-linux-x86_64.jar already unpacked.
[INFO] Executing /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake/bin/cmake
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found JNI: /opt/java/jdk1.8/jre/lib/amd64/libjawt.so  
-- JNI_INCLUDE_DIRS=/opt/java/jdk1.8/include;/opt/java/jdk1.8/include/linux;/opt/java/jdk1.8/include
-- JNI_LIBRARIES=/opt/java/jdk1.8/jre/lib/amd64/libjawt.so;/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so
-- Configuring done
-- Generating done
-- Build files have been written to: /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/cmake/linux-x86
[INFO] 
[INFO] --- cmake-maven-plugin:3.16.3-b2:compile (cmake-compile-linux_32) @ TunDeviceLib ---
[INFO] Downloading binaries to /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake
[INFO] Configured Artifact: com.googlecode.cmake-maven-project:cmake-binaries:linux-x86_64:3.16.3-b2:jar
[INFO] cmake-binaries-3.16.3-b2-linux-x86_64.jar already unpacked.
[INFO] Executing /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake/bin/cmake
Scanning dependencies of target TunDeviceLib
[ 16%] Building C object CMakeFiles/TunDeviceLib.dir/TunDeviceLib.c.o
[ 33%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap.c.o
[ 50%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap_log.c.o
[ 66%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix.c.o
[ 83%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix-linux.c.o
[100%] Linking C shared module libTunDeviceLib-x86.so
[100%] Built target TunDeviceLib
Scanning dependencies of target TunDeviceLibTarget
[100%] Built target TunDeviceLibTarget
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ TunDeviceLib ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ TunDeviceLib ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 4 source files to /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ TunDeviceLib ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/TunDeviceLib/workspace/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ TunDeviceLib ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ TunDeviceLib ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.it4y.jni.JNILoaderTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.541 s - in org.it4y.jni.JNILoaderTest
[INFO] Running org.it4y.net.tuntap.TunDeviceTest
[ERROR] Tests run: 4, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 0.66 s <<< FAILURE! - in org.it4y.net.tuntap.TunDeviceTest
[ERROR] org.it4y.net.tuntap.TunDeviceTest.testWrite  Time elapsed: 0.618 s  <<< ERROR!
org.it4y.jni.libc$ErrnoException
	at org.it4y.net.tuntap.TunDeviceTest.testWrite(TunDeviceTest.java:47)

[ERROR] org.it4y.net.tuntap.TunDeviceTest.testOpen  Time elapsed: 0.009 s  <<< FAILURE!
[ERROR] org.it4y.net.tuntap.TunDeviceTest.testRead  Time elapsed: 0.003 s  <<< ERROR!
org.it4y.jni.libc$ErrnoException
	at org.it4y.net.tuntap.TunDeviceTest.testRead(TunDeviceTest.java:37)

[ERROR] org.it4y.net.tuntap.TunDeviceTest.testReadWrite  Time elapsed: 0.004 s  <<< ERROR!
org.it4y.jni.libc$ErrnoException
	at org.it4y.net.tuntap.TunDeviceTest.testReadWrite(TunDeviceTest.java:81)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[JENKINS] Zeichne Testergebnisse auf
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:12 min
[INFO] Finished at: 2020-04-30T19:22:06+02:00
[INFO] ------------------------------------------------------------------------
Warte bis Jenkins die Datensammlung abgeschlossen hat
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project TunDeviceLib: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test failed. NullPointerException -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[JENKINS] Archiving /var/lib/jenkins/jobs/TunDeviceLib/workspace/pom.xml to anon/TunDeviceLib/0.0.1-SNAPSHOT/TunDeviceLib-0.0.1-SNAPSHOT.pom
channel stopped
Finished: FAILURE