GoogleContainerTools / jib

🏗 Build container images for your Java applications.
Apache License 2.0
13.65k stars 1.44k forks source link

Unauthorized for registry-1.docker.io after first push #3889

Closed IgorZaporozhtsev closed 1 year ago

IgorZaporozhtsev commented 1 year ago

Environment: macOS Monterey 12.3 MacBook Pro 16 M1

if I delete all images from dockerhub and push then it works only first time, second, third so on push with Unauthorized I use mvn -X clean package -P build-docker-image

if I remove fraud module then error appears in next eureka-server module

Screenshot 2022-12-09 at 19 44 58 Screenshot 2022-12-08 at 21 10 32

Main POM.xml

https://github.com/IgorZaporozhtsev/zeeservices/blob/master/pom.xml

[INFO] zeeservices ........................................ SUCCESS [ 0.001 s] [INFO] amqp ............................................... SUCCESS [ 1.019 s] [INFO] clients ............................................ SUCCESS [ 0.248 s] [INFO] customer ........................................... SUCCESS [ 15.223 s] [INFO] fraud .............................................. FAILURE [ 10.057 s] [INFO] eureka-server ...................................... SKIPPED [INFO] notification ....................................... SKIPPED [INFO] api-gateway ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------

Expected behavior:

All images will be pushed and updated latest

Steps to reproduce:

push twice to docker Hub

mvn clean package -P build-docker-image

jib-maven-plugin Configuration:

<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (maybe moved to parent pom) -->
            <plugins>

                <plugin>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-maven-plugin</artifactId>
                    <version>${spring.boot.maven.plugin.version}</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>repackage</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>

                <plugin>
                    <groupId>com.google.cloud.tools</groupId>
                    <artifactId>jib-maven-plugin</artifactId>
                    <version>3.3.1</version>
                    <configuration>
                        <from>
                            <image>eclipse-temurin:17</image>
                            <platforms>
                                <platform>
                                    <architecture>arm64</architecture>
                                    <os>linux</os>
                                </platform>
                                <platform>
                                    <architecture>amd64</architecture>
                                    <os>linux</os>
                                </platform>
                            </platforms>
                        </from>
                        <to>
                            <tags>
                                <tag>latest</tag>
                            </tags>
                        </to>
                    </configuration>
                    <executions>
                        <execution>
                            <phase>package</phase>
                            <goals>
                                <goal>build</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>

            </plugins>
        </pluginManagement>

Log output:

[INFO] Executing tasks:
[INFO] [============                  ] 41.7% complete
[INFO] > checking base image layer sha256:10175de2f0c4...
[INFO] > checking base image layer sha256:f7f2e5e37e70...
[INFO] > checking base image layer sha256:2c8f048f32cc...
[INFO] > checking base image layer sha256:a3effab4d2ab...
[INFO] > checking base image layer sha256:6e3729cf69e0...
[INFO] > checking base image layer sha256:4d8d923227d8...
[INFO] > checking base image layer sha256:eda8241fd25f...
[INFO] > checking base image layer sha256:35dccabde73d...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] > launching layer pushers
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for zeeservices 1.0-SNAPSHOT:
[INFO]
[INFO] zeeservices ........................................ SUCCESS [  0.054 s]
[INFO] amqp ............................................... SUCCESS [  1.096 s]
[INFO] clients ............................................ SUCCESS [  0.263 s]
[INFO] customer ........................................... SUCCESS [ 15.143 s]
[INFO] fraud .............................................. FAILURE [ 10.812 s]
[INFO] eureka-server ...................................... SKIPPED
[INFO] notification ....................................... SKIPPED
[INFO] api-gateway ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  27.519 s
[INFO] Finished at: 2022-12-09T19:36:54+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:build (default) on project fraud: Build image failed, perhaps you should make sure your credentials for 'registry-1.docker.io/booratina/fraud' are set up correctly. See https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#what-should-i-do-when-the-registry-responds-with-unauthorized for help: Unauthorized for registry-1.docker.io/booratina/fraud: 401 Unauthorized
[ERROR] HEAD https://registry-1.docker.io/v2/booratina/fraud/blobs/sha256:9c6d21522d145d7d24f42d96ad9530f8c051affa1e303695c786a70e623aad47
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:build (default) on project fraud: Build image failed, perhaps you should make sure your credentials for 'registry-1.docker.io/booratina/fraud' are set up correctly. See https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#what-should-i-do-when-the-registry-responds-with-unauthorized for help
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104)
    at java.lang.reflect.Method.invoke (Method.java:578)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Build image failed, perhaps you should make sure your credentials for 'registry-1.docker.io/booratina/fraud' are set up correctly. See https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#what-should-i-do-when-the-registry-responds-with-unauthorized for help
    at com.google.cloud.tools.jib.maven.BuildImageMojo.execute (BuildImageMojo.java:181)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104)
    at java.lang.reflect.Method.invoke (Method.java:578)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: com.google.cloud.tools.jib.api.RegistryUnauthorizedException: Unauthorized for registry-1.docker.io/booratina/fraud
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:163)
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:114)
    at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint (RegistryClient.java:623)
    at com.google.cloud.tools.jib.registry.RegistryClient.checkBlob (RegistryClient.java:474)
    at com.google.cloud.tools.jib.builder.steps.PushBlobStep.call (PushBlobStep.java:74)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:92)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:33)
    at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly (TrustedListenableFutureTask.java:131)
    at com.google.common.util.concurrent.InterruptibleTask.run (InterruptibleTask.java:74)
    at com.google.common.util.concurrent.TrustedListenableFutureTask.run (TrustedListenableFutureTask.java:82)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1589)
Caused by: com.google.cloud.tools.jib.http.ResponseException: 401 Unauthorized
HEAD https://registry-1.docker.io/v2/booratina/fraud/blobs/sha256:9c6d21522d145d7d24f42d96ad9530f8c051affa1e303695c786a70e623aad47
    at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:355)
    at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:266)
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:138)
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:114)
    at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint (RegistryClient.java:623)
    at com.google.cloud.tools.jib.registry.RegistryClient.checkBlob (RegistryClient.java:474)
    at com.google.cloud.tools.jib.builder.steps.PushBlobStep.call (PushBlobStep.java:74)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:92)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:33)
    at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly (TrustedListenableFutureTask.java:131)
    at com.google.common.util.concurrent.InterruptibleTask.run (InterruptibleTask.java:74)
    at com.google.common.util.concurrent.TrustedListenableFutureTask.run (TrustedListenableFutureTask.java:82)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1589)
Caused by: com.google.api.client.http.HttpResponseException: 401 Unauthorized
HEAD https://registry-1.docker.io/v2/booratina/fraud/blobs/sha256:9c6d21522d145d7d24f42d96ad9530f8c051affa1e303695c786a70e623aad47
    at com.google.api.client.http.HttpResponseException$Builder.build (HttpResponseException.java:293)
    at com.google.api.client.http.HttpRequest.execute (HttpRequest.java:1118)
    at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:349)
    at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:266)
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:138)
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:114)
    at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint (RegistryClient.java:623)
    at com.google.cloud.tools.jib.registry.RegistryClient.checkBlob (RegistryClient.java:474)
    at com.google.cloud.tools.jib.builder.steps.PushBlobStep.call (PushBlobStep.java:74)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:92)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:33)
    at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly (TrustedListenableFutureTask.java:131)
    at com.google.common.util.concurrent.InterruptibleTask.run (InterruptibleTask.java:74)
    at com.google.common.util.concurrent.TrustedListenableFutureTask.run (TrustedListenableFutureTask.java:82)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1589)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :fraud
mpeddada1 commented 1 year ago

@IgorZaporozhtsev Thanks for the detailed explanation! You may find this section in the FAQ to be helpful. Oftentimes, the UNAUTHORIZED issue has been observed to be due to credentials misconfiguration and this doc details troubleshooting tips that can help us narrow down the problem.

IgorZaporozhtsev commented 1 year ago

I played a lot with $HOME/.docker/config.json according to StackOverflow recommendation and opened issues in github

strat1971 commented 1 year ago

I am getting a similar problem: I am migrating a multi-component application from java 11 to 17. I am using a eclipse-temurin:17-jre-jammy base image and building some components as java 11 and the ones I have migrated as java 17. With jib 3.2.1, I can pull the eclipse-temurin:11-jre-focal for the java 11 components no problem, but trying to pull eclipse-temurin:17-jre-jammy I get this:

`Getting manifest for base image eclipse-temurin:17-jre-jammy@sha256:dd33f247dd7179c3504095569a221d6bfdce31e5f6f8c2b8da6852353e3631b1... Building dependencies layer... Building project dependencies layer... Building resources layer... Building classes layer... Building extra files layer... Building jvm arg files layer... Skipping push; BLOB already exists on target registry : digest: sha256:e43111e9140822ffb9001ba04c98de6e9a0d32062410581fccf99b638e637596, size: 38856 Skipping push; BLOB already exists on target registry : digest: sha256:bf5ce8364e0cb126efd123fbd4e9b3f65a8460f160d4b9e92b33c85086e17201, size: 2611 Skipping push; BLOB already exists on target registry : digest: sha256:ab5c322f7ad5f3e5a61648a2bfe97b3dcc3ad443901ab8ed0ab54faea9a013a7, size: 12674173 Skipping push; BLOB already exists on target registry : digest: sha256:b4f20a0946925451105c77864a8af39344cac629dd13f47e350b84ec2f144126, size: 141399848

Task :cumulative-data-sync:jib FAILED :cumulative-data-sync:jib (Thread[included builds,5,main]) completed. Took 12.014 secs. FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':cumulative-data-sync:jib'. com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: com.google.cloud.tools.jib.api.RegistryUnauthorizedException: Unauthorized for registry-1.docker.io/library/eclipse-temurin`

I tried upgrading to 3.3.1 but gradle could not find it - that's another issue: Could not find gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:3.3.1

I have checked for the contents of the files: $XDG_RUNTIME_DIR/containers/auth.json, $XDG_CONFIG_HOME/containers/auth.json or $HOME/.config/containers/auth.json $DOCKER_CONFIG/config.json $HOME/.docker/config.json But none of them exist in the running job.

So it seems that somewhere we have credentials that work for one image and not the other.

If I configure jib 3.2.0 I get a similar result:

`Getting manifest for base image eclipse-temurin:17-jre-jammy@sha256:dd33f247dd7179c3504095569a221d6bfdce31e5f6f8c2b8da6852353e3631b1... Building dependencies layer... Building project dependencies layer... Building resources layer... Building classes layer... Building jvm arg files layer... Building extra files layer... Skipping push; BLOB already exists on target registry : digest: sha256:12ab9d877a18b69d70620a17081d7b289cc333174fbfb0b92fb263d703ff6e8b, size: 3045 The base image requires auth. Trying again for eclipse-temurin:17-jre-jammy@sha256:dd33f247dd7179c3504095569a221d6bfdce31e5f6f8c2b8da6852353e3631b1... No credentials could be retrieved for registry-1.docker.io/library/eclipse-temurin Skipping push; BLOB already exists on target registry : digest: sha256:aabd95a9410d5cf9a9eedf3c32a473b1237000cf8c3c0990d1fafbcfa9738922, size: 137187 A new version of jib-gradle-plugin (3.3.1) is available (currently using 3.2.0). Update your build configuration to use the latest features and fixes! https://github.com/GoogleContainerTools/jib/blob/master/jib-gradle-plugin/CHANGELOG.md Please see https://github.com/GoogleContainerTools/jib/blob/master/docs/privacy.md for info on disabling this update check.

Task :connection-config-sync:jib FAILED :connection-config-sync:jib (Thread[included builds,5,main]) completed. Took 15.444 secs. FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':connection-config-sync:jib'. com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: 429 Too Many Requests { "errors": [ { "code": "TOOMANYREQUESTS", "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit" } ] }`

I am configuring the jib version using the buildscript section of the base build.gradle file.

mpeddada1 commented 1 year ago

@IgorZaporozhtsev I have two more follow-ups which can help us narrow down the issue 1) To confirm that it is an authentication issue with the target registry and not the registry of the base image, I'm curious if you run into this problems with jibDockerBuild (to build to their local docker daemon)? 2) What does running the jib build with mvn -X -Djib.serialize=true result in? Jib has a couple of ways to determine credentials so curious to know where Jib is actually getting them from in the example. Specifically, do you see anything in the logs that says something along the lines of Using credentials from Docker config.. ?

chanseokoh commented 1 year ago

@strat1971 for you, you're hitting the Docker Hub rate limit: https://www.docker.com/increase-rate-limit

By logging in to Docker Hub, you can increase the limit to 200 pulls per 6 hours from 100 pulls. If you need more, you can always pay Docker Hub. Also check out other options.

com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: 429 Too Many Requests
{
  "errors": [{
    "code": "TOOMANYREQUESTS",
    "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
  }]
}
IgorZaporozhtsev commented 1 year ago

mvn -X -Djib.serialize=true

➜ zeeservices git:(k8s) ✗ mvn -X -Djib.serialize=true Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /opt/homebrew/Cellar/maven/3.8.6/libexec Java version: 19.0.1, vendor: Oracle Corporation, runtime: /Users/ihor/Library/Java/JavaVirtualMachines/openjdk-19.0.1/Contents/Home Default locale: en_UA, platform encoding: UTF-8 OS name: "mac os x", version: "12.3", arch: "aarch64", family: "mac" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.annotation. < plexus.core [DEBUG] Imported: javax.annotation.security. < plexus.core [DEBUG] Imported: javax.inject. < plexus.core [DEBUG] Imported: org.apache.maven. < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon. < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus. < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether. < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.fusesource.jansi. < plexus.core [DEBUG] Imported: org.slf4j. < plexus.core [DEBUG] Imported: org.slf4j.event. < plexus.core [DEBUG] Imported: org.slf4j.helpers. < plexus.core [DEBUG] Imported: org.slf4j.spi. < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Message scheme: color [DEBUG] Message styles: debug info warning error success failure strong mojo project [DEBUG] Reading global settings from /opt/homebrew/Cellar/maven/3.8.6/libexec/conf/settings.xml [DEBUG] Reading user settings from /Users/ihor/.m2/settings.xml [DEBUG] Reading global toolchains from /opt/homebrew/Cellar/maven/3.8.6/libexec/conf/toolchains.xml [DEBUG] Reading user toolchains from /Users/ihor/.m2/toolchains.xml [DEBUG] Using local repository at /Users/ihor/.m2/repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/ihor/.m2/repository [INFO] Scanning for projects... [DEBUG] Extension realms for project com.zeecoder:zeeservices:pom:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:customer:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:fraud:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:eureka-server:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:clients:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:notification:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:api-gateway:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:amqp:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] zeeservices [pom] [INFO] amqp [jar] [INFO] clients [jar] [INFO] customer [jar] [INFO] fraud [jar] [INFO] eureka-server [jar] [INFO] notification [jar] [INFO] api-gateway [jar] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for zeeservices 1.0-SNAPSHOT: [INFO] [INFO] zeeservices ........................................ SKIPPED [INFO] amqp ............................................... SKIPPED [INFO] clients ............................................ SKIPPED [INFO] customer ........................................... SKIPPED [INFO] fraud .............................................. SKIPPED [INFO] eureka-server ...................................... SKIPPED [INFO] notification ....................................... SKIPPED [INFO] api-gateway ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.136 s [INFO] Finished at: 2022-12-20T12:47:20+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] org.apache.maven.lifecycle.NoGoalSpecifiedException: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:97) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104) at java.lang.reflect.Method.invoke (Method.java:578) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException

mpeddada1 commented 1 year ago

@IgorZaporozhtsev ah apologies, I should've clarified this a little more: What does running the jib build with mvn -X -Djib.serialize=true result in

Could you run mvn -X -Djib.serialize=true jibDockerBuild? We're trying to determine where Jib is retrieving the credentials from so we need a bit more info from the logs to troubleshoot. For reference:

if Jib was able to retrieve credentials, you should see a log message like these:

Using credentials from Docker config (/home/user/.docker/config.json) for localhost:5000/java
Using credential helper docker-credential-gcr for gcr.io/project/repo
Using credentials from Maven settings file for gcr.io/project/repo
Using credentials from <from><auth> for gcr.io/project/repo
Using credentials from to.auth for gcr.io/project/repo
IgorZaporozhtsev commented 1 year ago

mvn -X -Djib.serialize=true jibDockerBuild

➜ zeeservices git:(k8s) ✗ mvn -X -Djib.serialize=true jibDockerBuild Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /opt/homebrew/Cellar/maven/3.8.6/libexec Java version: 19.0.1, vendor: Oracle Corporation, runtime: /Users/ihor/Library/Java/JavaVirtualMachines/openjdk-19.0.1/Contents/Home Default locale: en_UA, platform encoding: UTF-8 OS name: "mac os x", version: "12.3", arch: "aarch64", family: "mac" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.annotation. < plexus.core [DEBUG] Imported: javax.annotation.security. < plexus.core [DEBUG] Imported: javax.inject. < plexus.core [DEBUG] Imported: org.apache.maven. < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon. < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus. < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether. < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.fusesource.jansi. < plexus.core [DEBUG] Imported: org.slf4j. < plexus.core [DEBUG] Imported: org.slf4j.event. < plexus.core [DEBUG] Imported: org.slf4j.helpers. < plexus.core [DEBUG] Imported: org.slf4j.spi. < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Message scheme: color [DEBUG] Message styles: debug info warning error success failure strong mojo project [DEBUG] Reading global settings from /opt/homebrew/Cellar/maven/3.8.6/libexec/conf/settings.xml [DEBUG] Reading user settings from /Users/ihor/.m2/settings.xml [DEBUG] Reading global toolchains from /opt/homebrew/Cellar/maven/3.8.6/libexec/conf/toolchains.xml [DEBUG] Reading user toolchains from /Users/ihor/.m2/toolchains.xml [DEBUG] Using local repository at /Users/ihor/.m2/repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/ihor/.m2/repository [INFO] Scanning for projects... [DEBUG] Extension realms for project com.zeecoder:zeeservices:pom:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:customer:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:fraud:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:eureka-server:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:clients:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:notification:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:api-gateway:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.zeecoder:amqp:jar:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] zeeservices [pom] [INFO] amqp [jar] [INFO] clients [jar] [INFO] customer [jar] [INFO] fraud [jar] [INFO] eureka-server [jar] [INFO] notification [jar] [INFO] api-gateway [jar] [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: com.zeecoder:zeeservices:pom:1.0-SNAPSHOT [DEBUG] Tasks: [jibDockerBuild] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.zeecoder:amqp:jar:1.0-SNAPSHOT [DEBUG] Tasks: [jibDockerBuild] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.zeecoder:clients:jar:1.0-SNAPSHOT [DEBUG] Tasks: [jibDockerBuild] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.zeecoder:customer:jar:1.0-SNAPSHOT [DEBUG] Tasks: [jibDockerBuild] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.zeecoder:fraud:jar:1.0-SNAPSHOT [DEBUG] Tasks: [jibDockerBuild] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.zeecoder:eureka-server:jar:1.0-SNAPSHOT [DEBUG] Tasks: [jibDockerBuild] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.zeecoder:notification:jar:1.0-SNAPSHOT [DEBUG] Tasks: [jibDockerBuild] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.zeecoder:api-gateway:jar:1.0-SNAPSHOT [DEBUG] Tasks: [jibDockerBuild] [DEBUG] Style: Regular [DEBUG] ======================================================================= [INFO] [INFO] ----------------------< com.zeecoder:zeeservices >---------------------- [INFO] Building zeeservices 1.0-SNAPSHOT [1/8] [INFO] --------------------------------[ pom ]--------------------------------- [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for zeeservices 1.0-SNAPSHOT: [INFO] [INFO] zeeservices ........................................ FAILURE [ 0.001 s] [INFO] amqp ............................................... SKIPPED [INFO] clients ............................................ SKIPPED [INFO] customer ........................................... SKIPPED [INFO] fraud .............................................. SKIPPED [INFO] eureka-server ...................................... SKIPPED [INFO] notification ....................................... SKIPPED [INFO] api-gateway ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.140 s [INFO] Finished at: 2022-12-25T08:51:43+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Unknown lifecycle phase "jibDockerBuild". You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] org.apache.maven.lifecycle.LifecyclePhaseNotFoundException: Unknown lifecycle phase "jibDockerBuild". You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings (DefaultLifecycleExecutionPlanCalculator.java:248) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions (DefaultLifecycleExecutionPlanCalculator.java:217) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:126) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:144) at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan (BuilderCommon.java:98) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:111) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104) at java.lang.reflect.Method.invoke (Method.java:578) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException ➜ zeeservices git:(k8s) ✗

mpeddada1 commented 1 year ago

Thanks again for trying this out. Unknown lifecycle phase "jibDockerBuild" --> It appears that there was a typo in my previous comment. Please try re-running with mvn -X -Djib.serialize=true compile jib:dockerBuild.

And as a part 2 to this, if you are looking into more troubleshooting options in the meantime if the docker config.json route isn't giving the desired result atm:

played a lot with $HOME/.docker/config.json according to StackOverflow recommendation and opened issues in github

Jib has several ways in which authentication can be performed in addition to the docker credential file, including through the docker credential helper, specific credentials through the parameter and maven settings. These are worth trying if you haven't already had a chance to.

magician20 commented 1 year ago

I Had same problem: OS Windows 11 64bit Jib version: 3.3.1

I have a multi-project with several modules. When I pushed images I came across with 401 Unauthorized issue but I change json.config like here but never work for me.

jib-maven-plugin Configuration:

    <properties>
        <!-- other properties-->
           <jib-maven-plugin.version>3.3.1</jib-maven-plugin.version>
        <!-- IMPORTANT Add image name -->
        <image>registry.hub.docker.com/magician66/${project.artifactId}:${project.version}</image>
    </properties>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (maybe moved to parent pom) -->
            <plugins>

                <plugin>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-maven-plugin</artifactId>
                    <version>${spring.boot.maven.plugin.version}</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>repackage</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>

                <plugin>
                    <groupId>com.google.cloud.tools</groupId>
                    <artifactId>jib-maven-plugin</artifactId>
                    <version>3.3.1</version>
                    <configuration>
                        <from>
                            <image>eclipse-temurin:17</image>
                            <platforms>
                                <platform>
                                    <architecture>arm64</architecture>
                                    <os>linux</os>
                                </platform>
                                <platform>
                                    <architecture>amd64</architecture>
                                    <os>linux</os>
                                </platform>
                            </platforms>
                        </from>
                        <to>
                            <tags>
                                <tag>latest</tag>
                            </tags>
                        </to>
                    </configuration>
                    <executions>
                        <execution>
                            <phase>package</phase>
                            <goals>
                                <goal>build</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>

            </plugins>
        </pluginManagement>

Log output:

[INFO] Executing tasks:                                                                                                                                           
[INFO] [============                  ] 41.7% complete                                                                                                            
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO] > checking base image layer sha256:10175de2f0c4...                                                                                                         
[INFO] > checking base image layer sha256:2c8f048f32cc...                                                                                                         
[INFO] > checking base image layer sha256:a3effab4d2ab...
[INFO] > checking base image layer sha256:6e3729cf69e0...
[INFO] > checking base image layer sha256:4d8d923227d8...
[INFO] > checking base image layer sha256:eda8241fd25f...
[INFO] > scheduling building manifests
[INFO] > checking base image layer sha256:35dccabde73d...
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11.514 s
[INFO] Finished at: 2022-12-30T20:06:42+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:build (default) on project apigateway: Build image failed, perhaps you should make su
re your credentials for 'registry.hub.docker.com/magician66/apigateway' are set up correctly. See https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#what-should-i-do-when-the-registry-responds-with-unauthorized for help: Unauthorized for registry.hub.docker.com/magician66/apigateway: 401 Unauthorized      
[ERROR] HEAD https://registry.hub.docker.com/v2/magician66/apigateway/blobs/sha256:789c2fe3ac30c672f415960123df7ef4fa18206b2365430bd0643e090070cd7a
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:build (default) on project apigateway
: Build image failed, perhaps you should make sure your credentials for 'registry.hub.docker.com/magician66/apigateway' are set up correctly. See https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#what-should-i-do-when-the-registry-responds-with-unauthorized for help
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Build image failed, perhaps you should make sure your credentials for 'registry.hub.docker.com/magician
66/apigateway' are set up correctly. See https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#what-should-i-do-when-the-registry-responds-with-unauthorized for help
    at com.google.cloud.tools.jib.maven.BuildImageMojo.execute (BuildImageMojo.java:181)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: com.google.cloud.tools.jib.api.RegistryUnauthorizedException: Unauthorized for registry.hub.docker.com/magician66/apigateway
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:163)
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:114)
    at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint (RegistryClient.java:623)
    at com.google.cloud.tools.jib.registry.RegistryClient.checkBlob (RegistryClient.java:474)
    at com.google.cloud.tools.jib.builder.steps.PushBlobStep.call (PushBlobStep.java:74)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:92)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:33)
    at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly (TrustedListenableFutureTask.java:131)       
    at com.google.common.util.concurrent.InterruptibleTask.run (InterruptibleTask.java:74)
    at com.google.common.util.concurrent.TrustedListenableFutureTask.run (TrustedListenableFutureTask.java:82)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
    at java.lang.Thread.run (Thread.java:833)
