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]: Gradle check failing on Jenkins [1635] #2446

Closed
navneet1v opened this issue Aug 9, 2022 · 4 comments
Closed

[Bug]: Gradle check failing on Jenkins [1635] #2446

navneet1v opened this issue Aug 9, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@navneet1v
Copy link
Contributor

navneet1v commented Aug 9, 2022

Describe the bug

The gradle check is failing on the Jenkins due to some network issues.

https://build.ci.opensearch.org/job/gradle-check/1635/console

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test:fixtures:azure-fixture:composeUp'.
> Exit-code 1 when calling /usr/bin/docker-compose, stdout: Step 1/5 : FROM ubuntu:18.04
  18.04: Pulling from library/ubuntu
  Digest: sha256:eb1392bbdde63147bc2b4ff1a4053dcfe6d15e4dfd3cce29e9b9f52a4f88bc74
  Status: Downloaded newer image for ubuntu:18.04
   ---> 8d5df41c547b
  Step 2/5 : RUN apt-get update -qqy
   ---> Running in 1d16b656b8d6
  �[91mW: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Could not connect to archive.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.36), connection timed out
  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Unable to connect to archive.ubuntu.com:http:
  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  Unable to connect to archive.ubuntu.com:http:
  W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease  Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.39), connection timed out
  W: Some index files failed to download. They have been ignored, or old ones used instead.
  �[0mRemoving intermediate container 1d16b656b8d6
   ---> 4eb38bfab8e1
  Step 3/5 : RUN apt-get install -qqy openjdk-11-jre-headless
   ---> Running in 271e24e413f7
  �[91mE: Unable to locate package openjdk-11-jre-headless
  �[0m

To reproduce

You can re-run this Jenkins flow: 1635

Expected behavior

As there is no error on the Build side gradle check should have succeeded.

Screenshots

If applicable, add screenshots to help explain your problem.

Host / Environment

No response

Additional context

No response

Relevant log output

No response

@navneet1v
Copy link
Contributor Author

For the same code now I am getting this error:

FAILURE: Build failed with an exception.

* What went wrong:
Java heap space

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

@navneet1v
Copy link
Contributor Author

@zelinh
Copy link
Member

zelinh commented Aug 16, 2022

[Triage] @peterzhuamazon Could you maybe take a look into this issue? Thanks.
Also @navneet1v Are we still facing this issue or this is a one time problem?

@zelinh zelinh removed the untriaged Issues that have not yet been triaged label Aug 16, 2022
@peterzhuamazon
Copy link
Member

This is very common on ubuntu mirrors.
I got the same thing last week and just wait for a few days it resolve by itself.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants