Build failed in Jenkins: JNA » pi3 #303

6 views
Skip to first unread message

Pi Jenkins

unread,
Sep 13, 2017, 6:59:15 AM9/13/17
to danr...@gmail.com, jna-...@googlegroups.com
See <http://raspberrypijenkins:8080/job/JNA/label=pi3/303/display/redirect?page=changes>

Changes:

[mblaesing] Fix building JNA on gcc version < 5 and gnu make version 3.80

------------------------------------------
Started by upstream project "JNA" build number 303
originally caused by:
Started by an SCM change
Building remotely on raspberrypislave (jessie pi3 microphone) in workspace <http://raspberrypijenkins:8080/job/JNA/label=pi3/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 d01f9a8ead0dc4b5b3982c3e6a6c016fe6fec6aa (refs/remotes/origin/master)
Commit message: "Merge pull request #858 from matthiasblaesing/old_gcc"
> git config core.sparsecheckout # timeout=10
> git checkout -f d01f9a8ead0dc4b5b3982c3e6a6c016fe6fec6aa
> git rev-list 373d83c8d2d31863eac7683ddbf5be243f28948e # timeout=10
[pi3] $ /home/pi/jenkins-slave/tools/hudson.tasks.Ant_AntInstallation/ant-1.9.4/bin/ant -Dlabel=pi3 test
Buildfile: <http://raspberrypijenkins:8080/job/JNA/label=pi3/ws/build.xml>

-enable-native:

-dynamic-properties:
[echo] Java version 1.8.0_65, compatibility: 1.6, ant: 1.8
[echo] JNA version 4.5.0-SNAPSHOT, native 5.2.0, android 2
[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=pi3/ws/build/native-linux-arm>
[echo] build.aar=<http://raspberrypijenkins:8080/job/JNA/label=pi3/ws/build/aar>

-setup:

compile:
[javac] Compiling 1 source file to <http://raspberrypijenkins:8080/job/JNA/label=pi3/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=pi3/ws/build/jna.jar>
[jar] com/sun/jna/linux-arm/libjnidispatch.so already added, skipping
[zip] Building zip: <http://raspberrypijenkins:8080/job/JNA/label=pi3/ws/build/jna-min.jar>

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

test:
[echo] Saving test results in <http://raspberrypijenkins:8080/job/JNA/label=pi3/ws/build/junit-results/linux-arm>
[junit] Testsuite: com.sun.jna.AnnotatedLibraryTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.692 sec
[junit]
[junit] Testsuite: com.sun.jna.ArgumentsMarshalTest
[junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.923 sec
[junit]
[junit] Testsuite: com.sun.jna.BufferArgumentsMarshalTest
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.752 sec
[junit]
[junit] Testsuite: com.sun.jna.ByReferenceArgumentsTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.667 sec
[junit]
[junit] Testsuite: com.sun.jna.CallbacksTest
[junit] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.523 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectArgumentsMarshalTest
[junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.812 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectBufferArgumentsMarshalTest
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.745 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectByReferenceArgumentsTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.673 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectCallbacksTest
[junit] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.504 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectReturnTypesTest
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.718 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectStructureByValueTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.696 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.682 sec
[junit]
[junit] Testsuite: com.sun.jna.DirectTypeMapperTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.686 sec
[junit]
[junit] Testsuite: com.sun.jna.ELFAnalyserTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.294 sec
[junit]
[junit] Testsuite: com.sun.jna.FunctionTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.635 sec
[junit]
[junit] Testsuite: com.sun.jna.HeadlessLoadLibraryTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.354 sec
[junit]
[junit] Testsuite: com.sun.jna.IntegerTypeTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.404 sec
[junit]
[junit] Testsuite: com.sun.jna.JNALoadTest
[junit] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.537 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:195)
[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: 0.698 sec
[junit]
[junit] Testsuite: com.sun.jna.LibraryLoadTest
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.819 sec
[junit]
[junit] Testsuite: com.sun.jna.MemoryTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.35 sec
[junit]
[junit] Testsuite: com.sun.jna.NativeLibraryTest
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.907 sec
[junit]
[junit] Testsuite: com.sun.jna.NativeTest
[junit] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.218 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.186 sec
[junit]
[junit] Testsuite: com.sun.jna.PlatformTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.216 sec
[junit]
[junit] Testsuite: com.sun.jna.PointerBufferTest
[junit] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.377 sec
[junit]
[junit] Testsuite: com.sun.jna.PointerTest
[junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.431 sec
[junit]
[junit] Testsuite: com.sun.jna.PrematureGCTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.551 sec
[junit]
[junit] Testsuite: com.sun.jna.ReturnTypesTest
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.758 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureBufferFieldTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.384 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureByValueTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.703 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureFieldOrderInspectorTest
[junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.726 sec
[junit]
[junit] Testsuite: com.sun.jna.StructureTest
[junit] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.124 sec
[junit]
[junit] Testsuite: com.sun.jna.TypeMapperTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.722 sec
[junit]
[junit] Testsuite: com.sun.jna.UnionTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.479 sec
[junit]
[junit] Testsuite: com.sun.jna.VMCrashProtectionTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.359 sec
[junit]
[junit] Testsuite: com.sun.jna.VarArgsCheckerTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.204 sec
[junit]
[junit] Testsuite: com.sun.jna.VarArgsTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.697 sec
[junit]
[junitreport] Processing <http://raspberrypijenkins:8080/job/JNA/label=pi3/ws/build/junit-results/linux-arm/TESTS-TestSuites.xml> to /tmp/null1840933977
[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: 2300ms
[junitreport] Deleting: /tmp/null1840933977
[echo] View test report in file://<http://raspberrypijenkins:8080/job/JNA/label=pi3/ws/build/reports/junit/linux-arm/index.html>

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

Total time: 1 minute 56 seconds
Build step 'Invoke Ant' marked build as failure
Recording test results
Not sending mail to unregistered user mbla...@doppel-helix.eu

Pi Jenkins

unread,
Sep 13, 2017, 3:44:38 PM9/13/17
to danr...@gmail.com, jna-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages