oracle / graal

GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
https://www.graalvm.org
Other
20.45k stars 1.64k forks source link

Native Image Shared Library Java Function with String Parameters coredumps When called from Java/JNI. #3710

Closed nilesritter closed 3 years ago

nilesritter commented 3 years ago

Describe the issue When a java function is used to define a CE Graal Native Image shared library (--shared), whose parameters and return value are java String type, and the calling program is likewise Java (via JNI), the invocation crashes with a core dump. The shared library code closely follows the example in "Implementing Native Methods in Jave with Native Image", but with an additional method that takes and returns Java String arguments.

Steps to reproduce the issue Please include both build steps as well as run steps

  1. git clone git@github.com:nilesritter/graal_native_image_jni
  2. mvn clean package
  3. The test on the second subproject will fail.

Describe GraalVM and your environment:

More details Contact: niles@nilesritter.com

Native Image Build: /usr/lib/jvm/graalvm-ce-java11-21.2.0/lib/svm/bin/native-image -cp /home/ndr/dev/libdemo/target/libdemo-1.0-SNAPSHOT.jar --no-fallback --shared -H:Class=demo.NativeImpl -H:Name=libnativeimpl

ndr@ubuntu:~/dev/ng2$ java --version openjdk 11.0.12 2021-07-20 OpenJDK Runtime Environment GraalVM CE 21.2.0 (build 11.0.12+6-jvmci-21.2-b08) OpenJDK 64-Bit Server VM GraalVM CE 21.2.0 (build 11.0.12+6-jvmci-21.2-b08, mixed mode, sharing)

Add any other information about the problem here. Especially important are stack traces or log output. Feel free to link to gists or to screenshots if necessary.

ndr@ubuntu:~/dev/graal_native_image_jni$ mvn -e -X clean package
Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: /home/ndr/local/apache-maven-3.8.2
Java version: 11.0.12, vendor: GraalVM Community, runtime: /usr/lib/jvm/graalvm-ce-java11-21.2.0
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-210-generic", arch: "amd64", family: "unix"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.annotation.* < plexus.core
[DEBUG]   Imported: javax.annotation.security.* < plexus.core
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.fusesource.jansi.* < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.event.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: color
[DEBUG] Message styles: debug info warning error success failure strong mojo project
[DEBUG] Reading global settings from /home/ndr/local/apache-maven-3.8.2/conf/settings.xml
[DEBUG] Reading user settings from /home/ndr/.m2/settings.xml
[DEBUG] Reading global toolchains from /home/ndr/local/apache-maven-3.8.2/conf/toolchains.xml
[DEBUG] Reading user toolchains from /home/ndr/.m2/toolchains.xml
[DEBUG] Using local repository at /home/ndr/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /home/ndr/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project demo:graal_demo:pom:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project demo:libdemo:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project demo:appdemo:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Graal-Native Demo module Root                                      [pom]
[INFO] libdemo - GraalVM Demo Native Library                              [jar]
[INFO] appdemo - Graal Demo Client                                        [jar]
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: demo:graal_demo:pom:1.0-SNAPSHOT
[DEBUG] Tasks:   [clean, package]
[DEBUG] Style:   Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: demo:libdemo:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [clean, package]
[DEBUG] Style:   Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: demo:appdemo:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [clean, package]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO] 
[INFO] --------------------------< demo:graal_demo >---------------------------
[INFO] Building Graal-Native Demo module Root 1.0-SNAPSHOT                [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[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:       demo:graal_demo:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean (default-clean)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <directory default-value="${project.build.directory}"/>
  <excludeDefaultDirectories default-value="false">${maven.clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  <followSymLinks default-value="false">${maven.clean.followSymLinks}</followSymLinks>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <reportDirectory default-value="${project.build.outputDirectory}"/>
  <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
  <skip default-value="false">${maven.clean.skip}</skip>
  <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  <verbose>${maven.clean.verbose}</verbose>
</configuration>
[DEBUG] =======================================================================
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ graal_demo ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=449075, ConflictMarker.markTime=122788, ConflictMarker.nodeCount=14, ConflictIdSorter.graphTime=226657, ConflictIdSorter.topsortTime=241348, ConflictIdSorter.conflictIdCount=12, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2361473, ConflictResolver.conflictItemCount=14, DefaultDependencyCollector.collectTime=105246799, DefaultDependencyCollector.transformTime=4773124}
[DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:3.1.0
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]          org.codehaus.plexus:plexus-utils:jar:2.0.4:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default)
[DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven.shared:maven-shared-utils:jar:3.2.1:compile
[DEBUG]       commons-io:commons-io:jar:2.5:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:3.1.0
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:3.1.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:3.1.0
[DEBUG]   Included: org.apache.maven.plugins:maven-clean-plugin:jar:3.1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.4
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.2.1
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:3.1.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean' with basic configurator -->
[DEBUG]   (f) directory = /home/ndr/dev/graal_native_image_jni/target
[DEBUG]   (f) excludeDefaultDirectories = false
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) followSymLinks = false
[DEBUG]   (f) outputDirectory = /home/ndr/dev/graal_native_image_jni/target/classes
[DEBUG]   (f) reportDirectory = /home/ndr/dev/graal_native_image_jni/target/classes
[DEBUG]   (f) retryOnError = true
[DEBUG]   (f) skip = false
[DEBUG]   (f) testOutputDirectory = /home/ndr/dev/graal_native_image_jni/target/test-classes
[DEBUG] -- end configuration --
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/target
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/target/classes
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/target/test-classes
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/target/classes
[INFO] 
[INFO] ----------------------------< demo:libdemo >----------------------------
[INFO] Building libdemo - GraalVM Demo Native Library 1.0-SNAPSHOT        [2/3]
[INFO] --------------------------------[ jar ]---------------------------------
[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] 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:       demo:libdemo:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, runtime, test]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean (default-clean)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <directory default-value="${project.build.directory}"/>
  <excludeDefaultDirectories default-value="false">${maven.clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  <followSymLinks default-value="false">${maven.clean.followSymLinks}</followSymLinks>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <reportDirectory default-value="${project.build.outputDirectory}"/>
  <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
  <skip default-value="false">${maven.clean.skip}</skip>
  <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  <verbose>${maven.clean.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <addDefaultExcludes default-value="true"/>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding default-value="${project.build.sourceEncoding}"/>
  <escapeWindowsPaths default-value="true"/>
  <fileNameFiltering default-value="false"/>
  <includeEmptyDirs default-value="false"/>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false"/>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <skip default-value="false">${maven.resources.skip}</skip>
  <supportMultiLineFiltering default-value="false"/>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <compilePath default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.compileSourceRoots}"/>
  <compilerArgs>
    <arg>-Xlint:unchecked</arg>
  </compilerArgs>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <failOnWarning default-value="false">${maven.compiler.failOnWarning}</failOnWarning>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedSourcesDirectory default-value="${project.build.directory}/generated-sources/annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <mojoExecution default-value="${mojoExecution}"/>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <parameters default-value="false">${maven.compiler.parameters}</parameters>
  <project default-value="${project}"/>
  <projectArtifact default-value="${project.artifact}"/>
  <release>${maven.compiler.release}</release>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skipMain>${maven.main.skip}</skipMain>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.6">11</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.6">11</target>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources (default-testResources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <addDefaultExcludes default-value="true"/>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding default-value="${project.build.sourceEncoding}"/>
  <escapeWindowsPaths default-value="true"/>
  <fileNameFiltering default-value="false"/>
  <includeEmptyDirs default-value="false"/>
  <outputDirectory default-value="${project.build.testOutputDirectory}"/>
  <overwrite default-value="false"/>
  <project default-value="${project}"/>
  <resources default-value="${project.testResources}"/>
  <session default-value="${session}"/>
  <skip default-value="false">${maven.test.skip}</skip>
  <supportMultiLineFiltering default-value="false"/>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile (default-testCompile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <compilePath default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.testCompileSourceRoots}"/>
  <compilerArgs>
    <arg>-Xlint:unchecked</arg>
  </compilerArgs>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <failOnWarning default-value="false">${maven.compiler.failOnWarning}</failOnWarning>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedTestSourcesDirectory default-value="${project.build.directory}/generated-test-sources/test-annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <mojoExecution default-value="${mojoExecution}"/>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.testOutputDirectory}"/>
  <parameters default-value="false">${maven.compiler.parameters}</parameters>
  <project default-value="${project}"/>
  <release>${maven.compiler.release}</release>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skip>${maven.test.skip}</skip>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.6">11</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.6">11</target>
  <testPath default-value="${project.testClasspathElements}"/>
  <testRelease>${maven.compiler.testRelease}</testRelease>
  <testSource>${maven.compiler.testSource}</testSource>
  <testTarget>${maven.compiler.testTarget}</testTarget>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <additionalClasspathElements>${maven.test.additionalClasspath}</additionalClasspathElements>
  <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
  <basedir default-value="${basedir}"/>
  <childDelegation default-value="false">${childDelegation}</childDelegation>
  <classesDirectory default-value="${project.build.outputDirectory}"/>
  <classpathDependencyExcludes>${maven.test.dependency.excludes}</classpathDependencyExcludes>
  <debugForkedProcess>${maven.surefire.debug}</debugForkedProcess>
  <dependenciesToScan>${dependenciesToScan}</dependenciesToScan>
  <disableXmlReport default-value="false">${disableXmlReport}</disableXmlReport>
  <enableAssertions default-value="true">${enableAssertions}</enableAssertions>
  <encoding default-value="${project.reporting.outputEncoding}">${surefire.encoding}</encoding>
  <excludedGroups>${excludedGroups}</excludedGroups>
  <excludesFile>${surefire.excludesFile}</excludesFile>
  <failIfNoSpecifiedTests>${surefire.failIfNoSpecifiedTests}</failIfNoSpecifiedTests>
  <failIfNoTests>${failIfNoTests}</failIfNoTests>
  <forkCount default-value="1">3</forkCount>
  <forkMode default-value="once">${forkMode}</forkMode>
  <forkedProcessExitTimeoutInSeconds default-value="30">${surefire.exitTimeout}</forkedProcessExitTimeoutInSeconds>
  <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
  <groups>${groups}</groups>
  <includesFile>${surefire.includesFile}</includesFile>
  <junitArtifactName default-value="junit:junit">${junitArtifactName}</junitArtifactName>
  <junitPlatformArtifactName default-value="org.junit.platform:junit-platform-engine">${junitPlatformArtifactName}</junitPlatformArtifactName>
  <jvm>${jvm}</jvm>
  <localRepository default-value="${localRepository}"/>
  <objectFactory>${objectFactory}</objectFactory>
  <parallel>${parallel}</parallel>
  <parallelMavenExecution default-value="${session.parallel}"/>
  <parallelOptimized default-value="true">${parallelOptimized}</parallelOptimized>
  <parallelTestsTimeoutForcedInSeconds>${surefire.parallel.forcedTimeout}</parallelTestsTimeoutForcedInSeconds>
  <parallelTestsTimeoutInSeconds>${surefire.parallel.timeout}</parallelTestsTimeoutInSeconds>
  <perCoreThreadCount default-value="true">${perCoreThreadCount}</perCoreThreadCount>
  <pluginArtifactMap>${plugin.artifactMap}</pluginArtifactMap>
  <pluginDescriptor default-value="${plugin}"/>
  <printSummary default-value="true">${surefire.printSummary}</printSummary>
  <projectArtifactMap>${project.artifactMap}</projectArtifactMap>
  <projectBuildDirectory default-value="${project.build.directory}"/>
  <redirectTestOutputToFile default-value="false">${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
  <remoteRepositories default-value="${project.pluginArtifactRepositories}"/>
  <reportFormat default-value="brief">${surefire.reportFormat}</reportFormat>
  <reportNameSuffix default-value="">${surefire.reportNameSuffix}</reportNameSuffix>
  <reportsDirectory default-value="${project.build.directory}/surefire-reports"/>
  <rerunFailingTestsCount default-value="0">${surefire.rerunFailingTestsCount}</rerunFailingTestsCount>
  <reuseForks default-value="true">true</reuseForks>
  <runOrder default-value="filesystem">${surefire.runOrder}</runOrder>
  <shutdown default-value="testset">${surefire.shutdown}</shutdown>
  <skip default-value="false">${maven.test.skip}</skip>
  <skipAfterFailureCount default-value="0">${surefire.skipAfterFailureCount}</skipAfterFailureCount>
  <skipExec>${maven.test.skip.exec}</skipExec>
  <skipTests default-value="false">${skipTests}</skipTests>
  <suiteXmlFiles>${surefire.suiteXmlFiles}</suiteXmlFiles>
  <tempDir default-value="surefire">${tempDir}</tempDir>
  <test>${test}</test>
  <testClassesDirectory default-value="${project.build.testOutputDirectory}"/>
  <testFailureIgnore default-value="false">${maven.test.failure.ignore}</testFailureIgnore>
  <testNGArtifactName default-value="org.testng:testng">${testNGArtifactName}</testNGArtifactName>
  <testSourceDirectory default-value="${project.build.testSourceDirectory}"/>
  <threadCount>${threadCount}</threadCount>
  <threadCountClasses default-value="0">${threadCountClasses}</threadCountClasses>
  <threadCountMethods default-value="0">${threadCountMethods}</threadCountMethods>
  <threadCountSuites default-value="0">${threadCountSuites}</threadCountSuites>
  <trimStackTrace default-value="true">${trimStackTrace}</trimStackTrace>
  <useFile default-value="true">${surefire.useFile}</useFile>
  <useManifestOnlyJar default-value="true">${surefire.useManifestOnlyJar}</useManifestOnlyJar>
  <useSystemClassLoader default-value="true">${surefire.useSystemClassLoader}</useSystemClassLoader>
  <useUnlimitedThreads default-value="false">${useUnlimitedThreads}</useUnlimitedThreads>
  <workingDirectory>${basedir}</workingDirectory>
  <project default-value="${project}"/>
  <session default-value="${session}"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (default-jar)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <classesDirectory default-value="${project.build.outputDirectory}"/>
  <finalName default-value="${project.build.finalName}"/>
  <forceCreation default-value="false">${maven.jar.forceCreation}</forceCreation>
  <outputDirectory default-value="${project.build.directory}"/>
  <project default-value="${project}"/>
  <session default-value="${session}"/>
  <skipIfEmpty default-value="false"/>
  <useDefaultManifestFile default-value="false">${jar.useDefaultManifestFile}</useDefaultManifestFile>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single (make-assembly)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <appendAssemblyId default-value="true">${assembly.appendAssemblyId}</appendAssemblyId>
  <archive>
    <manifest>
      <mainClass>demo.NativeImpl</mainClass>
    </manifest>
  </archive>
  <attach default-value="true">${assembly.attach}</attach>
  <basedir default-value="${project.basedir}"/>
  <descriptorRefs>
    <descriptorRef>jar-with-dependencies</descriptorRef>
  </descriptorRefs>
  <dryRun default-value="false">${assembly.dryRun}</dryRun>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${assembly.escapeString}</escapeString>
  <finalName default-value="${project.build.finalName}"/>
  <ignoreDirFormatExtensions default-value="true"/>
  <ignoreMissingDescriptor default-value="false">${assembly.ignoreMissingDescriptor}</ignoreMissingDescriptor>
  <ignorePermissions default-value="false">${assembly.ignorePermissions}</ignorePermissions>
  <includeProjectBuildFilters default-value="true">${assembly.includeProjectBuildFilters}</includeProjectBuildFilters>
  <localRepository default-value="${localRepository}"/>
  <mavenSession default-value="${session}"/>
  <outputDirectory default-value="${project.build.directory}"/>
  <plugin default-value="${plugin}"/>
  <project default-value="${project}"/>
  <reactorProjects default-value="${reactorProjects}"/>
  <recompressZippedFiles default-value="true"/>
  <remoteRepositories default-value="${project.remoteArtifactRepositories}"/>
  <runOnlyAtExecutionRoot default-value="false">${assembly.runOnlyAtExecutionRoot}</runOnlyAtExecutionRoot>
  <siteDirectory default-value="${project.reporting.outputDirectory}"/>
  <skipAssembly default-value="false">${assembly.skipAssembly}</skipAssembly>
  <tarLongFileMode default-value="warn">${assembly.tarLongFileMode}</tarLongFileMode>
  <tempRoot default-value="${project.build.directory}/archive-tmp"/>
  <updateOnly default-value="false">${assembly.updateOnly}</updateOnly>
  <useJvmChmod default-value="false">${assembly.useJvmChmod}</useJvmChmod>
  <workDirectory default-value="${project.build.directory}/assembly/work"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.graalvm.nativeimage:native-image-maven-plugin:21.2.0:native-image (default)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildArgs>--no-fallback --shared</buildArgs>
  <imageName>libnativeimpl</imageName>
  <mainClass>${mainClass}</mainClass>
  <mojoExecution default-value="${mojoExecution}"/>
  <outputDirectory default-value="${project.build.directory}">${outputDir}</outputDirectory>
  <plugin default-value="${plugin}"/>
  <project default-value="${project}"/>
  <session default-value="${session}"/>
  <skip default-value="false">false</skip>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=90869, ConflictMarker.markTime=60750, ConflictMarker.nodeCount=4, ConflictIdSorter.graphTime=11049, ConflictIdSorter.topsortTime=14200, ConflictIdSorter.conflictIdCount=3, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=288137, ConflictResolver.conflictItemCount=3, DefaultDependencyCollector.collectTime=15688127, DefaultDependencyCollector.transformTime=544803}
[DEBUG] demo:libdemo:jar:1.0-SNAPSHOT
[DEBUG]    org.graalvm.sdk:graal-sdk:jar:21.2.0:provided
[DEBUG]    junit:junit:jar:4.13.1:test
[DEBUG]       org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ libdemo ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:3.1.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean' with basic configurator -->
[DEBUG]   (f) directory = /home/ndr/dev/graal_native_image_jni/libdemo/target
[DEBUG]   (f) excludeDefaultDirectories = false
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) followSymLinks = false
[DEBUG]   (f) outputDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG]   (f) reportDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG]   (f) retryOnError = true
[DEBUG]   (f) skip = false
[DEBUG]   (f) testOutputDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes
[DEBUG] -- end configuration --
[INFO] Deleting /home/ndr/dev/graal_native_image_jni/libdemo/target
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-test-sources/test-annotations
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-test-sources
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/libnativeimpl_dynamic.h
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/surefire-reports/2021-08-23T17-36-51_922.dumpstream
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/surefire-reports/TEST-demo.GraalTest.xml
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/surefire-reports/demo.GraalTest.txt
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/surefire-reports
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-sources/annotations
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-sources
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status/maven-compiler-plugin/testCompile
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status/maven-compiler-plugin/compile/default-compile
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status/maven-compiler-plugin/compile
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status/maven-compiler-plugin
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-status
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/libnativeimpl.h
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/classes/demo/NativeImpl.class
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/classes/demo
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes/demo/GraalTest.class
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes/demo
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/libnativeimpl.so
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/graal_isolate_dynamic.h
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/libnativeimpl.build_artifacts.txt
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/libdemo-1.0-SNAPSHOT.jar
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/libdemo-1.0-SNAPSHOT-jar-with-dependencies.jar
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/graal_isolate.h
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/archive-tmp
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-archiver/pom.properties
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target/maven-archiver
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/libdemo/target
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ libdemo ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for codehaus.snapshots (http://snapshots.repository.codehaus.org).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=344116, ConflictMarker.markTime=176988, ConflictMarker.nodeCount=68, ConflictIdSorter.graphTime=162729, ConflictIdSorter.topsortTime=31089, ConflictIdSorter.conflictIdCount=28, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2710799, ConflictResolver.conflictItemCount=67, DefaultDependencyCollector.collectTime=118952881, DefaultDependencyCollector.transformTime=3475279}
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.6:compile (version managed from default)
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.24:compile
[DEBUG]    org.apache.maven.shared:maven-filtering:jar:3.1.1:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.0.0:compile
[DEBUG]          com.google.code.findbugs:jsr305:jar:2.0.1:compile
[DEBUG]       org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[DEBUG]    commons-io:commons-io:jar:2.5:compile
[DEBUG]    org.codehaus.plexus:plexus-interpolation:jar:1.24:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2
[DEBUG]   Included: org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.6
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.24
[DEBUG]   Included: org.apache.maven.shared:maven-filtering:jar:3.1.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.0.0
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:2.0.1
[DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.24
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources' with basic configurator -->
[DEBUG]   (f) addDefaultExcludes = true
[DEBUG]   (f) buildFilters = []
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) escapeWindowsPaths = true
[DEBUG]   (f) fileNameFiltering = false
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: demo:libdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/libdemo/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /home/ndr/dev/graal_native_image_jni/libdemo/src/main/resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) skip = false
[DEBUG]   (f) supportMultiLineFiltering = false
[DEBUG]   (f) useBuildFilters = true
[DEBUG]   (s) useDefaultDelimiters = true
[DEBUG] -- end configuration --
[DEBUG] properties used {env.TERM=xterm-256color, env.JOB=dbus, java.specification.version=11, graalvm.version=21.2.0, sun.cpu.isalist=, sun.arch.data.model=64, java.vendor.url=https://www.graalvm.org/, sun.boot.library.path=/usr/lib/jvm/graalvm-ce-java11-21.2.0/lib, sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher -e -X clean package, jdk.debug=release, maven.version=3.8.2, java.specification.vendor=Oracle Corporation, java.version.date=2021-07-20, java.home=/usr/lib/jvm/graalvm-ce-java11-21.2.0, env.QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1, java.specification.name=Java Platform API Specification, java.vm.specification.vendor=Oracle Corporation, env.UBUNTU_MENUPROXY=1, app.main.class=demo.NativeImpl, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, env.XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, java.runtime.version=11.0.12+6-jvmci-21.2-b08, env.PATH=/home/ndr/local/apache-maven-3.8.2/bin:/usr/lib/jvm/graalvm-ce-java11-21.2.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin, 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:mi=00: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:*.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:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:, env.XDG_SEAT=seat0, env.CLUTTER_IM_MODULE=, file.encoding=UTF-8, java.vendor.version=GraalVM CE 21.2.0, env._=/home/ndr/local/apache-maven-3.8.2/bin/mvn, env.XDG_SESSION_DESKTOP=gnome-flashback-metacity, env.SHLVL=1, project.baseUri=file:/home/ndr/dev/graal_native_image_jni/libdemo/, java.io.tmpdir=/tmp, java.version=11.0.12, java.vm.specification.name=Java Virtual Machine Specification, java.awt.printerjob=sun.print.PSPrinterJob, java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib, java.vendor=GraalVM Community, env.IM_CONFIG_PHASE=1, classworlds.conf=/home/ndr/local/apache-maven-3.8.2/bin/m2.conf, sun.io.unicode.encoding=UnicodeLittle, env.XAUTHORITY=/home/ndr/.Xauthority, sun.desktop=gnome, env.SESSION_MANAGER=local/ubuntu:@/tmp/.ICE-unix/1928,unix/ubuntu:/tmp/.ICE-unix/1928, env.LANG=en_US.UTF-8, env.SESSION=gnome-flashback-metacity, env.XDG_DATA_DIRS=/usr/share/gnome-flashback-metacity:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop, user.timezone=, os.name=Linux, java.vm.specification.version=11, env.DISPLAY=:0, maven.compiler.source=11, user.home=/home/ndr, maven.build.timestamp=2021-08-23T23:39:38Z, encoding=UTF-8, env.GNOME_KEYRING_CONTROL=, env.UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1738, env.GPG_AGENT_INFO=/home/ndr/.gnupg/S.gpg-agent:0:1, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, env.LANGUAGE=en_US, env.DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ZRhpLf2uUa, path.separator=:, os.version=4.4.0-210-generic, java.vm.name=OpenJDK 64-Bit Server VM, env.SHELL=/bin/bash, env.LESSCLOSE=/usr/bin/lesspipe %s %s, env.XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, project.resources.sourceEncoding=UTF-8, env.GTK_MODULES=gail:atk-bridge:unity-gtk-module, env.VTE_VERSION=4205, os.arch=amd64, maven.multiModuleProjectDirectory=/home/ndr/dev/graal_native_image_jni, env.DESKTOP_SESSION=gnome-flashback-metacity, env.MAVEN_PROJECTBASEDIR=/home/ndr/dev/graal_native_image_jni, java.vm.info=mixed mode, sharing, env.USER=ndr, java.class.version=55.0, awt.toolkit=sun.awt.X11.XToolkit, sun.jnu.encoding=UTF-8, env.SESSIONTYPE=gnome-session, env.XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ndr, env.DEFAULTS_PATH=/usr/share/gconf/gnome-flashback-metacity.default.path, env.GNOME_KEYRING_PID=, maven.build.version=Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f), maven.home=/home/ndr/local/apache-maven-3.8.2, env.JAVA_HOME=/usr/lib/jvm/graalvm-ce-java11-21.2.0, env.GDMSESSION=gnome-flashback-metacity, file.separator=/, java.vm.compressedOopsMode=Zero based, env.GTK2_MODULES=overlay-scrollbar, line.separator=
, env.GNOME_DESKTOP_SESSION_ID=this-is-deprecated, env.GDM_LANG=en_US, env.QT_QPA_PLATFORMTHEME=appmenu-qt5, env.WINDOWID=65011722, user.name=ndr, env.INSTANCE=, env.LOGNAME=ndr, env.XDG_VTNR=7, env.SSH_AUTH_SOCK=/run/user/1000/keyring/ssh, env.XDG_RUNTIME_DIR=/run/user/1000, env.XMODIFIERS=@im=ibus, project.reporting.outputEncoding=UTF-8, sun.os.patch.level=unknown, maven.compiler.target=11, env.XDG_SESSION_TYPE=x11, env.OLDPWD=/home/ndr/dev/graal_native_image_jni, env.PWD=/home/ndr/dev/graal_native_image_jni, env.LESSOPEN=| /usr/bin/lesspipe %s, java.class.path=/home/ndr/local/apache-maven-3.8.2/boot/plexus-classworlds-2.6.0.jar, env.HOME=/home/ndr, env.QT_IM_MODULE=ibus, java.vm.vendor=GraalVM Community, maven.conf=/home/ndr/local/apache-maven-3.8.2/conf, sun.java.launcher=SUN_STANDARD, user.country=US, env.QT_ACCESSIBILITY=1, sun.cpu.endian=little, user.language=en, env.MANDATORY_PATH=/usr/share/gconf/gnome-flashback-metacity.mandatory.path, revision=1.0-SNAPSHOT, jdk.internal.vm.ci.enabled=true, env.GTK_IM_MODULE=, env.XDG_MENU_PREFIX=gnome-flashback-, java.runtime.name=OpenJDK Runtime Environment, env.XDG_SESSION_ID=c2, project.build.sourceEncoding=UTF-8, exe.file.name=libnativeimpl, env.MAVEN_CMD_LINE_ARGS= -e -X clean package, java.vendor.url.bug=https://github.com/oracle/graal/issues, env.XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-flashback-metacity:/usr/share/upstart/xdg:/etc/xdg, user.dir=/home/ndr/dev/graal_native_image_jni, env.QT4_IM_MODULE=, env.XDG_CURRENT_DESKTOP=GNOME-Flashback:Unity, java.vm.version=11.0.12+6-jvmci-21.2-b08}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /home/ndr/dev/graal_native_image_jni/libdemo/src/main/resources
excludes []
includes []
[INFO] skip non existing resourceDirectory /home/ndr/dev/graal_native_image_jni/libdemo/src/main/resources
[DEBUG] no use filter components
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ libdemo ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for ow2-snapshot (http://repository.ow2.org/nexus/content/repositories/snapshots).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=459815, ConflictMarker.markTime=405835, ConflictMarker.nodeCount=118, ConflictIdSorter.graphTime=167848, ConflictIdSorter.topsortTime=59299, ConflictIdSorter.conflictIdCount=45, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2027306, ConflictResolver.conflictItemCount=72, DefaultDependencyCollector.collectTime=132290772, DefaultDependencyCollector.transformTime=3165293}
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.0
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:2.0.4:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default)
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven.shared:maven-shared-utils:jar:3.2.1:compile
[DEBUG]       commons-io:commons-io:jar:2.5:compile
[DEBUG]    org.apache.maven.shared:maven-shared-incremental:jar:1.1:compile
[DEBUG]    org.codehaus.plexus:plexus-java:jar:0.9.10:compile
[DEBUG]       org.ow2.asm:asm:jar:6.2:compile
[DEBUG]       com.thoughtworks.qdox:qdox:jar:2.0-M9:compile (version managed from default)
[DEBUG]    org.codehaus.plexus:plexus-compiler-api:jar:2.8.4:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4:runtime
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0
[DEBUG]   Included: org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.0
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.4
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.2.1
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.apache.maven.shared:maven-shared-incremental:jar:1.1
[DEBUG]   Included: org.codehaus.plexus:plexus-java:jar:0.9.10
[DEBUG]   Included: org.ow2.asm:asm:jar:6.2
[DEBUG]   Included: com.thoughtworks.qdox:qdox:jar:2.0-M9
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-api:jar:2.8.4
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile' with basic configurator -->
[DEBUG]   (f) basedir = /home/ndr/dev/graal_native_image_jni/libdemo
[DEBUG]   (f) buildDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target
[DEBUG]   (f) compilePath = [/home/ndr/dev/graal_native_image_jni/libdemo/target/classes, /home/ndr/.m2/repository/org/graalvm/sdk/graal-sdk/21.2.0/graal-sdk-21.2.0.jar]
[DEBUG]   (f) compileSourceRoots = [/home/ndr/dev/graal_native_image_jni/libdemo/src/main/java]
[DEBUG]   (f) compilerArgs = [-Xlint:unchecked]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) failOnWarning = false
[DEBUG]   (f) forceJavacCompilerUse = false
[DEBUG]   (f) fork = false
[DEBUG]   (f) generatedSourcesDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-sources/annotations
[DEBUG]   (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile {execution: default-compile}
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG]   (f) parameters = false
[DEBUG]   (f) project = MavenProject: demo:libdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/libdemo/pom.xml
[DEBUG]   (f) projectArtifact = demo:libdemo:jar:1.0-SNAPSHOT
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) skipMultiThreadWarning = false
[DEBUG]   (f) source = 11
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (s) target = 11
[DEBUG]   (f) useIncrementalCompilation = true
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Adding /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-sources/annotations to compile source roots:
  /home/ndr/dev/graal_native_image_jni/libdemo/src/main/java
[DEBUG] New compile source roots:
  /home/ndr/dev/graal_native_image_jni/libdemo/src/main/java
  /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-sources/annotations
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[DEBUG] Stale source detected: /home/ndr/dev/graal_native_image_jni/libdemo/src/main/java/demo/NativeImpl.java
[INFO] Changes detected - recompiling the module!
[DEBUG] Classpath:
[DEBUG]  /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG]  /home/ndr/.m2/repository/org/graalvm/sdk/graal-sdk/21.2.0/graal-sdk-21.2.0.jar
[DEBUG] Source roots:
[DEBUG]  /home/ndr/dev/graal_native_image_jni/libdemo/src/main/java
[DEBUG]  /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-sources/annotations
[DEBUG] Command line options:
[DEBUG] -d /home/ndr/dev/graal_native_image_jni/libdemo/target/classes -classpath /home/ndr/dev/graal_native_image_jni/libdemo/target/classes:/home/ndr/.m2/repository/org/graalvm/sdk/graal-sdk/21.2.0/graal-sdk-21.2.0.jar: -sourcepath /home/ndr/dev/graal_native_image_jni/libdemo/src/main/java:/home/ndr/dev/graal_native_image_jni/libdemo/target/generated-sources/annotations: -s /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-sources/annotations -g -nowarn -target 11 -source 11 -encoding UTF-8 -Xlint:unchecked
[DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 1 source file to /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG] incrementalBuildHelper#afterRebuildExecution
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ libdemo ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources' with basic configurator -->
[DEBUG]   (f) addDefaultExcludes = true
[DEBUG]   (f) buildFilters = []
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) escapeWindowsPaths = true
[DEBUG]   (f) fileNameFiltering = false
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: demo:libdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/libdemo/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /home/ndr/dev/graal_native_image_jni/libdemo/src/test/resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) skip = false
[DEBUG]   (f) supportMultiLineFiltering = false
[DEBUG]   (f) useBuildFilters = true
[DEBUG]   (s) useDefaultDelimiters = true
[DEBUG] -- end configuration --
[DEBUG] properties used {env.TERM=xterm-256color, env.JOB=dbus, java.specification.version=11, graalvm.version=21.2.0, sun.cpu.isalist=, sun.arch.data.model=64, java.vendor.url=https://www.graalvm.org/, sun.boot.library.path=/usr/lib/jvm/graalvm-ce-java11-21.2.0/lib, sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher -e -X clean package, jdk.debug=release, maven.version=3.8.2, java.specification.vendor=Oracle Corporation, java.version.date=2021-07-20, java.home=/usr/lib/jvm/graalvm-ce-java11-21.2.0, env.QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1, java.specification.name=Java Platform API Specification, java.vm.specification.vendor=Oracle Corporation, env.UBUNTU_MENUPROXY=1, app.main.class=demo.NativeImpl, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, env.XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, java.runtime.version=11.0.12+6-jvmci-21.2-b08, env.PATH=/home/ndr/local/apache-maven-3.8.2/bin:/usr/lib/jvm/graalvm-ce-java11-21.2.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin, 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:mi=00: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:*.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:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:, env.XDG_SEAT=seat0, env.CLUTTER_IM_MODULE=, file.encoding=UTF-8, java.vendor.version=GraalVM CE 21.2.0, env._=/home/ndr/local/apache-maven-3.8.2/bin/mvn, env.XDG_SESSION_DESKTOP=gnome-flashback-metacity, env.SHLVL=1, project.baseUri=file:/home/ndr/dev/graal_native_image_jni/libdemo/, java.io.tmpdir=/tmp, java.version=11.0.12, java.vm.specification.name=Java Virtual Machine Specification, java.awt.printerjob=sun.print.PSPrinterJob, java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib, java.vendor=GraalVM Community, env.IM_CONFIG_PHASE=1, classworlds.conf=/home/ndr/local/apache-maven-3.8.2/bin/m2.conf, sun.io.unicode.encoding=UnicodeLittle, env.XAUTHORITY=/home/ndr/.Xauthority, sun.desktop=gnome, env.SESSION_MANAGER=local/ubuntu:@/tmp/.ICE-unix/1928,unix/ubuntu:/tmp/.ICE-unix/1928, env.LANG=en_US.UTF-8, env.SESSION=gnome-flashback-metacity, env.XDG_DATA_DIRS=/usr/share/gnome-flashback-metacity:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop, user.timezone=, os.name=Linux, java.vm.specification.version=11, env.DISPLAY=:0, maven.compiler.source=11, user.home=/home/ndr, maven.build.timestamp=2021-08-23T23:39:39Z, encoding=UTF-8, env.GNOME_KEYRING_CONTROL=, env.UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1738, env.GPG_AGENT_INFO=/home/ndr/.gnupg/S.gpg-agent:0:1, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, env.LANGUAGE=en_US, env.DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ZRhpLf2uUa, path.separator=:, os.version=4.4.0-210-generic, java.vm.name=OpenJDK 64-Bit Server VM, env.SHELL=/bin/bash, env.LESSCLOSE=/usr/bin/lesspipe %s %s, env.XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, project.resources.sourceEncoding=UTF-8, env.GTK_MODULES=gail:atk-bridge:unity-gtk-module, env.VTE_VERSION=4205, os.arch=amd64, maven.multiModuleProjectDirectory=/home/ndr/dev/graal_native_image_jni, env.DESKTOP_SESSION=gnome-flashback-metacity, env.MAVEN_PROJECTBASEDIR=/home/ndr/dev/graal_native_image_jni, java.vm.info=mixed mode, sharing, env.USER=ndr, java.class.version=55.0, awt.toolkit=sun.awt.X11.XToolkit, sun.jnu.encoding=UTF-8, env.SESSIONTYPE=gnome-session, env.XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ndr, env.DEFAULTS_PATH=/usr/share/gconf/gnome-flashback-metacity.default.path, env.GNOME_KEYRING_PID=, maven.build.version=Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f), maven.home=/home/ndr/local/apache-maven-3.8.2, env.JAVA_HOME=/usr/lib/jvm/graalvm-ce-java11-21.2.0, env.GDMSESSION=gnome-flashback-metacity, file.separator=/, java.vm.compressedOopsMode=Zero based, env.GTK2_MODULES=overlay-scrollbar, line.separator=
, env.GNOME_DESKTOP_SESSION_ID=this-is-deprecated, env.GDM_LANG=en_US, env.QT_QPA_PLATFORMTHEME=appmenu-qt5, env.WINDOWID=65011722, user.name=ndr, env.INSTANCE=, env.LOGNAME=ndr, env.XDG_VTNR=7, env.SSH_AUTH_SOCK=/run/user/1000/keyring/ssh, env.XDG_RUNTIME_DIR=/run/user/1000, env.XMODIFIERS=@im=ibus, project.reporting.outputEncoding=UTF-8, sun.os.patch.level=unknown, maven.compiler.target=11, env.XDG_SESSION_TYPE=x11, env.OLDPWD=/home/ndr/dev/graal_native_image_jni, env.PWD=/home/ndr/dev/graal_native_image_jni, env.LESSOPEN=| /usr/bin/lesspipe %s, java.class.path=/home/ndr/local/apache-maven-3.8.2/boot/plexus-classworlds-2.6.0.jar, env.HOME=/home/ndr, env.QT_IM_MODULE=ibus, java.vm.vendor=GraalVM Community, maven.conf=/home/ndr/local/apache-maven-3.8.2/conf, sun.java.launcher=SUN_STANDARD, user.country=US, env.QT_ACCESSIBILITY=1, sun.cpu.endian=little, user.language=en, env.MANDATORY_PATH=/usr/share/gconf/gnome-flashback-metacity.mandatory.path, revision=1.0-SNAPSHOT, jdk.internal.vm.ci.enabled=true, env.GTK_IM_MODULE=, env.XDG_MENU_PREFIX=gnome-flashback-, java.runtime.name=OpenJDK Runtime Environment, env.XDG_SESSION_ID=c2, project.build.sourceEncoding=UTF-8, exe.file.name=libnativeimpl, env.MAVEN_CMD_LINE_ARGS= -e -X clean package, java.vendor.url.bug=https://github.com/oracle/graal/issues, env.XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-flashback-metacity:/usr/share/upstart/xdg:/etc/xdg, user.dir=/home/ndr/dev/graal_native_image_jni, env.QT4_IM_MODULE=, env.XDG_CURRENT_DESKTOP=GNOME-Flashback:Unity, java.vm.version=11.0.12+6-jvmci-21.2-b08}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /home/ndr/dev/graal_native_image_jni/libdemo/src/test/resources
excludes []
includes []
[INFO] skip non existing resourceDirectory /home/ndr/dev/graal_native_image_jni/libdemo/src/test/resources
[DEBUG] no use filter components
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ libdemo ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile' with basic configurator -->
[DEBUG]   (f) basedir = /home/ndr/dev/graal_native_image_jni/libdemo
[DEBUG]   (f) buildDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target
[DEBUG]   (f) compilePath = [/home/ndr/dev/graal_native_image_jni/libdemo/target/classes, /home/ndr/.m2/repository/org/graalvm/sdk/graal-sdk/21.2.0/graal-sdk-21.2.0.jar]
[DEBUG]   (f) compileSourceRoots = [/home/ndr/dev/graal_native_image_jni/libdemo/src/test/java]
[DEBUG]   (f) compilerArgs = [-Xlint:unchecked]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) failOnWarning = false
[DEBUG]   (f) forceJavacCompilerUse = false
[DEBUG]   (f) fork = false
[DEBUG]   (f) generatedTestSourcesDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-test-sources/test-annotations
[DEBUG]   (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile {execution: default-testCompile}
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes
[DEBUG]   (f) parameters = false
[DEBUG]   (f) project = MavenProject: demo:libdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/libdemo/pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) skipMultiThreadWarning = false
[DEBUG]   (f) source = 11
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (s) target = 11
[DEBUG]   (f) testPath = [/home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes, /home/ndr/dev/graal_native_image_jni/libdemo/target/classes, /home/ndr/.m2/repository/org/graalvm/sdk/graal-sdk/21.2.0/graal-sdk-21.2.0.jar, /home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar, /home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar]
[DEBUG]   (f) useIncrementalCompilation = true
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Adding /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-test-sources/test-annotations to test-compile source roots:
  /home/ndr/dev/graal_native_image_jni/libdemo/src/test/java
[DEBUG] New test-compile source roots:
  /home/ndr/dev/graal_native_image_jni/libdemo/src/test/java
  /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-test-sources/test-annotations
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[DEBUG] Stale source detected: /home/ndr/dev/graal_native_image_jni/libdemo/src/test/java/demo/GraalTest.java
[INFO] Changes detected - recompiling the module!
[DEBUG] Classpath:
[DEBUG]  /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes
[DEBUG]  /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG]  /home/ndr/.m2/repository/org/graalvm/sdk/graal-sdk/21.2.0/graal-sdk-21.2.0.jar
[DEBUG]  /home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar
[DEBUG]  /home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[DEBUG] Source roots:
[DEBUG]  /home/ndr/dev/graal_native_image_jni/libdemo/src/test/java
[DEBUG]  /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-test-sources/test-annotations
[DEBUG] Command line options:
[DEBUG] -d /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes -classpath /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes:/home/ndr/dev/graal_native_image_jni/libdemo/target/classes:/home/ndr/.m2/repository/org/graalvm/sdk/graal-sdk/21.2.0/graal-sdk-21.2.0.jar:/home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar:/home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar: -sourcepath /home/ndr/dev/graal_native_image_jni/libdemo/src/test/java:/home/ndr/dev/graal_native_image_jni/libdemo/target/generated-test-sources/test-annotations: -s /home/ndr/dev/graal_native_image_jni/libdemo/target/generated-test-sources/test-annotations -g -nowarn -target 11 -source 11 -encoding UTF-8 -Xlint:unchecked
[DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 1 source file to /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes
[DEBUG] incrementalBuildHelper#afterRebuildExecution
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ libdemo ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for snapshots (http://snapshots.maven.codehaus.org/maven2).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for central (http://repo1.maven.org/maven2).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=459675, ConflictMarker.markTime=173477, ConflictMarker.nodeCount=114, ConflictIdSorter.graphTime=173728, ConflictIdSorter.topsortTime=36720, ConflictIdSorter.conflictIdCount=37, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1166216, ConflictResolver.conflictItemCount=79, DefaultDependencyCollector.collectTime=60802700, DefaultDependencyCollector.transformTime=2047256}
[DEBUG] org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.1
[DEBUG]    org.apache.maven.surefire:maven-surefire-common:jar:2.22.1:compile
[DEBUG]       org.apache.maven:maven-plugin-api:jar:2.2.1:compile (version managed from default)
[DEBUG]       org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.5.2:compile (scope managed from default) (version managed from default)
[DEBUG]       org.apache.maven.surefire:surefire-api:jar:2.22.1:compile (version managed from default)
[DEBUG]          org.apache.maven.surefire:surefire-logger-api:jar:2.22.1:compile (version managed from default)
[DEBUG]       org.apache.maven.surefire:surefire-booter:jar:2.22.1:compile (version managed from default)
[DEBUG]       org.apache.maven:maven-artifact:jar:2.2.1:compile (version managed from default)
[DEBUG]          org.codehaus.plexus:plexus-utils:jar:1.5.15:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile (version managed from default)
[DEBUG]          org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]             junit:junit:jar:4.12:compile (version managed from default)
[DEBUG]                org.hamcrest:hamcrest-core:jar:1.3:compile
[DEBUG]       org.apache.maven:maven-project:jar:2.2.1:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-settings:jar:2.2.1:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]          org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]             backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]          org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]          org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile (version managed from default)
[DEBUG]       org.apache.maven:maven-core:jar:2.2.1:compile (version managed from default) (exclusions managed from default)
[DEBUG]          org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[DEBUG]          org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
[DEBUG]             org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]          org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]          org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]          org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[DEBUG]          org.apache.maven:maven-monitor:jar:2.2.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1:compile
[DEBUG]          org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]             org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]       org.apache.maven:maven-toolchain:jar:2.2.1:compile (version managed from default)
[DEBUG]       org.codehaus.plexus:plexus-java:jar:0.9.10:compile (version managed from default)
[DEBUG]          org.ow2.asm:asm:jar:6.2:compile
[DEBUG]          com.thoughtworks.qdox:qdox:jar:2.0-M8:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-surefire-plugin:2.22.1
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-surefire-plugin:2.22.1
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-surefire-plugin:2.22.1
[DEBUG]   Included: org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.1
[DEBUG]   Included: org.apache.maven.surefire:maven-surefire-common:jar:2.22.1
[DEBUG]   Included: org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.5.2
[DEBUG]   Included: org.apache.maven.surefire:surefire-api:jar:2.22.1
[DEBUG]   Included: org.apache.maven.surefire:surefire-logger-api:jar:2.22.1
[DEBUG]   Included: org.apache.maven.surefire:surefire-booter:jar:2.22.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.15
[DEBUG]   Included: junit:junit:jar:4.12
[DEBUG]   Included: org.hamcrest:hamcrest-core:jar:1.3
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG]   Included: org.slf4j:slf4j-jdk14:jar:1.5.6
[DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.5.6
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-java:jar:0.9.10
[DEBUG]   Included: org.ow2.asm:asm:jar:6.2
[DEBUG]   Included: com.thoughtworks.qdox:qdox:jar:2.0-M8
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:2.22.1, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test' with basic configurator -->
[DEBUG]   (s) additionalClasspathElements = []
[DEBUG]   (s) argLine = -Xmx1024m -XX:MaxPermSize=256m
[DEBUG]   (s) basedir = /home/ndr/dev/graal_native_image_jni/libdemo
[DEBUG]   (s) childDelegation = false
[DEBUG]   (s) classesDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG]   (s) classpathDependencyExcludes = []
[DEBUG]   (s) dependenciesToScan = []
[DEBUG]   (s) disableXmlReport = false
[DEBUG]   (s) enableAssertions = true
[DEBUG]   (s) encoding = UTF-8
[DEBUG]   (f) forkCount = 3
[DEBUG]   (s) forkMode = once
[DEBUG]   (s) forkedProcessExitTimeoutInSeconds = 30
[DEBUG]   (s) junitArtifactName = junit:junit
[DEBUG]   (s) junitPlatformArtifactName = org.junit.platform:junit-platform-engine
[DEBUG]   (s) localRepository =       id: local
      url: file:///home/ndr/.m2/repository/
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]
   blocked: false

