Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2580

Org.kie.workbench.common.services.backend.compiler test are failing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.40.0.Final
    • AppFormer Foundation
    • None
    • NEW
    • NEW

    Description

      Org.kie.workbench.common.services.backend.compiler tests are throwing compilation error in IBM JDK (1.8 &1.7)

      Please refer following error log

       

      2020-07-10 00:53:43,540 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.k.w.c.s.b.compiler.TestUtilMaven - Using settings.xml file provided by JENKINS:/home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/.mvn/settings.xml
      2020-07-10 00:53:43,543 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.k.w.c.s.b.c.c.ConfigurationEnvironmentStrategy - Key COMPILER not present in the Environment, skip to the next ConfigurationStrategy. 
      
      2020-07-10 00:53:43,615 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.k.w.c.s.b.c.i.e.AFSettingsXmlConfigurationProcessor - userSettings:/home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/.mvn/settings.xml
      2020-07-10 00:53:43,619 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - Scanning for projects...
      2020-07-10 00:53:44,578 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger -                                                                         
      2020-07-10 00:53:44,578 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - ------------------------------------------------------------------------
      2020-07-10 00:53:44,578 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - Building kie-maven-plugin-test-kjar-2 1.0.0.Final
      2020-07-10 00:53:44,578 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - ------------------------------------------------------------------------
      2020-07-10 00:53:44,601 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - 
      2020-07-10 00:53:44,601 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - --- maven-resources-plugin:3.1.0:resources (default-resources) @ kie-maven-plugin-test-kjar-2 ---
      2020-07-10 00:53:44,664 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] WARN o.a.m.s.f.DefaultMavenResourcesFiltering - Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
      2020-07-10 00:53:44,668 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.s.f.DefaultMavenResourcesFiltering - Copying 2 resources
      2020-07-10 00:53:44,673 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - 
      2020-07-10 00:53:44,673 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - --- takari-lifecycle-plugin:1.13.5:compile (default-compile) @ kie-maven-plugin-test-kjar-2 ---
      2020-07-10 00:53:45,080 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO i.t.m.p.c.CompilerBuildContext - Previous incremental build state does not exist, performing full build
      2020-07-10 00:53:45,595 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO i.t.m.plugins.compile.CompileMojo - Compiling 1 sources to /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/target/classes
      2020-07-10 00:53:45,939 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR i.t.m.p.c.CompilerBuildContext - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[1,1] The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
      2020-07-10 00:53:45,939 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR i.t.m.p.c.CompilerBuildContext - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[21,13] String cannot be resolved to a type
      2020-07-10 00:53:45,939 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR i.t.m.p.c.CompilerBuildContext - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[24,12] Implicit super constructor Object() is undefined. Must explicitly invoke another constructor
      2020-07-10 00:53:45,939 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR i.t.m.p.c.CompilerBuildContext - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[36,12] String cannot be resolved to a type
      2020-07-10 00:53:45,939 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR i.t.m.p.c.CompilerBuildContext - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[37,16] String cannot be resolved to a type
      2020-07-10 00:53:45,939 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR i.t.m.p.c.CompilerBuildContext - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[40,25] String cannot be resolved to a type
      2020-07-10 00:53:45,939 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR i.t.m.p.c.CompilerBuildContext - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[41,9] String cannot be resolved to a type
      2020-07-10 00:53:45,939 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO i.t.m.plugins.compile.CompileMojo - Compiled 1 out of 1 sources (852 ms)
      2020-07-10 00:53:45,948 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - ------------------------------------------------------------------------
      2020-07-10 00:53:45,948 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - BUILD FAILURE
      2020-07-10 00:53:45,948 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - ------------------------------------------------------------------------
      2020-07-10 00:53:45,948 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - Total time: 2.330 s
      2020-07-10 00:53:45,949 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - Finished at: 2020-07-10T00:53:45-04:00
      2020-07-10 00:53:46,216 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - Final Memory: 167M/362M
      2020-07-10 00:53:46,216 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.a.m.c.event.ExecutionEventLogger - ------------------------------------------------------------------------
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - Failed to execute goal io.takari.maven.plugins:takari-lifecycle-plugin:1.13.5:compile (default-compile) on project kie-maven-plugin-test-kjar-2: 7 error(s) encountered:
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[1:1] The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[21:13] String cannot be resolved to a type
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[24:12] Implicit super constructor Object() is undefined. Must explicitly invoke another constructor
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[36:12] String cannot be resolved to a type
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[37:16] String cannot be resolved to a type
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[40:25] String cannot be resolved to a type
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/src/main/java/org/kie/maven/plugin/test/Person.java:[41:9] String cannot be resolved to a type
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - -> [Help 1]
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - 
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - To see the full stack trace of the errors, re-run Maven with the -e switch.
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - Re-run Maven using the -X switch to enable full debug logging.
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - 
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - For more information about the errors and possible solutions, please read the following articles:
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] ERROR o.k.w.c.s.b.c.i.e.ReusableAFMavenCli - [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      2020-07-10 00:53:46,217 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.k.w.c.s.backend.utils.TestUtil - Writing error output on /home/hudson/hudson_workspace/workspace/BxMS/RHPAM-master-nightly/certification/community-tests/blessed-community-tests-bcentral-jvmos-matrix/2fdc7ca4/tests/s/kie-wb-common/kie-wb-common-services/kie-wb-common-compiler/kie-wb-common-compiler-core/target/repo-1594356823540-0/dummy/targetClassLoaderProviderTest.getResourcesFromADroolsPRJ.test.log
      2020-07-10 00:53:46,218 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.k.w.c.s.b.c.ClassLoaderProviderTest - [ERROR] Error in the kieModuleMetaInfo from the kieMap :kieModuleMetaInfo not present in the map
      2020-07-10 00:53:46,218 [029a2673-fa68-4ff8-8dcc-2cb9c81d474e] INFO o.k.w.c.s.b.c.ClassLoaderProviderTest - [ERROR] Error in the kieModule :kieModule not present in the map
      

       

      Attachments

        Issue Links

          Activity

            People

              mdessi-1 Massimiliano Dessi
              nbaby nibu baby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: