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

Builds are often failing with timeout due to Artifactory being slow #2733

Closed
timja opened this issue Jan 13, 2022 · 21 comments
Closed

Builds are often failing with timeout due to Artifactory being slow #2733

timja opened this issue Jan 13, 2022 · 21 comments

Comments

@timja
Copy link
Member

timja commented Jan 13, 2022

Service

ci.jenkins.io

Summary

A plugin with no Java code which should build in ~1min or less is still building after 30 mins

jenkinsci/jenkins-infra-test-plugin#16
https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fjenkins-infra-test-plugin/detail/PR-16/3/pipeline/

Reproduction steps

No response

@timja timja added the triage Incoming issues that need review label Jan 13, 2022
@timja
Copy link
Member Author

timja commented Jan 13, 2022

@jglick
Copy link

jglick commented Jan 13, 2022

Smells like an Artifactory issue. https://issues.apache.org/jira/browse/MNG-6976 as usual.

@dduportal
Copy link
Contributor

Thanks @jglick @timja for reporting!

lemeurherve pushed a commit to lemeurherve/status that referenced this issue Jan 13, 2022
dduportal pushed a commit to jenkins-infra/status that referenced this issue Jan 13, 2022
@lemeurherve lemeurherve added the in-progress Started progress on the issue label Jan 13, 2022
@lemeurherve lemeurherve pinned this issue Jan 13, 2022
@jmMeessen
Copy link

My case of build slowness: a full CI of config-file-provider (https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fconfig-file-provider-plugin/activity) takes about 30 minutes.

It now fails (after timeout exhaustion) after 1 hour. See for example https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fconfig-file-provider-plugin/detail/master/169/pipeline

@timja
Copy link
Member Author

timja commented Jan 14, 2022

Seems fixed now, took 2 minutes instead of 25min +

https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fjenkins-infra-test-plugin/detail/PR-16/10/pipeline

@lemeurherve
Copy link
Member

There seems to be some issues again, reopening.

@jmMeessen
Copy link

jmMeessen commented Jan 18, 2022

It looks like we are experiencing a similar disruption: build take much more than usual to build. While it usually takes max 30 mins, it is still building at 53 minutes. https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fconfig-file-provider-plugin/detail/master/172/pipeline/

Did not do a thorough analysis to confirm that the cause (slow artifactory link) is the same

@lemeurherve
Copy link
Member

* We opened an issue at JFrog support: [groups.google.com/g/jenkins-infra/c/laSsgPOH9qs](https://groups.google.com/g/jenkins-infra/c/laSsgPOH9qs)

Here is the thread on jenkins-infra mailing list: https://groups.google.com/g/jenkins-infra/c/j7M49evRXJg

@timja timja changed the title Build performance horrible in containers Builds are often failing with timeout due to Artifactory being slow Jan 19, 2022
@reinholdfuereder
Copy link

Today I started stumbling over (I think) this problem as well (in the course of updating Jenkins core 2.319.1 to 2.319.2 and a few plugins) in a Gradle build for my shared Jenkins pipeline library:
More or less suddenly it started to become very slow.
With the quite surprising extremely helpful Gradle Build Scan (free!) one can see:
image

@jmMeessen
Copy link

@dduportal @lemeurherve FYI:
I started a build on config-file-provider plugin beginning of the EU morning and it worked : no timeout/kill after 1 hour. The build took the usual 30 minutes.
I merged another PR right now. Let's see if the good news is confirmed.

@dduportal
Copy link
Contributor

We just got a feedback from JFrog in https://groups.google.com/g/jenkins-infra/c/j7M49evRXJg/m/9FG7uoQkAQAJ .

Are your builds speed improving?

@jmMeessen
Copy link

I am sad to say that the last build was shot down after 1 hour: https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fconfig-file-provider-plugin/detail/master/177/pipeline

@jmMeessen
Copy link

jmMeessen commented Jan 20, 2022

Change was concurrent. "BONUS: Same player shoots again"

@timja
Copy link
Member Author

timja commented Jan 20, 2022

This also failed with the same issue: jenkinsci/azure-container-agents-plugin#97
(1 hour ago)

and Reinhold yes same issue, that is a nice feature of gradle 😄

@timja
Copy link
Member Author

timja commented Jan 20, 2022

JFrog just upgraded our instance and it works for me on my machine now fine.

@timja
Copy link
Member Author

timja commented Jan 20, 2022

Seems fixed to me now, the build above that was failing now works

@dduportal
Copy link
Contributor

Now confirmed that it has been fixed by the awesome people at Jfrog, either from local builds and on the jenkins-infra.

Closing the issue.

Please feel free to reopen if you get any slowness again (by explaining where you are located and giving more details to help us and JFrog to diagnose).

@lemeurherve lemeurherve unpinned this issue Jan 20, 2022
@reinholdfuereder
Copy link

Unfortunately it is happening again:
Please note that this is a clean build (without any Gradlew cache whatsoever due to a clean Docker container and no Docker volume), so all dependencies must be fetched again and again.
And I triggered this build a few times this morning (i.e in the previous 3.5h; now it is ~10:30 Europe/Vienna timezone):

  • still OK at ~08:00
  • slow since at least ~09:45 (but not extremely slow, just significantly slower)
    • E.g.
      grafik

@timja timja reopened this Jan 21, 2022
@lemeurherve
Copy link
Member

Back to an average of 5Kb/s download rate too.

@lemeurherve lemeurherve pinned this issue Jan 21, 2022
@dduportal
Copy link
Contributor

@MarkEWaite
Copy link

Reported as resolved in the email thread at https://groups.google.com/g/jenkins-infra/c/j7M49evRXJg/m/3UhhLNl9AQAJ

@lemeurherve lemeurherve unpinned this issue Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants