Build failed in Jenkins: JNA » pi2 #207

14 views
Skip to first unread message

Pi Jenkins

unread,
Jul 5, 2016, 7:30:07 AM7/5/16
to danr...@gmail.com, jna-...@googlegroups.com, mbla...@doppel-helix.eu
See <http://raspberrypijenkins:8080/job/JNA/label=pi2/207/changes>

Changes:

[mblaesing] Staticly link the windows jnidispatch.dll when build with MSVC compiler

------------------------------------------
Started by upstream project "JNA" build number 207
originally caused by:
Started by an SCM change
ln builds/lastSuccessfulBuild /var/lib/jenkins/jobs/JNA/configurations/axis-label/pi2/lastSuccessful failed
java.nio.file.DirectoryNotEmptyException: /var/lib/jenkins/jobs/JNA/configurations/axis-label/pi2/lastSuccessful
at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242)
at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at hudson.Util.createSymlinkJava7(Util.java:1235)
at hudson.Util.createSymlink(Util.java:1153)
at hudson.model.Run.createSymlink(Run.java:1840)
at hudson.model.Run.updateSymlinks(Run.java:1821)
at hudson.model.Run.execute(Run.java:1736)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
ln builds/lastStableBuild /var/lib/jenkins/jobs/JNA/configurations/axis-label/pi2/lastStable failed
java.nio.file.DirectoryNotEmptyException: /var/lib/jenkins/jobs/JNA/configurations/axis-label/pi2/lastStable
at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242)
at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at hudson.Util.createSymlinkJava7(Util.java:1235)
at hudson.Util.createSymlink(Util.java:1153)
at hudson.model.Run.createSymlink(Run.java:1840)
at hudson.model.Run.updateSymlinks(Run.java:1822)
at hudson.model.Run.execute(Run.java:1736)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Building remotely on raspberrypi14 (jessie pi2 microphone docker) in workspace <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/java-native-access/jna.git # timeout=10
Fetching upstream changes from https://github.com/java-native-access/jna.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://github.com/java-native-access/jna.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision adb916e8447f8a6d3a8e7dea85484729a7d83a10 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f adb916e8447f8a6d3a8e7dea85484729a7d83a10
> git rev-list 6a288bac0074475fd29d9b8234dc4ca2ad99f6a5 # timeout=10
[pi2] $ /home/pi/jenkins-slave/tools/hudson.tasks.Ant_AntInstallation/ant-1.9.4/bin/ant -Dlabel=pi2 test
Buildfile: <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build.xml>

-enable-native:

-dynamic-properties:
[echo] Java version 1.8.0_65, compatibility: 1.6, ant: 1.8
[echo] JNA version 4.3.0-SNAPSHOT, native 5.0.0
[echo] Java HotSpot(TM) Client VM (Oracle Corporation, 25.65-b01)
[echo] java.home=/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre
[echo] java.library.path=/usr/java/packages/lib/arm:/lib:/usr/lib
[echo] os.prefix=linux-arm
[echo] os.name=Linux
[echo] os.arch=arm (little)
[echo] build=build
[echo] build.native=<http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/native-linux-arm>

-setup:

compile:
[javac] Compiling 1 source file to <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/classes>
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] 1 warning

javah:

-native-api-check:

:rsrc:

rsrc:

native:

:jar:

jar:
[jar] Building jar: <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/jna.jar>
[jar] com/sun/jna/linux-arm/libjnidispatch.so already added, skipping
[zip] Building zip: <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/jna-min.jar>

compile-tests:
[copy] Copying 1 file to <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/test-classes>
[copy] Copying 1 file to <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/test-classes/linux-arm>
[jar] Building jar: <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/jna-test.jar>
[copy] Copying 1 file to <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/jws>
[copy] Copying 1 file to <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/jws>

