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

[JENKINS-73258] Migrate Stapler from EE 8 to EE 9 #482

Merged
merged 11 commits into from
Sep 3, 2024

Spotless

499af8d
Select commit
Loading
Failed to load commit list.
Merged

[JENKINS-73258] Migrate Stapler from EE 8 to EE 9 #482

Spotless
499af8d
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Sep 3, 2024 in 1m 38s

windows-17/Build (windows-17): error in 'junit' step

linux-21 / Archive (linux-21) / Record compiler warnings and static analysis results

Error in recordIssues step, with arguments {sourceCodeEncoding=UTF-8, trendChartType=NONE, tool=@cpd(pattern=**/target/cpd.xml), skipBlames=true}.

No GitHub SCM source found for job: PR-482
Build log
[2024-09-03T16:27:35.398Z] [CPD] [-ERROR-] Errors during parsing
[2024-09-03T16:27:35.398Z] [CPD] [-ERROR-] No files found for pattern '**/target/cpd.xml'. Configuration error?
[2024-09-03T16:27:35.398Z] [CPD] Searching for all files in '/home/jenkins/agent/workspace/Core_stapler_PR-482' that match the pattern '**/target/cpd.xml'
[2024-09-03T16:27:35.399Z] [CPD] Traversing of symbolic links: enabled
[2024-09-03T16:27:35.399Z] [CPD] Skipping post processing
[2024-09-03T16:27:35.399Z] [CPD] No filter has been set, publishing all 0 issues
[2024-09-03T16:27:35.399Z] [CPD] Repository miner is not configured, skipping repository mining
[2024-09-03T16:27:35.399Z] [CPD] Searching for all files in '/home/jenkins/agent/workspace/Core_stapler_PR-482' that match the pattern '**/target/cpd.xml'
[2024-09-03T16:27:35.399Z] [CPD] Traversing of symbolic links: enabled
[2024-09-03T16:27:35.399Z] [CPD] Skipping post processing
[2024-09-03T16:27:35.399Z] [CPD] No filter has been set, publishing all 0 issues
[2024-09-03T16:27:35.399Z] [CPD] Repository miner is not configured, skipping repository mining
[2024-09-03T16:27:35.399Z] [CPD] [-ERROR-] Errors during parsing
[2024-09-03T16:27:35.399Z] [CPD] [-ERROR-] No files found for pattern '**/target/cpd.xml'. Configuration error?
[2024-09-03T16:27:35.408Z] using credential app-ci.jenkins.io
[2024-09-03T16:27:35.424Z] using credential app-ci.jenkins.io
[2024-09-03T16:27:35.429Z] [CPD] Obtaining reference build from reference recorder
[2024-09-03T16:27:35.430Z] [CPD] -> Found 'Core » stapler » master #265'
[2024-09-03T16:27:35.430Z] [CPD] Quality gate successful for reference build 'Core » stapler » master #265', using this build as reference
[2024-09-03T16:27:35.430Z] [CPD] Using reference build 'Core/stapler/master #265' to compute new, fixed, and outstanding issues
[2024-09-03T16:27:35.430Z] [CPD] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
[2024-09-03T16:27:35.430Z] [CPD] Skip detection of issues in modified code
[2024-09-03T16:27:35.430Z] [CPD] No quality gates have been set - skipping
[2024-09-03T16:27:35.430Z] [CPD] Health report is disabled - skipping
[2024-09-03T16:27:35.430Z] [CPD] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)
[2024-09-03T16:27:35.430Z] [CPD] Attaching ResultAction with ID 'cpd' to build 'Core/stapler/PR-482 #93'.
[2024-09-03T16:27:36.266Z] [GitHub Checks] GitHub check (name: CPD, status: completed) has been published.
[2024-09-03T16:27:35.608Z]  > git rev-parse HEAD^{commit} # timeout=10

windows-17 / Build (windows-17) / Windows Batch Script

Error in bat step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/Core_stapler_PR-482@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist clean install.

null
Build log
[2024-09-03T16:27:17.810Z] 
[2024-09-03T16:27:17.811Z] C:\Jenkins\agent\workspace\Core_stapler_PR-482>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/Core_stapler_PR-482@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist clean install 
[2024-09-03T16:27:17.914Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=134200512 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=2147208192 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation 
[2024-09-03T16:27:18.423Z] Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[2024-09-03T16:27:18.425Z] Maven home: C:\tools\apache-maven-3.9.9
[2024-09-03T16:27:18.426Z] Java version: 17.0.12, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17
[2024-09-03T16:27:18.428Z] Default locale: en_US, platform encoding: UTF-8
[2024-09-03T16:27:18.428Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2024-09-03T16:27:22.898Z] [INFO] Error stacktraces are turned on.
[2024-09-03T16:27:23.306Z] [INFO] Setting: -Dchangelist=1913.v499a_f8d093f4 -DscmTag=499af8d093f45eac85b3dd2a1b88c1fdd4346355 -Dproject.build.outputTimestamp=2024-09-03T16:25:44Z
[2024-09-03T16:27:23.310Z] [INFO] No information available to set -DgitHubRepo
[2024-09-03T16:27:23.313Z] [INFO] Scanning for projects...
[2024-09-03T16:27:23.517Z] [INFO] ------------------------------------------------------------------------
[2024-09-03T16:27:23.517Z] [INFO] Reactor Build Order:
[2024-09-03T16:27:23.518Z] [INFO] 
[2024-09-03T16:27:23.518Z] [INFO] Stapler Parent                                                     [pom]
[2024-09-03T16:27:23.518Z] [INFO] Stapler                                                            [jar]
[2024-09-03T16:27:23.519Z] [INFO] Stapler JSP module                                                 [jar]
[2024-09-03T16:27:23.519Z] [INFO] Stapler Jelly module                                               [jar]
[2024-09-03T16:27:23.519Z] [INFO] Stapler Groovy module                                              [jar]
[2024-09-03T16:27:23.520Z] [INFO] Stapler JRebel module                                              [jar]
[2024-09-03T16:27:23.520Z] [INFO] 
[2024-09-03T16:27:23.520Z] [INFO] -----------------< org.kohsuke.stapler:stapler-parent >-----------------
[2024-09-03T16:27:23.520Z] [INFO] Building Stapler Parent 1913.v499a_f8d093f4                        [1/6]
[2024-09-03T16:27:23.521Z] [INFO]   from pom.xml
[2024-09-03T16:27:23.521Z] [INFO] --------------------------------[ pom ]---------------------------------
[2024-09-03T16:27:24.340Z] [INFO] 
[2024-09-03T16:27:24.351Z] [INFO] --- clean:3.4.0:clean (default-clean) @ stapler-parent ---
[2024-09-03T16:27:24.453Z] [INFO] 
[2024-09-03T16:27:24.454Z] [INFO] --- buildnumber:3.2.0:create (default) @ stapler-parent ---
[2024-09-03T16:27:25.887Z] [INFO] Executing: cmd.exe /X /C "git rev-parse --show-prefix"
[2024-09-03T16:27:25.887Z] [INFO] Working directory: C:\Jenkins\agent\workspace\Core_stapler_PR-482
[2024-09-03T16:27:25.989Z] [INFO] Executing: cmd.exe /X /C "git status --porcelain ."
[2024-09-03T16:27:25.989Z] [INFO] Working directory: C:\Jenkins\agent\workspace\Core_stapler_PR-482
[2024-09-03T16:27:26.092Z] [INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[2024-09-03T16:27:26.093Z] [INFO] Working directory: C:\Jenkins\agent\workspace\Core_stapler_PR-482
[2024-09-03T16:27:26.195Z] [INFO] Storing buildNumber: 499af8d093f45eac85b3dd2a1b88c1fdd4346355 at timestamp: 1725380845821
[2024-09-03T16:27:26.196Z] [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[2024-09-03T16:27:26.196Z] [INFO] Working directory: C:\Jenkins\agent\workspace\Core_stapler_PR-482
[2024-09-03T16:27:26.299Z] [WARNING] Cannot get the branch information from the git repository: 
[2024-09-03T16:27:26.300Z] Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[2024-09-03T16:27:26.301Z] 
[2024-09-03T16:27:26.303Z] [INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[2024-09-03T16:27:26.303Z] [INFO] Working directory: C:\Jenkins\agent\workspace\Core_stapler_PR-482
[2024-09-03T16:27:26.304Z] [INFO] Storing scmBranch: UNKNOWN
[2024-09-03T16:27:26.304Z] [INFO] 
[2024-09-03T16:27:26.306Z] [INFO] --- enforcer:3.5.0:enforce (display-info) @ stapler-parent ---
[2024-09-03T16:27:26.717Z] [INFO] Rule 0: io.jenkins.tools.incrementals.enforcer.RequireExtensionVersion passed
[2024-09-03T16:27:26.718Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[2024-09-03T16:27:26.718Z] [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2024-09-03T16:27:26.719Z] [INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2024-09-03T16:27:26.719Z] [INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2024-09-03T16:27:26.822Z] [INFO] Rule 5: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2024-09-03T16:27:26.823Z] [INFO] 
[2024-09-03T16:27:26.823Z] [INFO] --- checkstyle:3.5.0:check (validate) @ stapler-parent ---
[2024-09-03T16:27:29.390Z] [INFO] Starting audit...
[2024-09-03T16:27:29.391Z] Audit done.
[2024-09-03T16:27:29.391Z] [INFO] You have 0 Checkstyle violations.
[2024-09-03T16:27:29.392Z] [INFO] 
[2024-09-03T16:27:29.392Z] [INFO] --- flatten:1.6.0:flatten (flatten) @ stapler-parent ---
[2024-09-03T16:27:29.495Z] [INFO] Generating flattened POM of project org.kohsuke.stapler:stapler-parent:pom:1913.v499a_f8d093f4...
[2024-09-03T16:27:29.495Z] [INFO] 
[2024-09-03T16:27:29.496Z] [INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ stapler-parent ---
[2024-09-03T16:27:29.804Z] [INFO] 
[2024-09-03T16:27:29.805Z] [INFO] --- javadoc:3.10.0:jar (attach-javadocs) @ stapler-parent ---
[2024-09-03T16:27:30.649Z] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[2024-09-03T16:27:30.649Z] [INFO] 
[2024-09-03T16:27:30.650Z] [INFO] >>> spotbugs:4.8.3.1:check (spotbugs) > :spotbugs @ stapler-parent >>>
[2024-09-03T16:27:30.651Z] [INFO] 
[2024-09-03T16:27:30.651Z] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ stapler-parent ---
[2024-09-03T16:27:34.248Z] [INFO] 
[2024-09-03T16:27:34.249Z] [INFO] <<< spotbugs:4.8.3.1:check (spotbugs) < :spotbugs @ stapler-parent <<<
[2024-09-03T16:27:34.249Z] [INFO] 
[2024-09-03T16:27:34.249Z] [INFO] 
[2024-09-03T16:27:34.250Z] [INFO] --- spotbugs:4.8.3.1:check (spotbugs) @ stapler-parent ---
[2024-09-03T16:27:34.250Z] [INFO] 
[2024-09-03T16:27:34.251Z] [INFO] --- spotless:2.43.0:check (default) @ stapler-parent ---
[2024-09-03T16:27:36.678Z] Sending interrupt signal to process
[2024-09-03T16:27:35.571Z] [INFO] Index file does not exist. Fallback to an empty index
[2024-09-03T16:27:35.573Z] [INFO] Sorting file C:\Users\jenkins\AppData\Local\Temp\pom255934748908144390.xml
[2024-09-03T16:27:35.681Z] [INFO] Saved sorted pom file to C:\Users\jenkins\AppData\Local\Temp\pom255934748908144390.xml
[2024-09-03T16:27:35.684Z] [INFO] Spotless.Pom is keeping 1 files clean - 0 needs changes to be clean, 1 were already clean, 0 were skipped because caching determined they were already clean
[2024-09-03T16:27:35.685Z] [INFO] 
[2024-09-03T16:27:35.685Z] [INFO] --- install:3.1.3:install (default-install) @ stapler-parent ---
[2024-09-03T16:27:35.685Z] [INFO] Installing C:\Jenkins\agent\workspace\Core_stapler_PR-482\target\stapler-parent-1913.v499a_f8d093f4.pom to C:\Jenkins\agent\workspace\Core_stapler_PR-482@tmp\m2repo\org\kohsuke\stapler\stapler-parent\1913.v499a_f8d093f4\stapler-parent-1913.v499a_f8d093f4.pom
[2024-09-03T16:27:35.789Z] [INFO] 
[2024-09-03T16:27:35.789Z] [INFO] --------------------< org.kohsuke.stapler:stapler >---------------------
[2024-09-03T16:27:35.790Z] [INFO] Building Stapler 1913.v499a_f8d093f4                               [2/6]
[2024-09-03T16:27:35.790Z] [INFO]   from core\pom.xml
[2024-09-03T16:27:35.792Z] [INFO] --------------------------------[ jar ]---------------------------------
[2024-09-03T16:27:37.243Z] Terminate batch job (Y/N)? 
[2024-09-03T16:27:37.054Z] script returned exit code 1

windows-17 / Build (windows-17) / Archive JUnit-formatted test results

Error in junit step, with arguments **/target/surefire-reports/**/*.xml,**/target/failsafe-reports/**/*.xml,**/target/invoker-reports/**/*.xml.

No test report files were found. Configuration error?
Build log
[2024-09-03T16:27:37.231Z] Recording test results
[2024-09-03T16:27:37.467Z] No test report files were found. Configuration error?

Details

  • linux-21 (1 ms)
    • Checkout (linux-21) (8.7 sec)
    • Build (linux-21) (1 min 8 sec)
    • Archive (linux-21) (11 sec)
      Error: No GitHub SCM source found for job: PR-482
  • windows-17 (1 min 38 sec)
    • Checkout (windows-17) (14 sec)
    • Build (windows-17) (22 sec)
      Error: null
      Error: No test report files were found. Configuration error?