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-7512] opt-in object store with references for reliable session #5445

Merged
merged 9 commits into from
Aug 25, 2023

Conversation

nprentza
Copy link
Contributor

@nprentza nprentza commented Aug 4, 2023

JIRA:

DROOLS-7512

Most of the SonarCloud issues raised were fixed in the last commit (sonar improvements).

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.

Great job!

@@ -25,6 +26,14 @@ public SimpleReliableObjectStore createSimpleReliableObjectStore(Storage<Long, S
return new SimpleSerializationReliableObjectStore(storage);
}

public SimpleReliableObjectStore createSimpleReliableObjectStore(Storage<Long, StoredObject> storage, PersistedSessionOption persistedSessionOption) {
if (persistedSessionOption.getPersistenceObjectsStrategy() == PersistedSessionOption.PersistenceObjectsStrategy.SIMPLE) {
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better to use a switch on the values of the enum here, so if for any reason we will have to add a third value we will immediately know that we will need to change also here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, I will use a switch.


private Map<String, Long> uniqueObjectTypesInStore; // object type name, occurances

public SimpleSerializationReliableRefObjectStore() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand why you added a constructor that should never be called here, can't it be simply removed?

Copy link
Contributor Author

@nprentza nprentza Aug 22, 2023

Choose a reason for hiding this comment

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

Yes, you are right, we can remove it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sonar finds a bug in the class without the no-arguments constructor because its externalizable. Shall I put the constructor back?


private void updateObjectTypesList() {
// list of unique object types in storage
List<String> uTypeNames = new ArrayList<>();
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe you could use a Set here instead of List, so you could avoid the check for uniqueness?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, I believe we can do that.

}
});
// add unique object types + their occurrences in uniqueObjectTypesInStore
uTypeNames.forEach(uType -> {
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe you could achieve the same result in a clearer way using with a collect using Collectors.groupingBy.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

here is how I used Collectors.qroupingBy, what do you think?

 uniqueObjectTypesInStore.putAll(storage.values().stream()
                .map(sObject -> sObject.getObject().getClass().getName())
                .collect(Collectors.groupingBy(Object::toString, Collectors.counting()))
                .entrySet().stream().filter(entry -> uTypeNames.contains((entry.getKey())))
                .collect(Collectors.toUnmodifiableMap(Map.Entry::getKey, Map.Entry::getValue)));

Copy link
Contributor

Choose a reason for hiding this comment

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

I believe (but I'm not 100% sure) that the following should be semantically equivalent, but easier to read

        uniqueObjectTypesInStore.putAll(storage.values().stream()
                .map(sObject -> sObject.getObject().getClass().getName())
                .filter(uTypeNames::contains)
                .collect(Collectors.groupingBy(Function.identity(), Collectors.counting())));

Please let me know if I'm missing something.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

my intention was to group first and then filter, for efficiency reasons, if it makes sense

Copy link
Contributor

Choose a reason for hiding this comment

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

That's ok then, I'm not sure if it is more efficient to delay filter but having to recreate a second Map after that, or do everything in one shot as I suggested, but I guess there is no general answer and it depends case by case. Please fix the switch expression and I will merge this pull request.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, well for the moment maybe its better to have something that its easier to read. I will follow your suggestion and commit this change together with the switch fix.

public SimpleSerializationReliableRefObjectStore(Storage<Long, StoredObject> storage) {
super(storage);
uniqueObjectTypesInStore = new HashMap<>();
if (storage.size() > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I find a bit confusing that you're repeating that storage.size() > 0 check twice. Please do it only once simply assigning this.storage to storage in the else branch. Also it will be clearer to use isEmpty() instead of size(). In essence you could do something like:

if (storage.isEmpty()) {
    this.storage = storage;
} else {
    updateObjectTypesList();
    this.storage = updateObjectReferences(storage);
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes you are right, what you suggest is more clear.

}

private Long fromObjectToFactHandleId(Object object) {
for (Long key : this.storage.keySet()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This method is formally correct, but could be extremely inefficient. I'm not sure if feasible (please investigate) but maybe it would be better to add another map to this class, a IdentityHashMap<Object, Long> doing a reverse map from an object back to its key.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will investigate and raise a separate PR for this.

Copy link
Contributor

@mariofusco mariofusco left a comment

Choose a reason for hiding this comment

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

Nice job, I just suggested a few minor improvements. Please review them and we could have a final chat on this pull request during tomorrow's meeting before merging it.

@nprentza
Copy link
Contributor Author

Nice job, I just suggested a few minor improvements. Please review them and we could have a final chat on this pull request during tomorrow's meeting before merging it.

Mario thanks a lot for your suggestions, I revised the code accordingly addressing all comments except the last one which I will address in a separate PR.

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 22, 2023

(tests) - kogito-runtimes job #1628 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/5445 --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/1628/display/redirect

Test results:

  • PASSED: 3336
  • FAILED: 0

Those are the test failures: none

See console log:

Console Logs [2023-08-22T12:40:19.952Z] [INFO] Kogito :: Spring Boot :: Starter :: Rules .......... SUCCESS [ 0.037 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Spring Boot :: Starter :: Processes ...... SUCCESS [ 0.367 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Spring Boot :: Starter :: Predictions .... SUCCESS [ 0.048 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Spring Boot :: Starter ................... SUCCESS [ 0.064 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Jobs :: Management SprintBoot Addon SUCCESS [ 2.792 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: E-Mail :: Spring Boot Addon ... SUCCESS [ 0.324 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Task notification :: Spring Boot Addon SUCCESS [ 0.094 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Tracing :: Spring Boot ........ SUCCESS [ 3.810 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Rest Exception Handler:: Spring Boot ..... SUCCESS [ 1.827 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Process SVG :: Spring Boot Addon SUCCESS [ 5.376 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Process Management :: Spring Boot Addon SUCCESS [ 1.819 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Task Management :: Spring Boot Addon SUCCESS [ 0.115 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Spring Boot :: Kubernetes ..... SUCCESS [ 9.361 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Spring Boot :: Persistence :: Parent SUCCESS [ 0.017 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Persistence File System :: Springboot SUCCESS [ 0.117 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Persistence Infinispan :: Springboot SUCCESS [ 0.581 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Persistence JDBC :: Springboot SUCCESS [ 0.310 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Persistence MongoDB :: Springboot SUCCESS [ 0.121 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Add-Ons :: Persistence PostgreSQL :: Springboot SUCCESS [ 0.272 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Spring Boot :: Maven Archetype ........... SUCCESS [ 55.195 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Test Utilities :: Spring Boot ............ SUCCESS [ 3.971 s]
[2023-08-22T12:40:19.952Z] [INFO] Kogito :: Integration Tests :: Spring Boot ......... SUCCESS [03:13 min]
[2023-08-22T12:40:19.952Z] [INFO] ------------------------------------------------------------------------
[2023-08-22T12:40:19.952Z] [INFO] BUILD FAILURE
[2023-08-22T12:40:19.952Z] [INFO] ------------------------------------------------------------------------
[2023-08-22T12:40:19.952Z] [INFO] Total time: 43:02 min
[2023-08-22T12:40:19.952Z] [INFO] Finished at: 2023-08-22T08:40:18-04:00
[2023-08-22T12:40:19.952Z] [INFO] ------------------------------------------------------------------------
[2023-08-22T12:40:19.952Z] [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-22T12:40:19.952Z] 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-22T12:40:19.952Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
[2023-08-22T12:40:19.952Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-22T12:40:19.952Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-22T12:40:19.952Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-22T12:40:19.952Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-22T12:40:19.952Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-22T12:40:19.952Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-22T12:40:19.952Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-22T12:40:19.952Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-22T12:40:19.952Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-22T12:40:19.952Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-22T12:40:19.952Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-22T12:40:19.952Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-22T12:40:19.952Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-22T12:40:19.952Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-22T12:40:19.952Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-22T12:40:19.952Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-22T12:40:19.952Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-22T12:40:19.952Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-22T12:40:19.952Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-22T12:40:19.952Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-22T12:40:19.953Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to build quarkus application
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:170)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-22T12:40:19.953Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-22T12:40:19.953Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-22T12:40:19.953Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-22T12:40:19.953Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-22T12:40:19.953Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-22T12:40:19.953Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-22T12:40:19.953Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-22T12:40:19.953Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-22T12:40:19.953Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-22T12:40:19.953Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-22T12:40:19.953Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-22T12:40:19.953Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to bootstrap application in NORMAL mode
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:252)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-22T12:40:19.953Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-22T12:40:19.953Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-22T12:40:19.953Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-22T12:40:19.953Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-22T12:40:19.953Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-22T12:40:19.953Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-22T12:40:19.953Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-22T12:40:19.953Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-22T12:40:19.953Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-22T12:40:19.953Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-22T12:40:19.953Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-22T12:40:19.953Z] 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-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolveInternal (MavenArtifactResolver.java:170)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolve (MavenArtifactResolver.java:159)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visitLeave (BuildDependencyGraphVisitor.java:141)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:92)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:82)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver.resolve (ApplicationDependencyTreeResolver.java:210)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.buildAppModel (BootstrapAppModelResolver.java:321)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:286)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.resolveManagedModel (BootstrapAppModelResolver.java:165)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:249)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-22T12:40:19.953Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-22T12:40:19.953Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-22T12:40:19.953Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-22T12:40:19.953Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-22T12:40:19.953Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-22T12:40:19.953Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-22T12:40:19.953Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-22T12:40:19.953Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-22T12:40:19.953Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-22T12:40:19.953Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-22T12:40:19.953Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-22T12:40:19.953Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-22T12:40:19.953Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-22T12:40:19.953Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-22T12:40:19.953Z] 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-22T12:40:19.953Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:425)
[2023-08-22T12:40:19.953Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
[2023-08-22T12:40:19.953Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
[2023-08-22T12:40:19.953Z] at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolveInternal (MavenArtifactResolver.java:165)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolve (MavenArtifactResolver.java:159)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visitLeave (BuildDependencyGraphVisitor.java:141)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:92)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:82)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver.resolve (ApplicationDependencyTreeResolver.java:210)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.buildAppModel (BootstrapAppModelResolver.java:321)
[2023-08-22T12:40:19.953Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:286)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.resolveManagedModel (BootstrapAppModelResolver.java:165)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:249)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-22T12:40:19.954Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-22T12:40:19.954Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-22T12:40:19.954Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-22T12:40:19.954Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-22T12:40:19.954Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-22T12:40:19.954Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-22T12:40:19.954Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-22T12:40:19.954Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-22T12:40:19.954Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-22T12:40:19.954Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-22T12:40:19.954Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-22T12:40:19.954Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-22T12:40:19.954Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-22T12:40:19.954Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-22T12:40:19.954Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-22T12:40:19.954Z] 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-22T12:40:19.954Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:415)
[2023-08-22T12:40:19.954Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
[2023-08-22T12:40:19.954Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
[2023-08-22T12:40:19.954Z] at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolveInternal (MavenArtifactResolver.java:165)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolve (MavenArtifactResolver.java:159)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visitLeave (BuildDependencyGraphVisitor.java:141)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:92)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:82)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver.resolve (ApplicationDependencyTreeResolver.java:210)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.buildAppModel (BootstrapAppModelResolver.java:321)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:286)
[2023-08-22T12:40:19.954Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.resolveManagedModel (BootstrapAppModelResolver.java:165)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:249)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-22T12:40:19.954Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-22T12:40:19.954Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-22T12:40:19.954Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-22T12:40:19.954Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-22T12:40:19.954Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-22T12:40:19.954Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-22T12:40:19.954Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-22T12:40:19.954Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-22T12:40:19.954Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-22T12:40:19.954Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-22T12:40:19.954Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-22T12:40:19.954Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-22T12:40:19.954Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-22T12:40:19.954Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-22T12:40:19.954Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-22T12:40:19.954Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-22T12:40:19.954Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-22T12:40:19.954Z] [ERROR]
[2023-08-22T12:40:19.954Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2023-08-22T12:40:19.954Z] [ERROR]
[2023-08-22T12:40:19.954Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2023-08-22T12:40:19.954Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[2023-08-22T12:40:19.954Z] [ERROR]
[2023-08-22T12:40:19.954Z] [ERROR] After correcting the problems, you can resume the build with the command
[2023-08-22T12:40:19.954Z] [ERROR] mvn -rf :kogito-addons-quarkus-knative-serving-integration-tests
[2023-08-22T12:40:20.209Z] [INFO] kiegroup/kogito-runtimes failed. Won't execute remaining commands and projects
[2023-08-22T12:40:20.209Z] [INFO] Execution summary for kiegroup/kogito-runtimes
[2023-08-22T12:40:20.209Z] # [BEFORE] [kiegroup/kogito-runtimes] export INTEGRATION_BRANCH=
[2023-08-22T12:40:20.209Z] [INFO] OK [Executed in 0.174778 ms]
[2023-08-22T12:40:20.209Z]
[2023-08-22T12:40:20.209Z] # [BEFORE] [kiegroup/kogito-runtimes] bash -c "if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi"
[2023-08-22T12:40:20.209Z] [INFO] OK [Executed in 6.251026 ms]
[2023-08-22T12:40:20.209Z]
[2023-08-22T12:40:20.209Z] # [COMMANDS] [kiegroup/kogito-runtimes] export MVN_CMD=`bash -c "if [ '' = 'true' ]; then printf 'deploy '; else printf 'install'; fi"`
[2023-08-22T12:40:20.209Z] [INFO] OK [Executed in 5.947426 ms]
[2023-08-22T12:40:20.209Z]
[2023-08-22T12:40:20.209Z] # [COMMANDS] [kiegroup/kogito-runtimes] mvn clean install -Dfull -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config17982999939205143426tmp -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-22T12:40:20.209Z] [INFO] NOT OK [Executed in 2583953.912701 ms]
[2023-08-22T12:40:20.209Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[2023-08-22T12:40:20.209Z]
[2023-08-22T12:40:20.209Z] [INFO] [AFTER] Skipped kiegroup/kogito-runtimes
[2023-08-22T12:40:20.209Z]
[2023-08-22T12:40:20.209Z] # Uploading artifacts
[2023-08-22T12:40:20.209Z] [INFO] Will not upload any artifacts in CLI environment
[2023-08-22T12:40:20.209Z]
[2023-08-22T12:40:20.209Z] [ERROR] Failed to execute commands for kiegroup/kogito-runtimes
[2023-08-22T12:40:20.209Z] [ERROR] Failed to execute mvn clean install -Dfull -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config17982999939205143426tmp -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-22T12:40:20.209Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-08-22T12:40:20.291Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-08-22T12:40:20.700Z] + find . -type d -name node_modules -exec rm -rf '{}' ';'
[Pipeline] junit
[2023-08-22T12:40:20.971Z] Recording test results
[2023-08-22T12:40:23.668Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-08-22T12:40:23.687Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-08-22T12:40:25.204Z] + rm -rf console.log
[Pipeline] sh
[2023-08-22T12:40:25.497Z] + 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/1628/consoleText
[2023-08-22T12:40:25.497Z] + tail -n 300

@@ -25,6 +26,13 @@ public SimpleReliableObjectStore createSimpleReliableObjectStore(Storage<Long, S
return new SimpleSerializationReliableObjectStore(storage);
}

public SimpleReliableObjectStore createSimpleReliableObjectStore(Storage<Long, StoredObject> storage, PersistedSessionOption persistedSessionOption) {
switch (persistedSessionOption.getPersistenceObjectsStrategy()){
Copy link
Contributor

Choose a reason for hiding this comment

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

The whole point in using a switch statement here is having fast failure in case we add a new value in the enum and forget to manage it here. In essence I was thinking to something like the following, please let me know if it makes sense.

        switch (persistedSessionOption.getPersistenceObjectsStrategy()){
            case SIMPLE: return new SimpleSerializationReliableObjectStore(storage);
            case OBJECT_REFERENCES: return new SimpleSerializationReliableRefObjectStore(storage);
            default: throw new UnsupportedOperationException();
        }

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now I understand what you had in mind, yes, it make sense. Thanks.

@sonarcloud
Copy link

sonarcloud bot commented Aug 24, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

89.5% 89.5% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 24, 2023

(tests) - kogito-runtimes job #1636 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/5445 --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/1636/display/redirect

Test results:

  • PASSED: 3350
  • FAILED: 0

Those are the test failures: none

See console log:

Console Logs [2023-08-24T09:17:43.962Z] [INFO] Kogito :: Spring Boot :: Starter :: Rules .......... SUCCESS [ 0.050 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Spring Boot :: Starter :: Processes ...... SUCCESS [ 0.419 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Spring Boot :: Starter :: Predictions .... SUCCESS [ 0.060 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Spring Boot :: Starter ................... SUCCESS [ 0.077 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Jobs :: Management SprintBoot Addon SUCCESS [ 3.109 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: E-Mail :: Spring Boot Addon ... SUCCESS [ 0.332 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Task notification :: Spring Boot Addon SUCCESS [ 0.107 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Tracing :: Spring Boot ........ SUCCESS [ 4.132 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Rest Exception Handler:: Spring Boot ..... SUCCESS [ 1.957 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Process SVG :: Spring Boot Addon SUCCESS [ 5.832 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Process Management :: Spring Boot Addon SUCCESS [ 2.086 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Task Management :: Spring Boot Addon SUCCESS [ 0.151 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Spring Boot :: Kubernetes ..... SUCCESS [ 9.712 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Spring Boot :: Persistence :: Parent SUCCESS [ 0.021 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Persistence File System :: Springboot SUCCESS [ 0.173 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Persistence Infinispan :: Springboot SUCCESS [ 0.635 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Persistence JDBC :: Springboot SUCCESS [ 0.273 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Persistence MongoDB :: Springboot SUCCESS [ 0.140 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Add-Ons :: Persistence PostgreSQL :: Springboot SUCCESS [ 0.330 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Spring Boot :: Maven Archetype ........... SUCCESS [01:04 min]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Test Utilities :: Spring Boot ............ SUCCESS [ 4.252 s]
[2023-08-24T09:17:43.962Z] [INFO] Kogito :: Integration Tests :: Spring Boot ......... SUCCESS [03:34 min]
[2023-08-24T09:17:43.962Z] [INFO] ------------------------------------------------------------------------
[2023-08-24T09:17:43.962Z] [INFO] BUILD FAILURE
[2023-08-24T09:17:43.962Z] [INFO] ------------------------------------------------------------------------
[2023-08-24T09:17:43.962Z] [INFO] Total time: 47:44 min
[2023-08-24T09:17:43.962Z] [INFO] Finished at: 2023-08-24T05:17:42-04:00
[2023-08-24T09:17:43.962Z] [INFO] ------------------------------------------------------------------------
[2023-08-24T09:17:43.962Z] [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-24T09:17:43.962Z] 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-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-24T09:17:43.962Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-24T09:17:43.962Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-24T09:17:43.962Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-24T09:17:43.962Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-24T09:17:43.962Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-24T09:17:43.962Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-24T09:17:43.962Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-24T09:17:43.962Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-24T09:17:43.962Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-24T09:17:43.962Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-24T09:17:43.962Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-24T09:17:43.962Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-24T09:17:43.962Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-24T09:17:43.962Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-24T09:17:43.962Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to build quarkus application
[2023-08-24T09:17:43.962Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:170)
[2023-08-24T09:17:43.962Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-24T09:17:43.962Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-24T09:17:43.962Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-24T09:17:43.963Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-24T09:17:43.963Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-24T09:17:43.963Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-24T09:17:43.963Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-24T09:17:43.963Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-24T09:17:43.963Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-24T09:17:43.963Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-24T09:17:43.963Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-24T09:17:43.963Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-24T09:17:43.963Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-24T09:17:43.963Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to bootstrap application in NORMAL mode
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:252)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-24T09:17:43.963Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-24T09:17:43.963Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-24T09:17:43.963Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-24T09:17:43.963Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-24T09:17:43.963Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-24T09:17:43.963Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-24T09:17:43.963Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-24T09:17:43.963Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-24T09:17:43.963Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-24T09:17:43.963Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-24T09:17:43.963Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-24T09:17:43.963Z] 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-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolveInternal (MavenArtifactResolver.java:170)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolve (MavenArtifactResolver.java:159)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visitLeave (BuildDependencyGraphVisitor.java:141)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:92)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:82)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver.resolve (ApplicationDependencyTreeResolver.java:210)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.buildAppModel (BootstrapAppModelResolver.java:321)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:286)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.resolveManagedModel (BootstrapAppModelResolver.java:165)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:249)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-24T09:17:43.963Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-24T09:17:43.963Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-24T09:17:43.963Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-24T09:17:43.963Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-24T09:17:43.963Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-24T09:17:43.963Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-24T09:17:43.963Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-24T09:17:43.963Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-24T09:17:43.963Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-24T09:17:43.963Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-24T09:17:43.963Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-24T09:17:43.963Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-24T09:17:43.963Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-24T09:17:43.963Z] 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-24T09:17:43.963Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:425)
[2023-08-24T09:17:43.963Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
[2023-08-24T09:17:43.963Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
[2023-08-24T09:17:43.963Z] at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolveInternal (MavenArtifactResolver.java:165)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolve (MavenArtifactResolver.java:159)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visitLeave (BuildDependencyGraphVisitor.java:141)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:92)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:82)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver.resolve (ApplicationDependencyTreeResolver.java:210)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.buildAppModel (BootstrapAppModelResolver.java:321)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:286)
[2023-08-24T09:17:43.963Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.resolveManagedModel (BootstrapAppModelResolver.java:165)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:249)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-24T09:17:43.963Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-24T09:17:43.964Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-24T09:17:43.964Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-24T09:17:43.964Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-24T09:17:43.964Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-24T09:17:43.964Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-24T09:17:43.964Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-24T09:17:43.964Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-24T09:17:43.964Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-24T09:17:43.964Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-24T09:17:43.964Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-24T09:17:43.964Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-24T09:17:43.964Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-24T09:17:43.964Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-24T09:17:43.964Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-24T09:17:43.964Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-24T09:17:43.964Z] 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-24T09:17:43.964Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:415)
[2023-08-24T09:17:43.964Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
[2023-08-24T09:17:43.964Z] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
[2023-08-24T09:17:43.964Z] at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
[2023-08-24T09:17:43.964Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolveInternal (MavenArtifactResolver.java:165)
[2023-08-24T09:17:43.964Z] at io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver.resolve (MavenArtifactResolver.java:159)
[2023-08-24T09:17:43.964Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visitLeave (BuildDependencyGraphVisitor.java:141)
[2023-08-24T09:17:43.964Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:92)
[2023-08-24T09:17:43.964Z] at io.quarkus.bootstrap.resolver.maven.BuildDependencyGraphVisitor.visit (BuildDependencyGraphVisitor.java:82)
[2023-08-24T09:17:43.964Z] at io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver.resolve (ApplicationDependencyTreeResolver.java:210)
[2023-08-24T09:17:43.964Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.buildAppModel (BootstrapAppModelResolver.java:321)
[2023-08-24T09:17:43.964Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:286)
[2023-08-24T09:17:43.964Z] at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.resolveManagedModel (BootstrapAppModelResolver.java:165)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.doBootstrap (QuarkusBootstrapProvider.java:249)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.QuarkusBootstrapProvider$QuarkusMavenAppBootstrap.bootstrapApplication (QuarkusBootstrapProvider.java:300)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.QuarkusBootstrapProvider.bootstrapApplication (QuarkusBootstrapProvider.java:103)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:272)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.QuarkusBootstrapMojo.bootstrapApplication (QuarkusBootstrapMojo.java:268)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:131)
[2023-08-24T09:17:43.964Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-08-24T09:17:43.964Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-08-24T09:17:43.964Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-08-24T09:17:43.964Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-08-24T09:17:43.964Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-08-24T09:17:43.964Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-08-24T09:17:43.964Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-08-24T09:17:43.964Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-08-24T09:17:43.964Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-08-24T09:17:43.964Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-08-24T09:17:43.964Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-08-24T09:17:43.964Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-08-24T09:17:43.964Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-08-24T09:17:43.964Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-08-24T09:17:43.964Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-08-24T09:17:43.964Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-08-24T09:17:43.964Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-08-24T09:17:43.964Z] [ERROR]
[2023-08-24T09:17:43.964Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2023-08-24T09:17:43.964Z] [ERROR]
[2023-08-24T09:17:43.964Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2023-08-24T09:17:43.964Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[2023-08-24T09:17:43.964Z] [ERROR]
[2023-08-24T09:17:43.964Z] [ERROR] After correcting the problems, you can resume the build with the command
[2023-08-24T09:17:43.964Z] [ERROR] mvn -rf :kogito-addons-quarkus-knative-serving-integration-tests
[2023-08-24T09:17:44.219Z] [INFO] kiegroup/kogito-runtimes failed. Won't execute remaining commands and projects
[2023-08-24T09:17:44.219Z] [INFO] Execution summary for kiegroup/kogito-runtimes
[2023-08-24T09:17:44.219Z] # [BEFORE] [kiegroup/kogito-runtimes] export INTEGRATION_BRANCH=
[2023-08-24T09:17:44.219Z] [INFO] OK [Executed in 0.213651 ms]
[2023-08-24T09:17:44.219Z]
[2023-08-24T09:17:44.219Z] # [BEFORE] [kiegroup/kogito-runtimes] bash -c "if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi"
[2023-08-24T09:17:44.219Z] [INFO] OK [Executed in 7.702919 ms]
[2023-08-24T09:17:44.219Z]
[2023-08-24T09:17:44.219Z] # [COMMANDS] [kiegroup/kogito-runtimes] export MVN_CMD=`bash -c "if [ '' = 'true' ]; then printf 'deploy '; else printf 'install'; fi"`
[2023-08-24T09:17:44.219Z] [INFO] OK [Executed in 7.145653 ms]
[2023-08-24T09:17:44.219Z]
[2023-08-24T09:17:44.219Z] # [COMMANDS] [kiegroup/kogito-runtimes] mvn clean install -Dfull -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config9305660878868645832tmp -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-24T09:17:44.219Z] [INFO] NOT OK [Executed in 2865678.612078 ms]
[2023-08-24T09:17:44.219Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[2023-08-24T09:17:44.219Z]
[2023-08-24T09:17:44.219Z] [INFO] [AFTER] Skipped kiegroup/kogito-runtimes
[2023-08-24T09:17:44.219Z]
[2023-08-24T09:17:44.219Z] # Uploading artifacts
[2023-08-24T09:17:44.219Z] [INFO] Will not upload any artifacts in CLI environment
[2023-08-24T09:17:44.219Z]
[2023-08-24T09:17:44.219Z] [ERROR] Failed to execute commands for kiegroup/kogito-runtimes
[2023-08-24T09:17:44.219Z] [ERROR] Failed to execute mvn clean install -Dfull -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config9305660878868645832tmp -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-24T09:17:44.219Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-08-24T09:17:44.358Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-08-24T09:17:44.919Z] + find . -type d -name node_modules -exec rm -rf '{}' ';'
[Pipeline] junit
[2023-08-24T09:17:45.193Z] Recording test results
[2023-08-24T09:17:47.995Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-08-24T09:17:48.016Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-08-24T09:17:49.637Z] + rm -rf console.log
[Pipeline] sh
[2023-08-24T09:17:49.938Z] + 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/1636/consoleText
[2023-08-24T09:17:49.938Z] + tail -n 300

@mariofusco mariofusco changed the title D7512 [DROOLS-7512] opt-in object store with references for reliable session Aug 25, 2023
@mariofusco mariofusco merged commit 3fd51b3 into apache:main Aug 25, 2023
9 of 12 checks passed
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