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

No new reports since May #522

Open
zbynek opened this issue Jun 26, 2024 · 5 comments · May be fixed by #530
Open

No new reports since May #522

zbynek opened this issue Jun 26, 2024 · 5 comments · May be fixed by #530
Labels
bug Something isn't working

Comments

@zbynek
Copy link
Contributor

zbynek commented Jun 26, 2024

Description of the bug

https://plugin-health.jenkins.io/api/scores contains last reports from 2024-05-11

@alecharp
Copy link
Collaborator

alecharp commented Jul 2, 2024

From the logs I got, it seems that introduced a regression in

.

The line might be working well, but not with previous format of the probe result. I'll work on this.

@alecharp
Copy link
Collaborator

alecharp commented Jul 4, 2024

Normally, the probe should have been re-executed on all the plugins when the pull request was deployed, as its version changed. Sadly, I'm not able to put as much time as I would like on this for now, but I'm focus on this problem tomorrow.

@alecharp
Copy link
Collaborator

alecharp commented Jul 9, 2024

I confirmed (thanks to @dduportal ❤️) that some plugins (50) were not updated with the new version of the security probe. This is absolutely not normal.

I'm trying to think and see what I'm missing.

@alecharp
Copy link
Collaborator

alecharp commented Jul 9, 2024

my problem is, if a probe was run once on a plugin (because we have the previous probe result format so it was run), then there is no reason for the probe not to be executed again.

But, I'm very wrong.
All plugins with previous security probe format are skipped by the probe engine because they don't have the scm link filled. We shouldn't have any probe result registered but we have.
And because of

if (plugin.getScm() == null || plugin.getScm().isBlank()) {
LOGGER.info("Will not run probes on {} because its SCM is not set correctly.", plugin.getName());
return;
}

it's not executed again.

This let the scoring process to fail because the format is not what it expected.

@kirk-fitz
Copy link

Anyone able to look at this?

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

Successfully merging a pull request may close this issue.

3 participants