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

Mirrorstats report wrong results #3136

Closed
NotMyFault opened this issue Sep 18, 2022 · 12 comments
Closed

Mirrorstats report wrong results #3136

NotMyFault opened this issue Sep 18, 2022 · 12 comments

Comments

@NotMyFault
Copy link
Member

Service(s)

get.jenkins.io

Summary

Hey,

while I was checking something and opened the mirrorstats page for 2.361.1, I noticed that 1/4 of the mirrors report that they are either offline or updated a long time ago: https://get.jenkins.io/war/2.361.1/jenkins.war?mirrorstats

Although, the results are not correct for those mirrors. For example, mirrorstats reports serverion was updated 287 days ago, when its timestamp reports the last update happened a few hours ago, according to https://mirror.serverion.com/jenkins/TIME.

Reproduction steps

No response

@NotMyFault NotMyFault added the triage Incoming issues that need review label Sep 18, 2022
@MarkEWaite
Copy link

The mirror at serverion had some reliability issues that caused the infrastructure team to remove it from the mirror list.

https://get.jenkins.io/war/2.368/jenkins.war?mirrorlist shows that it is not in the current list of contributing mirrors.

@NotMyFault
Copy link
Member Author

Oh I see, thanks for the clarification!

@lemeurherve
Copy link
Member

lemeurherve commented Sep 18, 2022 via email

@dduportal dduportal added this to the infra-team-sync-2022-09-20 milestone Sep 19, 2022
@dduportal
Copy link
Contributor

dduportal commented Sep 20, 2022

Status: we (jenkins-infra team) need to check the status of the 4 following mirrors:

  • esuni.jp
  • serverion.com
  • aliyun.com
  • ftp.belnet.be
     
    and need to check why archives.jenkins.io is not the last proposal ?

@dduportal dduportal added this to the infra-team-sync-next milestone Jan 17, 2023
@dduportal
Copy link
Contributor

Update as per https://groups.google.com/g/jenkins-infra/c/C7cW3MKwR0I/m/lVNM4ymTBAAJ, it looks like belnet could be re-enabled and synced again.

Adding the issue to our current milestone so we can work on it

@dduportal
Copy link
Contributor

I'm stuck trying to enable the ftp.belnet.be mirror and it seems an issue is needed on the mirrorbits project.

What I tried:

  • Scan + Enable the mirror. Works (no error, exit code 0):

    $ mirrorbits scan -enable ftp.belnet.be
    Scanning ftp.belnet.be... done
      ∟ Enabled
  • Corresponding log, with no error message

    2023/09/20 17:10:17.615 UTC [ftp.belnet.be] Requesting file list via rsync...
    2023/09/20 17:10:33.584 UTC [ftp.belnet.be] Indexed 37910 files (37908 known), 0 removed
    

But the mirror stays in state "down" with no reason.

I've tracked down the function MarkMirrorDown in mirrorbits's code (https://github.com/etix/mirrorbits/blob/e83e56ac6496a3643d18a731324bd266f75f7b32/mirrors/mirrors.go#L180-L183) which is called during the mirrors healthchecks:

But these 4 occurences provides a reason which should be logged as error. So maybe the log.Errorf does not write to the container stdout (I'm checking the default log files) or there is an unexpected code path case.

@dduportal
Copy link
Contributor

@dduportal
Copy link
Contributor

Update:

@dduportal dduportal self-assigned this Sep 21, 2023
@MarkEWaite
Copy link

  • serverion.com is still disabled (gotta check with them but I believe we should not continue using it given the amount of issues in the past wdyt @MarkEWaite ) => to be discussed during next team meeting

I agree that we should not continue using serverion.com due to the number of issues we've encountered in the past.

@dduportal
Copy link
Contributor

Since this is easily revertable, and as we received no answers, I've removed the esuni.jp and aliyun (Alibaba) mirrors.
We can add them back if an rsync or ftp server is provided in the future.

I agree that we should not continue using serverion.com due to the number of issues we've encountered in the past.

Same: I've removed serverion.com, unless they contact us back (in that case we'll re-evaluate and add back the mirror , its is one command away).

@dduportal
Copy link
Contributor

For info, mirrors are bein rescanned fully, which is having the following impacts:

  • OSUOSL are used as fallback until all scan are performed
  • A lot of Azure file account operation are being done

@dduportal
Copy link
Contributor

Update (before being able to close this issue):

dduportal referenced this issue in jenkins-infra/kubernetes-management Sep 26, 2023
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

5 participants