Caused by: com.google.cloud.tools.jib.http.ResponseException: 401 Unauthorized
HEAD https://registry.hub.docker.com/v2/magician66/apigateway/blobs/sha256:789c2fe3ac30c672f415960123df7ef4fa18206b2365430bd0643e090070cd7a
    at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:355)
    at com.google.cloud.tools.jib.http.FailoverHttpClient.call (FailoverHttpClient.java:266)
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:138)
    at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call (RegistryEndpointCaller.java:114)
    at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint (RegistryClient.java:623)
    at com.google.cloud.tools.jib.registry.RegistryClient.checkBlob (RegistryClient.java:474)
    at com.google.cloud.tools.jib.builder.steps.PushBlobStep.call (PushBlobStep.java:74)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:92)
    at com.google.cloud.tools.jib.builder.steps.PushLayerStep.call (PushLayerStep.java:33)
    at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly (TrustedListenableFutureTask.java:131)       
    at com.google.common.util.concurrent.InterruptibleTask.run (InterruptibleTask.java:74)
    at com.google.common.util.concurrent.TrustedListenableFutureTask.run (TrustedListenableFutureTask.java:82)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
    at java.lang.Thread.run (Thread.java:833)
Caused by: com.google.api.client.http.HttpResponseException: 401 Unauthorized
HEAD https://registry.hub.docker.com/v2/magician66/apigateway/blobs/sha256:789c2fe3ac30c672f415960123df7ef4fa18206b2365430bd0643e090070cd7a
    at java.lang.Thread.run (Thread.java:833)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
mpeddada1 commented 1 year ago

@magician20 do you see this issue with previous versions of Jib (3.3.0 for example)?

IgorZaporozhtsev commented 1 year ago
zeeservices git:(k8s) ✗ mvn -X -Djib.serialize=true compile jib:dockerBuild
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /opt/homebrew/Cellar/maven/3.8.6/libexec
Java version: 17.0.5, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home
Default locale: en_UA, platform encoding: UTF-8
OS name: "mac os x", version: "12.3", arch: "aarch64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.annotation.* < plexus.core
[DEBUG]   Imported: javax.annotation.security.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.fusesource.jansi.* < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.event.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: color
[DEBUG] Message styles: debug info warning error success failure strong mojo project
[DEBUG] Reading global settings from /opt/homebrew/Cellar/maven/3.8.6/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/ihor/.m2/settings.xml
[DEBUG] Reading global toolchains from /opt/homebrew/Cellar/maven/3.8.6/libexec/conf/toolchains.xml
[DEBUG] Reading user toolchains from /Users/ihor/.m2/toolchains.xml
[DEBUG] Using local repository at /Users/ihor/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/ihor/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.zeecoder:zeeservices:pom:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.zeecoder:customer:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.zeecoder:fraud:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.zeecoder:eureka-server:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.zeecoder:clients:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.zeecoder:notification:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.zeecoder:api-gateway:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.zeecoder:amqp:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] zeeservices                                                        [pom]
[INFO] amqp                                                               [jar]
[INFO] clients                                                            [jar]
[INFO] customer                                                           [jar]
[INFO] fraud                                                              [jar]
[INFO] eureka-server                                                      [jar]
[INFO] notification                                                       [jar]
[INFO] api-gateway                                                        [jar]
[DEBUG] Resolving plugin prefix jib from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for codehaus.org (http://snapshots.repository.codehaus.org).
[DEBUG] Resolved plugin prefix jib to com.google.cloud.tools:jib-maven-plugin from POM com.zeecoder:zeeservices:pom:1.0-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.zeecoder:zeeservices:pom:1.0-SNAPSHOT
[DEBUG] Tasks:   [compile, jib:dockerBuild]
[DEBUG] Style:   Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.zeecoder:amqp:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [compile, jib:dockerBuild]
[DEBUG] Style:   Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.zeecoder:clients:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [compile, jib:dockerBuild]
[DEBUG] Style:   Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.zeecoder:customer:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [compile, jib:dockerBuild]
[DEBUG] Style:   Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.zeecoder:fraud:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [compile, jib:dockerBuild]
[DEBUG] Style:   Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.zeecoder:eureka-server:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [compile, jib:dockerBuild]
[DEBUG] Style:   Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.zeecoder:notification:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [compile, jib:dockerBuild]
[DEBUG] Style:   Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.zeecoder:api-gateway:jar:1.0-SNAPSHOT
[DEBUG] Tasks:   [compile, jib:dockerBuild]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ----------------------< com.zeecoder:zeeservices >----------------------
[INFO] Building zeeservices 1.0-SNAPSHOT                                  [1/8]
[INFO] --------------------------------[ pom ]---------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Resolving plugin prefix jib from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix jib to com.google.cloud.tools:jib-maven-plugin from POM com.zeecoder:zeeservices:pom:1.0-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.zeecoder:zeeservices:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [runtime+system]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <allowInsecureRegistries>${jib.allowInsecureRegistries}</allowInsecureRegistries>
  <containerizingMode>${jib.containerizingMode}</containerizingMode>
  <descriptor default-value="${plugin}"/>
  <from>
    <image>eclipse-temurin:17</image>
    <platforms>
      <platform>
        <architecture>arm64</architecture>
        <os>linux</os>
      </platform>
      <platform>
        <architecture>amd64</architecture>
        <os>linux</os>
      </platform>
    </platforms>
  </from>
  <project default-value="${project}"/>
  <session default-value="${session}"/>
  <skip>${jib.skip}</skip>
  <to>
    <tags>
      <tag>latest</tag>
    </tags>
  </to>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for ow2-snapshot (http://repository.ow2.org/nexus/content/repositories/snapshots).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for vaadin-snapshots (http://oss.sonatype.org/content/repositories/vaadin-snapshots/).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for vaadin-releases (http://oss.sonatype.org/content/repositories/vaadin-releases/).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=365292, ConflictMarker.markTime=131958, ConflictMarker.nodeCount=107, ConflictIdSorter.graphTime=219000, ConflictIdSorter.topsortTime=152625, ConflictIdSorter.conflictIdCount=65, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3721709, ConflictResolver.conflictItemCount=105, DefaultDependencyCollector.collectTime=91805666, DefaultDependencyCollector.transformTime=5423792}
[DEBUG] com.zeecoder:zeeservices:pom:1.0-SNAPSHOT
[DEBUG]    org.projectlombok:lombok:jar:1.18.22:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-test:jar:2.5.7:compile
[DEBUG]       org.springframework.boot:spring-boot-starter:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]          org.springframework.boot:spring-boot:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]             org.springframework:spring-context:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]                org.springframework:spring-expression:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]          org.springframework.boot:spring-boot-autoconfigure:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]          org.springframework.boot:spring-boot-starter-logging:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]             ch.qos.logback:logback-classic:jar:1.2.7:compile (version managed from 1.2.7)
[DEBUG]                ch.qos.logback:logback-core:jar:1.2.7:compile (version managed from 1.2.7)
[DEBUG]             org.apache.logging.log4j:log4j-to-slf4j:jar:2.14.1:compile (version managed from 2.14.1)
[DEBUG]                org.apache.logging.log4j:log4j-api:jar:2.14.1:compile (version managed from 2.14.1)
[DEBUG]             org.slf4j:jul-to-slf4j:jar:1.7.32:compile (version managed from 1.7.32)
[DEBUG]          jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile (version managed from 1.3.5)
[DEBUG]          org.yaml:snakeyaml:jar:1.28:compile (version managed from 1.28)
[DEBUG]       org.springframework.boot:spring-boot-test:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]       org.springframework.boot:spring-boot-test-autoconfigure:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]       com.jayway.jsonpath:json-path:jar:2.5.0:compile (version managed from 2.5.0)
[DEBUG]          net.minidev:json-smart:jar:2.4.7:compile (version managed from 2.3)
[DEBUG]             net.minidev:accessors-smart:jar:2.4.7:compile
[DEBUG]                org.ow2.asm:asm:jar:9.1:compile
[DEBUG]          org.slf4j:slf4j-api:jar:1.7.32:compile (version managed from 1.7.30)
[DEBUG]       jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile (version managed from 2.3.3)
[DEBUG]          jakarta.activation:jakarta.activation-api:jar:1.2.2:compile (version managed from 1.2.2)
[DEBUG]       org.assertj:assertj-core:jar:3.19.0:compile (version managed from 3.19.0)
[DEBUG]       org.hamcrest:hamcrest:jar:2.2:compile (version managed from 2.2)
[DEBUG]       org.junit.jupiter:junit-jupiter:jar:5.7.2:compile (version managed from 5.7.2)
[DEBUG]          org.junit.jupiter:junit-jupiter-api:jar:5.7.2:compile (version managed from 5.7.2)
[DEBUG]             org.apiguardian:apiguardian-api:jar:1.1.0:compile
[DEBUG]             org.opentest4j:opentest4j:jar:1.2.0:compile
[DEBUG]             org.junit.platform:junit-platform-commons:jar:1.7.2:compile (version managed from 1.7.2)
[DEBUG]          org.junit.jupiter:junit-jupiter-params:jar:5.7.2:compile (version managed from 5.7.2)
[DEBUG]          org.junit.jupiter:junit-jupiter-engine:jar:5.7.2:runtime (version managed from 5.7.2)
[DEBUG]             org.junit.platform:junit-platform-engine:jar:1.7.2:runtime (version managed from 1.7.2)
[DEBUG]       org.mockito:mockito-core:jar:3.9.0:compile (version managed from 3.9.0)
[DEBUG]          net.bytebuddy:byte-buddy:jar:1.10.22:compile (version managed from 1.10.20)
[DEBUG]          net.bytebuddy:byte-buddy-agent:jar:1.10.22:compile (version managed from 1.10.20)
[DEBUG]          org.objenesis:objenesis:jar:3.2:compile
[DEBUG]       org.mockito:mockito-junit-jupiter:jar:3.9.0:compile (version managed from 3.9.0)
[DEBUG]       org.skyscreamer:jsonassert:jar:1.5.0:compile (version managed from 1.5.0)
[DEBUG]          com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:compile
[DEBUG]       org.springframework:spring-core:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]          org.springframework:spring-jcl:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]       org.springframework:spring-test:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]       org.xmlunit:xmlunit-core:jar:2.8.3:compile (version managed from 2.8.3)
[DEBUG]    org.springframework.cloud:spring-cloud-starter-openfeign:jar:3.0.3:compile
[DEBUG]       org.springframework.cloud:spring-cloud-starter:jar:3.0.3:compile (version managed from 3.0.3)
[DEBUG]          org.springframework.cloud:spring-cloud-context:jar:3.0.3:compile (version managed from 3.0.3)
[DEBUG]          org.springframework.security:spring-security-rsa:jar:1.0.10.RELEASE:compile (version managed from 1.0.10.RELEASE) (exclusions managed from [org.springframework:spring-core:*:*, org.springframework.security:spring-security-crypto:*:*])
[DEBUG]             org.bouncycastle:bcpkix-jdk15on:jar:1.68:compile
[DEBUG]                org.bouncycastle:bcprov-jdk15on:jar:1.68:compile
[DEBUG]       org.springframework.cloud:spring-cloud-openfeign-core:jar:3.0.3:compile (version managed from 3.0.3)
[DEBUG]          org.springframework.boot:spring-boot-starter-aop:jar:2.5.7:compile (version managed from 2.4.6)
[DEBUG]             org.springframework:spring-aop:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]             org.aspectj:aspectjweaver:jar:1.9.7:compile (version managed from 1.9.7)
[DEBUG]          io.github.openfeign.form:feign-form-spring:jar:3.8.0:compile (version managed from 3.8.0)
[DEBUG]             io.github.openfeign.form:feign-form:jar:3.8.0:compile
[DEBUG]             commons-fileupload:commons-fileupload:jar:1.4:compile
[DEBUG]                commons-io:commons-io:jar:2.2:compile
[DEBUG]       org.springframework:spring-web:jar:5.3.13:compile (version managed from 5.3.7)
[DEBUG]          org.springframework:spring-beans:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]       org.springframework.cloud:spring-cloud-commons:jar:3.0.3:compile (version managed from 3.0.3)
[DEBUG]          org.springframework.security:spring-security-crypto:jar:5.5.3:compile (version managed from 5.4.6)
[DEBUG]       io.github.openfeign:feign-core:jar:10.12:compile (version managed from 10.12)
[DEBUG]       io.github.openfeign:feign-slf4j:jar:10.12:compile (version managed from 10.12)
[INFO]
[INFO] --- jib-maven-plugin:3.3.1:dockerBuild (default-cli) @ zeeservices ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for codehaus.snapshots (http://snapshots.repository.codehaus.org).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for repository.jboss.org (http://repository.jboss.org/maven2).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for snapshots.jboss.org (http://snapshots.jboss.org/maven2).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for oss.sonatype.org/jboss-snapshots (http://oss.sonatype.org/content/repositories/jboss-snapshots).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for codehaus-snapshots (http://nexus.codehaus.org/snapshots/).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=426792, ConflictMarker.markTime=228791, ConflictMarker.nodeCount=235, ConflictIdSorter.graphTime=206042, ConflictIdSorter.topsortTime=36083, ConflictIdSorter.conflictIdCount=67, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1961167, ConflictResolver.conflictItemCount=128, DefaultDependencyCollector.collectTime=138120666, DefaultDependencyCollector.transformTime=2925042}
[DEBUG] com.google.cloud.tools:jib-maven-plugin:jar:3.3.1
[DEBUG]    com.google.http-client:google-http-client:jar:1.42.2:runtime
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.5.13:runtime
[DEBUG]          commons-logging:commons-logging:jar:1.2:runtime
[DEBUG]          commons-codec:commons-codec:jar:1.11:runtime
[DEBUG]       org.apache.httpcomponents:httpcore:jar:4.4.15:runtime
[DEBUG]       com.google.code.findbugs:jsr305:jar:3.0.2:runtime
[DEBUG]       com.google.j2objc:j2objc-annotations:jar:1.3:runtime
[DEBUG]       io.opencensus:opencensus-api:jar:0.31.1:runtime
[DEBUG]          io.grpc:grpc-context:jar:1.27.2:runtime
[DEBUG]       io.opencensus:opencensus-contrib-http-util:jar:0.31.1:runtime
[DEBUG]    com.google.http-client:google-http-client-apache-v2:jar:1.42.2:runtime
[DEBUG]    com.google.auth:google-auth-library-oauth2-http:jar:1.10.0:runtime
[DEBUG]       com.google.auto.value:auto-value-annotations:jar:1.9:runtime
[DEBUG]       com.google.auth:google-auth-library-credentials:jar:1.10.0:runtime
[DEBUG]       com.google.http-client:google-http-client-gson:jar:1.42.2:runtime
[DEBUG]          com.google.code.gson:gson:jar:2.9.0:runtime
[DEBUG]    org.apache.commons:commons-compress:jar:1.21:runtime
[DEBUG]    com.google.guava:guava:jar:31.1-jre:runtime
[DEBUG]       com.google.guava:failureaccess:jar:1.0.1:runtime
[DEBUG]       com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:runtime
[DEBUG]       org.checkerframework:checker-qual:jar:3.12.0:runtime
[DEBUG]       com.google.errorprone:error_prone_annotations:jar:2.11.0:runtime
[DEBUG]    com.fasterxml.jackson.core:jackson-databind:jar:2.13.4.2:runtime
[DEBUG]       com.fasterxml.jackson.core:jackson-annotations:jar:2.13.4:runtime (version managed from default)
[DEBUG]       com.fasterxml.jackson.core:jackson-core:jar:2.13.4:runtime (version managed from default)
[DEBUG]    com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.13.4:runtime
[DEBUG]    org.ow2.asm:asm:jar:9.4:runtime
[DEBUG]    com.google.cloud.tools:jib-build-plan:jar:0.4.0:runtime
[DEBUG]    com.google.cloud.tools:jib-plugins-extension-common:jar:0.2.0:runtime
[DEBUG]    com.google.cloud.tools:jib-maven-plugin-extension-api:jar:0.4.0:runtime
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.8.6:runtime
[DEBUG]       org.apache.maven:maven-model:jar:3.8.6:runtime
[DEBUG]       org.apache.maven:maven-artifact:jar:3.8.6:runtime
[DEBUG]       org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.5:runtime
[DEBUG]          javax.annotation:javax.annotation-api:jar:1.2:runtime
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:3.3.1:runtime
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.6.0:runtime
[DEBUG]    org.apache.maven:maven-core:jar:3.8.6:runtime
[DEBUG]       org.apache.maven:maven-settings:jar:3.8.6:runtime
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.8.6:runtime
[DEBUG]          org.codehaus.plexus:plexus-sec-dispatcher:jar:2.0:runtime
[DEBUG]             org.codehaus.plexus:plexus-cipher:jar:2.0:runtime
[DEBUG]       org.apache.maven:maven-builder-support:jar:3.8.6:runtime
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.8.6:runtime
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.8.6:runtime
[DEBUG]       org.apache.maven:maven-resolver-provider:jar:3.8.6:runtime
[DEBUG]       org.apache.maven.resolver:maven-resolver-impl:jar:1.6.3:runtime
[DEBUG]       org.apache.maven.resolver:maven-resolver-api:jar:1.6.3:runtime
[DEBUG]       org.apache.maven.resolver:maven-resolver-spi:jar:1.6.3:runtime
[DEBUG]       org.apache.maven.resolver:maven-resolver-util:jar:1.6.3:runtime
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.3.4:runtime
[DEBUG]          commons-io:commons-io:jar:2.6:runtime
[DEBUG]       org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.5:runtime
[DEBUG]       com.google.inject:guice:jar:no_aop:4.2.2:runtime
[DEBUG]          aopalliance:aopalliance:jar:1.0:runtime
[DEBUG]       javax.inject:javax.inject:jar:1:runtime
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.26:runtime
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:runtime
[DEBUG]       org.apache.commons:commons-lang3:jar:3.8.1:runtime
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.36:runtime
[DEBUG] Created new class realm plugin>com.google.cloud.tools:jib-maven-plugin:3.3.1
[DEBUG] Importing foreign packages into class realm plugin>com.google.cloud.tools:jib-maven-plugin:3.3.1
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>com.google.cloud.tools:jib-maven-plugin:3.3.1
[DEBUG]   Included: com.google.cloud.tools:jib-maven-plugin:jar:3.3.1
[DEBUG]   Included: com.google.http-client:google-http-client:jar:1.42.2
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.5.13
[DEBUG]   Included: commons-logging:commons-logging:jar:1.2
[DEBUG]   Included: commons-codec:commons-codec:jar:1.11
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.4.15
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:3.0.2
[DEBUG]   Included: com.google.j2objc:j2objc-annotations:jar:1.3
[DEBUG]   Included: io.opencensus:opencensus-api:jar:0.31.1
[DEBUG]   Included: io.grpc:grpc-context:jar:1.27.2
[DEBUG]   Included: io.opencensus:opencensus-contrib-http-util:jar:0.31.1
[DEBUG]   Included: com.google.http-client:google-http-client-apache-v2:jar:1.42.2
[DEBUG]   Included: com.google.auth:google-auth-library-oauth2-http:jar:1.10.0
[DEBUG]   Included: com.google.auto.value:auto-value-annotations:jar:1.9
[DEBUG]   Included: com.google.auth:google-auth-library-credentials:jar:1.10.0
[DEBUG]   Included: com.google.http-client:google-http-client-gson:jar:1.42.2
[DEBUG]   Included: com.google.code.gson:gson:jar:2.9.0
[DEBUG]   Included: org.apache.commons:commons-compress:jar:1.21
[DEBUG]   Included: com.google.guava:guava:jar:31.1-jre
[DEBUG]   Included: com.google.guava:failureaccess:jar:1.0.1
[DEBUG]   Included: com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava
[DEBUG]   Included: org.checkerframework:checker-qual:jar:3.12.0
[DEBUG]   Included: com.google.errorprone:error_prone_annotations:jar:2.11.0
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-databind:jar:2.13.4.2
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-annotations:jar:2.13.4
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-core:jar:2.13.4
[DEBUG]   Included: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.13.4
[DEBUG]   Included: org.ow2.asm:asm:jar:9.4
[DEBUG]   Included: com.google.cloud.tools:jib-build-plan:jar:0.4.0
[DEBUG]   Included: com.google.cloud.tools:jib-plugins-extension-common:jar:0.2.0
[DEBUG]   Included: com.google.cloud.tools:jib-maven-plugin-extension-api:jar:0.4.0
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-sec-dispatcher:jar:2.0
[DEBUG]   Included: org.codehaus.plexus:plexus-cipher:jar:2.0
[DEBUG]   Included: org.apache.maven:maven-builder-support:jar:3.8.6
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-util:jar:1.6.3
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.3.4
[DEBUG]   Included: commons-io:commons-io:jar:2.6
[DEBUG]   Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.5
[DEBUG]   Included: com.google.inject:guice:jar:no_aop:4.2.2
[DEBUG]   Included: aopalliance:aopalliance:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.26
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:2.1.0
[DEBUG]   Included: org.apache.commons:commons-lang3:jar:3.8.1
[DEBUG] Configuring mojo com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild from plugin realm ClassRealm[plugin>com.google.cloud.tools:jib-maven-plugin:3.3.1, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@531d72ca]
[DEBUG] Configuring mojo 'com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild' with basic configurator -->
[DEBUG]   (f) descriptor = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.CheckJibVersionMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-fail-if-jib-out-of-date'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.FilesMojoV2', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-files-v2'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.InitMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-init'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.PackageGoalsMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-package-goals'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.SyncMapMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-sync-map'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.BuildImageMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:build'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.BuildTarMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:buildTar'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.BuildDockerMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild'
---
[DEBUG]   (f) image = eclipse-temurin:17
[DEBUG]   (f) architecture = arm64
[DEBUG]   (f) os = linux
[DEBUG]   (f) architecture = amd64
[DEBUG]   (f) os = linux
[DEBUG]   (f) platforms = [com.google.cloud.tools.jib.maven.JibPluginConfiguration$PlatformParameters@108d55c4, com.google.cloud.tools.jib.maven.JibPluginConfiguration$PlatformParameters@5432c277]
[DEBUG]   (f) from = com.google.cloud.tools.jib.maven.JibPluginConfiguration$FromConfiguration@15e0fe05
[DEBUG]   (f) project = MavenProject: com.zeecoder:zeeservices:1.0-SNAPSHOT @ /Users/ihor/dev/IdeaProjects/zeeservices/pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1128620c
[DEBUG]   (f) tags = [latest]
[DEBUG]   (f) to = com.google.cloud.tools.jib.maven.JibPluginConfiguration$ToConfiguration@6bf13698
[DEBUG] -- end configuration --
[INFO] Skipping containerization because packaging is 'pom'...
[INFO]
[INFO] -------------------------< com.zeecoder:amqp >--------------------------
[INFO] Building amqp 1.0-SNAPSHOT                                         [2/8]
[INFO] --------------------------------[ jar ]---------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Resolving plugin prefix jib from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix jib to com.google.cloud.tools:jib-maven-plugin from POM com.zeecoder:amqp:jar:1.0-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.zeecoder:amqp:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, runtime+system]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${maven.resources.escapeString}</escapeString>
  <escapeWindowsPaths default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <supportMultiLineFiltering default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <compilePath default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.compileSourceRoots}"/>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <failOnWarning default-value="false">${maven.compiler.failOnWarning}</failOnWarning>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedSourcesDirectory default-value="${project.build.directory}/generated-sources/annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <mojoExecution default-value="${mojoExecution}"/>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <parameters default-value="false">${maven.compiler.parameters}</parameters>
  <project default-value="${project}"/>
  <projectArtifact default-value="${project.artifact}"/>
  <release>${maven.compiler.release}</release>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skipMain>${maven.main.skip}</skipMain>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.6">17</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.6">17</target>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <allowInsecureRegistries>${jib.allowInsecureRegistries}</allowInsecureRegistries>
  <containerizingMode>${jib.containerizingMode}</containerizingMode>
  <descriptor default-value="${plugin}"/>
  <from>
    <image>eclipse-temurin:17</image>
    <platforms>
      <platform>
        <architecture>arm64</architecture>
        <os>linux</os>
      </platform>
      <platform>
        <architecture>amd64</architecture>
        <os>linux</os>
      </platform>
    </platforms>
  </from>
  <project default-value="${project}"/>
  <session default-value="${session}"/>
  <skip>${jib.skip}</skip>
  <to>
    <tags>
      <tag>latest</tag>
    </tags>
  </to>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=116625, ConflictMarker.markTime=72167, ConflictMarker.nodeCount=124, ConflictIdSorter.graphTime=105250, ConflictIdSorter.topsortTime=31958, ConflictIdSorter.conflictIdCount=73, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1833666, ConflictResolver.conflictItemCount=122, DefaultDependencyCollector.collectTime=8012708, DefaultDependencyCollector.transformTime=2195083}
[DEBUG] com.zeecoder:amqp:jar:1.0-SNAPSHOT
[DEBUG]    org.springframework.boot:spring-boot-starter-amqp:jar:2.5.7:compile
[DEBUG]       org.springframework.boot:spring-boot-starter:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]          org.springframework.boot:spring-boot:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]          org.springframework.boot:spring-boot-autoconfigure:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]          org.springframework.boot:spring-boot-starter-logging:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]             ch.qos.logback:logback-classic:jar:1.2.7:compile (version managed from 1.2.7)
[DEBUG]                ch.qos.logback:logback-core:jar:1.2.7:compile (version managed from 1.2.7)
[DEBUG]             org.apache.logging.log4j:log4j-to-slf4j:jar:2.14.1:compile (version managed from 2.14.1)
[DEBUG]                org.apache.logging.log4j:log4j-api:jar:2.14.1:compile (version managed from 2.14.1)
[DEBUG]             org.slf4j:jul-to-slf4j:jar:1.7.32:compile (version managed from 1.7.32)
[DEBUG]          jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile (version managed from 1.3.5)
[DEBUG]          org.yaml:snakeyaml:jar:1.28:compile (version managed from 1.28)
[DEBUG]       org.springframework:spring-messaging:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]          org.springframework:spring-beans:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]       org.springframework.amqp:spring-rabbit:jar:2.3.12:compile (version managed from 2.3.12)
[DEBUG]          org.springframework.amqp:spring-amqp:jar:2.3.12:compile (version managed from 2.3.12)
[DEBUG]             org.springframework.retry:spring-retry:jar:1.3.1:compile (version managed from 1.3.1)
[DEBUG]                javax.annotation:javax.annotation-api:jar:1.3.2:compile (version managed from 1.3.2)
[DEBUG]          com.rabbitmq:amqp-client:jar:5.12.0:compile (version managed from 5.9.0)
[DEBUG]          org.springframework:spring-context:jar:5.3.13:compile (version managed from 5.3.11)
[DEBUG]             org.springframework:spring-aop:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]             org.springframework:spring-expression:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]          org.springframework:spring-tx:jar:5.3.13:compile (version managed from 5.3.11)
[DEBUG]    org.projectlombok:lombok:jar:1.18.22:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-test:jar:2.5.7:compile
[DEBUG]       org.springframework.boot:spring-boot-test:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]       org.springframework.boot:spring-boot-test-autoconfigure:jar:2.5.7:compile (version managed from 2.5.7)
[DEBUG]       com.jayway.jsonpath:json-path:jar:2.5.0:compile (version managed from 2.5.0)
[DEBUG]          net.minidev:json-smart:jar:2.4.7:compile (version managed from 2.3)
[DEBUG]             net.minidev:accessors-smart:jar:2.4.7:compile
[DEBUG]                org.ow2.asm:asm:jar:9.1:compile
[DEBUG]          org.slf4j:slf4j-api:jar:1.7.32:compile (version managed from 1.7.30)
[DEBUG]       jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile (version managed from 2.3.3)
[DEBUG]          jakarta.activation:jakarta.activation-api:jar:1.2.2:compile (version managed from 1.2.2)
[DEBUG]       org.assertj:assertj-core:jar:3.19.0:compile (version managed from 3.19.0)
[DEBUG]       org.hamcrest:hamcrest:jar:2.2:compile (version managed from 2.2)
[DEBUG]       org.junit.jupiter:junit-jupiter:jar:5.7.2:compile (version managed from 5.7.2)
[DEBUG]          org.junit.jupiter:junit-jupiter-api:jar:5.7.2:compile (version managed from 5.7.2)
[DEBUG]             org.apiguardian:apiguardian-api:jar:1.1.0:compile
[DEBUG]             org.opentest4j:opentest4j:jar:1.2.0:compile
[DEBUG]             org.junit.platform:junit-platform-commons:jar:1.7.2:compile (version managed from 1.7.2)
[DEBUG]          org.junit.jupiter:junit-jupiter-params:jar:5.7.2:compile (version managed from 5.7.2)
[DEBUG]          org.junit.jupiter:junit-jupiter-engine:jar:5.7.2:runtime (version managed from 5.7.2)
[DEBUG]             org.junit.platform:junit-platform-engine:jar:1.7.2:runtime (version managed from 1.7.2)
[DEBUG]       org.mockito:mockito-core:jar:3.9.0:compile (version managed from 3.9.0)
[DEBUG]          net.bytebuddy:byte-buddy:jar:1.10.22:compile (version managed from 1.10.20)
[DEBUG]          net.bytebuddy:byte-buddy-agent:jar:1.10.22:compile (version managed from 1.10.20)
[DEBUG]          org.objenesis:objenesis:jar:3.2:compile
[DEBUG]       org.mockito:mockito-junit-jupiter:jar:3.9.0:compile (version managed from 3.9.0)
[DEBUG]       org.skyscreamer:jsonassert:jar:1.5.0:compile (version managed from 1.5.0)
[DEBUG]          com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:compile
[DEBUG]       org.springframework:spring-core:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]          org.springframework:spring-jcl:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]       org.springframework:spring-test:jar:5.3.13:compile (version managed from 5.3.13)
[DEBUG]       org.xmlunit:xmlunit-core:jar:2.8.3:compile (version managed from 2.8.3)
[DEBUG]    org.springframework.cloud:spring-cloud-starter-openfeign:jar:3.0.3:compile
[DEBUG]       org.springframework.cloud:spring-cloud-starter:jar:3.0.3:compile (version managed from 3.0.3)
[DEBUG]          org.springframework.cloud:spring-cloud-context:jar:3.0.3:compile (version managed from 3.0.3)
[DEBUG]          org.springframework.security:spring-security-rsa:jar:1.0.10.RELEASE:compile (version managed from 1.0.10.RELEASE) (exclusions managed from [org.springframework:spring-core:*:*, org.springframework.security:spring-security-crypto:*:*])
[DEBUG]             org.bouncycastle:bcpkix-jdk15on:jar:1.68:compile
[DEBUG]                org.bouncycastle:bcprov-jdk15on:jar:1.68:compile
[DEBUG]       org.springframework.cloud:spring-cloud-openfeign-core:jar:3.0.3:compile (version managed from 3.0.3)
[DEBUG]          org.springframework.boot:spring-boot-starter-aop:jar:2.5.7:compile (version managed from 2.4.6)
[DEBUG]             org.aspectj:aspectjweaver:jar:1.9.7:compile (version managed from 1.9.7)
[DEBUG]          io.github.openfeign.form:feign-form-spring:jar:3.8.0:compile (version managed from 3.8.0)
[DEBUG]             io.github.openfeign.form:feign-form:jar:3.8.0:compile
[DEBUG]             commons-fileupload:commons-fileupload:jar:1.4:compile
[DEBUG]                commons-io:commons-io:jar:2.2:compile
[DEBUG]       org.springframework:spring-web:jar:5.3.13:compile (version managed from 5.3.7)
[DEBUG]       org.springframework.cloud:spring-cloud-commons:jar:3.0.3:compile (version managed from 3.0.3)
[DEBUG]          org.springframework.security:spring-security-crypto:jar:5.5.3:compile (version managed from 5.4.6)
[DEBUG]       io.github.openfeign:feign-core:jar:10.12:compile (version managed from 10.12)
[DEBUG]       io.github.openfeign:feign-slf4j:jar:10.12:compile (version managed from 10.12)
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ amqp ---
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for snapshots (http://snapshots.maven.codehaus.org/maven2).
[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for central (http://repo1.maven.org/maven2).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=2291083, ConflictMarker.markTime=29292, ConflictMarker.nodeCount=77, ConflictIdSorter.graphTime=67709, ConflictIdSorter.topsortTime=19333, ConflictIdSorter.conflictIdCount=26, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=316459, ConflictResolver.conflictItemCount=74, DefaultDependencyCollector.collectTime=13496375, DefaultDependencyCollector.transformTime=2742333}
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:jar:2.6
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile
[DEBUG]       commons-cli:commons-cli:jar:1.0:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-settings:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-model:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-monitor:jar:2.0.6:compile
[DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]       junit:junit:jar:3.8.1:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
[DEBUG]    org.apache.maven.shared:maven-filtering:jar:1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-build-api:jar:0.0.4:compile
[DEBUG]    org.codehaus.plexus:plexus-interpolation:jar:1.13:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-resources-plugin:2.6
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-resources-plugin:2.6
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-resources-plugin:2.6
[DEBUG]   Included: org.apache.maven.plugins:maven-resources-plugin:jar:2.6
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7
[DEBUG]   Included: commons-cli:commons-cli:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
[DEBUG]   Included: org.apache.maven.shared:maven-filtering:jar:1.1
[DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.4
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.13
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:2.6:resources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:2.6, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@531d72ca]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.6:resources' with basic configurator -->
[DEBUG]   (f) buildFilters = []
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) escapeWindowsPaths = true
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: com.zeecoder:amqp:1.0-SNAPSHOT @ /Users/ihor/dev/IdeaProjects/zeeservices/amqp/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /Users/ihor/dev/IdeaProjects/zeeservices/amqp/src/main/resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1128620c
[DEBUG]   (f) supportMultiLineFiltering = false
[DEBUG]   (f) useBuildFilters = true
[DEBUG]   (s) useDefaultDelimiters = true
[DEBUG] -- end configuration --
[DEBUG] properties used {env.TERM=xterm-256color, java.specification.version=17, sun.arch.data.model=64, spring.boot.maven.plugin.version=2.5.7, java.vendor.url=https://java.oracle.com/, env.COLORFGBG=7;0, sun.boot.library.path=/Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home/lib, sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher -X -Djib.serialize=true compile jib:dockerBuild, jdk.debug=release, maven.version=3.8.6, java.specification.vendor=Oracle Corporation, java.version.date=2022-10-18, java.home=/Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home, java.vm.specification.vendor=Oracle Corporation, java.specification.name=Java Platform API Specification, env.HOMEBREW_REPOSITORY=/opt/homebrew, env.MANPATH=/opt/homebrew/share/man::, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, env.LC_TERMINAL_VERSION=3.4.18, java.runtime.version=17.0.5+9-LTS-191, env.LSCOLORS=Gxfxcxdxbxegedabagacad, env.PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin, spring.cloud-version=2020.0.3, env.__CFBundleIdentifier=com.googlecode.iterm2, file.encoding=UTF-8, env.JAVA_MAIN_CLASS_34603=org.codehaus.plexus.classworlds.launcher.Launcher, env.SHLVL=1, java.io.tmpdir=/var/folders/tw/rpjlg3cx08q3chhls9ky8q300000gn/T/, java.version=17.0.5, spring.boot.dependencies.version=2.5.7, java.vm.specification.name=Java Virtual Machine Specification, native.encoding=UTF-8, java.library.path=/Users/ihor/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:., java.vendor=Oracle Corporation, classworlds.conf=/opt/homebrew/Cellar/maven/3.8.6/libexec/bin/m2.conf, sun.io.unicode.encoding=UnicodeBig, env.COMMAND_MODE=unix2003, java.vm.specification.version=17, os.name=Mac OS X, env.LaunchInstanceID=B8763BC8-05D8-4EFF-B99D-E5DF16FC9429, image=booratina/amqp:1.0-SNAPSHOT, http.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, maven.compiler.source=17, user.home=/Users/ihor, env.ZSH=/Users/ihor/.oh-my-zsh, env.COLORTERM=truecolor, env.HOMEBREW_CELLAR=/opt/homebrew/Cellar, env.ITERM_SESSION_ID=w0t0p0:D042D399-751D-44FD-9D37-E870B0714476, env.ITERM_PROFILE=Default, env.HOMEBREW_PREFIX=/opt/homebrew, path.separator=:, os.version=12.3, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, env.SHELL=/bin/zsh, os.arch=aarch64, maven.multiModuleProjectDirectory=/Users/ihor/dev/IdeaProjects/zeeservices, env.MAVEN_PROJECTBASEDIR=/Users/ihor/dev/IdeaProjects/zeeservices, java.vm.info=mixed mode, sharing, env.USER=ihor, java.class.version=61.0, sun.jnu.encoding=UTF-8, jib.serialize=true, maven.build.version=Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63), maven.home=/opt/homebrew/Cellar/maven/3.8.6/libexec, sun.stderr.encoding=UTF-8, env.JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home, env.LC_TERMINAL=iTerm2, file.separator=/, env.LESS=-R, java.vm.compressedOopsMode=Zero based, line.separator=
, sun.stdout.encoding=UTF-8, env.TERM_PROGRAM_VERSION=3.4.18, user.name=ihor, env.LOGNAME=ihor, env.XPC_FLAGS=0x0, env.__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0, env.TERM_SESSION_ID=w0t0p0:D042D399-751D-44FD-9D37-E870B0714476, env.SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.sJI6zrQyZL/Listeners, maven.compiler.target=17, env.TMPDIR=/var/folders/tw/rpjlg3cx08q3chhls9ky8q300000gn/T/, env.INFOPATH=/opt/homebrew/share/info:, library.jansi.path=/opt/homebrew/Cellar/maven/3.8.6/libexec/lib/jansi-native, env.TERM_PROGRAM=iTerm.app, socksNonProxyHosts=local|*.local|169.254/16|*.169.254/16, env.OLDPWD=/Users/ihor/dev/IdeaProjects/zeeservices, env.PWD=/Users/ihor/dev/IdeaProjects/zeeservices, env.LC_CTYPE=UTF-8, env.PAGER=less, java.class.path=/opt/homebrew/Cellar/maven/3.8.6/libexec/boot/plexus-classworlds-2.6.0.jar, env.HOME=/Users/ihor, env.SECURITYSESSIONID=186a6, java.vm.vendor=Oracle Corporation, maven.conf=/opt/homebrew/Cellar/maven/3.8.6/libexec/conf, sun.java.launcher=SUN_STANDARD, user.country=UA, sun.cpu.endian=little, user.language=en, env.XPC_SERVICE_NAME=0, ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, java.runtime.name=Java(TM) SE Runtime Environment, project.build.sourceEncoding=UTF-8, env.MAVEN_CMD_LINE_ARGS= -X -Djib.serialize=true compile jib:dockerBuild, java.vendor.url.bug=https://bugreport.java.com/bugreport/, user.dir=/Users/ihor/dev/IdeaProjects/zeeservices, java.vm.version=17.0.5+9-LTS-191}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /Users/ihor/dev/IdeaProjects/zeeservices/amqp/src/main/resources
excludes []
includes []
[INFO] skip non existing resourceDirectory /Users/ihor/dev/IdeaProjects/zeeservices/amqp/src/main/resources
[DEBUG] no use filter components
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ amqp ---
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=73375, ConflictMarker.markTime=37125, ConflictMarker.nodeCount=118, ConflictIdSorter.graphTime=44959, ConflictIdSorter.topsortTime=26666, ConflictIdSorter.conflictIdCount=45, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=520834, ConflictResolver.conflictItemCount=72, DefaultDependencyCollector.collectTime=28344791, DefaultDependencyCollector.transformTime=731709}
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.0
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:2.0.4:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default)
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven.shared:maven-shared-utils:jar:3.2.1:compile
[DEBUG]       commons-io:commons-io:jar:2.5:compile
[DEBUG]    org.apache.maven.shared:maven-shared-incremental:jar:1.1:compile
[DEBUG]    org.codehaus.plexus:plexus-java:jar:0.9.10:compile
[DEBUG]       org.ow2.asm:asm:jar:6.2:compile
[DEBUG]       com.thoughtworks.qdox:qdox:jar:2.0-M9:compile (version managed from default)
[DEBUG]    org.codehaus.plexus:plexus-compiler-api:jar:2.8.4:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4:runtime
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0
[DEBUG]   Included: org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.0
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.4
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.2.1
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.apache.maven.shared:maven-shared-incremental:jar:1.1
[DEBUG]   Included: org.codehaus.plexus:plexus-java:jar:0.9.10
[DEBUG]   Included: org.ow2.asm:asm:jar:6.2
[DEBUG]   Included: com.thoughtworks.qdox:qdox:jar:2.0-M9
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-api:jar:2.8.4
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@531d72ca]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile' with basic configurator -->
[DEBUG]   (f) basedir = /Users/ihor/dev/IdeaProjects/zeeservices/amqp
[DEBUG]   (f) buildDirectory = /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target
[DEBUG]   (f) compilePath = [/Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/classes, /Users/ihor/.m2/repository/org/springframework/boot/spring-boot-starter-amqp/2.5.7/spring-boot-starter-amqp-2.5.7.jar, /Users/ihor/.m2/repository/org/springframework/boot/spring-boot-starter/2.5.7/spring-boot-starter-2.5.7.jar, /Users/ihor/.m2/repository/org/springframework/boot/spring-boot/2.5.7/spring-boot-2.5.7.jar, /Users/ihor/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.5.7/spring-boot-autoconfigure-2.5.7.jar, /Users/ihor/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.5.7/spring-boot-starter-logging-2.5.7.jar, /Users/ihor/.m2/repository/ch/qos/logback/logback-classic/1.2.7/logback-classic-1.2.7.jar, /Users/ihor/.m2/repository/ch/qos/logback/logback-core/1.2.7/logback-core-1.2.7.jar, /Users/ihor/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.14.1/log4j-to-slf4j-2.14.1.jar, /Users/ihor/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar, /Users/ihor/.m2/repository/org/slf4j/jul-to-slf4j/1.7.32/jul-to-slf4j-1.7.32.jar, /Users/ihor/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar, /Users/ihor/.m2/repository/org/yaml/snakeyaml/1.28/snakeyaml-1.28.jar, /Users/ihor/.m2/repository/org/springframework/spring-messaging/5.3.13/spring-messaging-5.3.13.jar, /Users/ihor/.m2/repository/org/springframework/spring-beans/5.3.13/spring-beans-5.3.13.jar, /Users/ihor/.m2/repository/org/springframework/amqp/spring-rabbit/2.3.12/spring-rabbit-2.3.12.jar, /Users/ihor/.m2/repository/org/springframework/amqp/spring-amqp/2.3.12/spring-amqp-2.3.12.jar, /Users/ihor/.m2/repository/org/springframework/retry/spring-retry/1.3.1/spring-retry-1.3.1.jar, /Users/ihor/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar, /Users/ihor/.m2/repository/com/rabbitmq/amqp-client/5.12.0/amqp-client-5.12.0.jar, /Users/ihor/.m2/repository/org/springframework/spring-context/5.3.13/spring-context-5.3.13.jar, /Users/ihor/.m2/repository/org/springframework/spring-aop/5.3.13/spring-aop-5.3.13.jar, /Users/ihor/.m2/repository/org/springframework/spring-expression/5.3.13/spring-expression-5.3.13.jar, /Users/ihor/.m2/repository/org/springframework/spring-tx/5.3.13/spring-tx-5.3.13.jar, /Users/ihor/.m2/repository/org/projectlombok/lombok/1.18.22/lombok-1.18.22.jar, /Users/ihor/.m2/repository/org/springframework/boot/spring-boot-starter-test/2.5.7/spring-boot-starter-test-2.5.7.jar, /Users/ihor/.m2/repository/org/springframework/boot/spring-boot-test/2.5.7/spring-boot-test-2.5.7.jar, /Users/ihor/.m2/repository/org/springframework/boot/spring-boot-test-autoconfigure/2.5.7/spring-boot-test-autoconfigure-2.5.7.jar, /Users/ihor/.m2/repository/com/jayway/jsonpath/json-path/2.5.0/json-path-2.5.0.jar, /Users/ihor/.m2/repository/net/minidev/json-smart/2.4.7/json-smart-2.4.7.jar, /Users/ihor/.m2/repository/net/minidev/accessors-smart/2.4.7/accessors-smart-2.4.7.jar, /Users/ihor/.m2/repository/org/ow2/asm/asm/9.1/asm-9.1.jar, /Users/ihor/.m2/repository/org/slf4j/slf4j-api/1.7.32/slf4j-api-1.7.32.jar, /Users/ihor/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar, /Users/ihor/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar, /Users/ihor/.m2/repository/org/assertj/assertj-core/3.19.0/assertj-core-3.19.0.jar, /Users/ihor/.m2/repository/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar, /Users/ihor/.m2/repository/org/junit/jupiter/junit-jupiter/5.7.2/junit-jupiter-5.7.2.jar, /Users/ihor/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.7.2/junit-jupiter-api-5.7.2.jar, /Users/ihor/.m2/repository/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar, /Users/ihor/.m2/repository/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar, /Users/ihor/.m2/repository/org/junit/platform/junit-platform-commons/1.7.2/junit-platform-commons-1.7.2.jar, /Users/ihor/.m2/repository/org/junit/jupiter/junit-jupiter-params/5.7.2/junit-jupiter-params-5.7.2.jar, /Users/ihor/.m2/repository/org/mockito/mockito-core/3.9.0/mockito-core-3.9.0.jar, /Users/ihor/.m2/repository/net/bytebuddy/byte-buddy/1.10.22/byte-buddy-1.10.22.jar, /Users/ihor/.m2/repository/net/bytebuddy/byte-buddy-agent/1.10.22/byte-buddy-agent-1.10.22.jar, /Users/ihor/.m2/repository/org/objenesis/objenesis/3.2/objenesis-3.2.jar, /Users/ihor/.m2/repository/org/mockito/mockito-junit-jupiter/3.9.0/mockito-junit-jupiter-3.9.0.jar, /Users/ihor/.m2/repository/org/skyscreamer/jsonassert/1.5.0/jsonassert-1.5.0.jar, /Users/ihor/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar, /Users/ihor/.m2/repository/org/springframework/spring-core/5.3.13/spring-core-5.3.13.jar, /Users/ihor/.m2/repository/org/springframework/spring-jcl/5.3.13/spring-jcl-5.3.13.jar, /Users/ihor/.m2/repository/org/springframework/spring-test/5.3.13/spring-test-5.3.13.jar, /Users/ihor/.m2/repository/org/xmlunit/xmlunit-core/2.8.3/xmlunit-core-2.8.3.jar, /Users/ihor/.m2/repository/org/springframework/cloud/spring-cloud-starter-openfeign/3.0.3/spring-cloud-starter-openfeign-3.0.3.jar, /Users/ihor/.m2/repository/org/springframework/cloud/spring-cloud-starter/3.0.3/spring-cloud-starter-3.0.3.jar, /Users/ihor/.m2/repository/org/springframework/cloud/spring-cloud-context/3.0.3/spring-cloud-context-3.0.3.jar, /Users/ihor/.m2/repository/org/springframework/security/spring-security-rsa/1.0.10.RELEASE/spring-security-rsa-1.0.10.RELEASE.jar, /Users/ihor/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar, /Users/ihor/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar, /Users/ihor/.m2/repository/org/springframework/cloud/spring-cloud-openfeign-core/3.0.3/spring-cloud-openfeign-core-3.0.3.jar, /Users/ihor/.m2/repository/org/springframework/boot/spring-boot-starter-aop/2.5.7/spring-boot-starter-aop-2.5.7.jar, /Users/ihor/.m2/repository/org/aspectj/aspectjweaver/1.9.7/aspectjweaver-1.9.7.jar, /Users/ihor/.m2/repository/io/github/openfeign/form/feign-form-spring/3.8.0/feign-form-spring-3.8.0.jar, /Users/ihor/.m2/repository/io/github/openfeign/form/feign-form/3.8.0/feign-form-3.8.0.jar, /Users/ihor/.m2/repository/commons-fileupload/commons-fileupload/1.4/commons-fileupload-1.4.jar, /Users/ihor/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar, /Users/ihor/.m2/repository/org/springframework/spring-web/5.3.13/spring-web-5.3.13.jar, /Users/ihor/.m2/repository/org/springframework/cloud/spring-cloud-commons/3.0.3/spring-cloud-commons-3.0.3.jar, /Users/ihor/.m2/repository/org/springframework/security/spring-security-crypto/5.5.3/spring-security-crypto-5.5.3.jar, /Users/ihor/.m2/repository/io/github/openfeign/feign-core/10.12/feign-core-10.12.jar, /Users/ihor/.m2/repository/io/github/openfeign/feign-slf4j/10.12/feign-slf4j-10.12.jar]
[DEBUG]   (f) compileSourceRoots = [/Users/ihor/dev/IdeaProjects/zeeservices/amqp/src/main/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) failOnWarning = false
[DEBUG]   (f) forceJavacCompilerUse = false
[DEBUG]   (f) fork = false
[DEBUG]   (f) generatedSourcesDirectory = /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/generated-sources/annotations
[DEBUG]   (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile {execution: default-compile}
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/classes
[DEBUG]   (f) parameters = false
[DEBUG]   (f) project = MavenProject: com.zeecoder:amqp:1.0-SNAPSHOT @ /Users/ihor/dev/IdeaProjects/zeeservices/amqp/pom.xml
[DEBUG]   (f) projectArtifact = com.zeecoder:amqp:jar:1.0-SNAPSHOT
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1128620c
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) skipMultiThreadWarning = false
[DEBUG]   (f) source = 17
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (s) target = 17
[DEBUG]   (f) useIncrementalCompilation = true
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Adding /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/generated-sources/annotations to compile source roots:
  /Users/ihor/dev/IdeaProjects/zeeservices/amqp/src/main/java
[DEBUG] New compile source roots:
  /Users/ihor/dev/IdeaProjects/zeeservices/amqp/src/main/java
  /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/generated-sources/annotations
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- jib-maven-plugin:3.3.1:dockerBuild (default-cli) @ amqp ---
[DEBUG] Configuring mojo com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild from plugin realm ClassRealm[plugin>com.google.cloud.tools:jib-maven-plugin:3.3.1, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@531d72ca]
[DEBUG] Configuring mojo 'com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild' with basic configurator -->
[DEBUG]   (f) descriptor = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.CheckJibVersionMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-fail-if-jib-out-of-date'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.FilesMojoV2', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-files-v2'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.InitMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-init'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.PackageGoalsMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-package-goals'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.skaffold.SyncMapMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:_skaffold-sync-map'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.BuildImageMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:build'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.BuildTarMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:buildTar'
role: 'org.apache.maven.plugin.Mojo', implementation: 'com.google.cloud.tools.jib.maven.BuildDockerMojo', role hint: 'com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild'
---
[DEBUG]   (f) image = eclipse-temurin:17
[DEBUG]   (f) architecture = arm64
[DEBUG]   (f) os = linux
[DEBUG]   (f) architecture = amd64
[DEBUG]   (f) os = linux
[DEBUG]   (f) platforms = [com.google.cloud.tools.jib.maven.JibPluginConfiguration$PlatformParameters@3dfa819, com.google.cloud.tools.jib.maven.JibPluginConfiguration$PlatformParameters@4ce94d2f]
[DEBUG]   (f) from = com.google.cloud.tools.jib.maven.JibPluginConfiguration$FromConfiguration@68ab0936
[DEBUG]   (f) project = MavenProject: com.zeecoder:amqp:1.0-SNAPSHOT @ /Users/ihor/dev/IdeaProjects/zeeservices/amqp/pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1128620c
[DEBUG]   (f) tags = [latest]
[DEBUG]   (f) to = com.google.cloud.tools.jib.maven.JibPluginConfiguration$ToConfiguration@3cd9aa64
[DEBUG] -- end configuration --
[DEBUG] Searching for main class... Add a 'mainClass' configuration to 'jib-maven-plugin' to improve build speed.
[DEBUG] Could not find a valid main class from 'maven-jar-plugin'; looking into all class files to infer main class.
[DEBUG] MainClassFinder: /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/classes is not a regular file; skipping
[DEBUG] MainClassFinder: /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/classes/com is not a regular file; skipping
[DEBUG] MainClassFinder: /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/classes/com/zeecoder is not a regular file; skipping
[DEBUG] MainClassFinder: /Users/ihor/dev/IdeaProjects/zeeservices/amqp/target/classes/com/zeecoder/amqp is not a regular file; skipping
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for zeeservices 1.0-SNAPSHOT:
[INFO]
[INFO] zeeservices ........................................ SUCCESS [  0.303 s]
[INFO] amqp ............................................... FAILURE [  0.307 s]
[INFO] clients ............................................ SKIPPED
[INFO] customer ........................................... SKIPPED
[INFO] fraud .............................................. SKIPPED
[INFO] eureka-server ...................................... SKIPPED
[INFO] notification ....................................... SKIPPED
[INFO] api-gateway ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.769 s
[INFO] Finished at: 2023-01-03T20:51:26+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild (default-cli) on project amqp: Main class was not found, perhaps you should add a `mainClass` configuration to jib-maven-plugin -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:dockerBuild (default-cli) on project amqp: Main class was not found, perhaps you should add a `mainClass` configuration to jib-maven-plugin
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Main class was not found, perhaps you should add a `mainClass` configuration to jib-maven-plugin
    at com.google.cloud.tools.jib.maven.BuildDockerMojo.execute (BuildDockerMojo.java:164)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: com.google.cloud.tools.jib.plugins.common.MainClassInferenceException: Main class was not found, perhaps you should add a `mainClass` configuration to jib-maven-plugin
    at com.google.cloud.tools.jib.plugins.common.MainClassResolver.resolveMainClass (MainClassResolver.java:98)
    at com.google.cloud.tools.jib.plugins.common.PluginConfigurationProcessor.computeEntrypoint (PluginConfigurationProcessor.java:672)
    at com.google.cloud.tools.jib.plugins.common.PluginConfigurationProcessor.processCommonConfiguration (PluginConfigurationProcessor.java:436)
    at com.google.cloud.tools.jib.plugins.common.PluginConfigurationProcessor.processCommonConfiguration (PluginConfigurationProcessor.java:490)
    at com.google.cloud.tools.jib.plugins.common.PluginConfigurationProcessor.createJibBuildRunnerForDockerDaemonImage (PluginConfigurationProcessor.java:155)
    at com.google.cloud.tools.jib.maven.BuildDockerMojo.execute (BuildDockerMojo.java:96)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :amqp
➜  zeeservices git:(k8s) ✗
magician20 commented 1 year ago

@magician20 do you see this issue with previous versions of Jib (3.3.0 for example)?

Jib 3.3.1
I got new Error, Below: (for clearness nothing changed in my old mvn files )

[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< com.magician.dev:apigateway >---------------------
[INFO] Building apigateway 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apigateway ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ apigateway ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ apigateway ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to E:\Programming\Spring Boot\projects\amigocode\customerservices\apigateway\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ apigateway ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\Programming\Spring Boot\projects\amigocode\customerservices\apigateway\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ apigateway ---
[INFO] Changes detected - recompiling the module!
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ apigateway ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ apigateway ---
[INFO] Building jar: E:\Programming\Spring Boot\projects\amigocode\customerservices\apigateway\target\apigateway-1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:3.0.1:repackage (default) @ apigateway ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --- jib-maven-plugin:3.3.1:build (default) @ apigateway ---
[INFO] 
[INFO] Containerizing application to registry.hub.docker.com/magician66/apigateway:1.0-SNAPSHOT, registry.hub.docker.com/magician66/apigateway...
[WARNING] Base image 'eclipse-temurin:17' does not use a specific image digest - build may not be reproducible
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] 
[WARNING] The credential helper (docker-credential-desktop) has nothing for server URL: registry.hub.docker.com

Got output:

credentials not found in native keychain

[INFO] Executing tasks:
[INFO] 
[INFO]                                                                                                                                                            
[INFO] Using credentials from Docker config (C:\Users\magic\.docker\config.json) for registry.hub.docker.com/magician66/apigateway:1.0-SNAPSHOT
[INFO] The base image requires auth. Trying again for eclipse-temurin:17...
[WARNING] The credential helper (docker-credential-desktop) has nothing for server URL: registry-1.docker.io
[WARNING] 
Got output:

credentials not found in native keychain

[WARNING] The credential helper (docker-credential-desktop) has nothing for server URL: registry.hub.docker.com
[WARNING] 
Got output:

credentials not found in native keychain

[INFO] Using credentials from Docker config (C:\Users\magic\.docker\config.json) for eclipse-temurin:17
[INFO]                                                                                                                                                            
[INFO]                                                                                                                                                            
[INFO] 
[INFO] 
[INFO] 
[INFO] Using base image with digest: sha256:37646e9acfed59dd6de0849b40aedcee4b873ec05722b88b5df47d82e20883e8
[INFO]                                                                                                                                                            
[INFO]                                                                                                                                                            
[INFO] 
[INFO] Executing tasks:
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] 
[INFO] Executing tasks:
[INFO] [=========                     ] 31.3% complete
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [=========                     ] 31.3% complete                                                                                                            
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [=========                     ] 31.3% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [=========                     ] 31.3% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [=========                     ] 31.3% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO] > checking base image layer sha256:10175de2f0c4...                                                                                                         
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [=========                     ] 31.3% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO] > checking base image layer sha256:10175de2f0c4...                                                                                                         
[INFO] > checking base image layer sha256:a3effab4d2ab...                                                                                                         
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [=========                     ] 31.3% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO] > checking base image layer sha256:10175de2f0c4...                                                                                                         
[INFO] > checking base image layer sha256:a3effab4d2ab...                                                                                                         
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [=========                     ] 31.3% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO] > checking base image layer sha256:10175de2f0c4...                                                                                                         
[INFO] > checking base image layer sha256:a3effab4d2ab...                                                                                                         
[INFO] > checking base image layer sha256:2c8f048f32cc...
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [=========                     ] 31.3% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO] > checking base image layer sha256:10175de2f0c4...                                                                                                         
[INFO] > checking base image layer sha256:a3effab4d2ab...                                                                                                         
[INFO] > checking base image layer sha256:2c8f048f32cc...
[INFO] > checking base image layer sha256:6e3729cf69e0...
[INFO] > checking base image layer sha256:4d8d923227d8...
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [=========                     ] 31.3% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO] > checking base image layer sha256:10175de2f0c4...                                                                                                         
[INFO] > checking base image layer sha256:a3effab4d2ab...                                                                                                         
[INFO] > checking base image layer sha256:2c8f048f32cc...
[INFO] > checking base image layer sha256:6e3729cf69e0...
[INFO] > checking base image layer sha256:4d8d923227d8...
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 32.4% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > checking base image layer sha256:f7f2e5e37e70...
[INFO] > checking base image layer sha256:10175de2f0c4...
[INFO] > checking base image layer sha256:2c8f048f32cc...
[INFO] > checking base image layer sha256:6e3729cf69e0...
[INFO] > checking base image layer sha256:4d8d923227d8...
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 33.4% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > checking base image layer sha256:f7f2e5e37e70...
[INFO] > checking base image layer sha256:10175de2f0c4...
[INFO] > checking base image layer sha256:2c8f048f32cc...
[INFO] > checking base image layer sha256:6e3729cf69e0...
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 33.5% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > checking base image layer sha256:f7f2e5e37e70...
[INFO] > checking base image layer sha256:10175de2f0c4...
[INFO] > checking base image layer sha256:2c8f048f32cc...
[INFO] > checking base image layer sha256:6e3729cf69e0...
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 33.5% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > checking base image layer sha256:f7f2e5e37e70...
[INFO] > checking base image layer sha256:2c8f048f32cc...
[INFO] > checking base image layer sha256:6e3729cf69e0...
[INFO] > checking base image layer sha256:4d8d923227d8...
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [==========                    ] 33.5% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO] > checking base image layer sha256:2c8f048f32cc...                                                                                                         
[INFO] > checking base image layer sha256:4d8d923227d8...                                                                                                         
[INFO] > scheduling building manifests
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 33.5% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > checking base image layer sha256:f7f2e5e37e70...
[INFO] > checking base image layer sha256:2c8f048f32cc...
[INFO] > scheduling building manifests
[INFO] > checking base image layer sha256:eda8241fd25f...
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [==========                    ] 33.5% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > checking base image layer sha256:f7f2e5e37e70...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > checking base image layer sha256:eda8241fd25f...                                                                                                         
[INFO] > launching layer pushers
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [==========                    ] 33.5% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > checking base image layer sha256:eda8241fd25f...                                                                                                         
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 33.5% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 33.6% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 33.7% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 33.8% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 33.9% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.0% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.1% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.2% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.3% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.4% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.5% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.6% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.7% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [==========                    ] 34.7% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.8% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 34.9% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [==========                    ] 35.0% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.0% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 35.0% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.1% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.2% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 35.2% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.3% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.4% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.5% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 35.5% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.6% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 35.6% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.7% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.8% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[INFO] Executing tasks:
[INFO] [===========                   ] 35.9% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] 
[ERROR] I/O error for image [registry-1.docker.io/library/eclipse-temurin]:
[INFO] Executing tasks:
[INFO] [===========                   ] 35.9% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO]                                                                                                                                                            
[ERROR]     java.net.SocketTimeoutException                                                                                                                       
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 35.9% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO]                                                                                                                                                            
[ERROR]     Read timed out                                                                                                                                        
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 35.9% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 36.7% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers                                                                                                                                  
[INFO] 
[ERROR] I/O error for image [registry-1.docker.io/library/eclipse-temurin]:
[INFO] Executing tasks:
[INFO] [===========                   ] 36.7% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO]                                                                                                                                                            
[ERROR]     java.net.SocketTimeoutException                                                                                                                       
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 36.7% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers
[INFO]                                                                                                                                                            
[ERROR]     Read timed out                                                                                                                                        
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 36.7% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] > launching layer pushers
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 37.2% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO] 
[ERROR] I/O error for image [registry-1.docker.io/library/eclipse-temurin]:
[INFO] Executing tasks:
[INFO] [===========                   ] 37.2% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO]                                                                                                                                                            
[ERROR] I/O error for image [registry-1.docker.io/library/eclipse-temurin]:                                                                                       
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 37.2% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO]                                                                                                                                                            
[ERROR]     java.net.SocketTimeoutException                                                                                                                       
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 37.2% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO]                                                                                                                                                            
[ERROR]     Read timed out                                                                                                                                        
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 37.2% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO]                                                                                                                                                            
[ERROR]     java.net.SocketTimeoutException                                                                                                                       
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 37.2% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO]                                                                                                                                                            
[ERROR]     Read timed out                                                                                                                                        
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 37.2% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO] > launching layer pushers                                                                                                                                  
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 38.2% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [===========                   ] 38.2% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] > scheduling building manifests                                                                                                                            
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [============                  ] 38.8% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO] 
[ERROR] I/O error for image [registry-1.docker.io/library/eclipse-temurin]:
[INFO] Executing tasks:
[INFO] [============                  ] 38.8% complete
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...
[INFO]                                                                                                                                                            
[ERROR]     java.net.SocketTimeoutException                                                                                                                       
[INFO] Executing tasks:                                                                                                                                           
[INFO] [============                  ] 38.8% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO]                                                                                                                                                            
[ERROR]     Read timed out                                                                                                                                        
[INFO] Executing tasks:                                                                                                                                           
[INFO] [============                  ] 38.8% complete                                                                                                            
[INFO] > pushing blob sha256:789c2fe3ac30c672f41596012...                                                                                                         
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] [============                  ] 39.2% complete                                                                                                            
[INFO] 
[ERROR] I/O error for image [registry-1.docker.io/library/eclipse-temurin]:
[INFO] Executing tasks:
[INFO] [============                  ] 39.2% complete
[INFO]                                                                                                                                                            
[ERROR]     java.net.SocketTimeoutException                                                                                                                       
[INFO] Executing tasks:                                                                                                                                           
[INFO] [============                  ] 39.2% complete                                                                                                            
[INFO]                                                                                                                                                            
[ERROR]     Read timed out                                                                                                                                        
[INFO] Executing tasks:                                                                                                                                           
[INFO] [============                  ] 39.2% complete                                                                                                            
[INFO]                                                                                                                                                            
[INFO] Executing tasks:                                                                                                                                           
[INFO] 
[INFO] Executing tasks:
[INFO] 
[WARNING] PATCH https://registry.hub.docker.com/v2/magician66/apigateway/blobs/uploads/bc68078e-cf9d-4c7d-9418-647d8fb63172?_state=cE0DIoTj18hYhjzhID6MGWVxUyFszTtQQvZzjknKkLZ7Ik5hbWUiOiJtYWdpY2lhbjY2L2FwaWdhdGV3YXkiLCJVVUlEIjoiYmM2ODA3OGUtY2Y5ZC00YzdkLTk0MTgtNjQ3ZDhmYjYzMTcyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTAzVDIxOjEwOjUyLjg2MjM0MTUxMloifQ%3D%3D failed and will be retried
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] 
[INFO] Executing tasks:
[INFO] [=============                 ] 41.7% complete
[INFO] > scheduling building manifests
[INFO] > launching layer pushers
[INFO] > launching layer pushers
[INFO] > scheduling pushing container configurations
[INFO] > scheduling pushing manifests
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:49 min
[INFO] Finished at: 2023-01-04T00:16:33+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:build (default) on project apigateway: Read timed out -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.1:build (default) on project apigateway: Read timed out
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Read timed out
    at com.google.cloud.tools.jib.maven.BuildImageMojo.execute (BuildImageMojo.java:181)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: java.net.SocketTimeoutException: Read timed out
    at sun.nio.ch.NioSocketImpl.timedRead (NioSocketImpl.java:283)
    at sun.nio.ch.NioSocketImpl.implRead (NioSocketImpl.java:309)
    at sun.nio.ch.NioSocketImpl.read (NioSocketImpl.java:350)
    at sun.nio.ch.NioSocketImpl$1.read (NioSocketImpl.java:803)
    at java.net.Socket$SocketInputStream.read (Socket.java:966)
    at sun.security.ssl.SSLSocketInputRecord.read (SSLSocketInputRecord.java:478)
    at sun.security.ssl.SSLSocketInputRecord.readFully (SSLSocketInputRecord.java:461)
    at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord (SSLSocketInputRecord.java:243)
    at sun.security.ssl.SSLSocketInputRecord.decode (SSLSocketInputRecord.java:181)
    at sun.security.ssl.SSLTransport.decode (SSLTransport.java:111)
    at sun.security.ssl.SSLSocketImpl.decode (SSLSocketImpl.java:1508)
    at sun.security.ssl.SSLSocketImpl.readApplicationRecord (SSLSocketImpl.java:1479)
    at sun.security.ssl.SSLSocketImpl$AppInputStream.read (SSLSocketImpl.java:1064)
    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead (SessionInputBufferImpl.java:137)
    at org.apache.http.impl.io.SessionInputBufferImpl.read (SessionInputBufferImpl.java:197)
    at org.apache.http.impl.io.ContentLengthInputStream.read (ContentLengthInputStream.java:176)
    at org.apache.http.conn.EofSensorInputStream.read (EofSensorInputStream.java:135)
    at java.io.BufferedInputStream.read1 (BufferedInputStream.java:282)
    at java.io.BufferedInputStream.read (BufferedInputStream.java:343)
    at java.io.FilterInputStream.read (FilterInputStream.java:106)
    at com.google.common.io.ByteStreams.copy (ByteStreams.java:114)
    at com.google.cloud.tools.jib.hash.Digests.lambda$computeDigest$2 (Digests.java:87)
    at com.google.cloud.tools.jib.hash.Digests.computeDigest (Digests.java:104)
    at com.google.cloud.tools.jib.hash.Digests.computeDigest (Digests.java:88)
    at com.google.cloud.tools.jib.registry.BlobPuller.handleResponse (BlobPuller.java:72)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
    at java.lang.Thread.run (Thread.java:833)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
strat1971 commented 1 year ago

Chanseok Oh: Thank you, yes I understand. The gitlab pipeline is able to log in to docker hub, so I don't know why I hit the "Too many requests" problem - but it is a distraction. The real problem is the 401 when trying to pull from dicker hub using jib.

Task :[component-name]:jib FAILED :[component-name]:jib (Thread[Execution worker,5,main]) completed. Took 10.927 secs. FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':[component-name]:jib'. com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: com.google.cloud.tools.jib.api.RegistryUnauthorizedException: Unauthorized for registry-1.docker.io/library/eclipse-temurin
  • Try: Run with --debug option to get more log output. Run with --scan to get full insights.
  • Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':cumulative-data-sync:jib'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142) at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)

and then later on...

Caused by: com.google.cloud.tools.jib.http.ResponseException: 401 Unauthorized {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"library/eclipse-temurin","Action":"pull"}]}]} at com.google.cloud.tools.jib.http.FailoverHttpClient.call(FailoverHttpClient.java:355) at com.google.cloud.tools.jib.http.FailoverHttpClient.call(FailoverHttpClient.java:266) at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call(RegistryEndpointCaller.java:138) ... 13 more Caused by: com.google.api.client.http.HttpResponseException: 401 Unauthorized {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"library/eclipse-temurin","Action":"pull"}]}]} at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1113) at com.google.cloud.tools.jib.http.FailoverHttpClient.call(FailoverHttpClient.java:349) ... 15 more

I can pull from this registry from my command line, but then of course I am not using jib. Jim

On Tue, 20 Dec 2022, 12:13 Chanseok Oh, @.***> wrote:

@strat1971 https://github.com/strat1971 for you, you're hitting the Docker Hub rate limit: https://www.docker.com/increase-rate-limit

By logging in to Docker Hub, you can increase the limit to 200 pulls per 6 hours from 100 pulls. If you need more, you can always pay Docker Hub. Also check out other options https://github.com/GoogleContainerTools/jib/blob/master/docs/default_base_image.md#docker-hub-download-rate-limit .

com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: 429 Too Many Requests { "errors": [{ "code": "TOOMANYREQUESTS", "message": "You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit" }] }

— Reply to this email directly, view it on GitHub https://github.com/GoogleContainerTools/jib/issues/3889#issuecomment-1358551052, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG4Z4MWGVYSB7CRUBFTFRH3WODT3HANCNFSM6AAAAAASZTAGZE . You are receiving this because you were mentioned.Message ID: @.***>

mpeddada1 commented 1 year ago

@IgorZaporozhtsev You seem to be running into this issue: Caused by: com.google.cloud.tools.jib.plugins.common.MainClassInferenceException: Main class was not found, perhaps you should add amainClassconfiguration to jib-maven-plugin. Please make sure you have mainClass field specified in the plugin config.

mpeddada1 commented 1 year ago

@magician20 I believe the Read time out you're seeing happens when there are some networks delays and possibly due to jib timing out sooner than you'd like. The suggestion in https://github.com/GoogleContainerTools/jib/issues/3040 may help address this.

emmileaf commented 1 year ago

@IgorZaporozhtsev @magician20 I am having some trouble reproducing this issue locally with a multimodule project - could you help provide more information on how you are setting up your config.json, and whether it is configuring any credHelpers, or directly specifying auths? Additionally:

emmileaf commented 1 year ago

I tried upgrading to 3.3.1 but gradle could not find it - that's another issue: Could not find gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:3.3.1

@strat1971 a side note - this is likely from a change in gradle plugin coordinates, https://github.com/GoogleContainerTools/jib/issues/3795 might help to unblock here.

magician20 commented 1 year ago

@emmileaf I checked > docker-credential-desktop list, work fine. My problem 100% related to connection and firewall, at the beginning I had problem with credential but I think solved by removing config.json file. I changed my WIFI Connection and worked fine. (but I got that errors one time (An established connection was aborted by the software in your host machine) )

{
    "auths": {
        "https://index.docker.io/v1/": {}
    },
    "credsStore": "desktop"
}

Thanks For help everyone.

emmileaf commented 1 year ago

@magician20 Thanks for the update - glad to hear your credential issue was resolved!

ChtiouiMoncer commented 1 year ago

Hello guys I solved the problem with: -docker login registry-1.docker.io then enter your username and password it worked for me !

IgorZaporozhtsev commented 1 year ago

@emmileaf

{
  "auths": {
    "https://index.docker.io/v1/": {}
  },
  "credsStore": "desktop"
}

on project amqp: Main class was not found - amqp project is module with RabbitMQ configuration for other modules so it uses as library not as executable project

magician20 commented 1 year ago

@magician20 I believe the Read time out you're seeing happens when there are some networks delays and possibly due to jib timing out sooner than you'd like. The suggestion in #3040 may help address this.

@mpeddada1 could you explain how to use it with maven by an example cause it failed every time used with a command or inside maven file.

emmileaf commented 1 year ago

@IgorZaporozhtsev Apologies for sounding like a broken record - given the other follow-ups in this thread, I suspect there is something specific in your setup that is likely misconfigured here. I’ve summarized a couple of troubleshooting suggestions given the information provided:

mpeddada1 commented 1 year ago

@mpeddada1 could you explain how to use it with maven by an example cause it failed every time used with a command or inside maven file.

@magician20 sorry for missing your ping earlier! The usage of this system property looks like this: mvn compile jib:build -Djib.httpTimeout=0. Specifying this property should be the same as specifying any other system property in maven. I have used 0 here for illustrative purposes and 0 represents an infinite timeout in jib as mentioned in the README you referenced, but you can also specify the value of your choice in the milliseconds. I remember seeing an issue where the way in which system properties were defined changes slightly based on where the maven command is being called so we also need to be wary of that. Please see this issue for reference: https://github.com/GoogleContainerTools/jib/issues/1603

IgorZaporozhtsev commented 1 year ago

Cause problem was in restriction of the amount private repositories

Screenshot 2023-02-05 at 11 23 20

Thank you for your help! Best regards. Ihor Z