Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jnr-ffi fails LoadLibraryTest pp64el on ubuntu 14. #33

Closed
ralphbellofatto opened this issue Mar 15, 2015 · 43 comments
Closed

jnr-ffi fails LoadLibraryTest pp64el on ubuntu 14. #33

ralphbellofatto opened this issue Mar 15, 2015 · 43 comments

Comments

@ralphbellofatto
Copy link

We are attempt to get jnr-ffi to work on the openPower ppc64el architecture and. After adding the TypeAlias.java file and adding PPC64EL to the Platform.java file we were able to get a clean compile and the tests starting up with out complaining it can't find the TypeAlias file.

However, when we attempt a maven test, they ALL fail. Tracing this, we found that all tests fail during the LoadLibrary section, so we isolated just this test, as all tests do this as their first step.

when we execute we see:

[tulgpu002 jnr-ffi] $ mvn -Dtest=jnr.ffi.LibraryLoaderTest test -e -X | tee test.log
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running jnr.ffi.LibraryLoaderTest
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/jffi7887071048754543889.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Tests run: 7, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.392 sec <<< FAILURE!

Results :

Tests in error:
  mapperWithFuctionMapper(jnr.ffi.LibraryLoaderTest)
  optionWithFunctionMapper(jnr.ffi.LibraryLoaderTest)
  mapMethod(jnr.ffi.LibraryLoaderTest)
  functionMappersCombine(jnr.ffi.LibraryLoaderTest)

Tests run: 7, Failures: 0, Errors: 4, Skipped: 0

Enabling -X on this we see:

[tulgpu002 jnr-ffi] $ mvn -Dtest=jnr.ffi.LibraryLoaderTest test -e -X 
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-ppc64el/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.16.0-30-generic", arch: "ppc64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Reading user settings from /gpfs/DDNgpfs1/ralphbel/.m2/settings.xml
[DEBUG] Using local repository at /gpfs/DDNgpfs1/ralphbel/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /gpfs/DDNgpfs1/ralphbel/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.github.jnr:jnr-ffi:jar:2.0.3-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.github.jnr:jnr-ffi:jar:2.0.3-SNAPSHOT
[DEBUG] Tasks:   [test]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building jnr-ffi 2.0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.github.jnr:jnr-ffi:2.0.3-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, test]
[DEBUG] Repositories (dependencies): [sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, snapshots), central (http://repo.maven.apache.org/maven2, releases)]
[DEBUG] Repositories (plugins)     : [central (http://repo.maven.apache.org/maven2, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce (enforce-maven)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <fail default-value="true">${enforcer.fail}</fail>
  <failFast default-value="false">${enforcer.failFast}</failFast>
  <ignoreCache default-value="false">${enforcer.ignoreCache}</ignoreCache>
  <project>${project}</project>
  <rules>
    <requireMavenVersion>
      <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
      <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.</message>
    </requireMavenVersion>
  </rules>
  <session>${session}</session>
  <skip default-value="false">${enforcer.skip}</skip>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.3:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${maven.resources.escapeString}</escapeString>
  <filters>${project.build.filters}</filters>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project>${project}</project>
  <resources>${project.resources}</resources>
  <session>${session}</session>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir>${basedir}</basedir>
  <buildDirectory>${project.build.directory}</buildDirectory>
  <classpathElements>${project.compileClasspathElements}</classpathElements>
  <compileSourceRoots>${project.compileSourceRoots}</compileSourceRoots>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <encoding>${maven.compiler.encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <fork default-value="false"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  <outputFileName>${project.build.finalName}</outputFileName>
  <projectArtifact>${project.artifact}</projectArtifact>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <source>${maven.compiler.source}</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target>${maven.compiler.target}</target>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.3:testResources (default-testResources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${maven.resources.escapeString}</escapeString>
  <filters>${project.build.filters}</filters>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project>${project}</project>
  <resources>${project.testResources}</resources>
  <session>${session}</session>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile (default-testCompile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir>${basedir}</basedir>
  <buildDirectory>${project.build.directory}</buildDirectory>
  <classpathElements>${project.testClasspathElements}</classpathElements>
  <compileSourceRoots>${project.testCompileSourceRoots}</compileSourceRoots>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <encoding>${maven.compiler.encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <fork default-value="false"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
  <outputFileName>${project.build.finalName}</outputFileName>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skip>${maven.test.skip}</skip>
  <source>${maven.compiler.source}</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target>${maven.compiler.target}</target>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-antrun-plugin:1.1:run (default)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <artifacts>${plugin.artifacts}</artifacts>
  <project>${project}</project>
  <sourceRoot>${sourceRoot}</sourceRoot>
  <tasks>
    <exec dir="/gpfs/DDNgpfs1/ralphbel/jnr-ffi" executable="make" failonerror="true">
      <arg line="-f libtest/GNUmakefile"/>
      <arg line="BUILD_DIR=/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target"/>
      <arg line="CPU=ppc64"/>
    </exec>${tasks}</tasks>
  <testSourceRoot>${testSourceRoot}</testSourceRoot>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test (default-test)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <argLine>${argLine}</argLine>
  <basedir>${basedir}</basedir>
  <childDelegation default-value="false">${childDelegation}</childDelegation>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <classpathElements>${project.testClasspathElements}</classpathElements>
  <debugForkedProcess>${maven.surefire.debug}</debugForkedProcess>
  <disableXmlReport default-value="false">${disableXmlReport}</disableXmlReport>
  <enableAssertions default-value="true">${enableAssertions}</enableAssertions>
  <excludedGroups>${excludedGroups}</excludedGroups>
  <failIfNoTests>${failIfNoTests}</failIfNoTests>
  <forkMode default-value="once">${forkMode}</forkMode>
  <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
  <groups>${groups}</groups>
  <junitArtifactName default-value="junit:junit">${junitArtifactName}</junitArtifactName>
  <jvm>${jvm}</jvm>
  <localRepository>${localRepository}</localRepository>
  <parallel>${parallel}</parallel>
  <pluginArtifactMap>${plugin.artifactMap}</pluginArtifactMap>
  <printSummary default-value="true">${surefire.printSummary}</printSummary>
  <project>${project}</project>
  <projectArtifactMap>${project.artifactMap}</projectArtifactMap>
  <redirectTestOutputToFile default-value="false">${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
  <remoteRepositories>${project.pluginArtifactRepositories}</remoteRepositories>
  <reportFormat default-value="brief">${surefire.reportFormat}</reportFormat>
  <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
  <session>${session}</session>
  <skip>${maven.test.skip}</skip>
  <skipExec>${maven.test.skip.exec}</skipExec>
  <skipTests>${skipTests}</skipTests>
  <systemProperties>
    <property>
      <name>jnr.ffi.library.path</name>
      <value>/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target</value>
    </property>
  </systemProperties>
  <test>${test}</test>
  <testClassesDirectory>${project.build.testOutputDirectory}</testClassesDirectory>
  <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
  <testNGArtifactName default-value="org.testng:testng">${testNGArtifactName}</testNGArtifactName>
  <testSourceDirectory>${project.build.testSourceDirectory}</testSourceDirectory>
  <threadCount>${threadCount}</threadCount>
  <trimStackTrace default-value="true">${trimStackTrace}</trimStackTrace>
  <useFile default-value="true">${surefire.useFile}</useFile>
  <useSystemClassLoader>${surefire.useSystemClassLoader}</useSystemClassLoader>
  <workingDirectory>${basedir}</workingDirectory>
</configuration>
[DEBUG] =======================================================================
[DEBUG] com.github.jnr:jnr-ffi:jar:2.0.3-SNAPSHOT
[DEBUG]    junit:junit:jar:4.11:test
[DEBUG]       org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]    com.github.jnr:jffi:jar:1.2.8:compile
[DEBUG]    com.github.jnr:jffi:jar:native:1.2.8:runtime
[DEBUG]    org.ow2.asm:asm:jar:5.0.3:compile
[DEBUG]    org.ow2.asm:asm-commons:jar:5.0.3:compile
[DEBUG]    org.ow2.asm:asm-analysis:jar:5.0.3:compile
[DEBUG]    org.ow2.asm:asm-tree:jar:5.0.3:compile
[DEBUG]    org.ow2.asm:asm-util:jar:5.0.3:compile
[DEBUG]    com.github.jnr:jnr-x86asm:jar:1.0.2:compile
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ jnr-ffi ---
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.sonatype.aether.transfer < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.sonatype.aether.metadata < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.sonatype.aether.collection < plexus.core
[DEBUG]   Imported: org.sonatype.aether.version < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.sonatype.aether.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.sonatype.aether.artifact < plexus.core
[DEBUG]   Imported: org.sonatype.aether.spi < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.graph < plexus.core
[DEBUG]   Imported: org.sonatype.aether.* < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.impl < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.sonatype.aether.deployment < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.sonatype.aether.installation < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.sonatype.aether.resolution < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] org.apache.maven.plugins:maven-enforcer-plugin:jar:1.0:
[DEBUG]    org.apache.maven:maven-artifact:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.9:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.2:test (scope managed from compile) (version managed from 3.8.1)
[DEBUG]    org.apache.maven:maven-core:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9:compile
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.0.9:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.9:compile
[DEBUG]       commons-cli:commons-cli:jar:1.0:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.9:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.0.9:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.8:compile
[DEBUG]    commons-lang:commons-lang:jar:2.3:compile
[DEBUG]    org.apache.maven.enforcer:enforcer-api:jar:1.0:compile
[DEBUG]    org.apache.maven.enforcer:enforcer-rules:jar:1.0:compile
[DEBUG]       org.apache.maven.shared:maven-common-artifact-filters:jar:1.2:compile
[DEBUG]          org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1:test (scope managed from compile)
[DEBUG]             org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:test
[DEBUG]       org.beanshell:bsh:jar:2.0b4:compile
[DEBUG]       org.apache.maven.shared:maven-dependency-tree:jar:1.2:compile
[DEBUG]       org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.0
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.0
[DEBUG]   Included: org.apache.maven.plugins:maven-enforcer-plugin:jar:1.0
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.9
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10
[DEBUG]   Included: commons-cli:commons-cli:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.8
[DEBUG]   Included: commons-lang:commons-lang:jar:2.3
[DEBUG]   Included: org.apache.maven.enforcer:enforcer-api:jar:1.0
[DEBUG]   Included: org.apache.maven.enforcer:enforcer-rules:jar:1.0
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:1.2
[DEBUG]   Included: org.beanshell:bsh:jar:2.0b4
[DEBUG]   Included: org.apache.maven.shared:maven-dependency-tree:jar:1.2
[DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.9
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   Excluded: junit:junit:jar:3.8.2
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.0.9
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1
[DEBUG]   Excluded: org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
[DEBUG]   Excluded: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.0, parent: sun.misc.Launcher$AppClassLoader@a574b2]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce' with basic configurator -->
[DEBUG]   (s) fail = true
[DEBUG]   (s) failFast = false
[DEBUG]   (f) ignoreCache = false
[DEBUG]   (s) project = MavenProject: com.github.jnr:jnr-ffi:2.0.3-SNAPSHOT @ /gpfs/DDNgpfs1/ralphbel/jnr-ffi/pom.xml
[DEBUG]   (s) version = (,2.1.0),(2.1.0,2.2.0),(2.2.0,)
[DEBUG]   (f) message = Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.
[DEBUG]   (s) rules = [org.apache.maven.plugins.enforcer.RequireMavenVersion@659174b2]
[DEBUG]   (s) session = org.apache.maven.execution.MavenSession@4c875c1c
[DEBUG]   (s) skip = false
[DEBUG] -- end configuration --
[DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireMavenVersion
[DEBUG] Rule org.apache.maven.plugins.enforcer.RequireMavenVersion is cacheable.
[DEBUG] Detected Maven Version: 3.0.5
[DEBUG] Detected Maven Version: 3.0.5 is allowed in the range (,2.1.0),(2.1.0,2.2.0),(2.2.0,).
[INFO] 
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jnr-ffi ---
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:jar:2.3:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0.6:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
[DEBUG]    org.apache.maven.shared:maven-filtering:jar:1.0-beta-2:compile
[DEBUG]       org.apache.maven:maven-core:jar:2.0.6:compile
[DEBUG]          org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile
[DEBUG]          org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile
[DEBUG]             org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile
[DEBUG]          org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile
[DEBUG]          commons-cli:commons-cli:jar:1.0:compile
[DEBUG]          org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile
[DEBUG]          org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.0.6:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.6:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-resources-plugin:2.3
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-resources-plugin:2.3
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-resources-plugin:2.3
[DEBUG]   Included: org.apache.maven.plugins:maven-resources-plugin:jar:2.3
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6
[DEBUG]   Included: org.apache.maven.shared:maven-filtering:jar:1.0-beta-2
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7
[DEBUG]   Included: commons-cli:commons-cli:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:2.3:resources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:2.3, parent: sun.misc.Launcher$AppClassLoader@a574b2]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.3:resources' with basic configurator -->
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) filters = []
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: com.github.jnr:jnr-ffi:2.0.3-SNAPSHOT @ /gpfs/DDNgpfs1/ralphbel/jnr-ffi/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/main/resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@4c875c1c
[DEBUG] -- end configuration --
[DEBUG] properties used {java.vendor=Oracle Corporation, env.LESSOPEN=| /usr/bin/lesspipe %s, sun.java.launcher=SUN_STANDARD, sun.management.compiler=HotSpot 64-Bit Server Compiler, env.LSF_BINDIR=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/bin, os.name=Linux, sun.boot.class.path=/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/classes, env.PWD=/gpfs/DDNgpfs1/ralphbel/jnr-ffi, env.LANG=en_US, java.vm.specification.vendor=Oracle Corporation, java.runtime.version=1.7.0_75-b13, project.build.sourceEncoding=UTF-8, user.name=ralphbel, maven.build.version=Apache Maven 3.0.5, env.USER=ralphbel, env.SHELL=/bin/bash, env.LSF_LIBDIR=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/lib, env.SSH_TTY=/dev/pts/2, env.PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games, user.language=en, sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/ppc64, classworlds.conf=/usr/share/maven/bin/m2.conf, env.SSH_CONNECTION=10.0.0.2 32818 10.0.0.7 22, java.version=1.7.0_75, env.SSH_CLIENT=10.0.0.2 32818 22, user.timezone=, sun.arch.data.model=64, java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/endorsed, sun.cpu.isalist=, sun.jnu.encoding=ISO-8859-1, file.encoding.pkg=sun.io, env.SHLVL=2, file.separator=/, java.specification.name=Java Platform API Specification, java.class.version=51.0, user.country=US, java.home=/usr/lib/jvm/java-7-openjdk-ppc64el/jre, java.vm.info=mixed mode, env.LOGNAME=ralphbel, os.version=3.16.0-30-generic, maven.compiler.target=1.6, path.separator=:, java.vm.version=24.75-b04, env.LANGUAGE=en_US:, env.JAVA_HOME=/usr/lib/jvm/java-7-openjdk-ppc64el, java.awt.printerjob=sun.print.PSPrinterJob, env.TERM=xterm, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.X11.XToolkit, env.MANPATH=/shared/lsf/9.1/man:, user.home=/gpfs/DDNgpfs1/ralphbel, env.OLDPWD=/gpfs/DDNgpfs1/ralphbel/jnr-ffi, java.specification.vendor=Oracle Corporation, test=jnr.ffi.LibraryLoaderTest, java.library.path=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/lib:/usr/local/cuda/lib64:/usr/java/packages/lib/ppc64:/usr/lib/powerpc64le-linux-gnu/jni:/lib/powerpc64le-linux-gnu:/usr/lib/powerpc64le-linux-gnu:/usr/lib/jni:/lib:/usr/lib, java.vendor.url=http://java.oracle.com/, java.vm.vendor=Oracle Corporation, maven.home=/usr/share/maven, java.runtime.name=OpenJDK Runtime Environment, sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher -Dtest=jnr.ffi.LibraryLoaderTest test -e -X, java.class.path=/usr/share/maven/boot/plexus-classworlds-2.x.jar, sonatypeOssDistMgmtSnapshotsUrl=https://oss.sonatype.org/content/repositories/snapshots/, env.XDG_SESSION_ID=584, env.LSF_ENVDIR=/shared/lsf/conf, maven.version=3.0.5, java.vm.specification.name=Java Virtual Machine Specification, github.global.server=github, java.vm.specification.version=1.7, sun.os.patch.level=unknown, sun.cpu.endian=little, env.HOME=/gpfs/DDNgpfs1/ralphbel, env.LD_LIBRARY_PATH=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/lib:/usr/local/cuda/lib64, java.io.tmpdir=/tmp, env.LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, env.LSF_SERVERDIR=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/etc, maven.compiler.source=1.6, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, os.arch=ppc64, env.XDG_RUNTIME_DIR=/run/user/0, java.ext.dirs=/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/ext:/usr/java/packages/lib/ext, user.dir=/gpfs/DDNgpfs1/ralphbel/jnr-ffi, line.separator=
, java.vm.name=OpenJDK 64-Bit Server VM, env.BINARY_TYPE_HPC=, file.encoding=ISO-8859-1, env.MAIL=/var/mail/ralphbel, asm.version=5.0.3, java.specification.version=1.7, env.LESSCLOSE=/usr/bin/lesspipe %s %s}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/main/resources
excludes []
includes []
[INFO] skip non existing resourceDirectory /gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ jnr-ffi ---
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:2.0.2:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.0.4:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-api:jar:1.5.3:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3:runtime
[DEBUG]    org.apache.maven:maven-artifact:jar:2.0:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:2.0.2
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:2.0.2
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:2.0.2
[DEBUG]   Included: org.apache.maven.plugins:maven-compiler-plugin:jar:2.0.2
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-api:jar:1.5.3
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:2.0.2, parent: sun.misc.Launcher$AppClassLoader@a574b2]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile' with basic configurator -->
[DEBUG]   (f) basedir = /gpfs/DDNgpfs1/ralphbel/jnr-ffi
[DEBUG]   (f) buildDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target
[DEBUG]   (f) classpathElements = [/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes, /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar]
[DEBUG]   (f) compileSourceRoots = [/gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/main/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes
[DEBUG]   (f) outputFileName = jnr-ffi-2.0.3-SNAPSHOT
[DEBUG]   (f) projectArtifact = com.github.jnr:jnr-ffi:jar:2.0.3-SNAPSHOT
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) source = 1.6
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.6
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [/gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/main/java]
[DEBUG] Classpath: [/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar]
[DEBUG] Output directory: /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ jnr-ffi ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:2.3:testResources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:2.3, parent: sun.misc.Launcher$AppClassLoader@a574b2]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.3:testResources' with basic configurator -->
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) filters = []
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/test-classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: com.github.jnr:jnr-ffi:2.0.3-SNAPSHOT @ /gpfs/DDNgpfs1/ralphbel/jnr-ffi/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/test/resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@4c875c1c
[DEBUG] -- end configuration --
[DEBUG] properties used {java.vendor=Oracle Corporation, env.LESSOPEN=| /usr/bin/lesspipe %s, sun.java.launcher=SUN_STANDARD, sun.management.compiler=HotSpot 64-Bit Server Compiler, env.LSF_BINDIR=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/bin, os.name=Linux, sun.boot.class.path=/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/classes, env.PWD=/gpfs/DDNgpfs1/ralphbel/jnr-ffi, env.LANG=en_US, java.vm.specification.vendor=Oracle Corporation, java.runtime.version=1.7.0_75-b13, project.build.sourceEncoding=UTF-8, user.name=ralphbel, maven.build.version=Apache Maven 3.0.5, env.USER=ralphbel, env.SHELL=/bin/bash, env.LSF_LIBDIR=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/lib, env.SSH_TTY=/dev/pts/2, env.PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games, user.language=en, sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/ppc64, classworlds.conf=/usr/share/maven/bin/m2.conf, env.SSH_CONNECTION=10.0.0.2 32818 10.0.0.7 22, java.version=1.7.0_75, env.SSH_CLIENT=10.0.0.2 32818 22, user.timezone=, sun.arch.data.model=64, java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/endorsed, sun.cpu.isalist=, sun.jnu.encoding=ISO-8859-1, file.encoding.pkg=sun.io, env.SHLVL=2, file.separator=/, java.specification.name=Java Platform API Specification, java.class.version=51.0, user.country=US, java.home=/usr/lib/jvm/java-7-openjdk-ppc64el/jre, java.vm.info=mixed mode, env.LOGNAME=ralphbel, os.version=3.16.0-30-generic, maven.compiler.target=1.6, path.separator=:, java.vm.version=24.75-b04, env.LANGUAGE=en_US:, env.JAVA_HOME=/usr/lib/jvm/java-7-openjdk-ppc64el, java.awt.printerjob=sun.print.PSPrinterJob, env.TERM=xterm, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.X11.XToolkit, env.MANPATH=/shared/lsf/9.1/man:, user.home=/gpfs/DDNgpfs1/ralphbel, env.OLDPWD=/gpfs/DDNgpfs1/ralphbel/jnr-ffi, java.specification.vendor=Oracle Corporation, test=jnr.ffi.LibraryLoaderTest, java.library.path=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/lib:/usr/local/cuda/lib64:/usr/java/packages/lib/ppc64:/usr/lib/powerpc64le-linux-gnu/jni:/lib/powerpc64le-linux-gnu:/usr/lib/powerpc64le-linux-gnu:/usr/lib/jni:/lib:/usr/lib, java.vendor.url=http://java.oracle.com/, java.vm.vendor=Oracle Corporation, maven.home=/usr/share/maven, java.runtime.name=OpenJDK Runtime Environment, sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher -Dtest=jnr.ffi.LibraryLoaderTest test -e -X, java.class.path=/usr/share/maven/boot/plexus-classworlds-2.x.jar, sonatypeOssDistMgmtSnapshotsUrl=https://oss.sonatype.org/content/repositories/snapshots/, env.XDG_SESSION_ID=584, env.LSF_ENVDIR=/shared/lsf/conf, maven.version=3.0.5, java.vm.specification.name=Java Virtual Machine Specification, github.global.server=github, java.vm.specification.version=1.7, sun.os.patch.level=unknown, sun.cpu.endian=little, env.HOME=/gpfs/DDNgpfs1/ralphbel, env.LD_LIBRARY_PATH=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/lib:/usr/local/cuda/lib64, java.io.tmpdir=/tmp, env.LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, env.LSF_SERVERDIR=/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/etc, maven.compiler.source=1.6, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, os.arch=ppc64, env.XDG_RUNTIME_DIR=/run/user/0, java.ext.dirs=/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/ext:/usr/java/packages/lib/ext, user.dir=/gpfs/DDNgpfs1/ralphbel/jnr-ffi, line.separator=
, java.vm.name=OpenJDK 64-Bit Server VM, env.BINARY_TYPE_HPC=, file.encoding=ISO-8859-1, env.MAIL=/var/mail/ralphbel, asm.version=5.0.3, java.specification.version=1.7, env.LESSCLOSE=/usr/bin/lesspipe %s %s}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/test/resources
excludes []
includes []
[INFO] skip non existing resourceDirectory /gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ jnr-ffi ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:2.0.2, parent: sun.misc.Launcher$AppClassLoader@a574b2]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile' with basic configurator -->
[DEBUG]   (f) basedir = /gpfs/DDNgpfs1/ralphbel/jnr-ffi
[DEBUG]   (f) buildDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target
[DEBUG]   (f) classpathElements = [/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/test-classes, /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes, /gpfs/DDNgpfs1/ralphbel/.m2/repository/junit/junit/4.11/junit-4.11.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8-native.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar]
[DEBUG]   (f) compileSourceRoots = [/gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/test/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/test-classes
[DEBUG]   (f) outputFileName = jnr-ffi-2.0.3-SNAPSHOT
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) source = 1.6
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.6
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [/gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/test/java]
[DEBUG] Classpath: [/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/test-classes
 /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/junit/junit/4.11/junit-4.11.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8-native.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar
 /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar]
[DEBUG] Output directory: /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/test-classes
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-antrun-plugin:1.1:run (default) @ jnr-ffi ---
[DEBUG] org.apache.maven.plugins:maven-antrun-plugin:jar:1.1:
[DEBUG]    org.apache.maven:maven-project:jar:2.0.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.1:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.0.1:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.1:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.0.1:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.5:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0.1:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:compile (version managed from 1.0-alpha-9)
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]    ant:ant-launcher:jar:1.6.5:runtime
[DEBUG]    ant:ant:jar:1.6.5:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.1:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-antrun-plugin:1.1
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-antrun-plugin:1.1
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-antrun-plugin:1.1
[DEBUG]   Included: org.apache.maven.plugins:maven-antrun-plugin:jar:1.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.0.5
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: ant:ant-launcher:jar:1.6.5
[DEBUG]   Included: ant:ant:jar:1.6.5
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.1
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.1
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.1
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.1
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.1
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.1
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.1
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-antrun-plugin:1.1:run from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-antrun-plugin:1.1, parent: sun.misc.Launcher$AppClassLoader@a574b2]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.1:run' with override configurator -->
[DEBUG]   (f) artifacts = [org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.1:, org.codehaus.plexus:plexus-utils:jar:1.0.5:compile, junit:junit:jar:3.8.1:compile, ant:ant-launcher:jar:1.6.5:runtime, ant:ant:jar:1.6.5:compile]
[DEBUG]   (f) project = MavenProject: com.github.jnr:jnr-ffi:2.0.3-SNAPSHOT @ /gpfs/DDNgpfs1/ralphbel/jnr-ffi/pom.xml
[DEBUG]   (f) tasks = 
[DEBUG] -- end configuration --
[INFO] Executing tasks
[DEBUG] getProperty(ns=null, name=ant.reuse.loader, user=false)
     [exec] make: Nothing to be done for 'all'.
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-surefire-plugin:2.4.2:test (default-test) @ jnr-ffi ---
[DEBUG] org.apache.maven.plugins:maven-surefire-plugin:jar:2.4.2:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG]    org.apache.maven.surefire:surefire-booter:jar:2.4.2:compile
[DEBUG]       org.apache.maven.surefire:surefire-api:jar:2.4.2:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.4.9:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.0:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0:compile
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.0:compile
[DEBUG]          doxia:doxia-sink-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0:compile
[DEBUG]       commons-cli:commons-cli:jar:1.0:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.0:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-surefire-plugin:2.4.2
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-surefire-plugin:2.4.2
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-surefire-plugin:2.4.2
[DEBUG]   Included: org.apache.maven.plugins:maven-surefire-plugin:jar:2.4.2
[DEBUG]   Included: org.apache.maven.surefire:surefire-booter:jar:2.4.2
[DEBUG]   Included: org.apache.maven.surefire:surefire-api:jar:2.4.2
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.4.9
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0
[DEBUG]   Included: doxia:doxia-sink-api:jar:1.0-alpha-4
[DEBUG]   Included: commons-cli:commons-cli:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.0
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:2.4.2, parent: sun.misc.Launcher$AppClassLoader@a574b2]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test' with basic configurator -->
[DEBUG]   (f) basedir = /gpfs/DDNgpfs1/ralphbel/jnr-ffi
[DEBUG]   (f) childDelegation = false
[DEBUG]   (f) classesDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes
[DEBUG]   (f) classpathElements = [/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/test-classes, /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes, /gpfs/DDNgpfs1/ralphbel/.m2/repository/junit/junit/4.11/junit-4.11.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8-native.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar, /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar]
[DEBUG]   (f) disableXmlReport = false
[DEBUG]   (f) enableAssertions = true
[DEBUG]   (f) forkMode = once
[DEBUG]   (f) junitArtifactName = junit:junit
[DEBUG]   (f) localRepository =        id: local
      url: file:///gpfs/DDNgpfs1/ralphbel/.m2/repository/
   layout: none