test:
[echo] Saving test results in <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/junit-results/linux-arm>
[junit] Testsuite: com.sun.jna.AnnotatedLibraryTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.163 sec
[junit]
[junit] Testsuite: com.sun.jna.ArgumentsMarshalTest
[junit] Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.631 sec
[junit]
[junit] Testsuite: com.sun.jna.BufferArgumentsMarshalTest
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.36 sec
[junit]
[junit] Testsuite: com.sun.jna.ByReferenceArgumentsTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.223 sec
[junit]
[junit] Testsuite: com.sun.jna.CallbacksTest
[junit] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.398 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectArgumentsMarshalTest
[junit] Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.429 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectBufferArgumentsMarshalTest
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.366 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectByReferenceArgumentsTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.225 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectCallbacksTest
[junit] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.335 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectReturnTypesTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.261 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectStructureByValueTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.268 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.17 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectTypeMapperTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.24 sec
[junit]
[junit] Testsuite: com.sun.jna.FunctionTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.137 sec
[junit]
[junit] Testsuite: com.sun.jna.HeadlessLoadLibraryTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.649 sec
[junit]
[junit] Testsuite: com.sun.jna.IntegerTypeTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.69 sec
[junit]
[junit] Testsuite: com.sun.jna.JNALoadTest
[junit] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.216 sec
[junit]
[junit] Testcase: testLoadAndUnloadFromJar(com.sun.jna.JNALoadTest): FAILED
[junit] System property jna.loaded not cleared
[junit] junit.framework.AssertionFailedError: System property jna.loaded not cleared
[junit] at com.sun.jna.JNALoadTest.testLoadAndUnloadFromJar(JNALoadTest.java:143)
[junit]
[junit]
[junit] Test com.sun.jna.JNALoadTest FAILED
[junit] Testsuite: com.sun.jna.LastErrorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.211 sec
[junit]
[junit] Testsuite: com.sun.jna.LibraryLoadTest
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.102 sec
[junit]
[junit] Testsuite: com.sun.jna.MemoryTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.454 sec
[junit]
[junit] Testsuite: com.sun.jna.NativeLibraryTest
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.46 sec
[junit]
[junit] Testsuite: com.sun.jna.NativeTest
[junit] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.119 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] JNA Warning: Encoding 'unsupported' is unsupported
[junit] JNA Warning: Encoding with fallback UTF-8
[junit] ------------- ---------------- ---------------
[junit] Testsuite: com.sun.jna.PerformanceTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.331 sec
[junit]
[junit] Testsuite: com.sun.jna.PlatformTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.355 sec
[junit]
[junit] Testsuite: com.sun.jna.PointerBufferTest
[junit] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.7 sec
[junit]
[junit] Testsuite: com.sun.jna.PointerTest
[junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.722 sec
[junit]
[junit] Testsuite: com.sun.jna.ReturnTypesTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.342 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureBufferFieldTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.675 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureByValueTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.255 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureFieldOrderInspectorTest
[junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.039 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureTest
[junit] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.508 sec
[junit]
[junit] Testsuite: com.sun.jna.TypeMapperTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.306 sec
[junit]
[junit] Testsuite: com.sun.jna.UnionTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.779 sec
[junit]
[junit] Testsuite: com.sun.jna.VMCrashProtectionTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.617 sec
[junit]
[junit] Testsuite: com.sun.jna.VarArgsCheckerTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.393 sec
[junit]
[junit] Testsuite: com.sun.jna.VarArgsTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.185 sec
[junit]
[junitreport] Processing <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/junit-results/linux-arm/TESTS-TestSuites.xml> to /tmp/null1259823255
[junitreport] Loading stylesheet jar:file:/home/pi/jenkins-slave/tools/hudson.tasks.Ant_AntInstallation/ant-1.9.4/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 4262ms
[junitreport] Deleting: /tmp/null1259823255
[echo] View test report in file://<http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/reports/junit/linux-arm/index.html>

BUILD FAILED
<http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build.xml>:1030: One or more tests failed

Total time: 2 minutes 48 seconds
Build step 'Invoke Ant' marked build as failure
Recording test results

Pi Jenkins

unread,
Jul 5, 2016, 11:48:17 AM7/5/16
to danr...@gmail.com, jna-...@googlegroups.com, mbla...@doppel-helix.eu
Reply all
Reply to author
Forward
0 new messages