Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1747

Bootstrap integration tests fails on CI

XMLWordPrintable

    • Sprint 39

      This time SourceModeExplodedAppTest fails, but I saw different tests failing in that package like:

      Running org.jboss.windup.tests.bootstrap.migrate.SourceModeExplodedAppTest
      > Red Hat Application Migration Toolkit (RHAMT) CLI, version 4.1.0-SNAPSHOT.
      WARNING: Unrecognized command-line argument: --input
      WARNING: Unrecognized command-line argument: ../test-files/src_example
      WARNING: Unrecognized command-line argument: --output
      WARNING: Unrecognized command-line argument: /var/lib/jenkins/workspace/windup/tests/target/junit4141352266355576232
      WARNING: Unrecognized command-line argument: --source
      WARNING: Unrecognized command-line argument: eap6
      WARNING: Unrecognized command-line argument: --target
      WARNING: Unrecognized command-line argument: eap7
      WARNING: Unrecognized command-line argument: --sourceMode
      WARNING: Unrecognized command-line argument: --explodedApp
      RHAMT execution failed due to: No services of type [org.jboss.windup.config.metadata.RuleProviderRegistryCache] could be found in any started addons.
      org.jboss.forge.furnace.exception.ContainerException: No services of type [org.jboss.windup.config.metadata.RuleProviderRegistryCache] could be found in any started addons.
      	at org.jboss.forge.furnace.impl.addons.ImportedImpl.get(ImportedImpl.java:79)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
      	at org.jboss.forge.furnace.services.Imported_$$_javassist_f9a566d5-9fea-4fa0-bcc6-3c9b0573011a.get(Imported_$$_javassist_f9a566d5-9fea-4fa0-bcc6-3c9b0573011a.java)
      	at org.jboss.windup.bootstrap.commands.windup.RunWindupCommand.runWindup(RunWindupCommand.java:164)
      	at org.jboss.windup.bootstrap.commands.windup.RunWindupCommand.execute(RunWindupCommand.java:73)
      	at org.jboss.windup.bootstrap.Bootstrap.executePhase(Bootstrap.java:471)
      	at org.jboss.windup.bootstrap.Bootstrap.run(Bootstrap.java:336)
      	at org.jboss.windup.bootstrap.Bootstrap.main(Bootstrap.java:102)
      	at org.jboss.windup.tests.bootstrap.AbstractBootstrapTest.bootstrap(AbstractBootstrapTest.java:56)
      	at org.jboss.windup.tests.bootstrap.migrate.SourceModeExplodedAppTest.sourceModeExplodedApp(SourceModeExplodedAppTest.java:19)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.364 sec <<< FAILURE! - in org.jboss.windup.tests.bootstrap.migrate.SourceModeExplodedAppTest
      sourceModeExplodedApp(org.jboss.windup.tests.bootstrap.migrate.SourceModeExplodedAppTest)  Time elapsed: 4.296 sec  <<< ERROR!
      java.nio.file.NoSuchFileException: /var/lib/jenkins/workspace/windup/tests/target/junit4141352266355576232/index.html
      	at org.jboss.windup.tests.bootstrap.migrate.SourceModeExplodedAppTest.sourceModeExplodedApp(SourceModeExplodedAppTest.java:26)
      
      Weld SE container org.jboss.forge.addon:ui shut down by shutdown hook
      Weld SE container org.jboss.forge.addon:shell shut down by shutdown hook
      Weld SE container org.jboss.forge.addon:configuration shut down by shutdown hook
      Weld SE container org.jboss.windup.ast:windup-java-ast shut down by shutdown hook
      Weld SE container org.jboss.forge.addon:convert shut down by shutdown hook
      Weld SE container org.jboss.forge.addon:parser-java shut down by shutdown hook
      Exception in thread "Thread-3" java.lang.NullPointerException
      	at org.jboss.weld.environment.se.WeldContainer.shutdown(WeldContainer.java:266)
      	at org.jboss.weld.environment.se.WeldContainer$ShutdownHook.run(WeldContainer.java:300)
      Running org.jboss.windup.tests.bootstrap.migrate.CorrectParameterTest
      

            mrizzi@redhat.com Marco Rizzi
            mnovotny@redhat.com Marek Novotny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: