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

[Bug][Docker] error while building tubemq image #2097

Closed
1 of 2 tasks
shink opened this issue Jan 4, 2022 · 0 comments · Fixed by #2101
Closed
1 of 2 tasks

[Bug][Docker] error while building tubemq image #2097

shink opened this issue Jan 4, 2022 · 0 comments · Fixed by #2101
Assignees
Labels
Milestone

Comments

@shink
Copy link
Member

shink commented Jan 4, 2022

What happened

An error occurred when build tubemq image.

The command is:

mvn --batch-mode --update-snapshots -e -V clean package -DskipTests -Pdocker

The working directory is the root directory of inlong.

See https://github.com/shink/incubator-inlong/runs/4671539072?check_suite_focus=true

Caused by: com.spotify.docker.client.exceptions.DockerException: The command '/bin/sh -c wget -O "/tmp/protobuf-${PROTOBUF_VERSION}.zip" "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-${PROTOBUF_VERSION}.zip"     && unzip "/tmp/protobuf-${PROTOBUF_VERSION}.zip" -d "/opt/"     && cd /opt/protobuf-${PROTOBUF_VERSION}     && ./configure --prefix=/usr && make && make DESTDIR=/protobuf/ install     && rm -f "/tmp/protobuf-${PROTOBUF_VERSION}.zip"' returned a non-zero code: 8
    at com.spotify.plugin.dockerfile.LoggingProgressHandler.handleError (LoggingProgressHandler.java:105)
    at com.spotify.plugin.dockerfile.LoggingProgressHandler.progress (LoggingProgressHandler.java:63)
    at com.spotify.docker.client.DefaultDockerClient$BuildProgressHandler.progress (DefaultDockerClient.java:312)
    at com.spotify.docker.client.ProgressStream.tail (ProgressStream.java:77)
    at com.spotify.docker.client.DefaultDockerClient$ResponseTailReader.call (DefaultDockerClient.java:2754)
    at com.spotify.docker.client.DefaultDockerClient$ResponseTailReader.call (DefaultDockerClient.java:2738)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:748)

What you expected to happen

All images can be built correctly.

How to reproduce

Enter the root directory of inlong, execute the following command.

mvn --batch-mode --update-snapshots -e -V clean package -DskipTests -Pdocker

Environment

  • ubuntu: 20.04
  • docker: 20.10.12
  • java: 1.8.0_261
  • maven: 3.8.4

InLong version

master

InLong Component

InLong TubeMQ

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@shink shink added the type/bug Something is wrong label Jan 4, 2022
@shink shink changed the title [Bug][Docker] error when build tubemq image [Bug][Docker] error while building tubemq image Jan 4, 2022
@dockerzhang dockerzhang added this to the 0.13.0 milestone Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants