Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

dockerPush seems to hang forever #519

Open
hambone01 opened this issue Feb 8, 2022 · 1 comment
Open

dockerPush seems to hang forever #519

hambone01 opened this issue Feb 8, 2022 · 1 comment

Comments

@hambone01
Copy link

What happened?

dockerPush seems to hang forever

$ ./gradlew dockerPush --info
Initialized native services in: C:\Users\gormanst\.gradle\native
The client will now receive all logging from the daemon (pid: 45088). The daemon log file: C:\Users\gormanst\.gradle\daemon\7.1\daemon-45088.out.log
Starting 10th build in daemon [uptime: 1 hrs 46 mins 14.947 secs, performance: 100%]                                                                
Using 12 worker leases.                                                                                                                             
Now considering [C:\Users\gormanst\devel\mission-thread\space\target-accessibility-base-image] as hierarchies to watch                              
Watching the file system is enabled if available                                                                                                    
Starting Build                                                                                                                                      
Settings evaluated using settings file 'C:\Users\gormanst\devel\mission-thread\space\target-accessibility-base-image\settings.gradle'.              
Projects loaded. Root project using build file 'C:\Users\gormanst\devel\mission-thread\space\target-accessibility-base-image\build.gradle'.         
Included projects: [root project 'target-accessibility-base-image']                                                                                 

> Configure project :
Evaluating root project 'target-accessibility-base-image' using build file 'C:\Users\gormanst\devel\mission-thread\space\target-accessibility-base-image\build.gradle
'.
All projects evaluated.
Selected primary task 'dockerPush' from project :
Tasks to be executed: [task ':dockerClean', task ':dockerPrepare', task ':docker', task ':dockerTag1.0-SNAPSHOT', task ':dockerPush1.0-SNAPSHOT', task ':dockerTagsPu
sh', task ':dockerPush']
Tasks that were excluded: []
:dockerClean (Thread[Execution worker for ':',5,main]) started.

> Task :dockerClean
Caching disabled for task ':dockerClean' because:
  Build cache is disabled
Task ':dockerClean' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
:dockerClean (Thread[Execution worker for ':',5,main]) completed. Took 0.15 secs.
:dockerPrepare (Thread[Execution worker for ':',5,main]) started.

> Task :dockerPrepare
Caching disabled for task ':dockerPrepare' because:
  Build cache is disabled
Task ':dockerPrepare' is not up-to-date because:
  Output property 'destinationDir' file C:\Users\gormanst\devel\mission-thread\space\target-accessibility-base-image\build\docker has been removed.
  Output property 'destinationDir' file C:\Users\gormanst\devel\mission-thread\space\target-accessibility-base-image\build\docker\cosmos2.2.tar.gz has been removed. 
  Output property 'destinationDir' file C:\Users\gormanst\devel\mission-thread\space\target-accessibility-base-image\build\docker\cosmos_install_script_thin.sh has b
een removed.
:dockerPrepare (Thread[Execution worker for ':',5,main]) completed. Took 2.414 secs.
:docker (Thread[Execution worker for ':',5,main]) started.

> Task :docker
Caching disabled for task ':docker' because:
  Build cache is disabled
Task ':docker' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Starting process 'command 'docker''. Working directory: C:\Users\gormanst\devel\mission-thread\space\target-accessibility-base-image\build\docker Command: docker bui
ld -t artifactory.abic.leidoscope.com/docker-group/leidos/target-accessibility:v4 .
Successfully started process 'command 'docker''
#1 [internal] load build definition from Dockerfile
#1 sha256:3ecd4d039e03baa6be7eea04a6e5513487ad6c2417771d4c2b32bea9b344affd
#1 transferring dockerfile: 1.83kB done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:11b6e29e59b706407e14df689048d02fba58015f6535b3dc8461947c9b198e58
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/ubuntu:18.04
#3 sha256:ae46bbb1b755529d0da663ca0256a22acd7c9fe21844946c149800baa67c4e4b
#3 DONE 0.0s

#4 [ 1/14] FROM docker.io/library/ubuntu:18.04
#4 sha256:5e691c7ba4998fa4b60d1218bbc4ed9845bfa527d7d91b0c48922bbea45ce425
#4 DONE 0.0s

#11 [internal] load build context
#11 sha256:7d9faefeeff87e00a2614c9dd3fe38d9a65488b81ba9d6ffc1ba3be4ddc2ba6c
#11 transferring context: 237.92MB 2.1s done
#11 DONE 2.1s                               

#10 [ 7/14] RUN apt-get install -y libc6-dbg libc6-dbg:i386 lib32stdc++6 openjdk-11-jdk xvfb     && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
#10 sha256:cc9550e40d97e165806ced2b0c65a284b36a6592d41de5334afb17a08cf1d0f4
#10 CACHED

#16 [12/14] COPY entrypoint.sh /model_template/entrypoint.sh
#16 sha256:a04704f85d89080c88ef754f230a7bf5cd2a1553c57d57b895b7c23e7a2af6e7
#16 CACHED

#5 [ 2/14] RUN dpkg --add-architecture i386
#5 sha256:9d13d3c275c168dd27f4f11581edd2c084d411a3c13c13caf4d62d12c152d471
#5 CACHED

#15 [11/14] COPY model_template/* /model_template/
#15 sha256:c9100c2ffc24d9643b6d0e76c98b71230c2b58b78ebf4cac1b8540c1e9ff1fc4
#15 CACHED

#6 [ 3/14] RUN apt-get update     && apt-get upgrade     && apt-get -y install software-properties-common ca-certificates wget
#6 sha256:a0cb7803574d14dc33e57276d337a09da60d88abfb2533a216685deae5499fa7
#6 CACHED

#13 [ 9/14] COPY cosmos_install_script_thin.sh .
#13 sha256:1edb24bf0b4c4e849ebd502dad8a438a020c7171ccdfb4d57a11d75528b5031f
#13 CACHED

#17 [13/14] RUN ["chmod", "+x", "model_template/entrypoint.sh"]
#17 sha256:d5ee0bd1490cca26a73bf58591d3d97e41179a24b468d12eb5455cc56ac5721a
#17 CACHED

#7 [ 4/14] RUN mkdir /usr/share/ca-certificates/extra     && wget --progress=dot:giga "http://pki.leidos.com/Leidos Cloud PKI Root CA.cer" -O /usr/share/ca-certifica
tes/extra/LeidosRootCA.crt     && echo 'extra/'LeidosRootCA.crt >> /etc/ca-certificates.conf     && update-ca-certificates
#7 sha256:adab32271a4ced2fd746174ffcb4bdb4e3604cc2a1beda73eb9f608c58f39cd0
#7 CACHED

#9 [ 6/14] RUN apt-get update
#9 sha256:8d4cb63c9b81489c812bbfe2eaa52461958938e41858cdcbe8ca81bb81f2bce4
#9 CACHED

#14 [10/14] RUN ["chmod", "+x", "cosmos_install_script_thin.sh"]
#14 sha256:3fef48da87613f37d9e8831ee16b19cbac54177c99b2827950a2d36c395ebb2d
#14 CACHED

#12 [ 8/14] COPY cosmos2.2.tar.gz .
#12 sha256:373540e764bb2ff36fdc78c30dc8595f54c8d7789ddfb1029d690fd38d154bb5
#12 CACHED

#8 [ 5/14] RUN add-apt-repository -y ppa:linuxuprising/java
#8 sha256:b1ca9d37b8b4a7c29b5c6c9097f42106aa16c77a0355cf0e0c90e25ecd45a6a1
#8 CACHED

#18 [14/14] RUN bash cosmos_install_script_thin.sh
#18 sha256:54e6f7064cd04feaf239d22b0ab0f98e2472301e2a40524cec3a3f0c7f380d9d
#18 CACHED

#19 exporting to image
#19 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#19 exporting layers done
#19 writing image sha256:63c2edacb7469509f0bea46c9bc57b516b82701bc4a318947152871861483083 done
#19 naming to artifactory.abic.leidoscope.com/docker-group/leidos/target-accessibility:v4 done
#19 DONE 0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
:docker (Thread[Execution worker for ':',5,main]) completed. Took 3.848 secs.
:dockerTag1.0-SNAPSHOT (Thread[Execution worker for ':',5,main]) started.

> Task :dockerTag1.0-SNAPSHOT
Caching disabled for task ':dockerTag1.0-SNAPSHOT' because:
  Build cache is disabled
Task ':dockerTag1.0-SNAPSHOT' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Starting process 'command 'docker''. Working directory: C:\Users\gormanst\devel\mission-thread\space\target-accessibility-base-image\build\docker Command: docker tag
 artifactory.abic.leidoscope.com/docker-group/leidos/target-accessibility:v4 artifactory.abic.leidoscope.com/docker-group/leidos/target-accessibility:1.0-SNAPSHOT   
Successfully started process 'command 'docker''
:dockerTag1.0-SNAPSHOT (Thread[Execution worker for ':',5,main]) completed. Took 0.859 secs.
:dockerPush1.0-SNAPSHOT (Thread[Execution worker for ':',5,main]) started.
> Task :dockerPush1.0-SNAPSHOT
Task ':dockerPush1.0-SNAPSHOT' is not up-to-date because:
h artifactory.abic.leidoscope.com/docker-group/leidos/target-accessibility:1.0-SNAPSHOT
95d66fd02d63: Preparing
3ac8223f038a: Preparing
39c3800f1c21: Preparing
c9f187ba7734: Preparing
ecc0e8ed6006: Preparing
df4f510fb076: Preparing
1dc52a6b4de8: Preparing
c9f187ba7734: Waiting
ecc0e8ed6006: Waiting
5b8af99ea619: Waiting
3530d4ba3163: Waiting
e615c987c186: Waiting
df4f510fb076: Waiting
16eccc3f3f52: Waiting
dc24a03f691f: Layer already exists
95d66fd02d63: Layer already exists
39c3800f1c21: Layer already exists
3ac8223f038a: Layer already exists
c9f187ba7734: Layer already exists
ecc0e8ed6006: Layer already exists
3530d4ba3163: Layer already exists
e615c987c186: Layer already exists
df4f510fb076: Layer already exists
16eccc3f3f52: Layer already exists
5b8af99ea619: Layer already exists
<=======------> 57% EXECUTING [11m 37s]
> :dockerPush1.0-SNAPSHOT


What did you want to happen?

The image should push successfully.

@rmetzger
Copy link

rmetzger commented Jul 8, 2022

I have the same issue. I wonder if it is possible to show the progress bars visible from the native docker push command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants