Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-1839

[KIESERVER][REGRESSION] Unable to resolve redhat artifacts during container verification with default maven settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • KIESRV63 1.4.0.GA
    • KIESRV63 1.4.0.GA
    • BPMS, BRMS
    • jboss-decisionserver-6/decisionserver63-openshift:1.4-8 and 1.4-7
      (works fine with jboss-decisionserver-6/decisionserver63-openshift:1.4-6 )

    • CLOUD Maintenance Sprint 8

      With the default maven settings (no custom maven repo), the kie container verification seems to fail due to missing redhat artifacts.

      Attempting to verify containers with 'java org.openshift.kieserver.common.server.ContainerVerifier  com.redhat.xpaas.brms:hello-world:1.0-SNAPSHOT'
      Picked up JAVA_TOOL_OPTIONS: -Duser.home=/home/jboss -Duser.name=jboss
      Jun 23, 2017 3:32:57 PM org.drools.core.util.ServiceDiscoveryImpl discoverFactories
      INFO: Discovered kie.conf url=jar:file:/opt/eap/standalone/deployments/kie-server.war/WEB-INF/lib/optaplanner-core-6.4.0.Final-redhat-13.jar!/META-INF/kie.conf 
      Jun 23, 2017 3:32:57 PM org.drools.core.util.ServiceDiscoveryImpl processKieAssemblers
      INFO: Adding Assembler org.optaplanner.core.impl.solver.kie.KieSolverAssemblerService 
      Jun 23, 2017 3:32:57 PM org.kie.scanner.embedder.MavenSettings initSettings
      WARNING: Environment variable M2_HOME is not set
      Jun 23, 2017 3:33:00 PM org.kie.scanner.MavenRepository resolveArtifact
      WARNING: Unable to resolve artifact: org.kie:kie-api:6.4.0.Final-redhat-6
      Jun 23, 2017 3:33:00 PM org.kie.scanner.MavenRepository resolveArtifact
      WARNING: Unable to resolve artifact: org.kie:kie-api:pom:6.4.0.Final-redhat-6
      Jun 23, 2017 3:33:01 PM org.kie.scanner.MavenRepository resolveArtifact
      WARNING: Unable to resolve artifact: org.kie:kie-api:6.4.0.Final-redhat-6
      [WARNING] The POM for org.kie:kie-api:jar:6.4.0.Final-redhat-6 is missing, no dependency information available
      Jun 23, 2017 3:33:02 PM org.kie.scanner.MavenRepository resolveArtifact
      WARNING: Unable to resolve artifact: org.kie:kie-api:6.4.0.Final-redhat-6
      Jun 23, 2017 3:33:02 PM org.kie.scanner.MavenClassLoaderResolver getClassLoader
      SEVERE: Dependency artifact not found for: org.kie:kie-api:6.4.0.Final-redhat-6
      Jun 23, 2017 3:33:03 PM org.drools.compiler.kie.builder.impl.KieRepositoryImpl addKieModule
      INFO: KieModule was added: ZipKieModule[releaseId=com.redhat.xpaas.brms:hello-world:1.0-SNAPSHOT,file=/home/jboss/.m2/repository/com/redhat/xpaas/brms/hello-world/1.0-SNAPSHOT/hello-world-1.0-SNAPSHOT.jar]
      Jun 23, 2017 3:33:03 PM org.kie.scanner.MavenRepository resolveArtifact
      WARNING: Unable to resolve artifact: org.kie:kie-api:6.4.0.Final-redhat-6
      Jun 23, 2017 3:33:03 PM org.kie.scanner.MavenClassLoaderResolver getClassLoader
      SEVERE: Dependency artifact not found for: org.kie:kie-api:6.4.0.Final-redhat-6
      Jun 23, 2017 3:33:03 PM org.openshift.kieserver.common.server.ContainerVerifier main
      INFO: com.redhat.xpaas.brms:hello-world:1.0-SNAPSHOT verified.
      
      Pushing image 172.30.45.210:5000/maschmid/decision-server:latest ...
      Pushed 6/9 layers, 67% complete
      Pushed 7/9 layers, 78% complete
      Pushed 8/9 layers, 89% complete
      Pushed 9/9 layers, 100% complete
      Push successful
      

      The errors are repeated at runtime

      15:34:20,135 WARN  [org.kie.scanner.MavenRepository] (EJB default - 1) Unable to resolve artifact: org.kie:kie-api:6.4.0.Final-redhat-6
      15:34:20,373 WARN  [org.kie.scanner.MavenRepository] (EJB default - 1) Unable to resolve artifact: org.kie:kie-api:pom:6.4.0.Final-redhat-6
      15:34:20,621 WARN  [org.kie.scanner.MavenRepository] (EJB default - 1) Unable to resolve artifact: org.kie:kie-api:6.4.0.Final-redhat-6
      15:34:21,827 INFO  [stdout] (EJB default - 1) [WARNING] The POM for org.kie:kie-api:jar:6.4.0.Final-redhat-6 is missing, no dependency information available
      15:34:22,256 WARN  [org.kie.scanner.MavenRepository] (EJB default - 1) Unable to resolve artifact: org.kie:kie-api:6.4.0.Final-redhat-6
      15:34:22,257 ERROR [org.kie.scanner.MavenClassLoaderResolver] (EJB default - 1) Dependency artifact not found for: org.kie:kie-api:6.4.0.Final-redhat-6
      15:34:23,160 INFO  [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (EJB default - 1) KieModule was added: ZipKieModule[releaseId=com.redhat.xpaas.brms:hello-world:1.0-SNAPSHOT,file=/home/jboss/.m2/repository/com/redhat/xpaas/brms/hello-world/1.0-SNAPSHOT/hello-world-1.0-SNAPSHOT.jar]
      15:34:23,571 WARN  [org.kie.scanner.MavenRepository] (EJB default - 1) Unable to resolve artifact: org.kie:kie-api:6.4.0.Final-redhat-6
      15:34:23,571 ERROR [org.kie.scanner.MavenClassLoaderResolver] (EJB default - 1) Dependency artifact not found for: org.kie:kie-api:6.4.0.Final-redhat-6
      15:34:24,568 WARN  [org.kie.scanner.MavenRepository] (EJB default - 1) Unable to resolve artifact: org.kie:kie-api:6.4.0.Final-redhat-6
      

              kconner@redhat.com Kevin Conner (Inactive)
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: