Build wurde durch eine SCM-Änderung ausgelöst. 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:14:57.855 +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 38 No changes for https://anon.inf.tu-dresden.de/svn/TunDeviceLib/TunDeviceLib/trunk since the previous build [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 43361 [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 43361 <===[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 /var/lib/jenkins/jobs/TunDeviceLib/workspace/src/main/c/tuntap.c: In function ‘tuntap_init’: /var/lib/jenkins/jobs/TunDeviceLib/workspace/src/main/c/tuntap.c:46:24: error: ‘TUNFD_INVALID_VALUE’ undeclared (first use in this function) dev->tun_dev.tun_fd = TUNFD_INVALID_VALUE; ^~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/jobs/TunDeviceLib/workspace/src/main/c/tuntap.c:46:24: note: each undeclared identifier is reported only once for each function it appears in /var/lib/jenkins/jobs/TunDeviceLib/workspace/src/main/c/tuntap.c: In function ‘tuntap_set_ip’: /var/lib/jenkins/jobs/TunDeviceLib/workspace/src/main/c/tuntap.c:78:29: error: ‘TUNFD_INVALID_VALUE’ undeclared (first use in this function) if (dev->tun_dev.tun_fd == TUNFD_INVALID_VALUE) { ^~~~~~~~~~~~~~~~~~~ CMakeFiles/TunDeviceLib.dir/build.make:75: die Regel für Ziel „CMakeFiles/TunDeviceLib.dir/tuntap.c.o“ scheiterte make[2]: *** [CMakeFiles/TunDeviceLib.dir/tuntap.c.o] Fehler 1 CMakeFiles/Makefile2:104: die Regel für Ziel „CMakeFiles/TunDeviceLib.dir/all“ scheiterte make[1]: *** [CMakeFiles/TunDeviceLib.dir/all] Fehler 2 Makefile:83: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2 [WARNING] Command: [/var/lib/jenkins/jobs/TunDeviceLib/workspace/target/dependency/cmake/bin/cmake, --build, /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/cmake/linux-x64] [WARNING] Directory: null [WARNING] Environment: {PATH=/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin:/opt/java/openjdk-13/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games, SVN_REVISION=38, RUN_DISPLAY_URL=https://anon.inf.tu-dresden.de/jenkins/job/TunDeviceLib/33/display/redirect, HUDSON_HOME=/var/lib/jenkins, SVN_URL=https://anon.inf.tu-dresden.de/svn/TunDeviceLib/TunDeviceLib/trunk, RUN_CHANGES_DISPLAY_URL=https://anon.inf.tu-dresden.de/jenkins/job/TunDeviceLib/33/display/redirect?page=changes, JOB_URL=https://anon.inf.tu-dresden.de/jenkins/job/TunDeviceLib/, HUDSON_COOKIE=254fa644-e811-4d67-a008-602c650cb6ee, ROOT_BUILD_CAUSE_SCMTRIGGER=true, MAVEN_HOME=/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3, MAIL=/var/mail/jenkins, JENKINS_SERVER_COOKIE=abb3ec03f703936e, LOGNAME=jenkins, PWD=/var/lib/jenkins, JENKINS_URL=https://anon.inf.tu-dresden.de/jenkins/, BUILD_CAUSE_SCMTRIGGER=true, POM_VERSION=0.0.1-SNAPSHOT, SHELL=/bin/bash, BUILD_TAG=jenkins-TunDeviceLib-33, SVN_URL_1=https://anon.inf.tu-dresden.de/svn/TunDeviceLib/TunDeviceLib/trunk, POM_GROUPID=anon, ROOT_BUILD_CAUSE=SCMTRIGGER, JENKINS_HOME=/var/lib/jenkins, NODE_NAME=master, BUILD_DISPLAY_NAME=#33, M2_HOME=/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3, JOB_DISPLAY_URL=https://anon.inf.tu-dresden.de/jenkins/job/TunDeviceLib/display/redirect, SVN_REVISION_1=38, SHLVL=1, WORKSPACE_TMP=/var/lib/jenkins/jobs/TunDeviceLib/workspace@tmp, POM_PACKAGING=jar, JAVA_HOME=/opt/java/jdk1.8, BUILD_ID=33, LANG=de_DE.UTF-8, XDG_SESSION_ID=c3, JOB_NAME=TunDeviceLib, BUILD_CAUSE=SCMTRIGGER, POM_ARTIFACTID=TunDeviceLib, NODE_LABELS=master, HUDSON_URL=https://anon.inf.tu-dresden.de/jenkins/, WORKSPACE=/var/lib/jenkins/jobs/TunDeviceLib/workspace, _=/usr/bin/daemon, EXECUTOR_NUMBER=1, HUDSON_SERVER_COOKIE=abb3ec03f703936e, JOB_BASE_NAME=TunDeviceLib, USER=jenkins, BUILD_NUMBER=33, BUILD_URL=https://anon.inf.tu-dresden.de/jenkins/job/TunDeviceLib/33/, POM_DISPLAYNAME=TunDeviceLib, XDG_RUNTIME_DIR=/run/user/107, HOME=/var/lib/jenkins} [WARNING] Exit code: 2 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.268 s [INFO] Finished at: 2020-04-30T19:15:18+02:00 [INFO] ------------------------------------------------------------------------ Warte bis Jenkins die Datensammlung abgeschlossen hat [ERROR] Failed to execute goal com.googlecode.cmake-maven-project:cmake-maven-plugin:3.16.3-b2:compile (cmake-compile-linux_64) on project TunDeviceLib: Return code: 2 -> [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/MojoExecutionException [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