[DEBUG]   (f) pluginArtifactMap = {org.apache.maven.plugins:maven-surefire-plugin=org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.4.2:, org.apache.maven.surefire:surefire-booter=org.apache.maven.surefire:surefire-booter:jar:2.4.2:compile, org.apache.maven.surefire:surefire-api=org.apache.maven.surefire:surefire-api:jar:2.4.2:compile, org.codehaus.plexus:plexus-utils=org.codehaus.plexus:plexus-utils:jar:1.4.9:compile, junit:junit=junit:junit:jar:3.8.1:compile, org.apache.maven.reporting:maven-reporting-api=org.apache.maven.reporting:maven-reporting-api:jar:2.0:compile, doxia:doxia-sink-api=doxia:doxia-sink-api:jar:1.0-alpha-4:compile, commons-cli:commons-cli=commons-cli:commons-cli:jar:1.0:compile, org.codehaus.plexus:plexus-interactivity-api=org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile}
[DEBUG]   (f) printSummary = true
[DEBUG]   (f) project = MavenProject: com.github.jnr:jnr-ffi:2.0.3-SNAPSHOT @ /gpfs/DDNgpfs1/ralphbel/jnr-ffi/pom.xml
[DEBUG]   (f) projectArtifactMap = {junit:junit=junit:junit:jar:4.11:test, org.hamcrest:hamcrest-core=org.hamcrest:hamcrest-core:jar:1.3:test, com.github.jnr:jffi=com.github.jnr:jffi:jar:native:1.2.8:runtime, org.ow2.asm:asm=org.ow2.asm:asm:jar:5.0.3:compile, org.ow2.asm:asm-commons=org.ow2.asm:asm-commons:jar:5.0.3:compile, org.ow2.asm:asm-analysis=org.ow2.asm:asm-analysis:jar:5.0.3:compile, org.ow2.asm:asm-tree=org.ow2.asm:asm-tree:jar:5.0.3:compile, org.ow2.asm:asm-util=org.ow2.asm:asm-util:jar:5.0.3:compile, com.github.jnr:jnr-x86asm=com.github.jnr:jnr-x86asm:jar:1.0.2:compile}
[DEBUG]   (f) redirectTestOutputToFile = false
[DEBUG]   (f) remoteRepositories = [       id: central
      url: http://repo.maven.apache.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => never]
]
[DEBUG]   (f) reportFormat = brief
[DEBUG]   (f) reportsDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/surefire-reports
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@4c875c1c
[DEBUG]   (f) systemProperties = {jnr.ffi.library.path=/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target}
[DEBUG]   (f) test = jnr.ffi.LibraryLoaderTest
[DEBUG]   (f) testClassesDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/test-classes
[DEBUG]   (f) testNGArtifactName = org.testng:testng
[DEBUG]   (f) testSourceDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi/src/test/java
[DEBUG]   (f) trimStackTrace = true
[DEBUG]   (f) useFile = true
[DEBUG]   (f) workingDirectory = /gpfs/DDNgpfs1/ralphbel/jnr-ffi
[DEBUG] -- end configuration --
[DEBUG] dummy:dummy:jar:1.0 (selected for null)
[DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.4.2:compile (selected for compile)
[DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.4.2:compile (selected for compile)
[DEBUG] Adding to surefire booter test classpath: /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.jar
[DEBUG] Adding to surefire booter test classpath: /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.jar
[DEBUG] dummy:dummy:jar:1.0 (selected for null)
[DEBUG]   org.apache.maven.surefire:surefire-junit4:jar:2.4.2:test (selected for test)
[DEBUG]     junit:junit:jar:4.0:test (selected for test)
[DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.4.2:test (selected for test)
[DEBUG] Adding to surefire test classpath: /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/apache/maven/surefire/surefire-junit4/2.4.2/surefire-junit4-2.4.2.jar
[DEBUG] Adding to surefire test classpath: /gpfs/DDNgpfs1/ralphbel/.m2/repository/junit/junit/4.0/junit-4.0.jar
[DEBUG] Adding to surefire test classpath: /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.jar
[DEBUG] Test Classpath :
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/test-classes
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/classes
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/junit/junit/4.11/junit-4.11.jar
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8.jar
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jffi/1.2.8/jffi-1.2.8-native.jar
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar
[DEBUG]   /gpfs/DDNgpfs1/ralphbel/.m2/repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar
[DEBUG] Setting system property [java.vendor]=[Oracle Corporation]
[DEBUG] Setting system property [env.LESSOPEN]=[| /usr/bin/lesspipe %s]
[DEBUG] Setting system property [localRepository]=[/gpfs/DDNgpfs1/ralphbel/.m2/repository]
[DEBUG] Setting system property [sun.java.launcher]=[SUN_STANDARD]
[DEBUG] Setting system property [sun.management.compiler]=[HotSpot 64-Bit Server Compiler]
[DEBUG] Setting system property [env.LSF_BINDIR]=[/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/bin]
[DEBUG] Setting system property [os.name]=[Linux]
[DEBUG] Setting system property [sun.boot.class.path]=[/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-ppc64el/jre/classes]
[DEBUG] Setting system property [env.PWD]=[/gpfs/DDNgpfs1/ralphbel/jnr-ffi]
[DEBUG] Setting system property [env.LANG]=[en_US]
[DEBUG] Setting system property [java.vm.specification.vendor]=[Oracle Corporation]
[DEBUG] Setting system property [java.runtime.version]=[1.7.0_75-b13]
[DEBUG] Setting system property [user.name]=[ralphbel]
[DEBUG] Setting system property [maven.build.version]=[Apache Maven 3.0.5]
[DEBUG] Setting system property [env.USER]=[ralphbel]
[DEBUG] Setting system property [env.SHELL]=[/bin/bash]
[DEBUG] Setting system property [env.LSF_LIBDIR]=[/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/lib]
[DEBUG] Setting system property [env.SSH_TTY]=[/dev/pts/2]
[DEBUG] Setting system property [env.PATH]=[/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games]
[DEBUG] Setting system property [user.language]=[en]
[DEBUG] Setting system property [sun.boot.library.path]=[/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/ppc64]
[DEBUG] Setting system property [classworlds.conf]=[/usr/share/maven/bin/m2.conf]
[DEBUG] Setting system property [env.SSH_CONNECTION]=[10.0.0.2 32818 10.0.0.7 22]
[DEBUG] Setting system property [java.version]=[1.7.0_75]
[DEBUG] Setting system property [env.SSH_CLIENT]=[10.0.0.2 32818 22]
[DEBUG] Setting system property [user.timezone]=[]
[DEBUG] Setting system property [sun.arch.data.model]=[64]
[DEBUG] Setting system property [java.endorsed.dirs]=[/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/endorsed]
[DEBUG] Setting system property [sun.cpu.isalist]=[]
[DEBUG] Setting system property [sun.jnu.encoding]=[ISO-8859-1]
[DEBUG] Setting system property [file.encoding.pkg]=[sun.io]
[DEBUG] Setting system property [env.SHLVL]=[2]
[DEBUG] Setting system property [file.separator]=[/]
[DEBUG] Setting system property [java.specification.name]=[Java Platform API Specification]
[DEBUG] Setting system property [java.class.version]=[51.0]
[DEBUG] Setting system property [user.country]=[US]
[DEBUG] Setting system property [java.home]=[/usr/lib/jvm/java-7-openjdk-ppc64el/jre]
[DEBUG] Setting system property [java.vm.info]=[mixed mode]
[DEBUG] Setting system property [env.LOGNAME]=[ralphbel]
[DEBUG] Setting system property [os.version]=[3.16.0-30-generic]
[DEBUG] Setting system property [path.separator]=[:]
[DEBUG] Setting system property [java.vm.version]=[24.75-b04]
[DEBUG] Setting system property [env.LANGUAGE]=[en_US:]
[DEBUG] Setting system property [env.JAVA_HOME]=[/usr/lib/jvm/java-7-openjdk-ppc64el]
[DEBUG] Setting system property [java.awt.printerjob]=[sun.print.PSPrinterJob]
[DEBUG] Setting system property [env.TERM]=[xterm]
[DEBUG] Setting system property [sun.io.unicode.encoding]=[UnicodeLittle]
[DEBUG] Setting system property [jnr.ffi.library.path]=[/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target]
[DEBUG] Setting system property [awt.toolkit]=[sun.awt.X11.XToolkit]
[DEBUG] Setting system property [env.MANPATH]=[/shared/lsf/9.1/man:]
[DEBUG] Setting system property [user.home]=[/gpfs/DDNgpfs1/ralphbel]
[DEBUG] Setting system property [env.OLDPWD]=[/gpfs/DDNgpfs1/ralphbel/jnr-ffi]
[DEBUG] Setting system property [java.specification.vendor]=[Oracle Corporation]
[DEBUG] Setting system property [test]=[jnr.ffi.LibraryLoaderTest]
[DEBUG] Setting system property [java.library.path]=[/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/lib:/usr/local/cuda/lib64:/usr/java/packages/lib/ppc64:/usr/lib/powerpc64le-linux-gnu/jni:/lib/powerpc64le-linux-gnu:/usr/lib/powerpc64le-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
[DEBUG] Setting system property [java.vendor.url]=[http://java.oracle.com/]
[DEBUG] Setting system property [java.vm.vendor]=[Oracle Corporation]
[DEBUG] Setting system property [maven.home]=[/usr/share/maven]
[DEBUG] Setting system property [java.runtime.name]=[OpenJDK Runtime Environment]
[DEBUG] Setting system property [sun.java.command]=[org.codehaus.plexus.classworlds.launcher.Launcher -Dtest=jnr.ffi.LibraryLoaderTest test -e -X]
[DEBUG] Setting system property [java.class.path]=[/usr/share/maven/boot/plexus-classworlds-2.x.jar]
[DEBUG] Setting system property [env.XDG_SESSION_ID]=[584]
[DEBUG] Setting system property [env.LSF_ENVDIR]=[/shared/lsf/conf]
[DEBUG] Setting system property [maven.version]=[3.0.5]
[DEBUG] Setting system property [java.vm.specification.name]=[Java Virtual Machine Specification]
[DEBUG] Setting system property [java.vm.specification.version]=[1.7]
[DEBUG] Setting system property [sun.cpu.endian]=[little]
[DEBUG] Setting system property [sun.os.patch.level]=[unknown]
[DEBUG] Setting system property [env.HOME]=[/gpfs/DDNgpfs1/ralphbel]
[DEBUG] Setting system property [env.LS_COLORS]=[rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:]
[DEBUG] Setting system property [java.io.tmpdir]=[/tmp]
[DEBUG] Setting system property [env.LD_LIBRARY_PATH]=[/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/lib:/usr/local/cuda/lib64]
[DEBUG] Setting system property [java.vendor.url.bug]=[http://bugreport.sun.com/bugreport/]
[DEBUG] Setting system property [env.LSF_SERVERDIR]=[/shared/lsf/9.1/linux3.13-glibc2.19-ppc64le/etc]
[DEBUG] Setting system property [os.arch]=[ppc64]
[DEBUG] Setting system property [java.awt.graphicsenv]=[sun.awt.X11GraphicsEnvironment]
[DEBUG] Setting system property [java.ext.dirs]=[/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/ext:/usr/java/packages/lib/ext]
[DEBUG] Setting system property [env.XDG_RUNTIME_DIR]=[/run/user/0]
[DEBUG] Setting system property [user.dir]=[/gpfs/DDNgpfs1/ralphbel/jnr-ffi]
[DEBUG] Setting system property [line.separator]=[
]
[DEBUG] Setting system property [java.vm.name]=[OpenJDK 64-Bit Server VM]
[DEBUG] Setting system property [basedir]=[/gpfs/DDNgpfs1/ralphbel/jnr-ffi]
[DEBUG] Setting system property [env.BINARY_TYPE_HPC]=[]
[DEBUG] Setting system property [env.MAIL]=[/var/mail/ralphbel]
[DEBUG] Setting system property [file.encoding]=[ISO-8859-1]
[DEBUG] Setting system property [java.specification.version]=[1.7]
[DEBUG] Setting system property [env.LESSCLOSE]=[/usr/bin/lesspipe %s %s]
[DEBUG] Using JVM: /usr/lib/jvm/java-7-openjdk-ppc64el/jre/bin/java
[INFO] Surefire report directory: /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/surefire-reports
Forking command line: /bin/sh -c "cd /gpfs/DDNgpfs1/ralphbel/jnr-ffi && /usr/lib/jvm/java-7-openjdk-ppc64el/jre/bin/java -jar /tmp/surefirebooter5720510904835221455.jar /tmp/surefire8937670906845062094tmp /tmp/surefire9185341452076952346tmp"

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running jnr.ffi.LibraryLoaderTest
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/jffi3064546001316340959.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Tests run: 7, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.43 sec <<< FAILURE!

Results :

Tests in error: 
  mapperWithFuctionMapper(jnr.ffi.LibraryLoaderTest)
  optionWithFunctionMapper(jnr.ffi.LibraryLoaderTest)
  mapMethod(jnr.ffi.LibraryLoaderTest)
  functionMappersCombine(jnr.ffi.LibraryLoaderTest)

Tests run: 7, Failures: 0, Errors: 4, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.354s
[INFO] Finished at: Sun Mar 15 15:08:44 EDT 2015
[INFO] Final Memory: 12M/183M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test (default-test) on project jnr-ffi: There are test failures.
[ERROR] 
[ERROR] Please refer to /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test (default-test) on project jnr-ffi: There are test failures.

Please refer to /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/surefire-reports for the individual test results.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /gpfs/DDNgpfs1/ralphbel/jnr-ffi/target/surefire-reports for the individual test results.
    at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more
[ERROR] 
[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/MojoFailureException
@ralphbellofatto
Copy link
Author

an interesting thing we see in the above trace is:

Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-ppc64el/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.16.0-30-generic", arch: "ppc64", family: "unix"

We installed the openjdk off the utopic site with " sudo apt-get install openjdk-7-jdk".

I would appear that maven is identifying the "arch" as ppc64 rather than ppc64el. That might, or might not be an issue for this function.

the output of uname -a is:

[jnr-ffi]# uname -a
Linux tulgpu002 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:07:11 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux

@headius
Copy link
Member

headius commented Mar 16, 2015

I also noticed that "execstack" error, which previously I've only seen when the JVM loads the incorrect version of a library (in the previous case it was loading Linux-x86 on Linux-ARM).

It's difficult for me to diagnose this without being able to run the build and tests myself. I would suggest the following:

  • Look into the log files the test runs output. They'll have more specific errors. I'm guessing they'll be linkage problems.
  • Do some step-debugging or println-debugging in the jnr-ffi/jffi loading process and see if you can figure out where it goes wrong.

You could be right; it may simply not be detecting the platform or endianness correctly.

@ralphbellofatto
Copy link
Author

what was pasted above was the entire stdout/stderr output, was there another place i should be finding log files?

@headius
Copy link
Member

headius commented Mar 16, 2015

Yes, look at the log output. There should be test results under target/surefire, I believe, which will show the full errors.

@ralphbellofatto
Copy link
Author

found it and I see:

-------------------------------------------------------------------------------
Test set: jnr.ffi.LibraryLoaderTest
-------------------------------------------------------------------------------
Tests run: 7, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.413 sec <<< FAILURE!
mapperWithFuctionMapper(jnr.ffi.LibraryLoaderTest)  Time elapsed: 0.111 sec  <<< ERROR!
java.lang.UnsatisfiedLinkError: could not load FFI provider jnr.ffi.provider.jffi.Provider
    at jnr.ffi.provider.InvalidProvider$1.loadLibrary(InvalidProvider.java:30)
    at jnr.ffi.LibraryLoader.load(LibraryLoader.java:269)

Now i have a ralphbel@tulgpu002:~/jnr-ffi$ ls ./src/main/java/jnr/ffi/provider/jffi/platform/ppc64le/linux/TypeAliases.java, so there is someting more basic for it tracking down where it determines what it is going to load

@headius
Copy link
Member

headius commented Mar 16, 2015

If you need more assistance investigating, post the full failure error using https://gist.github.com. Otherwise keep me posted :-)

@ralphbellofatto
Copy link
Author

the complete log is here:
https://gist.github.com/ralphbellofatto/58d8894a4963297f9524

@headius
Copy link
Member

headius commented Mar 16, 2015

Ok, another flag to pass to that JVM: [EDITED] -verbose:jni

It's definitely having problems loading the library, and seems to be picking up the big-endian version. You might have better luck poking at this locally by turning on or adding some logging or doing some step-debugging to see why it's finding the wrong library (if that is indeed the case).

@headius
Copy link
Member

headius commented Mar 16, 2015

Edited my comment...the flag is -verbose:jni

@ralphbellofatto
Copy link
Author

I instrumented this code:


        static FFIProvider getInstance() {
            String providerName = System.getProperty("jnr.ffi.provider");
            System.out.print("RB: providerName " + providerName + "\n");

spit out this:

RB: providerName = null

So, where does this property get set?

@ralphbellofatto
Copy link
Author

Where do i add that flag on the mvn command line?

@headius
Copy link
Member

headius commented Mar 16, 2015

I think you can pass it through to maven and its sub-JVMs with JAVA_OPTS env var.

I'm not sure about that line of code or why/whether it would be null.

I don't suppose there's a possibility to get shell access to a ppc64le machine, is there? It would help us collaborate.

@ralphbellofatto
Copy link
Author

that was a red-herring:

i changed the instrumentation to:

            String providerName = System.getProperty("jnr.ffi.provider");
        System.out.print("RB: providerName " + providerName + "\n");
            if (providerName == null) {
                Package pkg = FFIProvider.class.getPackage();
                String pkgName = pkg != null && pkg.getName() != null ? pkg.getName() : "jnr.ffi.provider";
                providerName = pkgName + ".jffi.Provider";
        System.out.print("RB: providerName... " + providerName + "\n");
            }

            try {
                return (FFIProvider) Class.forName(providerName).newInstance();

            } catch (Throwable ex) {
                return newInvalidProvider("could not load FFI provider " + providerName, ex);
            }

and got the following telemetry:

Running jnr.ffi.LibraryLoaderTest
RB: providerName null
RB: providerName... jnr.ffi.provider.jffi.Provider
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/jffi182293879281362770.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
RB: LibraryLoader non-existent-library
RB: LibraryLoader non-existent-library
RB: LibraryLoader non-existent-library

I think i have to dig into the class.forName... function.

@headius
Copy link
Member

headius commented Mar 16, 2015

Somewhere before this it will have selected the .so to become that tmp/jffi so.

@ralphbellofatto
Copy link
Author

do you know off hand what code selected the .so file here and how it made the decision which one it needed to select?

Getting company externals access to a ppc64el machine is something i'm trying to push through our management.

That is going to take a bit of time. We have to first reconfigure the machines to be accessable from outside our firewall (something we are planning for this cluster, for other colaborations), but have not done yet.

And then there is the process of getting you and other collaborators approved for access to these machines.

We realize that since we are serious about the OpenPower initiative that we are going to have to be proactive about making the resources for the open source community to solve problems like this.

For now. you have me to work through.

@ralphbellofatto
Copy link
Author

ok, this is interesting:

I traced the problem into NativeRuntime and instrumented the following code:

    public static NativeRuntime getInstance() {
    System.out.print("RB: NativeRuntime getInstance\n");
    System.out.print("RB: NativeRuntime SingletonHolder.INSTANCE " + SingletonHolder.INSTANCE.getClass().getName()+"\n");
        return SingletonHolder.INSTANCE;
    }

    private static final class SingletonHolder {
        public static final NativeRuntime INSTANCE = new NativeRuntime();
    }

    private NativeRuntime() {
        super(ByteOrder.nativeOrder(), buildTypeMap());
    System.out.print("RB: NativeRuntime\n");
        NativeType[] nativeAliases = buildNativeTypeAliases();
        EnumSet<TypeAlias> typeAliasSet = EnumSet.allOf(TypeAlias.class);
        aliases = new Type[typeAliasSet.size()];

        for (TypeAlias alias : typeAliasSet) {
            if (nativeAliases.length > alias.ordinal() && nativeAliases[alias.ordinal()] != NativeType.VOID) {
                aliases[alias.ordinal()] = findType(nativeAliases[alias.ordinal()]);
            } else {
                aliases[alias.ordinal()] = new BadType(alias.name());
            }
        }
    }

I also instrumented the code that called it.

        static FFIProvider getInstance() {
            String providerName = System.getProperty("jnr.ffi.provider");
        System.out.print("RB: providerName " + providerName + "\n");
            if (providerName == null) {
                Package pkg = FFIProvider.class.getPackage();
                String pkgName = pkg != null && pkg.getName() != null ? pkg.getName() : "jnr.ffi.provider";
                providerName = pkgName + ".jffi.Provider";
        System.out.print("RB: providerName... " + providerName + "\n");
            }

            try {
                return (FFIProvider) Class.forName(providerName).newInstance();

            } catch (Throwable ex) {
        System.out.print("RB: FFIProvider newInvalidProvider\n");
                return newInvalidProvider("could not load FFI provider " + providerName, ex);
            }

Here is the telemetry:

Running jnr.ffi.LibraryLoaderTest
RB: providerName null
RB: providerName... jnr.ffi.provider.jffi.Provider
RB: constructor Provider
RB: NativeRuntime getInstance
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/jffi7859286392559998149.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
RB: FFIProvider newInvalidProvider
Tests run: 7, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.362 sec <<< FAILURE!

It would appear that the attempt to access SingletonHolder.INSTANCE, throws an exception.

also there is no trace of the stdout in from this code:

    private NativeRuntime() {
        super(ByteOrder.nativeOrder(), buildTypeMap());
    System.out.print("RB: NativeRuntime\n");

that appears to imply that this static internalize is not getting called:

    private static final class SingletonHolder {
        public static final NativeRuntime INSTANCE = new NativeRuntime();
    }

I was under the impression that private static final stuff would be called prior to any other code being initialized.

Of course, that could also mean that the System.out is not initialized at this point either.

Is there a way to trace the code during the static init phases?

@headius
Copy link
Member

headius commented Mar 16, 2015

Static final stuff will run when the class is first accessed. Any classes the static initializer(s) run will also run their static init, and so on. So if you're not getting past the new NativeRuntime() part this is likely failing further down in NativeRuntime's static initializer, and so on.

@ralphbellofatto
Copy link
Author

From your description, the static function should be able do a print.

We don't see the output for the print in this instrumentation:

    private static final class SingletonHolder {
        public static final NativeRuntime INSTANCE = new NativeRuntime();
    }

    private NativeRuntime() {
        super(ByteOrder.nativeOrder(), buildTypeMap());
    System.out.print("RB: NativeRuntime\n");

which seems to imply something important, and maybe explains the exception when the access happens...

@ralphbellofatto
Copy link
Author

seems to be dying in the AbstractRuntime constructor, investigating.

@ralphbellofatto
Copy link
Author

I did this insturmentation:

    public AbstractRuntime(ByteOrder byteOrder, EnumMap<NativeType, Type> typeMap) {
        System.out.print("RB: AbstractRuntime\n");
        this.byteOrder = byteOrder;

        EnumSet<NativeType> nativeTypes = EnumSet.allOf(NativeType.class);
        System.out.print("RB: AbstractRuntime (1)\n");
        types = new Type[nativeTypes.size()];
        System.out.print("RB: AbstractRuntime (2)\n");
        for (NativeType t : nativeTypes) {
            types[t.ordinal()] = typeMap.containsKey(t) ? typeMap.get(t) : new BadType(t.toString());
        }
        System.out.print("RB: AbstractRuntime (3)\n");

this.addressSize = types[NativeType.ADDRESS.ordinal()].size();
        System.out.print("RB: AbstractRuntime (4)\n");
        this.longSize = types[NativeType.SLONG.ordinal()].size();
        System.out.print("RB: AbstractRuntime (5)\n");
        this.addressMask = addressSize == 4 ? 0xffffffffL : 0xffffffffffffffffL;
        System.out.print("RB: AbstractRuntime-\n");

}

And got

    Running jnr.ffi.LibraryLoaderTest
    RB: providerName null
    RB: providerName... jnr.ffi.provider.jffi.Provider
    RB: constructor Provider
    RB: NativeRuntime getInstance
    RB: AbstractRuntime
    RB: AbstractRuntime (1)
    RB: AbstractRuntime (2)
    RB: AbstractRuntime (3)
    OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/jffi1226611104110361213.so which might have disabled stack guard. The VM will try to fix the stack guard now.
    It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

so that says this statment is throw the exception.

this.addressSize = types[NativeType.ADDRESS.ordinal()].size();

I'm not seeing the "ordnal" function in the jnr-ffi code...

is this some basic Java function. I see that ADDRESS part of:

public enum NativeType {
 /** Native memory address.  Equivalent to a C void* or char* pointer type.  Can be either 4 or 8 bytes in size, depending on the platform. */
    ADDRESS
...

@ralphbellofatto
Copy link
Author

Now i'm confused:

I traced the problem back into what fills out the types array in

    private static EnumMap<NativeType, Type> buildTypeMap() {
    System.out.print("RB: NativeRuntime::buildTypeMap\n");
        EnumMap<NativeType, Type> typeMap = new EnumMap<NativeType, Type>(NativeType.class);
        EnumSet<NativeType> nativeTypes = EnumSet.allOf(NativeType.class);

        for (NativeType t : nativeTypes) {
        System.out.print("RB: NativeRuntime::buildTypeMap \n");
            typeMap.put(t, jafflType(t));
        }

I instrumented the code TypeDelegate:

    private static final class TypeDelegate extends jnr.ffi.Type {
        private final com.kenai.jffi.Type type;
        private final NativeType nativeType;

        public TypeDelegate(com.kenai.jffi.Type type, NativeType nativeType) {
            this.type = type;
            this.nativeType = nativeType;

        System.out.print("RB: NativeRuntime TypeDelegate\n");
        System.out.print("RB: NativeRuntime TypeDelegate toString="+this.toString()+"\n");
        }

And it generated the following telemetry:

Running jnr.ffi.LibraryLoaderTest
RB: providerName null
RB: providerName... jnr.ffi.provider.jffi.Provider
RB: constructor Provider
RB: NativeRuntime getInstance
RB: NativeRuntime::buildTypeMap
RB: NativeRuntime::buildTypeMap
RB: NativeRuntime TypeDelegate
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/jffi1879761043680804233.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

This appears to imply that this funciton throws an exception.

    private static final class TypeDelegate extends jnr.ffi.Type {
        private final com.kenai.jffi.Type type;
        private final NativeType nativeType;
...
        public String toString() {
            return type.toString();
        }

Did i just chase this problem back into another library the implementation for: com.kenai.jffi.Type?

If so, how do i go about debugging...?

@ralphbellofatto
Copy link
Author

I'm not sure if this is significant or not, but I see this in the logs output:

Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-ppc64el/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.16.0-30-generic", arch: "ppc64", family: "unix"

[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-antrun-plugin:1.1:run (default)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <artifacts>${plugin.artifacts}</artifacts>
  <project>${project}</project>
  <sourceRoot>${sourceRoot}</sourceRoot>
  <tasks>
    <exec dir="/gpfs/DDNgpfs1/ralphbel/jnr-ffi" executable="make" failonerror="true">
      <arg line="-f libtest/GNUmakefile"/>
      <arg line="BUILD_DIR=/gpfs/DDNgpfs1/ralphbel/jnr-ffi/target"/>
      <arg line="CPU=ppc64"/>
    </exec>${tasks}</tasks>
  <testSourceRoot>${testSourceRoot}</testSourceRoot>
</configuration>


[DEBUG] Setting system property [os.arch]=[ppc64]

And the system property os.arch is being picked up by the application and its supporting libraries at some point.

I pulled the source code from maven and found the line of code that prints:

OS name: "linux", version: "3.16.0-30-generic", arch: "ppc64", family: "unix"

That comes from the maven code in CLIReporting.java here:

    public static String showVersion()
    {
...
        version.append( "OS name: \"" ).append( Os.OS_NAME ).append( "\", version: \"" ).append( Os.OS_VERSION ).append(
            "\", arch: \"" ).append( Os.OS_ARCH ).append( "\", family: \"" ).append( Os.OS_FAMILY ).append( "\"" );
        return version.toString();
    }

That pulls the information from:

import org.codehaus.plexus.util.Os;

If i do the same in the jnr-jffi code we see:

        System.out.print("RB: Os.OS_ARCH="+Os.OS_ARCH+"\n");
which prints
        RB: Os.OS_ARCH=ppc64

This would indicate that at least part of the stuff maven relies on miss-reports the os architecture.

I have more of a concern about what is putting this system property information into the system.

[DEBUG] Setting system property [os.arch]=[ppc64]

As that is likely screwing something up as well.

@ralphbellofatto
Copy link
Author

Yikes,

This comes all the way from the OpenJdk implementation:

I wrote a very simple java properties dumper.

class sysprop{
  public static void main(String[] args){
    System.getProperties().list(System.out);
   }
}

ran it and it and we get:

ralphbel@tulgpu002:~/java$ java sysprop |  grep arch
os.arch=ppc64
sun.arch.data.model=64

I figure that the system can't figure which of the jffi-1.2.8-native.jar classes to load, although i have not caught it in the act of doing that yet.

boogers

So now to figure out why this is not reporting the correct value and how to get it fixed...

@ralphbellofatto
Copy link
Author

same issue happens with java8 as well as java8.

@headius
Copy link
Member

headius commented Mar 18, 2015

Ok, so I guess what we need to do is add logic under the "ppc64" section to check the platform endianness, since OpenJDK appears to report "ppc64" regardless of endianness. I'll make that change and you can try it out.

You mentioned some deeper problems in the other PR...will you open another issue for those problems?

@ralphbellofatto
Copy link
Author

that would be one way to try to fix that now.

However, that would only fix this modules attempt at finding the proper jar modules, and not others.

For ppcel support on openJDK, the openJDK distrubition from ubuntu needs to be fixed. It should be reporting the same value as uname -p, which on the ubuntu ppc64le system reports:

ralphbel@tulgpu002:~/jnr-ffi$ uname -p
ppc64le

The proper fix for this is to get the openJDK distro fixed.

@headius
Copy link
Member

headius commented Mar 18, 2015

I have the power to file OpenJDK bugs...I will file one for this issue.

Meanwhile, it's certainly not wrong for us to detect LE in the ppc64 section and do the right thing with it.

@headius
Copy link
Member

headius commented Mar 18, 2015

@ralphbellofatto
Copy link
Author

no, it would not be "wrong" to try to correct this in this library, but this library will NOT be the only thing that blows up because the os.arch does not match the uname -p output.

@headius
Copy link
Member

headius commented Mar 18, 2015

Oops, my bug was a duplicate. Here's a better one: https://bugs.openjdk.java.net/browse/JDK-8073139

@ralphbellofatto
Copy link
Author

NOTE: this may not be an openJDK issue but an issue with how that openJDK gets into the ubuntu distro...

I took a look at the openJDK source files, and it would appear that the ARCh value is supposed to come from the uname -p command during the build of the binaries.

@headius
Copy link
Member

headius commented Mar 18, 2015

If OpenJDK is not at fault then it could be that Ubuntu is cross-compiling the ppc64le binaries without compensating for uname, maybe?

@ralphbellofatto
Copy link
Author

this bug: https://bugs.openjdk.java.net/browse/JDK-8073139 is interesting.

It appears to imply that there was a decision not to give the architecture a unique name.

Maybe my analysis that it came from uname -p in the openjdk makefiles is incorrect.

One thing about this which is interesting is that the IBM jdk reports the os.arch the same way that uname -p does.

so, can we find out from openJDK if the os.arch is working, as designed, or is there going to be a change to this..?

Or was this some distribution error.?

@ralphbellofatto
Copy link
Author

I took a look at the proposed code change, and I was incorrect, this is not a distro error, but an error in how the openJDK was done.

It would be good to get some idea when this will be fixed, otherwise, a lot of java code is going to just break.

@headius
Copy link
Member

headius commented Mar 18, 2015

@gnu-andrew has a webrev (patch) on that issue you could use to build your own OpenJDK with the correct arch...perhaps we could try that for now so we can progress to the next issue?

@ralphbellofatto
Copy link
Author

we could work the problem on the ibm jdk i have installed on this system if you like? That would be a lot less work than figuring out how to build and patch the openJDK.

Or do you think sticking with the openJDK is the only path we should persue here?

@headius
Copy link
Member

headius commented Mar 18, 2015

Oh sure, using IBM JDK is probably a fine way to go too!

FWIW, building OpenJDK is easy...once you clone it and run the "get_sources.sh" script (if I remember the name right), it's just ./configure and then make all.

@ralphbellofatto
Copy link
Author

two potential things to tackle here.

Should I work off of the code I forked, where I inserted the Missing Type aliases, or the master branch...

should I make a pull request for the ppc64 changes, since only the ppc64le changes were made to the tree?

@ralphbellofatto
Copy link
Author

Also, is there a better way for us to collaborate, than exchanging e-mail or bouncing messages through this issue?

@headius
Copy link
Member

headius commented Mar 19, 2015

@ralphbellofatto Two suggestions:

  1. I think we should probably walk away from this issue and start new ones for additional work. This one has gotten too long and it is now straying far away from problems loading the native lib. Rule of thumb: one bug in jnr-ffi, one issue in the tracker.
  2. We might be able to interact better if you joined me on IRC in the #jnr channel on Freenode, or if you IM me ("headius" on most services).

@ralphbellofatto
Copy link
Author

Added ticket: #36 to deal with
additional failures other than the "loadlibrary" failure due to open stack.

@headius
Copy link
Member

headius commented Apr 23, 2015

I think this is fixed now.

@headius headius closed this as completed Apr 23, 2015
@ralphbellofatto
Copy link
Author

I just downloaded the test on a ppc64le system running ubuntu 14.10 and the summary test resutts show:


ralphbel@tulgb004:~/jnr-ffi$ mvn -X test
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-ppc64el/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.16.0-30-generic", arch: "ppc64", family: "unix"

....
Tests run: 112, Failures: 0, Errors: 99, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.073s
[INFO] Finished at: Fri Apr 24 08:25:24 EDT 2015
[INFO] Final Memory: 25M/185M
[INFO] ------------------------------------------------------------------------
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running jnr.ffi.MemoryIOTest
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/jffi5231722226666959714.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.278 sec <<< FAILURE!
Running jnr.ffi.struct.EnumTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.038 sec <<< FAILURE!
Running jnr.ffi.struct.AlignmentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.069 sec <<< FAILURE!
Running jnr.ffi.byref.IntByReferenceTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.082 sec <<< FAILURE!
Running jnr.ffi.struct.StructureTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.061 sec <<< FAILURE!
Running jnr.ffi.LibraryTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.023 sec <<< FAILURE!
Running jnr.ffi.DelegateTest
Tests run: 18, Failures: 0, Errors: 18, Skipped: 0, Time elapsed: 0.321 sec <<< FAILURE!
Running jnr.ffi.mapper.AnnotatedMappedTypeTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.023 sec <<< FAILURE!
Running jnr.ffi.PointerTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.063 sec <<< FAILURE!
Running jnr.ffi.byref.AddressByReferenceTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.07 sec <<< FAILURE!
Running jnr.ffi.ArrayTest
Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.123 sec <<< FAILURE!
Running jnr.ffi.TypeDefinitionTest
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.06 sec <<< FAILURE!
Running jnr.ffi.StringArrayTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.022 sec <<< FAILURE!
Running jnr.ffi.byref.PointerByReferenceTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.119 sec <<< FAILURE!
Running jnr.ffi.struct.ArrayTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.022 sec <<< FAILURE!
Running jnr.ffi.byref.ByteByReferenceTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.069 sec <<< FAILURE!
Running jnr.ffi.BufferTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.028 sec <<< FAILURE!
Running jnr.ffi.mapper.CachingTypeMapperTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
Running jnr.ffi.struct.UTF8StringFieldTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.02 sec <<< FAILURE!
Running jnr.ffi.StringTest
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.099 sec <<< FAILURE!
Running jnr.ffi.EnumTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.118 sec <<< FAILURE!
Running jnr.ffi.LastErrorTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.022 sec <<< FAILURE!
Running jnr.ffi.struct.UnionTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.021 sec <<< FAILURE!
Running jnr.ffi.ResultConverterTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.025 sec <<< FAILURE!
Running jnr.ffi.ObjectReferenceManagerTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.059 sec <<< FAILURE!
Running jnr.ffi.struct.PaddingTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.025 sec <<< FAILURE!
Running jnr.ffi.NumberTest
Tests run: 16, Failures: 0, Errors: 15, Skipped: 0, Time elapsed: 0.256 sec <<< FAILURE!
Running jnr.ffi.InvocationTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.021 sec <<< FAILURE!
Running jnr.ffi.struct.StructLayoutTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.02 sec <<< FAILURE!
Running jnr.ffi.GlobalVariableTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.048 sec <<< FAILURE!
Running jnr.ffi.struct.AsciiStringFieldTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.024 sec <<< FAILURE!
Running jnr.ffi.LibraryLoaderTest
Tests run: 7, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.095 sec <<< FAILURE!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants