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

[KOGITO-7513] - Replace Kogito-examples group-id from 'org.kie.kogito… #1778

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

spolti
Copy link
Member

@spolti spolti commented Aug 30, 2023

….example' to 'org.acme'
See: https://issues.redhat.com/browse/KOGITO-7513

  • This commit addresses the renaming in the kogito-quarkus-examples

Many thanks for submitting your Pull Request ❤️!

Please make sure that your PR meets the following requirements:

WARNING! Please make sure you are opening your PR against main branch!

  • You have read the contributors guide
  • Pull Request title is properly formatted: KOGITO-XYZ Subject
  • Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
  • Pull Request contains link to the JIRA issue
  • Pull Request contains link to any dependent or related Pull Request
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket
How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.

build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:
  • for pull request checks
    Please add comment: Jenkins retest this

  • for a specific pull request check
    Please add comment: Jenkins (re)run [kogito-examples] tests

  • for quarkus branch checks
    Run checks against Quarkus current used branch
    Please add comment: Jenkins run quarkus-branch

  • for a quarkus branch specific check
    Run checks against Quarkus current used branch
    Please add comment: Jenkins (re)run [kogito-examples] quarkus-branch

  • for quarkus main checks
    Run checks against Quarkus main branch
    Please add comment: Jenkins run quarkus-main

  • for a specific quarkus main check
    Run checks against Quarkus main branch
    Please add comment: Jenkins (re)run [kogito-examples] quarkus-main

  • for quarkus lts checks
    Run checks against Quarkus lts branch
    Please add comment: Jenkins run quarkus-lts

  • for a specific quarkus lts check
    Run checks against Quarkus lts branch
    Please add comment: Jenkins (re)run [kogito-examples] quarkus-lts

  • for native checks
    Run native checks
    Please add comment: Jenkins run native

  • for a specific native check
    Run native checks
    Please add comment: Jenkins (re)run [kogito-examples] native

  • for native lts checks
    Run native checks against quarkus lts branch
    Please add comment: Jenkins run native-lts

  • for a specific native lts check
    Run native checks against quarkus lts branch
    Please add comment: Jenkins (re)run [kogito-examples] native-lts

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.

If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

@spolti spolti force-pushed the KOGITO-7513 branch 3 times, most recently from 0e3a1ba to 7cb063e Compare September 1, 2023 02:27
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@spolti spolti marked this pull request as draft September 1, 2023 02:28
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@cristianonicolai
Copy link
Contributor

Jenkins rerun kogito-springboot-examples tests

@cristianonicolai
Copy link
Contributor

Jenkins rerun kogito-quarkus-examples tests

@spolti
Copy link
Member Author

spolti commented Sep 1, 2023

@cristianonicolai there are only the tests failing now, same on quarkus and springboot:

Local Docker Compose exited abnormally with code 18 whilst running command: --compatibility up -d kafka mongodb connect sidecar kogito

if we remove this flag, then the containers are not started.
Will keep trying to understand it.

@spolti spolti marked this pull request as ready for review September 1, 2023 15:02
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@apache apache deleted a comment from kie-ci3 Sep 1, 2023
@spolti spolti force-pushed the KOGITO-7513 branch 2 times, most recently from a920144 to 0bd2c42 Compare September 14, 2023 12:37
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@spolti spolti force-pushed the KOGITO-7513 branch 2 times, most recently from 8c3b1bd to 9f4e6c8 Compare September 14, 2023 16:10
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@apache apache deleted a comment from kie-ci3 Sep 14, 2023
@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 14, 2023

(tests) - kogito-springboot-examples job #421 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/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-examples/pull/1778 --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/kogito/job/main/job/pullrequest/job/kogito-examples.tests.kogito-springboot-examples/421/display/redirect

Test results:

  • PASSED: 64
  • FAILED: 0

Those are the test failures: none

See console log:

Console Logs [2023-09-14T17:11:03.149Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-09-14T17:11:03.149Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-09-14T17:11:03.149Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-09-14T17:11:03.149Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-09-14T17:11:03.149Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-09-14T17:11:03.149Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-09-14T17:11:03.149Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-09-14T17:11:03.149Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-09-14T17:11:03.149Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-09-14T17:11:03.149Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-09-14T17:11:03.149Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-09-14T17:11:03.149Z] Caused by: org.apache.maven.plugin.MojoExecutionException: 429 Too Many Requests
[2023-09-14T17:11:03.149Z] GET https://registry-1.docker.io/v2/library/eclipse-temurin/manifests/8-jre
[2023-09-14T17:11:03.149Z] {
[2023-09-14T17:11:03.149Z] "errors": [
[2023-09-14T17:11:03.149Z] {
[2023-09-14T17:11:03.149Z] "code": "TOOMANYREQUESTS",
[2023-09-14T17:11:03.149Z] "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
[2023-09-14T17:11:03.149Z] }
[2023-09-14T17:11:03.149Z] ]
[2023-09-14T17:11:03.149Z] }
[2023-09-14T17:11:03.149Z]
[2023-09-14T17:11:03.149Z] at com.google.cloud.tools.jib.maven.BuildDockerMojo.execute (BuildDockerMojo.java:167)
[2023-09-14T17:11:03.149Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-09-14T17:11:03.149Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-09-14T17:11:03.149Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-09-14T17:11:03.149Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-09-14T17:11:03.149Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-09-14T17:11:03.149Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-09-14T17:11:03.149Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-09-14T17:11:03.149Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-09-14T17:11:03.149Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-09-14T17:11:03.149Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-09-14T17:11:03.149Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-09-14T17:11:03.149Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-09-14T17:11:03.149Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-09-14T17:11:03.149Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-09-14T17:11:03.149Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-09-14T17:11:03.149Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-09-14T17:11:03.149Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-09-14T17:11:03.149Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-09-14T17:11:03.149Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-09-14T17:11:03.149Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-09-14T17:11:03.149Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-09-14T17:11:03.149Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-09-14T17:11:03.149Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-09-14T17:11:03.149Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-09-14T17:11:03.149Z] Caused by: com.google.cloud.tools.jib.http.ResponseException: 429 Too Many Requests
[2023-09-14T17:11:03.149Z] GET https://registry-1.docker.io/v2/library/eclipse-temurin/manifests/8-jre
[2023-09-14T17:11:03.149Z] {
[2023-09-14T17:11:03.149Z] "errors": [
[2023-09-14T17:11:03.149Z] {
[2023-09-14T17:11:03.149Z] "code": "TOOMANYREQUESTS",
[2023-09-14T17:11:03.149Z] "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
[2023-09-14T17:11:03.149Z] }
[2023-09-14T17:11:03.149Z] ]
[2023-09-14T17:11:03.149Z] }
[2023-09-14T17:11:03.149Z]
[2023-09-14T17:11:03.149Z] at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:355)
[2023-09-14T17:11:03.149Z] at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:266)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:138)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:114)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint (RegistryClient.java:623)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest (RegistryClient.java:434)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest (RegistryClient.java:439)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.pullBaseImages (PullBaseImageStep.java:294)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call (PullBaseImageStep.java:181)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call (PullBaseImageStep.java:71)
[2023-09-14T17:11:03.150Z] at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly (TrustedListenableFutureTask.java:131)
[2023-09-14T17:11:03.150Z] at com.google.common.util.concurrent.InterruptibleTask.run (InterruptibleTask.java:74)
[2023-09-14T17:11:03.150Z] at com.google.common.util.concurrent.TrustedListenableFutureTask.run (TrustedListenableFutureTask.java:82)
[2023-09-14T17:11:03.150Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
[2023-09-14T17:11:03.150Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
[2023-09-14T17:11:03.150Z] at java.lang.Thread.run (Thread.java:829)
[2023-09-14T17:11:03.150Z] Caused by: com.google.api.client.http.HttpResponseException: 429 Too Many Requests
[2023-09-14T17:11:03.150Z] GET https://registry-1.docker.io/v2/library/eclipse-temurin/manifests/8-jre
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "errors": [
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "code": "TOOMANYREQUESTS",
[2023-09-14T17:11:03.150Z] "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z] ]
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z]
[2023-09-14T17:11:03.150Z] at com.google.api.client.http.HttpResponseException$Builder.build (HttpResponseException.java:293)
[2023-09-14T17:11:03.150Z] at com.google.api.client.http.HttpRequest.execute (HttpRequest.java:1118)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:349)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:266)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:138)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:114)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint (RegistryClient.java:623)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest (RegistryClient.java:434)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest (RegistryClient.java:439)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.pullBaseImages (PullBaseImageStep.java:294)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call (PullBaseImageStep.java:181)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call (PullBaseImageStep.java:71)
[2023-09-14T17:11:03.150Z] at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly (TrustedListenableFutureTask.java:131)
[2023-09-14T17:11:03.150Z] at com.google.common.util.concurrent.InterruptibleTask.run (InterruptibleTask.java:74)
[2023-09-14T17:11:03.150Z] at com.google.common.util.concurrent.TrustedListenableFutureTask.run (TrustedListenableFutureTask.java:82)
[2023-09-14T17:11:03.150Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
[2023-09-14T17:11:03.150Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
[2023-09-14T17:11:03.150Z] at java.lang.Thread.run (Thread.java:829)
[2023-09-14T17:11:03.150Z] [ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild (default) on project process-outbox-mongodb-springboot: 429 Too Many Requests
[2023-09-14T17:11:03.150Z] [ERROR] GET https://registry-1.docker.io/v2/library/eclipse-temurin/manifests/8-jre
[2023-09-14T17:11:03.150Z] [ERROR] {
[2023-09-14T17:11:03.150Z] [ERROR] "errors": [
[2023-09-14T17:11:03.150Z] [ERROR] {
[2023-09-14T17:11:03.150Z] [ERROR] "code": "TOOMANYREQUESTS",
[2023-09-14T17:11:03.150Z] [ERROR] "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
[2023-09-14T17:11:03.150Z] [ERROR] }
[2023-09-14T17:11:03.150Z] [ERROR] ]
[2023-09-14T17:11:03.150Z] [ERROR] }
[2023-09-14T17:11:03.150Z] [ERROR] -> [Help 1]
[2023-09-14T17:11:03.150Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild (default) on project process-outbox-mongodb-springboot: 429 Too Many Requests
[2023-09-14T17:11:03.150Z] GET https://registry-1.docker.io/v2/library/eclipse-temurin/manifests/8-jre
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "errors": [
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "code": "TOOMANYREQUESTS",
[2023-09-14T17:11:03.150Z] "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z] ]
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z]
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-09-14T17:11:03.150Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-09-14T17:11:03.150Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-09-14T17:11:03.150Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-09-14T17:11:03.150Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-09-14T17:11:03.150Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-09-14T17:11:03.150Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-09-14T17:11:03.150Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-09-14T17:11:03.150Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-09-14T17:11:03.150Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-09-14T17:11:03.150Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-09-14T17:11:03.150Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-09-14T17:11:03.150Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-09-14T17:11:03.150Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-09-14T17:11:03.150Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-09-14T17:11:03.150Z] Caused by: org.apache.maven.plugin.MojoExecutionException: 429 Too Many Requests
[2023-09-14T17:11:03.150Z] GET https://registry-1.docker.io/v2/library/eclipse-temurin/manifests/8-jre
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "errors": [
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "code": "TOOMANYREQUESTS",
[2023-09-14T17:11:03.150Z] "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z] ]
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z]
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.maven.BuildDockerMojo.execute (BuildDockerMojo.java:167)
[2023-09-14T17:11:03.150Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2023-09-14T17:11:03.150Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2023-09-14T17:11:03.150Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
[2023-09-14T17:11:03.150Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2023-09-14T17:11:03.150Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2023-09-14T17:11:03.150Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2023-09-14T17:11:03.150Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2023-09-14T17:11:03.150Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2023-09-14T17:11:03.150Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-09-14T17:11:03.150Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-09-14T17:11:03.150Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-09-14T17:11:03.150Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-09-14T17:11:03.150Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2023-09-14T17:11:03.150Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2023-09-14T17:11:03.150Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-09-14T17:11:03.150Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-09-14T17:11:03.150Z] Caused by: com.google.cloud.tools.jib.http.ResponseException: 429 Too Many Requests
[2023-09-14T17:11:03.150Z] GET https://registry-1.docker.io/v2/library/eclipse-temurin/manifests/8-jre
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "errors": [
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "code": "TOOMANYREQUESTS",
[2023-09-14T17:11:03.150Z] "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z] ]
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z]
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:355)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:266)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:138)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:114)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint (RegistryClient.java:623)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest (RegistryClient.java:434)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest (RegistryClient.java:439)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.pullBaseImages (PullBaseImageStep.java:294)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call (PullBaseImageStep.java:181)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call (PullBaseImageStep.java:71)
[2023-09-14T17:11:03.150Z] at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly (TrustedListenableFutureTask.java:131)
[2023-09-14T17:11:03.150Z] at com.google.common.util.concurrent.InterruptibleTask.run (InterruptibleTask.java:74)
[2023-09-14T17:11:03.150Z] at com.google.common.util.concurrent.TrustedListenableFutureTask.run (TrustedListenableFutureTask.java:82)
[2023-09-14T17:11:03.150Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
[2023-09-14T17:11:03.150Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
[2023-09-14T17:11:03.150Z] at java.lang.Thread.run (Thread.java:829)
[2023-09-14T17:11:03.150Z] Caused by: com.google.api.client.http.HttpResponseException: 429 Too Many Requests
[2023-09-14T17:11:03.150Z] GET https://registry-1.docker.io/v2/library/eclipse-temurin/manifests/8-jre
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "errors": [
[2023-09-14T17:11:03.150Z] {
[2023-09-14T17:11:03.150Z] "code": "TOOMANYREQUESTS",
[2023-09-14T17:11:03.150Z] "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z] ]
[2023-09-14T17:11:03.150Z] }
[2023-09-14T17:11:03.150Z]
[2023-09-14T17:11:03.150Z] at com.google.api.client.http.HttpResponseException$Builder.build (HttpResponseException.java:293)
[2023-09-14T17:11:03.150Z] at com.google.api.client.http.HttpRequest.execute (HttpRequest.java:1118)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:349)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:266)
[2023-09-14T17:11:03.150Z] at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:138)
[2023-09-14T17:11:03.151Z] at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:114)
[2023-09-14T17:11:03.151Z] at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint (RegistryClient.java:623)
[2023-09-14T17:11:03.151Z] at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest (RegistryClient.java:434)
[2023-09-14T17:11:03.151Z] at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest (RegistryClient.java:439)
[2023-09-14T17:11:03.151Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.pullBaseImages (PullBaseImageStep.java:294)
[2023-09-14T17:11:03.151Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call (PullBaseImageStep.java:181)
[2023-09-14T17:11:03.151Z] at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call (PullBaseImageStep.java:71)
[2023-09-14T17:11:03.151Z] at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly (TrustedListenableFutureTask.java:131)
[2023-09-14T17:11:03.151Z] at com.google.common.util.concurrent.InterruptibleTask.run (InterruptibleTask.java:74)
[2023-09-14T17:11:03.151Z] at com.google.common.util.concurrent.TrustedListenableFutureTask.run (TrustedListenableFutureTask.java:82)
[2023-09-14T17:11:03.151Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
[2023-09-14T17:11:03.151Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
[2023-09-14T17:11:03.151Z] at java.lang.Thread.run (Thread.java:829)
[2023-09-14T17:11:03.151Z] [ERROR]
[2023-09-14T17:11:03.151Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2023-09-14T17:11:03.151Z] [ERROR]
[2023-09-14T17:11:03.151Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2023-09-14T17:11:03.151Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[2023-09-14T17:11:03.151Z] [ERROR]
[2023-09-14T17:11:03.151Z] [ERROR] After correcting the problems, you can resume the build with the command
[2023-09-14T17:11:03.151Z] [ERROR] mvn -rf :dmn-drools-springboot-metrics
[2023-09-14T17:11:03.151Z] [INFO] kiegroup/kogito-examples failed. Won't execute remaining commands and projects
[2023-09-14T17:11:03.151Z] [INFO] Execution summary for kiegroup/kogito-examples
[2023-09-14T17:11:03.151Z] # [BEFORE] [kiegroup/kogito-examples] export INTEGRATION_BRANCH=
[2023-09-14T17:11:03.151Z] [INFO] OK [Executed in 0.057558 ms]
[2023-09-14T17:11:03.151Z]
[2023-09-14T17:11:03.151Z] # [BEFORE] [kiegroup/kogito-examples] bash -c "if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi"
[2023-09-14T17:11:03.151Z] [INFO] OK [Executed in 6.543735 ms]
[2023-09-14T17:11:03.151Z]
[2023-09-14T17:11:03.151Z] # [COMMANDS] [kiegroup/kogito-examples] export MVN_CMD=`bash -c "if [ '' = 'true' ]; then printf 'deploy '; else printf 'install'; fi"`
[2023-09-14T17:11:03.151Z] [INFO] OK [Executed in 5.975037 ms]
[2023-09-14T17:11:03.151Z]
[2023-09-14T17:11:03.151Z] # [COMMANDS] [kiegroup/kogito-examples] mvn dependency:tree -pl :kogito-examples clean install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-examples.tests.kogito-springboot-examples@tmp/config7955294305803388601tmp -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 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-09-14T17:11:03.151Z] [INFO] OK [Executed in 6985.047187 ms]
[2023-09-14T17:11:03.151Z]
[2023-09-14T17:11:03.151Z] # [COMMANDS] [kiegroup/kogito-examples] mvn dependency:tree -f kogito-springboot-examples/pom.xml clean install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-examples.tests.kogito-springboot-examples@tmp/config7955294305803388601tmp -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 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-09-14T17:11:03.151Z] [INFO] NOT OK [Executed in 369042.972285 ms]
[2023-09-14T17:11:03.151Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[2023-09-14T17:11:03.151Z]
[2023-09-14T17:11:03.151Z] [INFO] [AFTER] No commands were found for kiegroup/kogito-examples
[2023-09-14T17:11:03.151Z]
[2023-09-14T17:11:03.151Z] # Uploading artifacts
[2023-09-14T17:11:03.151Z] [INFO] Will not upload any artifacts in CLI environment
[2023-09-14T17:11:03.151Z]
[2023-09-14T17:11:03.151Z] [ERROR] Failed to execute commands for kiegroup/kogito-examples
[2023-09-14T17:11:03.151Z] [ERROR] Failed to execute mvn dependency:tree -f kogito-springboot-examples/pom.xml clean install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-examples.tests.kogito-springboot-examples@tmp/config7955294305803388601tmp -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 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B :
[2023-09-14T17:11:03.151Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-09-14T17:11:03.261Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-09-14T17:11:03.719Z] + find . -type d -name node_modules -exec rm -rf '{}' ';'
[Pipeline] junit
[2023-09-14T17:11:03.988Z] Recording test results
[2023-09-14T17:11:05.502Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-09-14T17:11:05.522Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-09-14T17:11:07.337Z] + rm -rf console.log
[Pipeline] sh
[2023-09-14T17:11:07.637Z] + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-examples.tests.kogito-springboot-examples/421/consoleText
[2023-09-14T17:11:07.638Z] + tail -n 300

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 14, 2023

(tests) - serverless-workflow-examples job #416 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-examples/pull/1778 --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/kogito/job/main/job/pullrequest/job/kogito-examples.tests.serverless-workflow-examples/416/display/redirect

Test results:

  • PASSED: 81
  • FAILED: 1

Those are the test failures:

org.acme.examples.OpenVinoRestIT.testOpenvino 1 expectation failed.
JSON path workflowdata.group doesn't match.
Expected: a string containing "flat-coated retriever"
Actual: <[]>

Signed-off-by: spolti <fspolti@redhat.com>
@spolti
Copy link
Member Author

spolti commented Sep 26, 2023

Jenkins retest this

@spolti
Copy link
Member Author

spolti commented Nov 14, 2023

@ricardozanini @radtriste do we still have plans to make this change?

@radtriste
Copy link
Contributor

I think it should be done at some point and have each example "independent"
That way we would not have to deploy the parent's poms for images testing
cc @jstastny-cz

@domhanak
Copy link

domhanak commented Mar 1, 2024

@ricardozanini we should revisit this I believe

CC @gmunozfe this influences how we are testing images so keep this PR in mind please

@domhanak domhanak added the stale This label is for items that are stale with no activity for more than a month label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This label is for items that are stale with no activity for more than a month
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants