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

FAILED: build_docker_java and build_docker_javaokhttp on master #13379

Closed
jtattermusch opened this issue Nov 14, 2017 · 7 comments
Closed

FAILED: build_docker_java and build_docker_javaokhttp on master #13379

jtattermusch opened this issue Nov 14, 2017 · 7 comments
Labels

Comments

@jtattermusch
Copy link
Contributor

Currently breaks all interop test runs.
https://sponge.corp.google.com/target?id=1dd80ec3-66c9-4f8f-b2e9-ef1aa4f77d72&target=grpc%2Fubuntu%2Fpull_request%2Fgrpc_interop_toprod&searchFor=

https://sponge.corp.google.com/target?id=1dd80ec3-66c9-4f8f-b2e9-ef1aa4f77d72&target=grpc%2Fubuntu%2Fpull_request%2Fgrpc_interop_toprod&searchFor=

Status: Downloaded newer image for grpctesting/grpc_interop_java_1749e030891a506b5af32ca78d1ce18dbf52e89c:latest

real	0m56.721s
user	0m0.044s
sys	0m0.056s
+ git branch -f jenkins-docker
++ uuidgen
+ CONTAINER_NAME=build_grpc_interop_java_194724ce-6a88-434e-89a0-20b8bbd12b90
+ docker run -e CCACHE_DIR=/tmp/ccache -e 'THIS_IS_REALLY_NEEDED=see https://github.com/docker/docker/issues/14203 for why docker is awful' -e 'THIS_IS_REALLY_NEEDED_ONCE_AGAIN=For issue 4835. See https://github.com/docker/docker/issues/14203 for why docker is awful' -i -v /tmpfs/src/github/grpc:/var/local/jenkins/grpc:ro -v /tmpfs/src/github/grpc-java:/var/local/jenkins/grpc-java:ro -v /tmpfs/src/github/grpc-go:/var/local/jenkins/grpc-go:ro -v /tmpfs/src/github/grpc-node:/var/local/jenkins/grpc-node:ro -v /home/kbuilder/service_account:/var/local/jenkins/service_account:ro -v /tmp/ccache:/tmp/ccache --name=build_grpc_interop_java_194724ce-6a88-434e-89a0-20b8bbd12b90 grpctesting/grpc_interop_java_1749e030891a506b5af32ca78d1ce18dbf52e89c bash -l /var/local/jenkins/grpc/tools/dockerfile/interoptest/grpc_interop_java/build_interop.sh
stdin: is not a tty
Cloning into '/var/local/git/grpc-java'...
warning: --depth is ignored in local clones; use file:// instead.
done.
Downloading https://services.gradle.org/distributions/gradle-4.3-bin.zip
.....................................................................
Unzipping /root/.gradle/wrapper/dists/gradle-4.3-bin/452wx51oxqsia28686mgqhot6/gradle-4.3-bin.zip to /root/.gradle/wrapper/dists/gradle-4.3-bin/452wx51oxqsia28686mgqhot6
Set executable permissions for: /root/.gradle/wrapper/dists/gradle-4.3-bin/452wx51oxqsia28686mgqhot6/gradle-4.3/bin/gradle
Starting a Gradle Daemon (subsequent builds will be faster)
*** Skipping the build of codegen and compilation of proto files because skipCodegen=true

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'grpc'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve com.google.gradle:osdetector-gradle-plugin:1.4.0.
     Required by:
         project :
      > Could not resolve com.google.gradle:osdetector-gradle-plugin:1.4.0.
         > Could not get resource 'https://repo1.maven.org/maven2/com/google/gradle/osdetector-gradle-plugin/1.4.0/osdetector-gradle-plugin-1.4.0.pom'.
            > Could not HEAD 'https://repo1.maven.org/maven2/com/google/gradle/osdetector-gradle-plugin/1.4.0/osdetector-gradle-plugin-1.4.0.pom'.
               > Host name 'repo1.maven.org' does not match the certificate subject provided by the peer (CN=repo.maven.apache.org, O="Sonatype, Inc", L=Fulton, ST=MD, C=US)
   > Could not resolve ru.vyarus:gradle-animalsniffer-plugin:1.4.0.
     Required by:
         project :
      > Could not resolve ru.vyarus:gradle-animalsniffer-plugin:1.4.0.
         > Could not get resource 'https://repo1.maven.org/maven2/ru/vyarus/gradle-animalsniffer-plugin/1.4.0/gradle-animalsniffer-plugin-1.4.0.pom'.
            > Could not HEAD 'https://repo1.maven.org/maven2/ru/vyarus/gradle-animalsniffer-plugin/1.4.0/gradle-animalsniffer-plugin-1.4.0.pom'.
               > Host name 'repo1.maven.org' does not match the certificate subject provided by the peer (CN=repo.maven.apache.org, O="Sonatype, Inc", L=Fulton, ST=MD, C=US)
   > Could not resolve net.ltgt.gradle:gradle-errorprone-plugin:0.0.11.
     Required by:
         project :
      > Could not resolve net.ltgt.gradle:gradle-errorprone-plugin:0.0.11.
         > Could not get resource 'https://repo1.maven.org/maven2/net/ltgt/gradle/gradle-errorprone-plugin/0.0.11/gradle-errorprone-plugin-0.0.11.pom'.
            > Could not HEAD 'https://repo1.maven.org/maven2/net/ltgt/gradle/gradle-errorprone-plugin/0.0.11/gradle-errorprone-plugin-0.0.11.pom'.
               > Host name 'repo1.maven.org' does not match the certificate subject provided by the peer (CN=repo.maven.apache.org, O="Sonatype, Inc", L=Fulton, ST=MD, C=US)
   > Could not resolve me.champeau.gradle:jmh-gradle-plugin:0.4.4.
     Required by:
         project :
      > Could not resolve me.champeau.gradle:jmh-gradle-plugin:0.4.4.
         > Could not get resource 'https://repo1.maven.org/maven2/me/champeau/gradle/jmh-gradle-plugin/0.4.4/jmh-gradle-plugin-0.4.4.pom'.
            > Could not HEAD 'https://repo1.maven.org/maven2/me/champeau/gradle/jmh-gradle-plugin/0.4.4/jmh-gradle-plugin-0.4.4.pom'.
               > Host name 'repo1.maven.org' does not match the certificate subject provided by the peer (CN=repo.maven.apache.org, O="Sonatype, Inc", L=Fulton, ST=MD, C=US)
   > Could not resolve me.champeau.gradle:japicmp-gradle-plugin:0.2.5.
     Required by:
         project :
      > Could not resolve me.champeau.gradle:japicmp-gradle-plugin:0.2.5.
         > Could not get resource 'https://repo1.maven.org/maven2/me/champeau/gradle/japicmp-gradle-plugin/0.2.5/japicmp-gradle-plugin-0.2.5.pom'.
            > Could not HEAD 'https://repo1.maven.org/maven2/me/champeau/gradle/japicmp-gradle-plugin/0.2.5/japicmp-gradle-plugin-0.2.5.pom'.
               > Host name 'repo1.maven.org' does not match the certificate subject provided by the peer (CN=repo.maven.apache.org, O="Sonatype, Inc", L=Fulton, ST=MD, C=US)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s
+ EXITCODE=1
+ docker rm -f build_grpc_interop_java_194724ce-6a88-434e-89a0-20b8bbd12b90
build_grpc_interop_java_194724ce-6a88-434e-89a0-20b8bbd12b90
+ exit 1

2017-11-13 09:31:33,182 FAILED: build_docker_java [ret=1, pid=14342, time=67.9sec]
@ericgribkoff
Copy link
Contributor

Is this still happening? It looks like a (possibly transient) network/auth failure, and as best I can tell gradle is working fine on recent PRs.

@jtattermusch
Copy link
Contributor Author

I checked a few last builds on master and I don't see this issue anymore - so it probably was transient. Thanks for looking into this!

@ericgribkoff
Copy link
Contributor

There's not a whole lot that can obviously be done here: the build failed due to failing to fetch a dependency from Google's mirror of maven central (connect to maven-central.storage-download.googleapis.com:443 [maven-central.storage-download.googleapis.com/74.125.141.128] failed: connect timed out). This appears to be a transitory issue due to the docker image or the host experiencing a network problem.

I downgraded this from a P0...I'd imagine that, given the number of builds we're doing, every once in a while a dependency of some part or another is going to fail to download. Maybe there should be a central issue for tracking this, as AFAIK this doesn't only apply to Java builds.

@guantaol guantaol reopened this Jan 17, 2020
@stale stale bot removed the disposition/stale label Jan 17, 2020
@grpc grpc unlocked this conversation May 5, 2020
@stale
Copy link

stale bot commented Aug 3, 2020

This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 30 days. It will be closed automatically if no further update occurs in 7 day. Thank you for your contributions!

@stale stale bot closed this as completed Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants