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

Add new options to GitHub App credentials to allow dynamic restrictions of the repositories and permissions available to installation access tokens in some contexts #822

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Fix broken Javadoc links

bd580dc
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Dec 20, 2024 in 35m 46s

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

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/thub-branch-source-plugin_PR-822@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist clean install.

script returned exit code 1
Build log
[2024-12-20T22:03:20.492Z] 
[2024-12-20T22:03:20.493Z] C:\Jenkins\agent\workspace\thub-branch-source-plugin_PR-822>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/thub-branch-source-plugin_PR-822@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist clean install 
[2024-12-20T22:03:20.596Z] -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-12-20T22:03:21.110Z] Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[2024-12-20T22:03:21.111Z] Maven home: C:\tools\apache-maven-3.9.9
[2024-12-20T22:03:21.111Z] Java version: 17.0.13, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17
[2024-12-20T22:03:21.113Z] Default locale: en_US, platform encoding: UTF-8
[2024-12-20T22:03:21.113Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2024-12-20T22:03:25.299Z] [INFO] Error stacktraces are turned on.
[2024-12-20T22:03:25.825Z] [INFO] Setting: -Dchangelist=1810.vb_d580dce08a_1 -DscmTag=bd580dce08a1c019fd5402f13d528b5632fc0639 -Dproject.build.outputTimestamp=2024-12-20T21:57:37Z
[2024-12-20T22:03:25.828Z] [INFO] Setting: -DgitHubRepo=dwnusbaum/github-branch-source-plugin
[2024-12-20T22:03:25.832Z] [INFO] Scanning for projects...
[2024-12-20T22:03:30.619Z] [INFO] 
[2024-12-20T22:03:30.624Z] [INFO] ------------< org.jenkins-ci.plugins:github-branch-source >-------------
[2024-12-20T22:03:30.635Z] [INFO] Building GitHub Branch Source Plugin 1810.vb_d580dce08a_1
[2024-12-20T22:03:30.641Z] [INFO]   from pom.xml
[2024-12-20T22:03:30.642Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-12-20T22:03:41.694Z] [INFO] 
[2024-12-20T22:03:41.695Z] [INFO] --- clean:3.4.0:clean (default-clean) @ github-branch-source ---
[2024-12-20T22:03:41.797Z] [INFO] 
[2024-12-20T22:03:41.801Z] [INFO] --- hpi:3.57:validate (default-validate) @ github-branch-source ---
[2024-12-20T22:03:41.806Z] [INFO] Created marker file C:\Jenkins\agent\workspace\thub-branch-source-plugin_PR-822\target\java-level\11
[2024-12-20T22:03:41.809Z] [INFO] 
[2024-12-20T22:03:41.810Z] [INFO] --- hpi:3.57:validate-hpi (default-validate-hpi) @ github-branch-source ---
[2024-12-20T22:03:42.932Z] [INFO] 
[2024-12-20T22:03:42.933Z] [INFO] --- enforcer:3.5.0:enforce (display-info) @ github-branch-source ---
[2024-12-20T22:33:20.521Z] Cannot contact aci-maven-17-windows-x3z3g: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@74f1578b:JNLP4-connect connection from 172.200.120.16/172.200.120.16:64508": Remote call on JNLP4-connect connection from 172.200.120.16/172.200.120.16:64508 failed. The channel is closing down or has closed down
[2024-12-20T22:33:43.304Z] [INFO] ------------------------------------------------------------------------
[2024-12-20T22:33:44.436Z] [INFO] BUILD FAILURE
[2024-12-20T22:33:44.437Z] [INFO] ------------------------------------------------------------------------
[2024-12-20T22:33:44.437Z] [INFO] Total time:  30:17 min
[2024-12-20T22:33:44.438Z] [INFO] Finished at: 2024-12-20T22:33:43Z
[2024-12-20T22:33:44.438Z] [INFO] ------------------------------------------------------------------------
[2024-12-20T22:33:44.439Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce (display-info) on project github-branch-source: Execution display-info of goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce failed: Plugin org.apache.maven.plugins:maven-enforcer-plugin:3.5.0 or one of its dependencies could not be resolved:
[2024-12-20T22:33:44.440Z] [ERROR] 	Could not transfer artifact org.apache-extras.beanshell:bsh:jar:2.0b6 from/to azure-internal (http://artifact-caching-proxy.privatelink.azurecr.io:8080/): Read timed out
[2024-12-20T22:33:44.440Z] [ERROR] -> [Help 1]
[2024-12-20T22:33:44.441Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce (display-info) on project github-branch-source: Execution display-info of goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce failed: Plugin org.apache.maven.plugins:maven-enforcer-plugin:3.5.0 or one of its dependencies could not be resolved:
[2024-12-20T22:33:44.441Z] 	Could not transfer artifact org.apache-extras.beanshell:bsh:jar:2.0b6 from/to azure-internal (http://artifact-caching-proxy.privatelink.azurecr.io:8080/): Read timed out
[2024-12-20T22:33:44.441Z] 
[2024-12-20T22:33:44.442Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[2024-12-20T22:33:44.442Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2024-12-20T22:33:44.443Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-12-20T22:33:44.443Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-12-20T22:33:44.443Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-12-20T22:33:44.444Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-12-20T22:33:44.444Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-12-20T22:33:44.444Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-12-20T22:33:44.445Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-12-20T22:33:44.445Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-12-20T22:33:44.446Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-12-20T22:33:44.446Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-12-20T22:33:44.446Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-12-20T22:33:44.447Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-12-20T22:33:44.447Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-12-20T22:33:44.447Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2024-12-20T22:33:44.448Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2024-12-20T22:33:44.448Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2024-12-20T22:33:44.448Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-12-20T22:33:44.448Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
[2024-12-20T22:33:44.449Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-12-20T22:33:44.449Z]     at java.lang.reflect.Method.invoke (Method.java:569)
[2024-12-20T22:33:44.449Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-12-20T22:33:44.450Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-12-20T22:33:44.450Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-12-20T22:33:44.451Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-12-20T22:33:44.451Z] Caused by: org.apache.maven.plugin.PluginExecutionException: Execution display-info of goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce failed: Plugin org.apache.maven.plugins:maven-enforcer-plugin:3.5.0 or one of its dependencies could not be resolved:
[2024-12-20T22:33:44.451Z] 	Could not transfer artifact org.apache-extras.beanshell:bsh:jar:2.0b6 from/to azure-internal (http://artifact-caching-proxy.privatelink.azurecr.io:8080/): Read timed out
[2024-12-20T22:33:44.451Z] 
[2024-12-20T22:33:44.452Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:100)
[2024-12-20T22:33:44.452Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
[2024-12-20T22:33:44.452Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2024-12-20T22:33:44.453Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-12-20T22:33:44.453Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-12-20T22:33:44.453Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-12-20T22:33:44.453Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-12-20T22:33:44.454Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-12-20T22:33:44.454Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-12-20T22:33:44.454Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-12-20T22:33:44.455Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-12-20T22:33:44.455Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-12-20T22:33:44.455Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-12-20T22:33:44.455Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-12-20T22:33:44.456Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-12-20T22:33:44.456Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-12-20T22:33:44.456Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2024-12-20T22:33:44.456Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2024-12-20T22:33:44.457Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2024-12-20T22:33:44.457Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-12-20T22:33:44.457Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
[2024-12-20T22:33:44.457Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-12-20T22:33:44.458Z]     at java.lang.reflect.Method.invoke (Method.java:569)
[2024-12-20T22:33:44.458Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-12-20T22:33:44.458Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-12-20T22:33:44.459Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-12-20T22:33:44.459Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-12-20T22:33:44.459Z] Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-enforcer-plugin:3.5.0 or one of its dependencies could not be resolved:
[2024-12-20T22:33:44.460Z] 	Could not transfer artifact org.apache-extras.beanshell:bsh:jar:2.0b6 from/to azure-internal (http://artifact-caching-proxy.privatelink.azurecr.io:8080/): Read timed out
[2024-12-20T22:33:44.460Z] 
[2024-12-20T22:33:44.460Z]     at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal (DefaultPluginDependenciesResolver.java:234)
[2024-12-20T22:33:44.460Z]     at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve (DefaultPluginDependenciesResolver.java:169)
[2024-12-20T22:33:44.461Z]     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm (DefaultMavenPluginManager.java:377)
[2024-12-20T22:33:44.461Z]     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.lambda$setupPluginRealm$1 (DefaultMavenPluginManager.java:340)
[2024-12-20T22:33:44.461Z]     at org.apache.maven.plugin.DefaultPluginRealmCache.lambda$get$0 (DefaultPluginRealmCache.java:156)
[2024-12-20T22:33:44.461Z]     at java.util.concurrent.ConcurrentHashMap.computeIfAbsent (ConcurrentHashMap.java:1708)
[2024-12-20T22:33:44.461Z]     at org.apache.maven.plugin.DefaultPluginRealmCache.get (DefaultPluginRealmCache.java:154)
[2024-12-20T22:33:44.462Z]     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm (DefaultMavenPluginManager.java:339)
[2024-12-20T22:33:44.462Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm (DefaultBuildPluginManager.java:205)
[2024-12-20T22:33:44.462Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:98)
[2024-12-20T22:33:44.462Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
[2024-12-20T22:33:44.463Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2024-12-20T22:33:44.463Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-12-20T22:33:44.463Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-12-20T22:33:44.463Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-12-20T22:33:44.463Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-12-20T22:33:44.464Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-12-20T22:33:44.464Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-12-20T22:33:44.464Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-12-20T22:33:44.464Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-12-20T22:33:44.464Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-12-20T22:33:44.465Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-12-20T22:33:44.465Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-12-20T22:33:44.465Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-12-20T22:33:44.465Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-12-20T22:33:44.465Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2024-12-20T22:33:44.466Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2024-12-20T22:33:44.466Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2024-12-20T22:33:44.466Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-12-20T22:33:44.466Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
[2024-12-20T22:33:44.466Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-12-20T22:33:44.467Z]     at java.lang.reflect.Method.invoke (Method.java:569)
[2024-12-20T22:33:44.467Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-12-20T22:33:44.467Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-12-20T22:33:44.467Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-12-20T22:33:44.467Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-12-20T22:33:44.467Z] [ERROR] 
[2024-12-20T22:33:44.468Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2024-12-20T22:33:44.468Z] [ERROR] 
[2024-12-20T22:33:44.468Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2024-12-20T22:33:44.468Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

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

Error in junit step.

No test report files were found. Configuration error?
Build log
[2024-12-20T22:33:44.945Z] Recording test results
[2024-12-20T22:33:45.147Z] No test report files were found. Configuration error?

Details

  • linux-21 (1 ms)
    • Checkout (linux-21) (8.7 sec)
    • Build (linux-21) (9 min 44 sec)
    • Archive (linux-21) (20 sec)
  • windows-17 (35 min)
    • Checkout (windows-17) (11 sec)
    • Build (windows-17) (30 min)
      Error: script returned exit code 1
      Error: No test report files were found. Configuration error?