Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DROOLS-7534] implement collect on custom Collection classes in executable model #5493

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

mariofusco
Copy link
Contributor

JIRA: https://issues.redhat.com/browse/DROOLS-7534

This pull request implements a feature that was totally missing in the executable model. See https://docs.drools.org/8.42.0.Final/drools-docs/drools/language-reference/index.html#con-drl-legacy_drl-rules where, in the collect section, it says: "The result pattern of the collect element can be any concrete class that implements the java.util.Collection interface and provides a default no-arg public constructor."

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 29, 2023

(tests) - kogito-runtimes job #1657 was: FAILURE
Possible explanation: Pipeline failure or project build failure

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/drools/main/.ci/buildchain-config.yaml' -o 'bc' -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/drools/pull/5493 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools/job/main/job/pullrequest/job/drools.tests.downstream.kogito-runtimes/1657/display/redirect

Test results:

  • PASSED: 3355
  • FAILED: 0

Those are the test failures: none

See console log:

Console Logs [2023-08-29T08:15:36.351Z] [INFO] Kogito :: Spring Boot :: Starter :: Rules .......... SUCCESS [ 0.037 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Spring Boot :: Starter :: Processes ...... SUCCESS [ 0.441 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Spring Boot :: Starter :: Predictions .... SUCCESS [ 0.065 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Spring Boot :: Starter ................... SUCCESS [ 0.060 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Jobs :: Management SprintBoot Addon SUCCESS [ 2.931 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: E-Mail :: Spring Boot Addon ... SUCCESS [ 0.404 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Task notification :: Spring Boot Addon SUCCESS [ 0.101 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Tracing :: Spring Boot ........ SUCCESS [ 4.045 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Rest Exception Handler:: Spring Boot ..... SUCCESS [ 2.060 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Process SVG :: Spring Boot Addon SUCCESS [ 5.494 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Process Management :: Spring Boot Addon SUCCESS [ 1.916 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Task Management :: Spring Boot Addon SUCCESS [ 0.113 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Spring Boot :: Kubernetes ..... SUCCESS [ 10.567 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Spring Boot :: Persistence :: Parent SUCCESS [ 0.017 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Persistence File System :: Springboot SUCCESS [ 0.111 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Persistence Infinispan :: Springboot SUCCESS [ 0.692 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Persistence JDBC :: Springboot SUCCESS [ 0.261 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Persistence MongoDB :: Springboot SUCCESS [ 0.196 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Add-Ons :: Persistence PostgreSQL :: Springboot SUCCESS [ 0.334 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Spring Boot :: Maven Archetype ........... SUCCESS [ 57.599 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Test Utilities :: Spring Boot ............ SUCCESS [ 4.120 s]
[2023-08-29T08:15:36.351Z] [INFO] Kogito :: Integration Tests :: Spring Boot ......... SUCCESS [03:24 min]
[2023-08-29T08:15:36.351Z] [INFO] ------------------------------------------------------------------------
[2023-08-29T08:15:36.351Z] [INFO] BUILD FAILURE
[2023-08-29T08:15:36.351Z] [INFO] ------------------------------------------------------------------------
[2023-08-29T08:15:36.351Z] [INFO] Total time: 45:31 min
[2023-08-29T08:15:36.351Z] [INFO] Finished at: 2023-08-29T04:15:36-04:00
[2023-08-29T08:15:36.351Z] [INFO] ------------------------------------------------------------------------
[2023-08-29T08:15:36.351Z] [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:2.16.9.Final:build (default) on project kogito-addons-quarkus-knative-serving-integration-tests: Failed to build quarkus application: Failed to bootstrap application in NORMAL mode: Failed to resolve artifact org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog-deployment:jar:2.0.0-SNAPSHOT: Could not find artifact org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog-deployment:jar:2.0.0-SNAPSHOT -> [Help 1]
[2023-08-29T08:15:36.351Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.quarkus:quarkus-maven-plugin:2.16.9.Final:build (default) on project kogito-addons-quarkus-knative-serving-integration-tests: Failed to build quarkus application
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-29T08:15:36.351Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-29T08:15:36.351Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-29T08:15:36.351Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-29T08:15:36.351Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-29T08:15:36.351Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-29T08:15:36.351Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-29T08:15:36.351Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-29T08:15:36.351Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-29T08:15:36.351Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-29T08:15:36.351Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-29T08:15:36.351Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-29T08:15:36.351Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-29T08:15:36.351Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-29T08:15:36.351Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-29T08:15:36.351Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to build quarkus application
[2023-08-29T08:15:36.351Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:170)
[2023-08-29T08:15:36.351Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-29T08:15:36.351Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-29T08:15:36.351Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-29T08:15:36.351Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-29T08:15:36.351Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-29T08:15:36.351Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-29T08:15:36.351Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-29T08:15:36.351Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-29T08:15:36.351Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-29T08:15:36.351Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-29T08:15:36.351Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-29T08:15:36.351Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-29T08:15:36.351Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-29T08:15:36.351Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-29T08:15:36.351Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-29T08:15:36.351Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-29T08:15:36.351Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-29T08:15:36.351Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to bootstrap application in NORMAL mode
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:252)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-29T08:15:36.352Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-29T08:15:36.352Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-29T08:15:36.352Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-29T08:15:36.352Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-29T08:15:36.352Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-29T08:15:36.352Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-29T08:15:36.352Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-29T08:15:36.352Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-29T08:15:36.352Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-29T08:15:36.352Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-29T08:15:36.352Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-29T08:15:36.352Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-29T08:15:36.352Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-29T08:15:36.352Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-29T08:15:36.352Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-29T08:15:36.352Z] Caused by: io.quarkus.bootstrap.resolver.maven.BootstrapMavenException: Failed to resolve artifact org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog-deployment:jar:2.0.0-SNAPSHOT
[2023-08-29T08:15:36.352Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolveInternal (MavenArtifactResolver.java:170)
[2023-08-29T08:15:36.352Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolve (MavenArtifactResolver.java:159)
[2023-08-29T08:15:36.352Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visitLeave (BuildDependencyGraphVisitor.java:141)
[2023-08-29T08:15:36.352Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:92)
[2023-08-29T08:15:36.352Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:82)
[2023-08-29T08:15:36.352Z] at io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver.resolve (ApplicationDependencyTreeResolver.java:210)
[2023-08-29T08:15:36.352Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.buildAppModel (BootstrapAppModelResolver.java:321)
[2023-08-29T08:15:36.352Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:286)
[2023-08-29T08:15:36.352Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.resolveManagedModel (BootstrapAppModelResolver.java:165)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:249)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-29T08:15:36.352Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-29T08:15:36.352Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-29T08:15:36.352Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-29T08:15:36.352Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-29T08:15:36.352Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-29T08:15:36.352Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-29T08:15:36.352Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-29T08:15:36.352Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-29T08:15:36.352Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-29T08:15:36.352Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-29T08:15:36.352Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-29T08:15:36.352Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-29T08:15:36.352Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-29T08:15:36.352Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-29T08:15:36.352Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-29T08:15:36.352Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-29T08:15:36.352Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-29T08:15:36.352Z] Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog-deployment:jar:2.0.0-SNAPSHOT
[2023-08-29T08:15:36.352Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:425)
[2023-08-29T08:15:36.352Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
[2023-08-29T08:15:36.352Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
[2023-08-29T08:15:36.352Z] at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolveInternal (MavenArtifactResolver.java:165)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolve (MavenArtifactResolver.java:159)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visitLeave (BuildDependencyGraphVisitor.java:141)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:92)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:82)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver.resolve (ApplicationDependencyTreeResolver.java:210)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.buildAppModel (BootstrapAppModelResolver.java:321)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:286)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.resolveManagedModel (BootstrapAppModelResolver.java:165)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:249)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-29T08:15:36.353Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-29T08:15:36.353Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-29T08:15:36.353Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-29T08:15:36.353Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-29T08:15:36.353Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-29T08:15:36.353Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-29T08:15:36.353Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-29T08:15:36.353Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-29T08:15:36.353Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-29T08:15:36.353Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-29T08:15:36.353Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-29T08:15:36.353Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-29T08:15:36.353Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-29T08:15:36.353Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-29T08:15:36.353Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-29T08:15:36.353Z] Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog-deployment:jar:2.0.0-SNAPSHOT
[2023-08-29T08:15:36.353Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:415)
[2023-08-29T08:15:36.353Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
[2023-08-29T08:15:36.353Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
[2023-08-29T08:15:36.353Z] at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolveInternal (MavenArtifactResolver.java:165)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolve (MavenArtifactResolver.java:159)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visitLeave (BuildDependencyGraphVisitor.java:141)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:92)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:82)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver.resolve (ApplicationDependencyTreeResolver.java:210)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.buildAppModel (BootstrapAppModelResolver.java:321)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:286)
[2023-08-29T08:15:36.353Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.resolveManagedModel (BootstrapAppModelResolver.java:165)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:249)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-29T08:15:36.353Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-29T08:15:36.353Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-29T08:15:36.353Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-29T08:15:36.353Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-29T08:15:36.353Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-29T08:15:36.353Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-29T08:15:36.353Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-29T08:15:36.353Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-29T08:15:36.353Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-29T08:15:36.353Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-29T08:15:36.353Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-29T08:15:36.353Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-29T08:15:36.353Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-29T08:15:36.353Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-29T08:15:36.353Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-29T08:15:36.353Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-29T08:15:36.353Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-29T08:15:36.353Z] [ERROR]
[2023-08-29T08:15:36.353Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2023-08-29T08:15:36.353Z] [ERROR]
[2023-08-29T08:15:36.353Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2023-08-29T08:15:36.353Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[2023-08-29T08:15:36.353Z] [ERROR]
[2023-08-29T08:15:36.353Z] [ERROR] After correcting the problems, you can resume the build with the command
[2023-08-29T08:15:36.353Z] [ERROR] mvn -rf :kogito-addons-quarkus-knative-serving-integration-tests
[2023-08-29T08:15:36.353Z] [INFO] kiegroup/kogito-runtimes failed. Won't execute remaining commands and projects
[2023-08-29T08:15:36.353Z] [INFO] Execution summary for kiegroup/kogito-runtimes
[2023-08-29T08:15:36.353Z] # [BEFORE] [kiegroup/kogito-runtimes] export INTEGRATION_BRANCH=
[2023-08-29T08:15:36.353Z] [INFO] OK [Executed in 0.172784 ms]
[2023-08-29T08:15:36.353Z]
[2023-08-29T08:15:36.354Z] # [BEFORE] [kiegroup/kogito-runtimes] bash -c "if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi"
[2023-08-29T08:15:36.354Z] [INFO] OK [Executed in 6.25844 ms]
[2023-08-29T08:15:36.354Z]
[2023-08-29T08:15:36.354Z] # [COMMANDS] [kiegroup/kogito-runtimes] export MVN_CMD=`bash -c "if [ '' = 'true' ]; then printf 'deploy '; else printf 'install'; fi"`
[2023-08-29T08:15:36.354Z] [INFO] OK [Executed in 6.223855 ms]
[2023-08-29T08:15:36.354Z]
[2023-08-29T08:15:36.354Z] # [COMMANDS] [kiegroup/kogito-runtimes] mvn clean install -Dfull -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config1697696690694582827tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 dependency:tree -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-08-29T08:15:36.354Z] [INFO] NOT OK [Executed in 2732467.542014 ms]
[2023-08-29T08:15:36.354Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[2023-08-29T08:15:36.354Z]
[2023-08-29T08:15:36.354Z] [INFO] [AFTER] Skipped kiegroup/kogito-runtimes
[2023-08-29T08:15:36.354Z]
[2023-08-29T08:15:36.354Z] # Uploading artifacts
[2023-08-29T08:15:36.354Z] [INFO] Will not upload any artifacts in CLI environment
[2023-08-29T08:15:36.354Z]
[2023-08-29T08:15:36.354Z] [ERROR] Failed to execute commands for kiegroup/kogito-runtimes
[2023-08-29T08:15:36.354Z] [ERROR] Failed to execute mvn clean install -Dfull -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config1697696690694582827tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 dependency:tree -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B :
[2023-08-29T08:15:36.354Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-08-29T08:15:36.447Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-08-29T08:15:36.890Z] + find . -type d -name node_modules -exec rm -rf '{}' ';'
[Pipeline] junit
[2023-08-29T08:15:37.166Z] Recording test results
[2023-08-29T08:15:40.551Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-08-29T08:15:40.570Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-08-29T08:15:42.126Z] + rm -rf console.log
[Pipeline] sh
[2023-08-29T08:15:42.416Z] + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools/job/main/job/pullrequest/job/drools.tests.downstream.kogito-runtimes/1657/consoleText
[2023-08-29T08:15:42.416Z] + tail -n 300

@sonarcloud
Copy link

sonarcloud bot commented Aug 29, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

87.2% 87.2% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@tkobayas tkobayas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mariofusco mariofusco merged commit 0382b91 into apache:main Aug 30, 2023
11 of 12 checks passed
@mariofusco mariofusco deleted the d7534 branch August 30, 2023 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants