-
Bug
-
Resolution: Unresolved
-
Major
-
Debian 10
JAVA 21
jenkins 2479.2
warnings-ng-plugin=11.12.0
git-forensic-plugin=2.2.1
Hello,
I recently updated my jenkins controller 2462.3 ->2479.2 (JAVA 11 -> JAVA21)
I didn't have any issue with the update but this one :
I have two jobs, one triggered on any changes on my "main" branch which serves as reference for my other job executing for each merge requests.
I use discoverGitReferenceBuild to indicate which job serves as a reference.
when I use "recordIssues" upon a merge request in my pipelin with :
recordIssues tool: gcc(id: "GCC_${products[i]}${products_variant[j]}", pattern: "out/gcc${products[i]}${products_variant[j]}.log"), name : "warn${products[i]}_${products_variant[j]}", qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]], failOnError : true, scm: "${gitlabSourceRepoName}"
I got an error when fetching issues from the reference job :
[GNU C Compiler (gcc)] Obtaining reference build from reference recorder [GNU C Compiler (gcc)] -> Found 'PLATEFORM » dcreg_reference #20' [GNU C Compiler (gcc)] Quality gate successful for reference build 'PLATEFORM » dcreg_reference #20', using this build as reference [GNU C Compiler (gcc)] Using reference build 'PLATEFORM/dcreg_reference #20' to compute new, fixed, and outstanding issues [GNU C Compiler (gcc)] Issues delta (vs. reference build): outstanding: 1, new: 0, fixed: 0 [GNU C Compiler (gcc)] Detect all issues that are part of modified code [GNU C Compiler (gcc)] -> Using commit '9af77a1' as latest commit for build 'PLATEFORM » dcreg #180' [GNU C Compiler (gcc)] -> Using commit '26e24f8' as latest commit for build 'PLATEFORM » dcreg_reference #20' [GNU C Compiler (gcc)] -> Invoking Git delta calculator for determining the changes between commits '9af77a1' and '26e24f8' [GNU C Compiler (gcc)] Issues in modified code: 0 (new: 0, outstanding: 0) [GNU C Compiler (gcc)] Evaluating quality gates [GNU C Compiler (gcc)] -> All quality gates have been passed [GNU C Compiler (gcc)] -> Details for each quality gate: [GNU C Compiler (gcc)] - [Delta (any severity)]: ≪Success≫ - (Actual value: 0, Quality gate: 1.00) [GNU C Compiler (gcc)] Health report is disabled - skipping [GNU C Compiler (gcc)] Created analysis result for 1 issues (found 0 new issues, fixed 0 issues) [GNU C Compiler (gcc)] Failing build because analysis result contains errors [GNU C Compiler (gcc)] Attaching ResultAction with ID 'GCC_dcreg_db001' to build 'PLATEFORM/dcreg #180'. [GNU C Compiler (gcc)] [-ERROR-] Errors while computing delta: [GNU C Compiler (gcc)] [-ERROR-] Errors from Git Delta: [GNU C Compiler (gcc)] [-ERROR-] Could not find the specified commit - is the SCM parameter correctly set? [GNU C Compiler (gcc)] [-ERROR-] org.eclipse.jgit.errors.MissingObjectException: Missing unknown ade259be30cfbfa1c7a1737d5ea70109e88ce5d9 [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-client//org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:136) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-client//org.eclipse.jgit.lib.ObjectDatabase.open(ObjectDatabase.java:181) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-client//org.eclipse.jgit.lib.ObjectDatabase.open(ObjectDatabase.java:151) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-forensics//io.jenkins.plugins.forensics.git.delta.DeltaRepositoryCallback.getFileContent(DeltaRepositoryCallback.java:222) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-forensics//io.jenkins.plugins.forensics.git.delta.DeltaRepositoryCallback.createFileChanges(DeltaRepositoryCallback.java:193) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-forensics//io.jenkins.plugins.forensics.git.delta.DeltaRepositoryCallback.calculateDelta(DeltaRepositoryCallback.java:110) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-forensics//io.jenkins.plugins.forensics.git.delta.DeltaRepositoryCallback.invoke(DeltaRepositoryCallback.java:72) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-forensics//io.jenkins.plugins.forensics.git.delta.DeltaRepositoryCallback.invoke(DeltaRepositoryCallback.java:42) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:28) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:82) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for git-forensics//io.jenkins.plugins.forensics.git.delta.GitDeltaCalculator.calculateDelta(GitDeltaCalculator.java:64) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for forensics-api//io.jenkins.plugins.forensics.delta.DeltaCalculator.calculateDelta(DeltaCalculator.java:34) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for warnings-ng//io.jenkins.plugins.analysis.core.steps.IssuesPublisher.markIssuesInModifiedFiles(IssuesPublisher.java:162) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for warnings-ng//io.jenkins.plugins.analysis.core.steps.IssuesPublisher.computeDelta(IssuesPublisher.java:148) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for warnings-ng//io.jenkins.plugins.analysis.core.steps.IssuesPublisher.attachAction(IssuesPublisher.java:92) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for warnings-ng//io.jenkins.plugins.analysis.core.steps.IssuesRecorder.publishResult(IssuesRecorder.java:759) [GNU C Compiler (gcc)] [-ERROR-] at PluginClassLoader for warnings-ng//io.jenkins.plugins.analysis.core.steps.IssuesRecorder.record(IssuesRecorder.java:675) [GNU C Compiler (gcc)] [-ERROR-] ... skipped logging of 9 additional errors ... [Checks API] No suitable checks publisher found.
I do not understand where this sha comes from :
ade259be30cfbfa1c7a1737d5ea70109e88ce5d9
It is not in my project repository, neither in my library repository.
Have you any clue on this bug ?
more logs are in the attached file
Thank you for your time
Arthur