Comments (5)
@mpeddada1 this I believe was introduced in 3.4.3 and looks to be an important regression issue to fix before making the next release.
from jib.
We are facing the same problem when upgrading to jib-maven-plugin 3.4.3.
It seems to be a Windows-only problem (it works correctly when running the command in WSL2/Ubuntu)
Staying on 3.4.2 for now.
from jib.
Breaking change is addition of the following line.
This line blocks until docker info -f "{{json .}}"
process exits to start reading the inputStream. On windows, it only exits after inputStream is read, resulting in deadlock.
Can be reproduced on windows with following code. Only occurs with -f
option.
Process process = new ProcessBuilder("docker", "info", "-f", "json").start();
process.waitFor();
from jib.
@chanseokoh Assigned this to myself.
@beskow My initial hypothesis was that this may have been caused due to some unconventional log warnings we added but this is really helpful information (#4267 (comment))
This line blocks until
docker info -f "{{json .}}"
process exits to start reading the inputStream. On windows, it only exits after inputStream is read, resulting in deadlock.
from jib.
We encountered this issue as well. Seems to be working on linux but hanging on windows.
Doing a breakpoint on line 191 in CliDockerClient and calling waitFor() hangs on windows. If you call getInputStream() without calling waitFor() before it, it works as expected.
Downgraded to 3.4.2 in the meantime.
from jib.
Related Issues (20)
- Basic element 'path' must not contain child elements HOT 2
- Core Release v0.28.0-core
- Plugin Release v3.4.3-gradle
- Plugin Release v3.4.3-maven
- Core Release v0.27.1-core
- Jib does not provide meaningful exception message jib:build
- Impossible to build amd-64 docker on Mac M3 machine HOT 14
- Jib client push to Harbor fails on 502 errors
- Add additional jvmflag support
- Align containerizingMode with Spring's Class Data Sharing (CDS) approach
- Allow changing existing jib images without the "package" maven goal having run
- The credential helper (docker-credential-osxkeychain) has nothing for server URL HOT 2
- Timestamped Snapshots are not well respected with jib
- manifest unknown | If this is a bug, please file an issue at
- v0.27.1-core not building amd64 images on M1+ macs
- Jib gradle plugin and Java modules? HOT 3
- Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.2.1:dockerBuild HOT 1
- Docker not found when using Java 21 HOT 1
- The configured platforms don't match the Docker Engine's OS and architecture HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jib.