Uploaded image for project: 'mod-oai-pmh'
  1. mod-oai-pmh
  2. MODOAIPMH-240

Newest git update introduces build loop

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 3.2.5
    • None
    • Concorde - Sprint 101, Concorde - Sprint 102
    • 3
    • Concorde

    Description

      Environment:
      Java:
      openjdk 11.0.8 2020-07-14
      OpenJDK Runtime Environment (build 11.0.8+10-post-Debian-1deb10u1)
      OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Debian-1deb10u1, mixed mode, sharing)

      Apache Maven 3.6.0
      Maven home: /usr/share/maven
      Java version: 11.0.8, vendor: Debian, runtime: /usr/lib/jvm/java-11-openjdk-amd64
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "4.19.0-10-amd64", arch: "amd64", family: "unix"

      Gradle 4.4.1
      Build time: 2012-12-21 00:00:00 UTC
      Revision: none
      Groovy: 2.4.16
      Ant: Apache Ant(TM) version 1.10.5 compiled on August 27 2018
      JVM: 11.0.8 (Debian 11.0.8+10-post-Debian-1deb10u1)
      OS: Linux 4.19.0-10-amd64 amd64

      Steps to Reproduce:
      git clone
      cd into directory
      mvn -B clean install >> logfile
      kill -9 after 14 minutes of constant runtime and 750 hits here:
      grep -c "at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.49.Final.jar:4.1.49.Final]" logfile

      Logfile (extract)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
      107) ~[groovy-3.0.2.jar:3.0.2]
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) ~[groovy-3
      .0.2.jar:3.0.2]
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1262) ~[gro
      ovy-3.0.2.jar:3.0.2]
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1029) ~[gro
      ovy-3.0.2.jar:3.0.2]
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:816) ~[groo
      vy-3.0.2.jar:3.0.2]
      at groovy.lang.GroovyObject.invokeMethod(GroovyObject.java:39) ~[groovy-
      3.0.2.jar:3.0.2]
      at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoI
      nterceptableSite.java:45) ~[groovy-3.0.2.jar:3.0.2]
      at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:55) ~[groovy-3.0.2.jar:3.0.2]
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185) ~[groovy-3.0.2.jar:3.0.2]
      at io.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:255) ~[rest-assured-4.3.0.jar:?]
      at io.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy) ~[rest-assured-4.3.0.jar:?]
      at org.folio.rest.impl.OaiPmhImplTest.verifyWithCodeWithXml(OaiPmhImplTest.java:1303) ~[test-classes/:?]
      at org.folio.rest.impl.OaiPmhImplTest.verifyResponseWithErrors(OaiPmhImplTest.java:1345) ~[test-classes/:?]
      at org.folio.rest.impl.OaiPmhImplTest.lambda$getOaiRecordsWithMetadataPrefixMarc21WithHoldingsAndSrsHasNoRecordsForInventoryInstance$8(OaiPmhImplTest.java:1024) ~[test-classes/:?]
      at org.folio.rest.impl.OaiPmhImplTest$$Lambda$1317/0x0000000840c7b440.handle(Unknown Source) ~[?:?]
      at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:366) ~[vertx-core-3.9.2.jar:3.9.2]
      at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) ~[vertx-core-3.9.2.jar:3.9.2]
      at io.vertx.core.impl.EventLoopContext$$Lambda$458/0x000000084033d840.run(Unknown Source) ~[?:?]
      at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[netty-common-4.1.49.Final.jar:4.1.49.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[netty-common-4.1.49.Final.jar:4.1.49.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) ~[netty-transport-4.1.49.Final.jar:4.1.49.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[netty-common-4.1.49.Final.jar:4.1.49.Final]
      at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.49.Final.jar:4.1.49.Final]
      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.49.Final.jar:4.1.49.Final]
      at java.lang.Thread.run(Thread.java:834) ~[?:?]
      [INFO]
      [INFO] Results:
      [INFO]
      [INFO] Tests run: 94, Failures: 0, Errors: 0, Skipped: 0
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 14:45 min
      [INFO] Finished at: 2020-10-02T14:31:12+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
      22.2:test (default-test) on project mod-oai-pmh: There are test failures.
      [ERROR]
      [ERROR] Please refer to /tmp/bd_helper/bd_compile/target/surefire-reports for th
      e individual test results.
      [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].
      dump and [date].dumpstream.
      [ERROR] The forked VM terminated without properly saying goodbye. VM crash or Sy
      stem.exit called?
      [ERROR] Command was /bin/sh -c cd /tmp/bd_helper/bd_compile && /usr/lib/jvm/java
      -11-openjdk-amd64/bin/java org.apache.maven.surefire.booter.ForkedBooter /tmp/bd
      _helper/bd_compile/target/surefire 2020-10-02T14-17-44_897-jvmRun1 surefire16218
      08040291226405tmp surefire_010128696689328821366tmp
      [ERROR] Error occurred in starting fork, check output in log
      [ERROR] Process Exit Code: 137
      [ERROR] Crashed tests:
      [ERROR] org.folio.rest.impl.OaiPmhImplTest
      [ERROR] 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 /tmp/bd_helper/bd_compile && /usr/lib/jvm/java
      -11-openjdk-amd64/bin/java org.apache.maven.surefire.booter.ForkedBooter /tmp/bd
      _helper/bd_compile/target/surefire 2020-10-02T14-17-44_897-jvmRun1 surefire16218
      08040291226405tmp surefire_010128696689328821366tmp
      [ERROR] Error occurred in starting fork, check output in log
      [ERROR] Process Exit Code: 137
      [ERROR] Crashed tests:
      [ERROR] org.folio.rest.impl.OaiPmhImplTest
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669)
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
      [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
      [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
      [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
      [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:956)
      [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
      [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] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [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

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                TotoroDev Illia Daliek
                drexljo Johannes Drexl
                Johannes Drexl Johannes Drexl
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases