Build failed in Jenkins: JNA » pi2 #252

10 views
Skip to first unread message

Pi Jenkins

unread,
Feb 16, 2017, 4:00:12 PM2/16/17
to danr...@gmail.com, jna-...@googlegroups.com, mbla...@doppel-helix.eu
See <http://raspberrypijenkins:8080/job/JNA/label=pi2/252/display/redirect?page=changes>

Changes:

[mblaesing] Add Win32 API mapping for Shlwapi PathIsUNC

[mblaesing] Correct library options for Shlwapi and bump version to mark feature

[mblaesing] Fix for free data handle in DdemlUtil.

[mblaesing] Rebuild solaris x86-64 native library

------------------------------------------
Started by upstream project "JNA" build number 252
originally caused by:
Started by an SCM change
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 fetch --tags --progress https://github.com/java-native-access/jna.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 9bfcd193718e955a4222c9e462c613004cc4a10a (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9bfcd193718e955a4222c9e462c613004cc4a10a
> git rev-list 333cc615e67c10a5255fe9ec3cb1ae25feeebde6 # 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.1-SNAPSHOT, native 5.1.0, android 1
[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>
[echo] build.aar=<http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/aar>

-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.188 sec
[junit]
[junit] Testsuite: com.sun.jna.ArgumentsMarshalTest
[junit] Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.545 sec
[junit]
[junit] Testsuite: com.sun.jna.BufferArgumentsMarshalTest
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.324 sec
[junit]
[junit] Testsuite: com.sun.jna.ByReferenceArgumentsTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.22 sec
[junit]
[junit] Testsuite: com.sun.jna.CallbacksTest
[junit] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.897 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectArgumentsMarshalTest
[junit] Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.439 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectBufferArgumentsMarshalTest
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.284 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectByReferenceArgumentsTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.19 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectCallbacksTest
[junit] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.904 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectReturnTypesTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.283 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.167 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectTypeMapperTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.202 sec
[junit]
[junit] Testsuite: com.sun.jna.FunctionTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.118 sec
[junit]
[junit] Testsuite: com.sun.jna.HeadlessLoadLibraryTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.614 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: 28.036 sec
[junit]
[junit] Testcase: testLoadAndUnloadFromResourcePath(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.testLoadAndUnloadFromResourcePath(JNALoadTest.java:194)
[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.21 sec
[junit]
[junit] Testsuite: com.sun.jna.LibraryLoadTest
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.483 sec
[junit]
[junit] Testsuite: com.sun.jna.MemoryTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.437 sec
[junit]
[junit] Testsuite: com.sun.jna.NativeLibraryTest
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.51 sec
[junit]
[junit] Testsuite: com.sun.jna.NativeTest
[junit] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.128 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.344 sec
[junit]
[junit] Testsuite: com.sun.jna.PointerBufferTest
[junit] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.686 sec
[junit]
[junit] Testsuite: com.sun.jna.PointerTest
[junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.719 sec
[junit]
[junit] Testsuite: com.sun.jna.PrematureGCTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.928 sec
[junit]
[junit] Testsuite: com.sun.jna.ReturnTypesTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.312 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureBufferFieldTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.674 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureByValueTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.25 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureFieldOrderInspectorTest
[junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.072 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureTest
[junit] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.593 sec
[junit]
[junit] Testsuite: com.sun.jna.TypeMapperTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.274 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.607 sec
[junit]
[junit] Testsuite: com.sun.jna.VarArgsCheckerTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.368 sec
[junit]
[junit] Testsuite: com.sun.jna.VarArgsTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.207 sec
[junit]
[junitreport] Processing <http://raspberrypijenkins:8080/job/JNA/label=pi2/ws/build/junit-results/linux-arm/TESTS-TestSuites.xml> to /tmp/null158580698
[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: 4252ms
[junitreport] Deleting: /tmp/null158580698
[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>:1084: One or more tests failed

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

Pi Jenkins

unread,
Feb 19, 2017, 3:36:01 PM2/19/17
to danr...@gmail.com, jna-...@googlegroups.com, mbla...@doppel-helix.eu
Reply all
Reply to author
Forward
0 new messages