[DEBUG]   (f) parallelMavenExecution = false
[DEBUG]   (s) parallelOptimized = true
[DEBUG]   (s) perCoreThreadCount = true
[DEBUG]   (s) pluginArtifactMap = {org.apache.maven.plugins:maven-surefire-plugin=org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.22.1:, org.apache.maven.surefire:maven-surefire-common=org.apache.maven.surefire:maven-surefire-common:jar:2.22.1:compile, org.apache.maven:maven-plugin-api=org.apache.maven:maven-plugin-api:jar:2.2.1:compile, org.apache.maven.plugin-tools:maven-plugin-annotations=org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.5.2:compile, org.apache.maven.surefire:surefire-api=org.apache.maven.surefire:surefire-api:jar:2.22.1:compile, org.apache.maven.surefire:surefire-logger-api=org.apache.maven.surefire:surefire-logger-api:jar:2.22.1:compile, org.apache.maven.surefire:surefire-booter=org.apache.maven.surefire:surefire-booter:jar:2.22.1:compile, org.apache.maven:maven-artifact=org.apache.maven:maven-artifact:jar:2.2.1:compile, org.codehaus.plexus:plexus-utils=org.codehaus.plexus:plexus-utils:jar:1.5.15:compile, org.apache.maven:maven-plugin-descriptor=org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile, org.codehaus.plexus:plexus-container-default=org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile, junit:junit=junit:junit:jar:4.12:compile, org.hamcrest:hamcrest-core=org.hamcrest:hamcrest-core:jar:1.3:compile, org.apache.maven:maven-project=org.apache.maven:maven-project:jar:2.2.1:compile, org.apache.maven:maven-settings=org.apache.maven:maven-settings:jar:2.2.1:compile, org.apache.maven:maven-profile=org.apache.maven:maven-profile:jar:2.2.1:compile, org.apache.maven:maven-artifact-manager=org.apache.maven:maven-artifact-manager:jar:2.2.1:compile, backport-util-concurrent:backport-util-concurrent=backport-util-concurrent:backport-util-concurrent:jar:3.1:compile, org.apache.maven:maven-plugin-registry=org.apache.maven:maven-plugin-registry:jar:2.2.1:compile, org.codehaus.plexus:plexus-interpolation=org.codehaus.plexus:plexus-interpolation:jar:1.11:compile, org.apache.maven:maven-model=org.apache.maven:maven-model:jar:2.2.1:compile, org.apache.maven:maven-core=org.apache.maven:maven-core:jar:2.2.1:compile, org.apache.maven:maven-plugin-parameter-documenter=org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile, org.slf4j:slf4j-jdk14=org.slf4j:slf4j-jdk14:jar:1.5.6:runtime, org.slf4j:slf4j-api=org.slf4j:slf4j-api:jar:1.5.6:runtime, org.slf4j:jcl-over-slf4j=org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime, org.apache.maven.reporting:maven-reporting-api=org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile, org.apache.maven:maven-repository-metadata=org.apache.maven:maven-repository-metadata:jar:2.2.1:compile, org.apache.maven:maven-error-diagnostics=org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile, org.apache.maven:maven-monitor=org.apache.maven:maven-monitor:jar:2.2.1:compile, classworlds:classworlds=classworlds:classworlds:jar:1.1:compile, org.sonatype.plexus:plexus-sec-dispatcher=org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile, org.sonatype.plexus:plexus-cipher=org.sonatype.plexus:plexus-cipher:jar:1.4:compile, org.apache.maven:maven-toolchain=org.apache.maven:maven-toolchain:jar:2.2.1:compile, org.codehaus.plexus:plexus-java=org.codehaus.plexus:plexus-java:jar:0.9.10:compile, org.ow2.asm:asm=org.ow2.asm:asm:jar:6.2:compile, com.thoughtworks.qdox:qdox=com.thoughtworks.qdox:qdox:jar:2.0-M8:compile}
[DEBUG]   (f) pluginDescriptor = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugin.surefire.HelpMojo', role hint: 'org.apache.maven.plugins:maven-surefire-plugin:2.22.1:help'
role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugin.surefire.SurefirePlugin', role hint: 'org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test'
---
[DEBUG]   (s) printSummary = true
[DEBUG]   (s) projectArtifactMap = {org.graalvm.sdk:graal-sdk=org.graalvm.sdk:graal-sdk:jar:21.2.0:provided, junit:junit=junit:junit:jar:4.13.1:test, org.hamcrest:hamcrest-core=org.hamcrest:hamcrest-core:jar:1.3:test}
[DEBUG]   (s) projectBuildDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target
[DEBUG]   (s) redirectTestOutputToFile = false
[DEBUG]   (s) remoteRepositories = [      id: central
      url: https://repo.maven.apache.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => never]
   blocked: false
]
[DEBUG]   (s) reportFormat = brief
[DEBUG]   (s) reportsDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/surefire-reports
[DEBUG]   (f) rerunFailingTestsCount = 0
[DEBUG]   (f) reuseForks = true
[DEBUG]   (s) runOrder = filesystem
[DEBUG]   (f) shutdown = testset
[DEBUG]   (s) skip = false
[DEBUG]   (f) skipAfterFailureCount = 0
[DEBUG]   (s) skipTests = false
[DEBUG]   (s) suiteXmlFiles = []
[DEBUG]   (s) tempDir = surefire
[DEBUG]   (s) testClassesDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes
[DEBUG]   (s) testFailureIgnore = false
[DEBUG]   (s) testNGArtifactName = org.testng:testng
[DEBUG]   (s) testSourceDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/src/test/java
[DEBUG]   (s) threadCountClasses = 0
[DEBUG]   (s) threadCountMethods = 0
[DEBUG]   (s) threadCountSuites = 0
[DEBUG]   (s) trimStackTrace = true
[DEBUG]   (s) useFile = true
[DEBUG]   (s) useManifestOnlyJar = true
[DEBUG]   (s) useSystemClassLoader = true
[DEBUG]   (s) useUnlimitedThreads = false
[DEBUG]   (s) workingDirectory = /home/ndr/dev/graal_native_image_jni/libdemo
[DEBUG]   (s) project = MavenProject: demo:libdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/libdemo/pom.xml
[DEBUG]   (s) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG] -- end configuration --
[DEBUG] Surefire report directory: /home/ndr/dev/graal_native_image_jni/libdemo/target/surefire-reports
[DEBUG] Setting system property [basedir]=[/home/ndr/dev/graal_native_image_jni/libdemo]
[DEBUG] Setting system property [user.dir]=[/home/ndr/dev/graal_native_image_jni/libdemo]
[DEBUG] Setting system property [localRepository]=[/home/ndr/.m2/repository]
[DEBUG] dummy:dummy:jar:1.0 (selected for null)
[DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.22.1:compile (selected for compile)
[DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.22.1:compile (selected for compile)
[DEBUG]       org.apache.maven.surefire:surefire-logger-api:jar:2.22.1:compile (selected for compile)
[DEBUG] Adding to surefire booter test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-booter/2.22.1/surefire-booter-2.22.1.jar Scope: compile
[DEBUG] Adding to surefire booter test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/2.22.1/surefire-api-2.22.1.jar Scope: compile
[DEBUG] Adding to surefire booter test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/2.22.1/surefire-logger-api-2.22.1.jar Scope: compile
[DEBUG] Using JVM: /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java with Java version 11
[DEBUG] dummy:dummy:jar:1.0 (selected for null)
[DEBUG]   org.apache.maven.surefire:surefire-junit4:jar:2.22.1:test (selected for test)
[DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.22.1:test (selected for test)
[DEBUG]       org.apache.maven.surefire:surefire-logger-api:jar:2.22.1:test (selected for test)
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-junit4/2.22.1/surefire-junit4-2.22.1.jar Scope: test
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/2.22.1/surefire-api-2.22.1.jar Scope: test
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/2.22.1/surefire-logger-api-2.22.1.jar Scope: test
[DEBUG] test classpath:  /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes  /home/ndr/dev/graal_native_image_jni/libdemo/target/classes  /home/ndr/.m2/repository/org/graalvm/sdk/graal-sdk/21.2.0/graal-sdk-21.2.0.jar  /home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar  /home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[DEBUG] provider classpath:  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-junit4/2.22.1/surefire-junit4-2.22.1.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/2.22.1/surefire-api-2.22.1.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/2.22.1/surefire-logger-api-2.22.1.jar
[DEBUG] test(compact) classpath:  test-classes  classes  graal-sdk-21.2.0.jar  junit-4.13.1.jar  hamcrest-core-1.3.jar
[DEBUG] provider(compact) classpath:  surefire-junit4-2.22.1.jar  surefire-api-2.22.1.jar  surefire-logger-api-2.22.1.jar
[DEBUG] in-process classpath:  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-junit4/2.22.1/surefire-junit4-2.22.1.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/2.22.1/surefire-api-2.22.1.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/2.22.1/surefire-logger-api-2.22.1.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/maven-surefire-common/2.22.1/maven-surefire-common-2.22.1.jar
[DEBUG] in-process(compact) classpath:  surefire-junit4-2.22.1.jar  surefire-api-2.22.1.jar  surefire-logger-api-2.22.1.jar  maven-surefire-common-2.22.1.jar
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[DEBUG] Determined Maven Process ID 6832
[DEBUG] boot classpath:  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-booter/2.22.1/surefire-booter-2.22.1.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/2.22.1/surefire-api-2.22.1.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/2.22.1/surefire-logger-api-2.22.1.jar  /home/ndr/dev/graal_native_image_jni/libdemo/target/test-classes  /home/ndr/dev/graal_native_image_jni/libdemo/target/classes  /home/ndr/.m2/repository/org/graalvm/sdk/graal-sdk/21.2.0/graal-sdk-21.2.0.jar  /home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar  /home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-junit4/2.22.1/surefire-junit4-2.22.1.jar
[DEBUG] boot(compact) classpath:  surefire-booter-2.22.1.jar  surefire-api-2.22.1.jar  surefire-logger-api-2.22.1.jar  test-classes  classes  graal-sdk-21.2.0.jar  junit-4.13.1.jar  hamcrest-core-1.3.jar  surefire-junit4-2.22.1.jar
[DEBUG] Forking command line: /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/libdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/libdemo/target/surefire/surefirebooter11235717849463210687.jar /home/ndr/dev/graal_native_image_jni/libdemo/target/surefire 2021-08-23T17-39-39_827-jvmRun1 surefire17331889139661188564tmp surefire_017926374101600481785tmp
[INFO] Running demo.GraalTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 s - in demo.GraalTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ libdemo ---
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=173668, ConflictMarker.markTime=75519, ConflictMarker.nodeCount=82, ConflictIdSorter.graphTime=267877, ConflictIdSorter.topsortTime=36460, ConflictIdSorter.conflictIdCount=31, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=924119, ConflictResolver.conflictItemCount=75, DefaultDependencyCollector.collectTime=40087382, DefaultDependencyCollector.transformTime=1521772}
[DEBUG] org.apache.maven.plugins:maven-jar-plugin:jar:3.0.2
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.6:compile (version managed from default)
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]    org.apache.maven:maven-archiver:jar:3.1.1:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.0.1:compile
[DEBUG]       commons-io:commons-io:jar:2.5:compile
[DEBUG]    org.codehaus.plexus:plexus-archiver:jar:3.4:compile
[DEBUG]       org.codehaus.plexus:plexus-io:jar:2.7.1:compile
[DEBUG]       org.apache.commons:commons-compress:jar:1.11:compile
[DEBUG]       org.iq80.snappy:snappy:jar:0.4:compile
[DEBUG]       org.tukaani:xz:jar:1.5:runtime
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.24:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-jar-plugin:3.0.2
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-jar-plugin:3.0.2
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-jar-plugin:3.0.2
[DEBUG]   Included: org.apache.maven.plugins:maven-jar-plugin:jar:3.0.2
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.6
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven:maven-archiver:jar:3.1.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.0.1
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:3.4
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:2.7.1
[DEBUG]   Included: org.apache.commons:commons-compress:jar:1.11
[DEBUG]   Included: org.iq80.snappy:snappy:jar:0.4
[DEBUG]   Included: org.tukaani:xz:jar:1.5
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.24
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-jar-plugin:3.0.2, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar' with basic configurator -->
[DEBUG]   (f) classesDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/classes
[DEBUG]   (f) finalName = libdemo-1.0-SNAPSHOT
[DEBUG]   (f) forceCreation = false
[DEBUG]   (f) outputDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target
[DEBUG]   (f) project = MavenProject: demo:libdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/libdemo/pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) skipIfEmpty = false
[DEBUG]   (f) useDefaultManifestFile = false
[DEBUG] -- end configuration --
[DEBUG] isUp2date: false (Destination /home/ndr/dev/graal_native_image_jni/libdemo/target/libdemo-1.0-SNAPSHOT.jar not found.)
[INFO] Building jar: /home/ndr/dev/graal_native_image_jni/libdemo/target/libdemo-1.0-SNAPSHOT.jar
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[DEBUG] adding directory demo/
[DEBUG] adding entry demo/NativeImpl.class
[DEBUG] adding directory META-INF/maven/
[DEBUG] adding directory META-INF/maven/demo/
[DEBUG] adding directory META-INF/maven/demo/libdemo/
[DEBUG] adding entry META-INF/maven/demo/libdemo/pom.xml
[DEBUG] adding entry META-INF/maven/demo/libdemo/pom.properties
[INFO] 
[INFO] --- maven-assembly-plugin:3.1.0:single (make-assembly) @ libdemo ---
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=194928, ConflictMarker.markTime=133268, ConflictMarker.nodeCount=140, ConflictIdSorter.graphTime=166548, ConflictIdSorter.topsortTime=48410, ConflictIdSorter.conflictIdCount=42, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1511632, ConflictResolver.conflictItemCount=124, DefaultDependencyCollector.collectTime=111283493, DefaultDependencyCollector.transformTime=2107736}
[DEBUG] org.apache.maven.plugins:maven-assembly-plugin:jar:3.1.0
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.6:compile (version managed from default)
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]    org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile
[DEBUG]    org.apache.maven.shared:maven-artifact-transfer:jar:0.9.0:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.5:compile
[DEBUG]    org.codehaus.plexus:plexus-interpolation:jar:1.24:compile
[DEBUG]    org.codehaus.plexus:plexus-archiver:jar:3.5:compile
[DEBUG]       org.apache.commons:commons-compress:jar:1.14:compile
[DEBUG]       org.iq80.snappy:snappy:jar:0.4:compile
[DEBUG]       org.tukaani:xz:jar:1.6:runtime
[DEBUG]    org.apache.maven.shared:file-management:jar:3.0.0:compile
[DEBUG]    org.apache.maven.shared:maven-shared-io:jar:3.0.0:compile
[DEBUG]       org.apache.maven:maven-compat:jar:3.0:compile
[DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:2.10:compile
[DEBUG]    commons-io:commons-io:jar:2.5:compile
[DEBUG]    org.apache.maven.shared:maven-filtering:jar:3.1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[DEBUG]    org.codehaus.plexus:plexus-io:jar:3.0.0:compile
[DEBUG]    org.apache.maven:maven-archiver:jar:3.2.0:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.1.0:compile
[DEBUG]    commons-codec:commons-codec:jar:1.6:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-assembly-plugin:3.1.0
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-assembly-plugin:3.1.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-assembly-plugin:3.1.0
[DEBUG]   Included: org.apache.maven.plugins:maven-assembly-plugin:jar:3.1.0
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.6
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.1.0
[DEBUG]   Included: org.apache.maven.shared:maven-artifact-transfer:jar:0.9.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.24
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:3.5
[DEBUG]   Included: org.apache.commons:commons-compress:jar:1.14
[DEBUG]   Included: org.iq80.snappy:snappy:jar:0.4
[DEBUG]   Included: org.tukaani:xz:jar:1.6
[DEBUG]   Included: org.apache.maven.shared:file-management:jar:3.0.0
[DEBUG]   Included: org.apache.maven.shared:maven-shared-io:jar:3.0.0
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.apache.maven.shared:maven-filtering:jar:3.1.1
[DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:3.0.0
[DEBUG]   Included: org.apache.maven:maven-archiver:jar:3.2.0
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.1.0
[DEBUG]   Included: commons-codec:commons-codec:jar:1.6
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-assembly-plugin:3.1.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single' with basic configurator -->
[DEBUG]   (s) appendAssemblyId = true
[DEBUG]   (s) mainClass = demo.NativeImpl
[DEBUG]   (s) manifest = org.apache.maven.archiver.ManifestConfiguration@4cffd3fd
[DEBUG]   (s) archive = org.apache.maven.archiver.MavenArchiveConfiguration@14b31e37
[DEBUG]   (f) attach = true
[DEBUG]   (s) basedir = /home/ndr/dev/graal_native_image_jni/libdemo
[DEBUG]   (s) descriptorRefs = [jar-with-dependencies]
[DEBUG]   (f) dryRun = false
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (s) finalName = libdemo-1.0-SNAPSHOT
[DEBUG]   (f) ignoreDirFormatExtensions = true
[DEBUG]   (f) ignoreMissingDescriptor = false
[DEBUG]   (f) ignorePermissions = false
[DEBUG]   (f) includeProjectBuildFilters = true
[DEBUG]   (s) localRepository =       id: local
      url: file:///home/ndr/.m2/repository/
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]
   blocked: false

[DEBUG]   (f) mavenSession = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (s) outputDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target
[DEBUG]   (f) plugin = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.assembly.mojos.HelpMojo', role hint: 'org.apache.maven.plugins:maven-assembly-plugin:3.1.0:help'
role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.assembly.mojos.SingleAssemblyMojo', role hint: 'org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single'
---
[DEBUG]   (f) project = MavenProject: demo:libdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/libdemo/pom.xml
[DEBUG]   (s) reactorProjects = [MavenProject: demo:graal_demo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/pom.xml, MavenProject: demo:libdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/libdemo/pom.xml, MavenProject: demo:appdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/appdemo/pom.xml]
[DEBUG]   (f) recompressZippedFiles = true
[DEBUG]   (f) remoteRepositories = [      id: central
      url: https://repo.maven.apache.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
   blocked: false
]
[DEBUG]   (f) runOnlyAtExecutionRoot = false
[DEBUG]   (s) siteDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/site
[DEBUG]   (f) skipAssembly = false
[DEBUG]   (s) tarLongFileMode = warn
[DEBUG]   (s) tempRoot = /home/ndr/dev/graal_native_image_jni/libdemo/target/archive-tmp
[DEBUG]   (f) updateOnly = false
[DEBUG]   (f) useJvmChmod = false
[DEBUG]   (s) workDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target/assembly/work
[DEBUG] -- end configuration --
[DEBUG] After assembly is interpolated:

<?xml version="1.0" encoding="UTF-8"?>
<assembly xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd" xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <id>jar-with-dependencies</id>
  <formats>
    <format>jar</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <dependencySets>
    <dependencySet>
      <outputDirectory>/</outputDirectory>
      <unpack>true</unpack>
    </dependencySet>
  </dependencySets>
</assembly>

[DEBUG] All known ContainerDescriptorHandler components: [file-aggregator, metaInf-services, metaInf-spring, plexus]
[DEBUG] Dependencies for project: demo:libdemo:jar:1.0-SNAPSHOT are:
org.graalvm.sdk:graal-sdk:jar:21.2.0:provided
junit:junit:jar:4.13.1:test
[DEBUG] Resolving project dependencies transitively.
[DEBUG] While resolving dependencies of demo:libdemo:jar:1.0-SNAPSHOT:
[DEBUG] Processing DependencySet (output=/)
[DEBUG] Filtering dependency artifacts WITHOUT transitive dependency path information.
[DEBUG] Adding 1 dependency artifacts.
[DEBUG] Extension realms for project demo:libdemo:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project demo:graal_demo:pom:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Adding dependency artifact demo:libdemo:jar:1.0-SNAPSHOT.
[DEBUG] Unpacking artifact contents for: demo:libdemo:jar:1.0-SNAPSHOT to: 
[DEBUG] includes:
**/*

[DEBUG] excludes:
none

[DEBUG] Adding archived file-set in: /home/ndr/dev/graal_native_image_jni/libdemo/target/libdemo-1.0-SNAPSHOT.jar to archive location: 
[INFO] Building jar: /home/ndr/dev/graal_native_image_jni/libdemo/target/libdemo-1.0-SNAPSHOT-jar-with-dependencies.jar
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[DEBUG] adding directory demo/
[DEBUG] adding directory META-INF/maven/
[DEBUG] adding directory META-INF/maven/demo/
[DEBUG] adding directory META-INF/maven/demo/libdemo/
[DEBUG] adding entry demo/NativeImpl.class
[DEBUG] adding entry META-INF/maven/demo/libdemo/pom.xml
[DEBUG] adding entry META-INF/maven/demo/libdemo/pom.properties
[INFO] 
[INFO] --- native-image-maven-plugin:21.2.0:native-image (default) @ libdemo ---
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=31240, ConflictMarker.markTime=61499, ConflictMarker.nodeCount=10, ConflictIdSorter.graphTime=41209, ConflictIdSorter.topsortTime=16390, ConflictIdSorter.conflictIdCount=8, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=192918, ConflictResolver.conflictItemCount=10, DefaultDependencyCollector.collectTime=1628221, DefaultDependencyCollector.transformTime=365746}
[DEBUG] org.graalvm.nativeimage:native-image-maven-plugin:jar:21.2.0
[DEBUG]    org.codehaus.plexus:plexus-archiver:jar:3.3:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:3.0.24:compile
[DEBUG]       org.codehaus.plexus:plexus-io:jar:2.7.1:compile
[DEBUG]       commons-io:commons-io:jar:2.5:compile
[DEBUG]       org.apache.commons:commons-compress:jar:1.11:compile
[DEBUG]       org.iq80.snappy:snappy:jar:0.4:compile
[DEBUG]       org.tukaani:xz:jar:1.5:runtime
[DEBUG] Created new class realm plugin>org.graalvm.nativeimage:native-image-maven-plugin:21.2.0
[DEBUG] Importing foreign packages into class realm plugin>org.graalvm.nativeimage:native-image-maven-plugin:21.2.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.graalvm.nativeimage:native-image-maven-plugin:21.2.0
[DEBUG]   Included: org.graalvm.nativeimage:native-image-maven-plugin:jar:21.2.0
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:3.3
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.24
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:2.7.1
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.apache.commons:commons-compress:jar:1.11
[DEBUG]   Included: org.iq80.snappy:snappy:jar:0.4
[DEBUG]   Included: org.tukaani:xz:jar:1.5
[DEBUG] Configuring mojo org.graalvm.nativeimage:native-image-maven-plugin:21.2.0:native-image from plugin realm ClassRealm[plugin>org.graalvm.nativeimage:native-image-maven-plugin:21.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.graalvm.nativeimage:native-image-maven-plugin:21.2.0:native-image' with basic configurator -->
[DEBUG]   (f) buildArgs = [--no-fallback --shared]
[DEBUG]   (f) imageName = libnativeimpl
[DEBUG]   (f) mojoExecution = org.graalvm.nativeimage:native-image-maven-plugin:21.2.0:native-image {execution: default}
[DEBUG]   (f) outputDirectory = /home/ndr/dev/graal_native_image_jni/libdemo/target
[DEBUG]   (f) plugin = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'com.oracle.substratevm.HelpMojo', role hint: 'org.graalvm.nativeimage:native-image-maven-plugin:21.2.0:help'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.oracle.substratevm.NativeImageMojo', role hint: 'org.graalvm.nativeimage:native-image-maven-plugin:21.2.0:native-image'
---
[DEBUG]   (f) project = MavenProject: demo:libdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/libdemo/pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) skip = false
[DEBUG] -- end configuration --
[INFO] ImageClasspath Entry: demo:libdemo:jar:1.0-SNAPSHOT (file:///home/ndr/dev/graal_native_image_jni/libdemo/target/libdemo-1.0-SNAPSHOT.jar)
[WARNING] Major.Minor version mismatch between native-image-maven-plugin (21.2.0) and native-image executable (Unknown)
[INFO] Obtained main class from plugin org.apache.maven.plugins:maven-assembly-plugin with the following path: archive -> manifest -> mainClass
[INFO] Executing: /usr/lib/jvm/graalvm-ce-java11-21.2.0/lib/svm/bin/native-image -cp /home/ndr/dev/graal_native_image_jni/libdemo/target/libdemo-1.0-SNAPSHOT.jar --no-fallback --shared -H:Class=demo.NativeImpl -H:Name=libnativeimpl
[libnativeimpl:6951]    classlist:   2,042.34 ms,  0.96 GB
[libnativeimpl:6951]        (cap):     518.29 ms,  0.96 GB
[libnativeimpl:6951]        setup:   2,368.33 ms,  0.96 GB
[libnativeimpl:6951]     (clinit):     213.98 ms,  1.74 GB
[libnativeimpl:6951]   (typeflow):   6,424.72 ms,  1.74 GB
[libnativeimpl:6951]    (objects):   4,301.06 ms,  1.74 GB
[libnativeimpl:6951]   (features):     381.49 ms,  1.74 GB
[libnativeimpl:6951]     analysis:  11,634.79 ms,  1.74 GB
[libnativeimpl:6951]     universe:     861.52 ms,  1.74 GB
[libnativeimpl:6951]      (parse):   1,170.24 ms,  1.76 GB
[libnativeimpl:6951]     (inline):   1,192.22 ms,  1.76 GB
[libnativeimpl:6951]    (compile):  11,202.10 ms,  2.40 GB
[libnativeimpl:6951]      compile:  14,135.10 ms,  2.40 GB
[libnativeimpl:6951]        image:   1,490.25 ms,  2.40 GB
[libnativeimpl:6951]        write:     221.64 ms,  2.40 GB
[libnativeimpl:6951]      [total]:  33,047.94 ms,  2.40 GB
# Printing build artifacts to: /home/ndr/dev/graal_native_image_jni/libdemo/target/libnativeimpl.build_artifacts.txt
[INFO] 
[INFO] ----------------------------< demo:appdemo >----------------------------
[INFO] Building appdemo - Graal Demo Client 1.0-SNAPSHOT                  [3/3]
[INFO] --------------------------------[ jar ]---------------------------------
[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] 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:       demo:appdemo:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, runtime, test]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean (default-clean)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <directory default-value="${project.build.directory}"/>
  <excludeDefaultDirectories default-value="false">${maven.clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  <followSymLinks default-value="false">${maven.clean.followSymLinks}</followSymLinks>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <reportDirectory default-value="${project.build.outputDirectory}"/>
  <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
  <skip default-value="false">${maven.clean.skip}</skip>
  <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  <verbose>${maven.clean.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <addDefaultExcludes default-value="true"/>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding default-value="${project.build.sourceEncoding}"/>
  <escapeWindowsPaths default-value="true"/>
  <fileNameFiltering default-value="false"/>
  <includeEmptyDirs default-value="false"/>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false"/>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <skip default-value="false">${maven.resources.skip}</skip>
  <supportMultiLineFiltering default-value="false"/>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <compilePath default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.compileSourceRoots}"/>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <failOnWarning default-value="false">${maven.compiler.failOnWarning}</failOnWarning>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedSourcesDirectory default-value="${project.build.directory}/generated-sources/annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <mojoExecution default-value="${mojoExecution}"/>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <parameters default-value="false">${maven.compiler.parameters}</parameters>
  <project default-value="${project}"/>
  <projectArtifact default-value="${project.artifact}"/>
  <release>${maven.compiler.release}</release>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skipMain>${maven.main.skip}</skipMain>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.6">11</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.6">11</target>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources (default-testResources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <addDefaultExcludes default-value="true"/>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding default-value="${project.build.sourceEncoding}"/>
  <escapeWindowsPaths default-value="true"/>
  <fileNameFiltering default-value="false"/>
  <includeEmptyDirs default-value="false"/>
  <outputDirectory default-value="${project.build.testOutputDirectory}"/>
  <overwrite default-value="false"/>
  <project default-value="${project}"/>
  <resources default-value="${project.testResources}"/>
  <session default-value="${session}"/>
  <skip default-value="false">${maven.test.skip}</skip>
  <supportMultiLineFiltering default-value="false"/>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile (default-testCompile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <compilePath default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.testCompileSourceRoots}"/>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <failOnWarning default-value="false">${maven.compiler.failOnWarning}</failOnWarning>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedTestSourcesDirectory default-value="${project.build.directory}/generated-test-sources/test-annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <mojoExecution default-value="${mojoExecution}"/>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.testOutputDirectory}"/>
  <parameters default-value="false">${maven.compiler.parameters}</parameters>
  <project default-value="${project}"/>
  <release>${maven.compiler.release}</release>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skip>${maven.test.skip}</skip>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.6">11</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.6">11</target>
  <testPath default-value="${project.testClasspathElements}"/>
  <testRelease>${maven.compiler.testRelease}</testRelease>
  <testSource>${maven.compiler.testSource}</testSource>
  <testTarget>${maven.compiler.testTarget}</testTarget>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <additionalClasspathElements>${maven.test.additionalClasspath}</additionalClasspathElements>
  <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
  <basedir default-value="${basedir}"/>
  <childDelegation default-value="false">${childDelegation}</childDelegation>
  <classesDirectory default-value="${project.build.outputDirectory}"/>
  <classpathDependencyExcludes>${maven.test.dependency.excludes}</classpathDependencyExcludes>
  <debugForkedProcess>${maven.surefire.debug}</debugForkedProcess>
  <dependenciesToScan>${dependenciesToScan}</dependenciesToScan>
  <disableXmlReport default-value="false">${disableXmlReport}</disableXmlReport>
  <enableAssertions default-value="true">${enableAssertions}</enableAssertions>
  <enableProcessChecker>${surefire.enableProcessChecker}</enableProcessChecker>
  <encoding default-value="${project.reporting.outputEncoding}">${surefire.encoding}</encoding>
  <excludedEnvironmentVariables>${surefire.excludedEnvironmentVariables}</excludedEnvironmentVariables>
  <excludedGroups>${excludedGroups}</excludedGroups>
  <excludesFile>${surefire.excludesFile}</excludesFile>
  <failIfNoSpecifiedTests>${surefire.failIfNoSpecifiedTests}</failIfNoSpecifiedTests>
  <failIfNoTests>${failIfNoTests}</failIfNoTests>
  <forkCount default-value="1">3</forkCount>
  <forkMode default-value="once">${forkMode}</forkMode>
  <forkNode>${surefire.forkNode}</forkNode>
  <forkedProcessExitTimeoutInSeconds default-value="30">${surefire.exitTimeout}</forkedProcessExitTimeoutInSeconds>
  <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
  <groups>${groups}</groups>
  <includesFile>${surefire.includesFile}</includesFile>
  <junitArtifactName default-value="junit:junit">${junitArtifactName}</junitArtifactName>
  <jvm>${jvm}</jvm>
  <localRepository default-value="${localRepository}"/>
  <objectFactory>${objectFactory}</objectFactory>
  <parallel>${parallel}</parallel>
  <parallelMavenExecution default-value="${session.parallel}"/>
  <parallelOptimized default-value="true">${parallelOptimized}</parallelOptimized>
  <parallelTestsTimeoutForcedInSeconds>${surefire.parallel.forcedTimeout}</parallelTestsTimeoutForcedInSeconds>
  <parallelTestsTimeoutInSeconds>${surefire.parallel.timeout}</parallelTestsTimeoutInSeconds>
  <perCoreThreadCount default-value="true">${perCoreThreadCount}</perCoreThreadCount>
  <pluginArtifactMap>${plugin.artifactMap}</pluginArtifactMap>
  <pluginDescriptor default-value="${plugin}"/>
  <printSummary default-value="true">${surefire.printSummary}</printSummary>
  <project default-value="${project}"/>
  <projectArtifactMap>${project.artifactMap}</projectArtifactMap>
  <projectBuildDirectory default-value="${project.build.directory}"/>
  <projectRemoteRepositories default-value="${project.remoteArtifactRepositories}"/>
  <redirectTestOutputToFile default-value="false">${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
  <remoteRepositories default-value="${project.pluginArtifactRepositories}"/>
  <reportFormat default-value="brief">${surefire.reportFormat}</reportFormat>
  <reportNameSuffix default-value="">${surefire.reportNameSuffix}</reportNameSuffix>
  <reportsDirectory default-value="${project.build.directory}/surefire-reports"/>
  <rerunFailingTestsCount default-value="0">${surefire.rerunFailingTestsCount}</rerunFailingTestsCount>
  <reuseForks default-value="true">true</reuseForks>
  <runOrder default-value="filesystem">${surefire.runOrder}</runOrder>
  <session default-value="${session}"/>
  <shutdown default-value="exit">${surefire.shutdown}</shutdown>
  <skip default-value="false">${maven.test.skip}</skip>
  <skipAfterFailureCount default-value="0">${surefire.skipAfterFailureCount}</skipAfterFailureCount>
  <skipExec>${maven.test.skip.exec}</skipExec>
  <skipTests default-value="false">${skipTests}</skipTests>
  <suiteXmlFiles>${surefire.suiteXmlFiles}</suiteXmlFiles>
  <systemPropertiesFile>${surefire.systemPropertiesFile}</systemPropertiesFile>
  <tempDir default-value="surefire">${tempDir}</tempDir>
  <test>${test}</test>
  <testClassesDirectory default-value="${project.build.testOutputDirectory}"/>
  <testFailureIgnore default-value="false">${maven.test.failure.ignore}</testFailureIgnore>
  <testNGArtifactName default-value="org.testng:testng">${testNGArtifactName}</testNGArtifactName>
  <testSourceDirectory default-value="${project.build.testSourceDirectory}"/>
  <threadCount>${threadCount}</threadCount>
  <threadCountClasses default-value="0">${threadCountClasses}</threadCountClasses>
  <threadCountMethods default-value="0">${threadCountMethods}</threadCountMethods>
  <threadCountSuites default-value="0">${threadCountSuites}</threadCountSuites>
  <trimStackTrace default-value="true">${trimStackTrace}</trimStackTrace>
  <useFile default-value="true">${surefire.useFile}</useFile>
  <useManifestOnlyJar default-value="true">${surefire.useManifestOnlyJar}</useManifestOnlyJar>
  <useModulePath default-value="true">${surefire.useModulePath}</useModulePath>
  <useSystemClassLoader default-value="true">${surefire.useSystemClassLoader}</useSystemClassLoader>
  <useUnlimitedThreads default-value="false">${useUnlimitedThreads}</useUnlimitedThreads>
  <workingDirectory>${basedir}</workingDirectory>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (default-jar)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <classesDirectory default-value="${project.build.outputDirectory}"/>
  <finalName default-value="${project.build.finalName}"/>
  <forceCreation default-value="false">${maven.jar.forceCreation}</forceCreation>
  <outputDirectory default-value="${project.build.directory}"/>
  <project default-value="${project}"/>
  <session default-value="${session}"/>
  <skipIfEmpty default-value="false"/>
  <useDefaultManifestFile default-value="false">${jar.useDefaultManifestFile}</useDefaultManifestFile>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=37010, ConflictMarker.markTime=22199, ConflictMarker.nodeCount=11, ConflictIdSorter.graphTime=11690, ConflictIdSorter.topsortTime=15290, ConflictIdSorter.conflictIdCount=9, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=359256, ConflictResolver.conflictItemCount=10, DefaultDependencyCollector.collectTime=74009994, DefaultDependencyCollector.transformTime=474365}
[DEBUG] demo:appdemo:jar:1.0-SNAPSHOT
[DEBUG]    junit:junit:jar:4.13.1:test
[DEBUG]       org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]    com.fasterxml.jackson.core:jackson-databind:jar:2.11.1:compile
[DEBUG]       com.fasterxml.jackson.core:jackson-annotations:jar:2.11.1:compile
[DEBUG]       com.fasterxml.jackson.core:jackson-core:jar:2.11.1:compile
[DEBUG]    commons-io:commons-io:jar:2.7:compile
[DEBUG]    org.apache.commons:commons-lang3:jar:3.8.1:compile
[DEBUG]    org.apache.logging.log4j:log4j-api:jar:2.14.1:compile
[DEBUG]    org.apache.logging.log4j:log4j-core:jar:2.14.1:compile
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ appdemo ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:3.1.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean' with basic configurator -->
[DEBUG]   (f) directory = /home/ndr/dev/graal_native_image_jni/appdemo/target
[DEBUG]   (f) excludeDefaultDirectories = false
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) followSymLinks = false
[DEBUG]   (f) outputDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[DEBUG]   (f) reportDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[DEBUG]   (f) retryOnError = true
[DEBUG]   (f) skip = false
[DEBUG]   (f) testOutputDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes
[DEBUG] -- end configuration --
[INFO] Deleting /home/ndr/dev/graal_native_image_jni/appdemo/target
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-test-sources/test-annotations
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-test-sources
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire-reports/2021-08-23T17-37-27_957-jvmRun1.dumpstream
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire-reports
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-sources/annotations
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-sources
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status/maven-compiler-plugin/testCompile
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status/maven-compiler-plugin/compile/default-compile
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status/maven-compiler-plugin/compile
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status/maven-compiler-plugin
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/maven-status
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/appdemo/target/classes/demo/AppDemo.class
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/classes/demo
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[INFO] Deleting file /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes/demo/AppDemoTest.class
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes/demo
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes
[INFO] Deleting directory /home/ndr/dev/graal_native_image_jni/appdemo/target
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes
[DEBUG] Skipping non-existing directory /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ appdemo ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources' with basic configurator -->
[DEBUG]   (f) addDefaultExcludes = true
[DEBUG]   (f) buildFilters = []
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) escapeWindowsPaths = true
[DEBUG]   (f) fileNameFiltering = false
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: demo:appdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/appdemo/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /home/ndr/dev/graal_native_image_jni/appdemo/src/main/resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) skip = false
[DEBUG]   (f) supportMultiLineFiltering = false
[DEBUG]   (f) useBuildFilters = true
[DEBUG]   (s) useDefaultDelimiters = true
[DEBUG] -- end configuration --
[DEBUG] properties used {env.TERM=xterm-256color, env.JOB=dbus, java.specification.version=11, sun.cpu.isalist=, sun.arch.data.model=64, java.vendor.url=https://www.graalvm.org/, sun.boot.library.path=/usr/lib/jvm/graalvm-ce-java11-21.2.0/lib, sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher -e -X clean package, jdk.debug=release, maven.version=3.8.2, java.specification.vendor=Oracle Corporation, java.version.date=2021-07-20, java.home=/usr/lib/jvm/graalvm-ce-java11-21.2.0, env.QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1, java.specification.name=Java Platform API Specification, java.vm.specification.vendor=Oracle Corporation, env.UBUNTU_MENUPROXY=1, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, env.XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, java.runtime.version=11.0.12+6-jvmci-21.2-b08, env.PATH=/home/ndr/local/apache-maven-3.8.2/bin:/usr/lib/jvm/graalvm-ce-java11-21.2.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin, 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:mi=00: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:*.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:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:, env.XDG_SEAT=seat0, env.CLUTTER_IM_MODULE=, file.encoding=UTF-8, java.vendor.version=GraalVM CE 21.2.0, env._=/home/ndr/local/apache-maven-3.8.2/bin/mvn, env.XDG_SESSION_DESKTOP=gnome-flashback-metacity, env.SHLVL=1, project.baseUri=file:/home/ndr/dev/graal_native_image_jni/appdemo/, java.io.tmpdir=/tmp, java.version=11.0.12, java.vm.specification.name=Java Virtual Machine Specification, java.awt.printerjob=sun.print.PSPrinterJob, java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib, java.vendor=GraalVM Community, env.IM_CONFIG_PHASE=1, classworlds.conf=/home/ndr/local/apache-maven-3.8.2/bin/m2.conf, sun.io.unicode.encoding=UnicodeLittle, env.XAUTHORITY=/home/ndr/.Xauthority, sun.desktop=gnome, env.SESSION_MANAGER=local/ubuntu:@/tmp/.ICE-unix/1928,unix/ubuntu:/tmp/.ICE-unix/1928, env.LANG=en_US.UTF-8, env.SESSION=gnome-flashback-metacity, env.XDG_DATA_DIRS=/usr/share/gnome-flashback-metacity:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop, user.timezone=, os.name=Linux, java.vm.specification.version=11, env.DISPLAY=:0, maven.compiler.source=11, user.home=/home/ndr, maven.build.timestamp=2021-08-23T23:40:15Z, encoding=UTF-8, env.GNOME_KEYRING_CONTROL=, env.UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1738, env.GPG_AGENT_INFO=/home/ndr/.gnupg/S.gpg-agent:0:1, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, env.LANGUAGE=en_US, env.DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ZRhpLf2uUa, maven-release-plugin.version=2.5.3, path.separator=:, os.version=4.4.0-210-generic, java.vm.name=OpenJDK 64-Bit Server VM, env.SHELL=/bin/bash, env.LESSCLOSE=/usr/bin/lesspipe %s %s, env.XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, project.resources.sourceEncoding=UTF-8, env.GTK_MODULES=gail:atk-bridge:unity-gtk-module, env.VTE_VERSION=4205, os.arch=amd64, maven.multiModuleProjectDirectory=/home/ndr/dev/graal_native_image_jni, env.DESKTOP_SESSION=gnome-flashback-metacity, env.MAVEN_PROJECTBASEDIR=/home/ndr/dev/graal_native_image_jni, java.vm.info=mixed mode, sharing, env.USER=ndr, java.class.version=55.0, awt.toolkit=sun.awt.X11.XToolkit, sun.jnu.encoding=UTF-8, env.SESSIONTYPE=gnome-session, env.XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ndr, env.DEFAULTS_PATH=/usr/share/gconf/gnome-flashback-metacity.default.path, env.GNOME_KEYRING_PID=, maven.build.version=Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f), maven.home=/home/ndr/local/apache-maven-3.8.2, env.JAVA_HOME=/usr/lib/jvm/graalvm-ce-java11-21.2.0, env.GDMSESSION=gnome-flashback-metacity, file.separator=/, java.vm.compressedOopsMode=Zero based, env.GTK2_MODULES=overlay-scrollbar, line.separator=
, env.GNOME_DESKTOP_SESSION_ID=this-is-deprecated, env.GDM_LANG=en_US, env.QT_QPA_PLATFORMTHEME=appmenu-qt5, env.WINDOWID=65011722, user.name=ndr, env.INSTANCE=, env.LOGNAME=ndr, env.XDG_VTNR=7, env.SSH_AUTH_SOCK=/run/user/1000/keyring/ssh, env.XDG_RUNTIME_DIR=/run/user/1000, env.XMODIFIERS=@im=ibus, project.reporting.outputEncoding=UTF-8, sun.os.patch.level=unknown, maven.compiler.target=11, env.XDG_SESSION_TYPE=x11, env.OLDPWD=/home/ndr/dev/graal_native_image_jni, env.PWD=/home/ndr/dev/graal_native_image_jni, env.LESSOPEN=| /usr/bin/lesspipe %s, java.class.path=/home/ndr/local/apache-maven-3.8.2/boot/plexus-classworlds-2.6.0.jar, env.HOME=/home/ndr, env.QT_IM_MODULE=ibus, java.vm.vendor=GraalVM Community, maven.conf=/home/ndr/local/apache-maven-3.8.2/conf, sun.java.launcher=SUN_STANDARD, user.country=US, env.QT_ACCESSIBILITY=1, sun.cpu.endian=little, user.language=en, env.MANDATORY_PATH=/usr/share/gconf/gnome-flashback-metacity.mandatory.path, revision=1.0-SNAPSHOT, jdk.internal.vm.ci.enabled=true, env.GTK_IM_MODULE=, env.XDG_MENU_PREFIX=gnome-flashback-, java.runtime.name=OpenJDK Runtime Environment, env.XDG_SESSION_ID=c2, project.build.sourceEncoding=UTF-8, env.MAVEN_CMD_LINE_ARGS= -e -X clean package, java.vendor.url.bug=https://github.com/oracle/graal/issues, env.XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-flashback-metacity:/usr/share/upstart/xdg:/etc/xdg, user.dir=/home/ndr/dev/graal_native_image_jni, env.QT4_IM_MODULE=, env.XDG_CURRENT_DESKTOP=GNOME-Flashback:Unity, java.vm.version=11.0.12+6-jvmci-21.2-b08}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /home/ndr/dev/graal_native_image_jni/appdemo/src/main/resources
excludes []
includes []
[INFO] skip non existing resourceDirectory /home/ndr/dev/graal_native_image_jni/appdemo/src/main/resources
[DEBUG] no use filter components
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ appdemo ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile' with basic configurator -->
[DEBUG]   (f) basedir = /home/ndr/dev/graal_native_image_jni/appdemo
[DEBUG]   (f) buildDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target
[DEBUG]   (f) compilePath = [/home/ndr/dev/graal_native_image_jni/appdemo/target/classes, /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar, /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar, /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar, /home/ndr/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar, /home/ndr/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar, /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar, /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar]
[DEBUG]   (f) compileSourceRoots = [/home/ndr/dev/graal_native_image_jni/appdemo/src/main/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) failOnWarning = false
[DEBUG]   (f) forceJavacCompilerUse = false
[DEBUG]   (f) fork = false
[DEBUG]   (f) generatedSourcesDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-sources/annotations
[DEBUG]   (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile {execution: default-compile}
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[DEBUG]   (f) parameters = false
[DEBUG]   (f) project = MavenProject: demo:appdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/appdemo/pom.xml
[DEBUG]   (f) projectArtifact = demo:appdemo:jar:1.0-SNAPSHOT
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) skipMultiThreadWarning = false
[DEBUG]   (f) source = 11
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (s) target = 11
[DEBUG]   (f) useIncrementalCompilation = true
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Adding /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-sources/annotations to compile source roots:
  /home/ndr/dev/graal_native_image_jni/appdemo/src/main/java
[DEBUG] New compile source roots:
  /home/ndr/dev/graal_native_image_jni/appdemo/src/main/java
  /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-sources/annotations
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[DEBUG] Stale source detected: /home/ndr/dev/graal_native_image_jni/appdemo/src/main/java/demo/AppDemo.java
[INFO] Changes detected - recompiling the module!
[DEBUG] Classpath:
[DEBUG]  /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[DEBUG]  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar
[DEBUG]  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar
[DEBUG]  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar
[DEBUG]  /home/ndr/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar
[DEBUG]  /home/ndr/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar
[DEBUG]  /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar
[DEBUG]  /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar
[DEBUG] Source roots:
[DEBUG]  /home/ndr/dev/graal_native_image_jni/appdemo/src/main/java
[DEBUG]  /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-sources/annotations
[DEBUG] Command line options:
[DEBUG] -d /home/ndr/dev/graal_native_image_jni/appdemo/target/classes -classpath /home/ndr/dev/graal_native_image_jni/appdemo/target/classes:/home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar:/home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar:/home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar:/home/ndr/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar:/home/ndr/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar:/home/ndr/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar:/home/ndr/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar: -sourcepath /home/ndr/dev/graal_native_image_jni/appdemo/src/main/java:/home/ndr/dev/graal_native_image_jni/appdemo/target/generated-sources/annotations: -s /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-sources/annotations -g -nowarn -target 11 -source 11 -encoding UTF-8
[DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 1 source file to /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[DEBUG] incrementalBuildHelper#afterRebuildExecution
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ appdemo ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources' with basic configurator -->
[DEBUG]   (f) addDefaultExcludes = true
[DEBUG]   (f) buildFilters = []
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) escapeWindowsPaths = true
[DEBUG]   (f) fileNameFiltering = false
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: demo:appdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/appdemo/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /home/ndr/dev/graal_native_image_jni/appdemo/src/test/resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) skip = false
[DEBUG]   (f) supportMultiLineFiltering = false
[DEBUG]   (f) useBuildFilters = true
[DEBUG]   (s) useDefaultDelimiters = true
[DEBUG] -- end configuration --
[DEBUG] properties used {env.TERM=xterm-256color, env.JOB=dbus, java.specification.version=11, sun.cpu.isalist=, sun.arch.data.model=64, java.vendor.url=https://www.graalvm.org/, sun.boot.library.path=/usr/lib/jvm/graalvm-ce-java11-21.2.0/lib, sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher -e -X clean package, jdk.debug=release, maven.version=3.8.2, java.specification.vendor=Oracle Corporation, java.version.date=2021-07-20, java.home=/usr/lib/jvm/graalvm-ce-java11-21.2.0, env.QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1, java.specification.name=Java Platform API Specification, java.vm.specification.vendor=Oracle Corporation, env.UBUNTU_MENUPROXY=1, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, env.XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, java.runtime.version=11.0.12+6-jvmci-21.2-b08, env.PATH=/home/ndr/local/apache-maven-3.8.2/bin:/usr/lib/jvm/graalvm-ce-java11-21.2.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin, 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:mi=00: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:*.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:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:, env.XDG_SEAT=seat0, env.CLUTTER_IM_MODULE=, file.encoding=UTF-8, java.vendor.version=GraalVM CE 21.2.0, env._=/home/ndr/local/apache-maven-3.8.2/bin/mvn, env.XDG_SESSION_DESKTOP=gnome-flashback-metacity, env.SHLVL=1, project.baseUri=file:/home/ndr/dev/graal_native_image_jni/appdemo/, java.io.tmpdir=/tmp, java.version=11.0.12, java.vm.specification.name=Java Virtual Machine Specification, java.awt.printerjob=sun.print.PSPrinterJob, java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib, java.vendor=GraalVM Community, env.IM_CONFIG_PHASE=1, classworlds.conf=/home/ndr/local/apache-maven-3.8.2/bin/m2.conf, sun.io.unicode.encoding=UnicodeLittle, env.XAUTHORITY=/home/ndr/.Xauthority, sun.desktop=gnome, env.SESSION_MANAGER=local/ubuntu:@/tmp/.ICE-unix/1928,unix/ubuntu:/tmp/.ICE-unix/1928, env.LANG=en_US.UTF-8, env.SESSION=gnome-flashback-metacity, env.XDG_DATA_DIRS=/usr/share/gnome-flashback-metacity:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop, user.timezone=, os.name=Linux, java.vm.specification.version=11, env.DISPLAY=:0, maven.compiler.source=11, user.home=/home/ndr, maven.build.timestamp=2021-08-23T23:40:15Z, encoding=UTF-8, env.GNOME_KEYRING_CONTROL=, env.UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1738, env.GPG_AGENT_INFO=/home/ndr/.gnupg/S.gpg-agent:0:1, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, env.LANGUAGE=en_US, env.DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ZRhpLf2uUa, maven-release-plugin.version=2.5.3, path.separator=:, os.version=4.4.0-210-generic, java.vm.name=OpenJDK 64-Bit Server VM, env.SHELL=/bin/bash, env.LESSCLOSE=/usr/bin/lesspipe %s %s, env.XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, project.resources.sourceEncoding=UTF-8, env.GTK_MODULES=gail:atk-bridge:unity-gtk-module, env.VTE_VERSION=4205, os.arch=amd64, maven.multiModuleProjectDirectory=/home/ndr/dev/graal_native_image_jni, env.DESKTOP_SESSION=gnome-flashback-metacity, env.MAVEN_PROJECTBASEDIR=/home/ndr/dev/graal_native_image_jni, java.vm.info=mixed mode, sharing, env.USER=ndr, java.class.version=55.0, awt.toolkit=sun.awt.X11.XToolkit, sun.jnu.encoding=UTF-8, env.SESSIONTYPE=gnome-session, env.XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ndr, env.DEFAULTS_PATH=/usr/share/gconf/gnome-flashback-metacity.default.path, env.GNOME_KEYRING_PID=, maven.build.version=Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f), maven.home=/home/ndr/local/apache-maven-3.8.2, env.JAVA_HOME=/usr/lib/jvm/graalvm-ce-java11-21.2.0, env.GDMSESSION=gnome-flashback-metacity, file.separator=/, java.vm.compressedOopsMode=Zero based, env.GTK2_MODULES=overlay-scrollbar, line.separator=
, env.GNOME_DESKTOP_SESSION_ID=this-is-deprecated, env.GDM_LANG=en_US, env.QT_QPA_PLATFORMTHEME=appmenu-qt5, env.WINDOWID=65011722, user.name=ndr, env.INSTANCE=, env.LOGNAME=ndr, env.XDG_VTNR=7, env.SSH_AUTH_SOCK=/run/user/1000/keyring/ssh, env.XDG_RUNTIME_DIR=/run/user/1000, env.XMODIFIERS=@im=ibus, project.reporting.outputEncoding=UTF-8, sun.os.patch.level=unknown, maven.compiler.target=11, env.XDG_SESSION_TYPE=x11, env.OLDPWD=/home/ndr/dev/graal_native_image_jni, env.PWD=/home/ndr/dev/graal_native_image_jni, env.LESSOPEN=| /usr/bin/lesspipe %s, java.class.path=/home/ndr/local/apache-maven-3.8.2/boot/plexus-classworlds-2.6.0.jar, env.HOME=/home/ndr, env.QT_IM_MODULE=ibus, java.vm.vendor=GraalVM Community, maven.conf=/home/ndr/local/apache-maven-3.8.2/conf, sun.java.launcher=SUN_STANDARD, user.country=US, env.QT_ACCESSIBILITY=1, sun.cpu.endian=little, user.language=en, env.MANDATORY_PATH=/usr/share/gconf/gnome-flashback-metacity.mandatory.path, revision=1.0-SNAPSHOT, jdk.internal.vm.ci.enabled=true, env.GTK_IM_MODULE=, env.XDG_MENU_PREFIX=gnome-flashback-, java.runtime.name=OpenJDK Runtime Environment, env.XDG_SESSION_ID=c2, project.build.sourceEncoding=UTF-8, env.MAVEN_CMD_LINE_ARGS= -e -X clean package, java.vendor.url.bug=https://github.com/oracle/graal/issues, env.XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-flashback-metacity:/usr/share/upstart/xdg:/etc/xdg, user.dir=/home/ndr/dev/graal_native_image_jni, env.QT4_IM_MODULE=, env.XDG_CURRENT_DESKTOP=GNOME-Flashback:Unity, java.vm.version=11.0.12+6-jvmci-21.2-b08}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /home/ndr/dev/graal_native_image_jni/appdemo/src/test/resources
excludes []
includes []
[INFO] skip non existing resourceDirectory /home/ndr/dev/graal_native_image_jni/appdemo/src/test/resources
[DEBUG] no use filter components
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ appdemo ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile' with basic configurator -->
[DEBUG]   (f) basedir = /home/ndr/dev/graal_native_image_jni/appdemo
[DEBUG]   (f) buildDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target
[DEBUG]   (f) compilePath = [/home/ndr/dev/graal_native_image_jni/appdemo/target/classes, /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar, /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar, /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar, /home/ndr/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar, /home/ndr/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar, /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar, /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar]
[DEBUG]   (f) compileSourceRoots = [/home/ndr/dev/graal_native_image_jni/appdemo/src/test/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) failOnWarning = false
[DEBUG]   (f) forceJavacCompilerUse = false
[DEBUG]   (f) fork = false
[DEBUG]   (f) generatedTestSourcesDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-test-sources/test-annotations
[DEBUG]   (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile {execution: default-testCompile}
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes
[DEBUG]   (f) parameters = false
[DEBUG]   (f) project = MavenProject: demo:appdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/appdemo/pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) skipMultiThreadWarning = false
[DEBUG]   (f) source = 11
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (s) target = 11
[DEBUG]   (f) testPath = [/home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes, /home/ndr/dev/graal_native_image_jni/appdemo/target/classes, /home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar, /home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar, /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar, /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar, /home/ndr/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar, /home/ndr/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar, /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar, /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar]
[DEBUG]   (f) useIncrementalCompilation = true
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Adding /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-test-sources/test-annotations to test-compile source roots:
  /home/ndr/dev/graal_native_image_jni/appdemo/src/test/java
[DEBUG] New test-compile source roots:
  /home/ndr/dev/graal_native_image_jni/appdemo/src/test/java
  /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-test-sources/test-annotations
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[DEBUG] Stale source detected: /home/ndr/dev/graal_native_image_jni/appdemo/src/test/java/demo/AppDemoTest.java
[INFO] Changes detected - recompiling the module!
[DEBUG] Classpath:
[DEBUG]  /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes
[DEBUG]  /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[DEBUG]  /home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar
[DEBUG]  /home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[DEBUG]  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar
[DEBUG]  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar
[DEBUG]  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar
[DEBUG]  /home/ndr/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar
[DEBUG]  /home/ndr/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar
[DEBUG]  /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar
[DEBUG]  /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar
[DEBUG] Source roots:
[DEBUG]  /home/ndr/dev/graal_native_image_jni/appdemo/src/test/java
[DEBUG]  /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-test-sources/test-annotations
[DEBUG] Command line options:
[DEBUG] -d /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes -classpath /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes:/home/ndr/dev/graal_native_image_jni/appdemo/target/classes:/home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar:/home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar:/home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar:/home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar:/home/ndr/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar:/home/ndr/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar:/home/ndr/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar:/home/ndr/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar: -sourcepath /home/ndr/dev/graal_native_image_jni/appdemo/src/test/java:/home/ndr/dev/graal_native_image_jni/appdemo/target/generated-test-sources/test-annotations: -s /home/ndr/dev/graal_native_image_jni/appdemo/target/generated-test-sources/test-annotations -g -nowarn -target 11 -source 11 -encoding UTF-8
[DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 1 source file to /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes
[DEBUG] incrementalBuildHelper#afterRebuildExecution
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ appdemo ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=38909, ConflictMarker.markTime=23220, ConflictMarker.nodeCount=20, ConflictIdSorter.graphTime=12970, ConflictIdSorter.topsortTime=20269, ConflictIdSorter.conflictIdCount=16, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=427265, ConflictResolver.conflictItemCount=20, DefaultDependencyCollector.collectTime=62502232, DefaultDependencyCollector.transformTime=598832}
[DEBUG] org.apache.maven.plugins:maven-surefire-plugin:jar:3.0.0-M5
[DEBUG]    org.apache.maven.surefire:maven-surefire-common:jar:3.0.0-M5:compile
[DEBUG]       org.apache.maven.surefire:surefire-api:jar:3.0.0-M5:compile
[DEBUG]          org.apache.maven.surefire:surefire-logger-api:jar:3.0.0-M5:compile
[DEBUG]       org.apache.maven.surefire:surefire-extensions-api:jar:3.0.0-M5:compile
[DEBUG]       org.apache.maven.surefire:surefire-booter:jar:3.0.0-M5:compile
[DEBUG]          org.apache.maven.surefire:surefire-extensions-spi:jar:3.0.0-M5:compile
[DEBUG]       org.apache.maven:maven-toolchain:jar:3.0-alpha-2:compile (version managed from default) (exclusions managed from default)
[DEBUG]       org.apache.maven.shared:maven-artifact-transfer:jar:0.11.0:compile (version managed from default) (exclusions managed from default)
[DEBUG]          org.apache.maven.shared:maven-common-artifact-filters:jar:3.1.0:compile (version managed from default) (exclusions managed from default)
[DEBUG]             org.apache.maven:maven-plugin-api:jar:3.0:compile (version managed from default)
[DEBUG]          commons-codec:commons-codec:jar:1.11:compile (version managed from default)
[DEBUG]       org.codehaus.plexus:plexus-java:jar:1.0.5:compile (version managed from default)
[DEBUG]          org.ow2.asm:asm:jar:7.2:compile
[DEBUG]          com.thoughtworks.qdox:qdox:jar:2.0-M9:compile
[DEBUG]       org.apache.maven.surefire:surefire-shared-utils:jar:3.0.0-M4:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.1:runtime
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5
[DEBUG]   Included: org.apache.maven.plugins:maven-surefire-plugin:jar:3.0.0-M5
[DEBUG]   Included: org.apache.maven.surefire:maven-surefire-common:jar:3.0.0-M5
[DEBUG]   Included: org.apache.maven.surefire:surefire-api:jar:3.0.0-M5
[DEBUG]   Included: org.apache.maven.surefire:surefire-logger-api:jar:3.0.0-M5
[DEBUG]   Included: org.apache.maven.surefire:surefire-extensions-api:jar:3.0.0-M5
[DEBUG]   Included: org.apache.maven.surefire:surefire-booter:jar:3.0.0-M5
[DEBUG]   Included: org.apache.maven.surefire:surefire-extensions-spi:jar:3.0.0-M5
[DEBUG]   Included: org.apache.maven.shared:maven-artifact-transfer:jar:0.11.0
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:3.1.0
[DEBUG]   Included: commons-codec:commons-codec:jar:1.11
[DEBUG]   Included: org.codehaus.plexus:plexus-java:jar:1.0.5
[DEBUG]   Included: org.ow2.asm:asm:jar:7.2
[DEBUG]   Included: com.thoughtworks.qdox:qdox:jar:2.0-M9
[DEBUG]   Included: org.apache.maven.surefire:surefire-shared-utils:jar:3.0.0-M4
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55f96302]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test' with basic configurator -->
[DEBUG]   (s) additionalClasspathElements = []
[DEBUG]   (s) argLine = -Xmx1024m -XX:MaxPermSize=256m
[DEBUG]   (s) basedir = /home/ndr/dev/graal_native_image_jni/appdemo
[DEBUG]   (s) childDelegation = false
[DEBUG]   (f) classesDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/classes
[DEBUG]   (s) classpathDependencyExcludes = []
[DEBUG]   (s) dependenciesToScan = []
[DEBUG]   (s) disableXmlReport = false
[DEBUG]   (s) enableAssertions = true
[DEBUG]   (s) encoding = UTF-8
[DEBUG]   (f) excludedEnvironmentVariables = []
[DEBUG]   (f) forkCount = 3
[DEBUG]   (s) forkMode = once
[DEBUG]   (s) forkedProcessExitTimeoutInSeconds = 30
[DEBUG]   (s) junitArtifactName = junit:junit
[DEBUG]   (s) localRepository =       id: local
      url: file:///home/ndr/.m2/repository/
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]
   blocked: false

[DEBUG]   (f) parallelMavenExecution = false
[DEBUG]   (s) parallelOptimized = true
[DEBUG]   (s) perCoreThreadCount = true
[DEBUG]   (s) pluginArtifactMap = {org.apache.maven.plugins:maven-surefire-plugin=org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:3.0.0-M5:, org.apache.maven.surefire:maven-surefire-common=org.apache.maven.surefire:maven-surefire-common:jar:3.0.0-M5:compile, org.apache.maven.surefire:surefire-api=org.apache.maven.surefire:surefire-api:jar:3.0.0-M5:compile, org.apache.maven.surefire:surefire-logger-api=org.apache.maven.surefire:surefire-logger-api:jar:3.0.0-M5:compile, org.apache.maven.surefire:surefire-extensions-api=org.apache.maven.surefire:surefire-extensions-api:jar:3.0.0-M5:compile, org.apache.maven.surefire:surefire-booter=org.apache.maven.surefire:surefire-booter:jar:3.0.0-M5:compile, org.apache.maven.surefire:surefire-extensions-spi=org.apache.maven.surefire:surefire-extensions-spi:jar:3.0.0-M5:compile, org.apache.maven:maven-toolchain=org.apache.maven:maven-toolchain:jar:3.0-alpha-2:compile, org.apache.maven.shared:maven-artifact-transfer=org.apache.maven.shared:maven-artifact-transfer:jar:0.11.0:compile, org.apache.maven.shared:maven-common-artifact-filters=org.apache.maven.shared:maven-common-artifact-filters:jar:3.1.0:compile, org.apache.maven:maven-plugin-api=org.apache.maven:maven-plugin-api:jar:3.0:compile, commons-codec:commons-codec=commons-codec:commons-codec:jar:1.11:compile, org.codehaus.plexus:plexus-java=org.codehaus.plexus:plexus-java:jar:1.0.5:compile, org.ow2.asm:asm=org.ow2.asm:asm:jar:7.2:compile, com.thoughtworks.qdox:qdox=com.thoughtworks.qdox:qdox:jar:2.0-M9:compile, org.apache.maven.surefire:surefire-shared-utils=org.apache.maven.surefire:surefire-shared-utils:jar:3.0.0-M4:compile, org.codehaus.plexus:plexus-utils=org.codehaus.plexus:plexus-utils:jar:1.1:runtime}
[DEBUG]   (f) pluginDescriptor = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugin.surefire.HelpMojo', role hint: 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:help'
role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugin.surefire.SurefirePlugin', role hint: 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test'
---
[DEBUG]   (s) printSummary = true
[DEBUG]   (s) project = MavenProject: demo:appdemo:1.0-SNAPSHOT @ /home/ndr/dev/graal_native_image_jni/appdemo/pom.xml
[DEBUG]   (s) projectArtifactMap = {junit:junit=junit:junit:jar:4.13.1:test, org.hamcrest:hamcrest-core=org.hamcrest:hamcrest-core:jar:1.3:test, com.fasterxml.jackson.core:jackson-databind=com.fasterxml.jackson.core:jackson-databind:jar:2.11.1:compile, com.fasterxml.jackson.core:jackson-annotations=com.fasterxml.jackson.core:jackson-annotations:jar:2.11.1:compile, com.fasterxml.jackson.core:jackson-core=com.fasterxml.jackson.core:jackson-core:jar:2.11.1:compile, commons-io:commons-io=commons-io:commons-io:jar:2.7:compile, org.apache.commons:commons-lang3=org.apache.commons:commons-lang3:jar:3.8.1:compile, org.apache.logging.log4j:log4j-api=org.apache.logging.log4j:log4j-api:jar:2.14.1:compile, org.apache.logging.log4j:log4j-core=org.apache.logging.log4j:log4j-core:jar:2.14.1:compile}
[DEBUG]   (s) projectBuildDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target
[DEBUG]   (s) projectRemoteRepositories = [      id: central
      url: https://repo.maven.apache.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
   blocked: false
]
[DEBUG]   (s) redirectTestOutputToFile = false
[DEBUG]   (s) remoteRepositories = [      id: central
      url: https://repo.maven.apache.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => never]
   blocked: false
]
[DEBUG]   (s) reportFormat = brief
[DEBUG]   (s) reportsDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire-reports
[DEBUG]   (f) rerunFailingTestsCount = 0
[DEBUG]   (f) reuseForks = true
[DEBUG]   (s) runOrder = filesystem
[DEBUG]   (s) session = org.apache.maven.execution.MavenSession@1dcca8d3
[DEBUG]   (f) shutdown = exit
[DEBUG]   (s) skip = false
[DEBUG]   (f) skipAfterFailureCount = 0
[DEBUG]   (s) skipTests = false
[DEBUG]   (s) suiteXmlFiles = []
[DEBUG]   (s) tempDir = surefire
[DEBUG]   (s) testClassesDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes
[DEBUG]   (s) testFailureIgnore = false
[DEBUG]   (s) testNGArtifactName = org.testng:testng
[DEBUG]   (s) testSourceDirectory = /home/ndr/dev/graal_native_image_jni/appdemo/src/test/java
[DEBUG]   (s) threadCountClasses = 0
[DEBUG]   (s) threadCountMethods = 0
[DEBUG]   (s) threadCountSuites = 0
[DEBUG]   (s) trimStackTrace = true
[DEBUG]   (s) useFile = true
[DEBUG]   (s) useManifestOnlyJar = true
[DEBUG]   (f) useModulePath = true
[DEBUG]   (s) useSystemClassLoader = true
[DEBUG]   (s) useUnlimitedThreads = false
[DEBUG]   (s) workingDirectory = /home/ndr/dev/graal_native_image_jni/appdemo
[DEBUG] -- end configuration --
[DEBUG] Using JVM: /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java with Java version 11
[DEBUG] Surefire report directory: /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire-reports
[DEBUG] Using the provider org.apache.maven.surefire.junit4.JUnit4Provider
[DEBUG] Setting system property [basedir]=[/home/ndr/dev/graal_native_image_jni/appdemo]
[DEBUG] Setting system property [user.dir]=[/home/ndr/dev/graal_native_image_jni/appdemo]
[DEBUG] Setting system property [localRepository]=[/home/ndr/.m2/repository]
[DEBUG] Adding to surefire booter test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-booter/3.0.0-M5/surefire-booter-3.0.0-M5.jar Scope: compile
[DEBUG] Adding to surefire booter test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/3.0.0-M5/surefire-api-3.0.0-M5.jar Scope: compile
[DEBUG] Adding to surefire booter test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/3.0.0-M5/surefire-logger-api-3.0.0-M5.jar Scope: compile
[DEBUG] Adding to surefire booter test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-shared-utils/3.0.0-M4/surefire-shared-utils-3.0.0-M4.jar Scope: compile
[DEBUG] Adding to surefire booter test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-extensions-spi/3.0.0-M5/surefire-extensions-spi-3.0.0-M5.jar Scope: compile
[DEBUG] Found implementation of fork node factory: org.apache.maven.plugin.surefire.extensions.LegacyForkNodeFactory
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-junit4/3.0.0-M5/surefire-junit4-3.0.0-M5.jar Scope: null
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/common-junit4/3.0.0-M5/common-junit4-3.0.0-M5.jar Scope: compile
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/common-junit3/3.0.0-M5/common-junit3-3.0.0-M5.jar Scope: compile
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/3.0.0-M5/surefire-api-3.0.0-M5.jar Scope: compile
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/3.0.0-M5/surefire-logger-api-3.0.0-M5.jar Scope: compile
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-shared-utils/3.0.0-M4/surefire-shared-utils-3.0.0-M4.jar Scope: compile
[DEBUG] Adding to surefire test classpath: /home/ndr/.m2/repository/org/apache/maven/surefire/common-java5/3.0.0-M5/common-java5-3.0.0-M5.jar Scope: compile
[DEBUG] test classpath:  /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes  /home/ndr/dev/graal_native_image_jni/appdemo/target/classes  /home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar  /home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar  /home/ndr/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar  /home/ndr/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar  /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar  /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar
[DEBUG] provider classpath:  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-junit4/3.0.0-M5/surefire-junit4-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/3.0.0-M5/surefire-api-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/3.0.0-M5/surefire-logger-api-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-shared-utils/3.0.0-M4/surefire-shared-utils-3.0.0-M4.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/common-java5/3.0.0-M5/common-java5-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/common-junit3/3.0.0-M5/common-junit3-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/common-junit4/3.0.0-M5/common-junit4-3.0.0-M5.jar
[DEBUG] test(compact) classpath:  test-classes  classes  junit-4.13.1.jar  hamcrest-core-1.3.jar  jackson-databind-2.11.1.jar  jackson-annotations-2.11.1.jar  jackson-core-2.11.1.jar  commons-io-2.7.jar  commons-lang3-3.8.1.jar  log4j-api-2.14.1.jar  log4j-core-2.14.1.jar
[DEBUG] provider(compact) classpath:  surefire-junit4-3.0.0-M5.jar  surefire-api-3.0.0-M5.jar  surefire-logger-api-3.0.0-M5.jar  surefire-shared-utils-3.0.0-M4.jar  common-java5-3.0.0-M5.jar  common-junit3-3.0.0-M5.jar  common-junit4-3.0.0-M5.jar
[DEBUG] in-process classpath:  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-junit4/3.0.0-M5/surefire-junit4-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/3.0.0-M5/surefire-api-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/3.0.0-M5/surefire-logger-api-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-shared-utils/3.0.0-M4/surefire-shared-utils-3.0.0-M4.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/common-java5/3.0.0-M5/common-java5-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/common-junit3/3.0.0-M5/common-junit3-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/common-junit4/3.0.0-M5/common-junit4-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/maven-surefire-common/3.0.0-M5/maven-surefire-common-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-booter/3.0.0-M5/surefire-booter-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-extensions-api/3.0.0-M5/surefire-extensions-api-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-extensions-spi/3.0.0-M5/surefire-extensions-spi-3.0.0-M5.jar
[DEBUG] in-process(compact) classpath:  surefire-junit4-3.0.0-M5.jar  surefire-api-3.0.0-M5.jar  surefire-logger-api-3.0.0-M5.jar  surefire-shared-utils-3.0.0-M4.jar  common-java5-3.0.0-M5.jar  common-junit3-3.0.0-M5.jar  common-junit4-3.0.0-M5.jar  maven-surefire-common-3.0.0-M5.jar  surefire-booter-3.0.0-M5.jar  surefire-extensions-api-3.0.0-M5.jar  surefire-extensions-spi-3.0.0-M5.jar
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[DEBUG] Determined Maven Process ID 6832
[DEBUG] Fork Channel [1] connection string 'pipe://1' for the implementation class org.apache.maven.plugin.surefire.extensions.LegacyForkChannel
[DEBUG] boot classpath:  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-booter/3.0.0-M5/surefire-booter-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-api/3.0.0-M5/surefire-api-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-logger-api/3.0.0-M5/surefire-logger-api-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-shared-utils/3.0.0-M4/surefire-shared-utils-3.0.0-M4.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-extensions-spi/3.0.0-M5/surefire-extensions-spi-3.0.0-M5.jar  /home/ndr/dev/graal_native_image_jni/appdemo/target/test-classes  /home/ndr/dev/graal_native_image_jni/appdemo/target/classes  /home/ndr/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar  /home/ndr/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar  /home/ndr/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar  /home/ndr/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar  /home/ndr/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar  /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar  /home/ndr/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/surefire-junit4/3.0.0-M5/surefire-junit4-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/common-java5/3.0.0-M5/common-java5-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/common-junit3/3.0.0-M5/common-junit3-3.0.0-M5.jar  /home/ndr/.m2/repository/org/apache/maven/surefire/common-junit4/3.0.0-M5/common-junit4-3.0.0-M5.jar
[DEBUG] boot(compact) classpath:  surefire-booter-3.0.0-M5.jar  surefire-api-3.0.0-M5.jar  surefire-logger-api-3.0.0-M5.jar  surefire-shared-utils-3.0.0-M4.jar  surefire-extensions-spi-3.0.0-M5.jar  test-classes  classes  junit-4.13.1.jar  hamcrest-core-1.3.jar  jackson-databind-2.11.1.jar  jackson-annotations-2.11.1.jar  jackson-core-2.11.1.jar  commons-io-2.7.jar  commons-lang3-3.8.1.jar  log4j-api-2.14.1.jar  log4j-core-2.14.1.jar  surefire-junit4-3.0.0-M5.jar  common-java5-3.0.0-M5.jar  common-junit3-3.0.0-M5.jar  common-junit4-3.0.0-M5.jar
[DEBUG] Forking command line: /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
[DEBUG] Fork Channel [1] connected to the client.
[ERROR] OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
[INFO] Running demo.AppDemoTest
[DEBUG] #
[DEBUG] # A fatal error has been detected by the Java Runtime Environment:
[DEBUG] #
[DEBUG] #  SIGSEGV (0xb) at pc=0x00007fd4f517e502, pid=7058, tid=7059
[DEBUG] #
[DEBUG] # JRE version: OpenJDK Runtime Environment GraalVM CE 21.2.0 (11.0.12+6) (build 11.0.12+6-jvmci-21.2-b08)
[DEBUG] # Java VM: OpenJDK 64-Bit Server VM GraalVM CE 21.2.0 (11.0.12+6-jvmci-21.2-b08, mixed mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, linux-amd64)
[DEBUG] # Problematic frame:
[DEBUG] # J 253 jvmci java.lang.String.equals(Ljava/lang/Object;)Z java.base@11.0.12 (65 bytes) @ 0x00007fd4f517e502 [0x00007fd4f517e4a0+0x0000000000000062]
[DEBUG] #
[DEBUG] # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
[DEBUG] #
[DEBUG] # An error report file with more information is saved as:
[DEBUG] # /home/ndr/dev/graal_native_image_jni/appdemo/hs_err_pid7058.log
[DEBUG] Compiled method (JVMCI)     364  253       4       java.lang.String::
[DEBUG] equals (65 bytes)
[DEBUG] total in heap  [0x00007fd4f517e310,0x00007fd4f517e738] = 1064
[DEBUG] relocation     [0x00007fd4f517e478,0x00007fd4f517e498] = 32
[DEBUG] main code      [0x00007fd4f517e4a0,0x00007fd4f517e677] = 471
[DEBUG] stub code      [0x00007fd4f517e677,0x00007fd4f517e678] = 1
[DEBUG] metadata       [0x00007fd4f517e678,0x00007fd4f517e688] = 16
[DEBUG] scopes data    [0x00007fd4f517e688,0x00007fd4f517e698] = 16
[DEBUG] scopes pcs     [0x00007fd4f517e698,0x00007fd4f517e708] = 112
[DEBUG] dependencies   [0x00007fd4f517e708,0x00007fd4f517e710] = 8
[DEBUG] nul chk table  [0x00007fd4f517e710,0x00007fd4f517e728] = 24
[DEBUG] JVMCI data     [0x00007fd4f517e728,0x00007fd4f517e738] = 16
[DEBUG] Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
[DEBUG] #
[DEBUG] # If you would like to submit a bug report, please visit:
[DEBUG] #   https://github.com/oracle/graal/issues
[DEBUG] #
[ERROR] Aborted
[DEBUG] Closing the fork 1 after not saying Good Bye.
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire-reports/2021-08-23T17-40-15_790-jvmRun1.dumpstream
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Graal-Native Demo module Root 1.0-SNAPSHOT:
[INFO] 
[INFO] Graal-Native Demo module Root ...................... SUCCESS [  0.211 s]
[INFO] libdemo - GraalVM Demo Native Library .............. SUCCESS [ 36.649 s]
[INFO] appdemo - Graal Demo Client ........................ FAILURE [  1.237 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  38.189 s
[INFO] Finished at: 2021-08-23T17:40:16-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project appdemo: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR] Crashed tests:
[ERROR] demo.AppDemoTest
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR] Crashed tests:
[ERROR] demo.AppDemoTest
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:532)
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:405)
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:321)
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:266)
[ERROR]     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
[ERROR]     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
[ERROR]     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
[ERROR]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR]     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972)
[ERROR]     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
[ERROR]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
[ERROR]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR]     at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR] Crashed tests:
[ERROR] demo.AppDemoTest
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:748)
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$700(ForkStarter.java:121)
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:393)
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:370)
[ERROR]     at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[ERROR]     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[ERROR]     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[ERROR]     at java.base/java.lang.Thread.run(Thread.java:829)
[ERROR] 
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project appdemo: There are test failures.

Please refer to /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
Error occurred in starting fork, check output in log
Process Exit Code: 134
Crashed tests:
demo.AppDemoTest
org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
Error occurred in starting fork, check output in log
Process Exit Code: 134
Crashed tests:
demo.AppDemoTest
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:532)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:405)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:321)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:266)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
Error occurred in starting fork, check output in log
Process Exit Code: 134
Crashed tests:
demo.AppDemoTest
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:748)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$700(ForkStarter.java:121)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:393)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:370)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: There are test failures.

Please refer to /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
Error occurred in starting fork, check output in log
Process Exit Code: 134
Crashed tests:
demo.AppDemoTest
org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
Error occurred in starting fork, check output in log
Process Exit Code: 134
Crashed tests:
demo.AppDemoTest
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:532)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:405)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:321)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:266)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
Error occurred in starting fork, check output in log
Process Exit Code: 134
Crashed tests:
demo.AppDemoTest
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:748)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$700(ForkStarter.java:121)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:393)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:370)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)

    at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:266)
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159)
    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:453)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1175)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:932)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
Error occurred in starting fork, check output in log
Process Exit Code: 134
Crashed tests:
demo.AppDemoTest
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone (ForkStarter.java:532)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple (ForkStarter.java:405)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:321)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:266)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1314)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1159)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:932)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/ndr/dev/graal_native_image_jni/appdemo && /usr/lib/jvm/graalvm-ce-java11-21.2.0/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire/surefirebooter11279784576638695753.jar /home/ndr/dev/graal_native_image_jni/appdemo/target/surefire 2021-08-23T17-40-15_790-jvmRun1 surefire4600791264711493782tmp surefire_016701153076877256044tmp
Error occurred in starting fork, check output in log
Process Exit Code: 134
Crashed tests:
demo.AppDemoTest
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork (ForkStarter.java:748)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$700 (ForkStarter.java:121)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call (ForkStarter.java:393)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call (ForkStarter.java:370)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    at java.lang.Thread.run (Thread.java:829)
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :appdemo
ndr@ubuntu:~/dev/graal_native_image_jni$ 
rodrigar-mx commented 3 years ago

@nilesritter Thank you for reporting this issue. I will take a closer look to it. Any questions or updates I will let you know.

rodrigar-mx commented 3 years ago

Hi @nilesritter. I have closely reviewed your code. The problem is that you cannot call private native String evaluate(long isolateId, String inputString) method and then expect that java Strings are automatically converted to CCharPointer when invoking your native library method

 @CEntryPoint(name="Java_demo_AppDemo_evaluate")
 public static CCharPointer evaluate(Pointer jniEnv, Pointer clazz, @CEntryPoint.IsolateThreadContext long isolateId, CCharPointer inputPtr)

Unlike primitives, passing java objects to the native library and then manipulating them inside it is a bit more complex. You should continue reading the JNI docs on the section calling-jvm-from-native-java because when you utilize java String and append it "Foo-" you are calling jvm from native java. In the next lines, I will guide you on how to make your sample application work. I already ran it myself.

  1. You need to add the class JNIHeaderDirectives as defined in the docs.

    final class JNIHeaderDirectives implements CContext.Directives {
    @Override
    public List<String> getOptions() {
        File[] jnis = findJNIHeaders();
        return Arrays.asList("-I" + jnis[0].getParent(), "-I" + jnis[1].getParent());
    }
    
    @Override
    public List<String> getHeaderFiles() {
        File[] jnis = findJNIHeaders();
        return Arrays.asList("<" + jnis[0] + ">", "<" + jnis[1] + ">");
    }
    
    private static File[] findJNIHeaders() throws IllegalStateException {
        final File jreHome = new File(System.getProperty("java.home"));
        final File include = new File(jreHome.getParentFile(), "include");
        final File[] jnis = {
            new File(include, "jni.h"),
            new File(new File(include, "linux"), "jni_md.h"),
        };
        return jnis;
    }
    }
  2. You need to define some essential JVM structures (like JNIEnv) and a couple of the Java API wrappers that you will use for converting your java Strings to CCharPointer and vice versa. I wrote the code and it is as follows:

    @CContext(JNIHeaderDirectives.class)
    @CStruct(value = "JNIEnv_", addStructKeyword = true)
    interface JNIEnv extends PointerBase {
    
    @CField("functions")
    JNINativeInterface getFunctions();
    
    @CStruct(value = "JNINativeInterface_", addStructKeyword = true)
    interface JNINativeInterface extends PointerBase {
        @CField
        NewStringUTF getNewStringUTF();
    
        @CField
        GetStringUTFChars getGetStringUTFChars();
    }
    
    interface JObject extends PointerBase {
    }
    
    interface JString extends JObject {
    }
    
    interface NewStringUTF extends CFunctionPointer {
        @InvokeCFunctionPointer
        JString call(JNIEnv env, CCharPointer cCharPointer);
    }
    
    interface GetStringUTFChars extends CFunctionPointer {
        @InvokeCFunctionPointer
        CCharPointer call(JNIEnv env, JString str, byte isCopy);
    }
    }
  3. You need to change your evaluate(...) method to the following implementation
    @CEntryPoint(name="Java_demo_AppDemo_evaluate")
    public static JNIEnv.JString evaluate(
            JNIEnv jniEnv, Pointer clazz,
            @CEntryPoint.IsolateThreadContext long isolateId, JNIEnv.JString inputString)
    {
        JNIEnv.JNINativeInterface fn = jniEnv.getFunctions();
        CCharPointer cCharPointer = fn.getGetStringUTFChars().call(jniEnv, inputString, (byte) 0);
        final String resultString  =  evaluate_internal(CTypeConversion.toJavaString(cCharPointer));
        try(final CTypeConversion.CCharPointerHolder holder = CTypeConversion.toCString(resultString)) {
            return fn.getNewStringUTF().call(jniEnv, holder.get());
        }
    }

    After that you can run your application and your test will succeed. Please give it a try.

nilesritter-ym commented 3 years ago

Excellent response, Rodrigo, I will try out your suggestion and see how it goes. Thank you so much!

nilesritter-ym commented 3 years ago

Follow-up: I have confirmed that your code changes makes the package work. Thanks again!

nilesritter-ym commented 3 years ago

One final follow-up: there is a small but important "Tweak" that is needed. In the updated code, if run in a long loop, there is a memory leak which will exhaust all resources. The fix is to add in the JNI classes a reference to the ReleaseStringUTFChars() function. Then in the library you use this to release the memory allocated in the GetStringUTFChars() function, like this:

    @CEntryPoint(name="Java_demo_AppDemo_evaluate")
    public static JNIEnv.JString evaluate(
            JNIEnv jniEnv, Pointer clazz,
            @CEntryPoint.IsolateThreadContext long isolateId, JNIEnv.JString inputString)
    {
        JNIEnv.JNINativeInterface fn = jniEnv.getFunctions();
        CCharPointer cCharPointer = fn.getGetStringUTFChars().call(jniEnv, inputString, (byte) 0);
        final String resultString  =  evaluate_internal(CTypeConversion.toJavaString(cCharPointer));
        # RELEASE THE MEMORY:
        fn.getReleaseStringUTFChars().call(jniEnv, inputString, cCharPointer );

        try(final CTypeConversion.CCharPointerHolder holder = CTypeConversion.toCString(resultString)) {
            return fn.getNewStringUTF().call(jniEnv, holder.get());
        }
    }
rodrigar-mx commented 3 years ago

Thanks for sharing @nilesritter-ym.