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

Use Nix to setup a reproducible dev and build environment #295

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Use Nix to setup a reproducible dev and build environment

1f0029e
Select commit
Loading
Failed to load commit list.
Draft

Use Nix to setup a reproducible dev and build environment #295

Use Nix to setup a reproducible dev and build environment
1f0029e
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Jul 30, 2024 in 11m 38s

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

windows-8 / Build (windows-8) / 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/ugins_tuleap-oauth-plugin_PR-295@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=C:/Jenkins/agent/workspace/ugins_tuleap-oauth-plugin_PR-295@tmp/changelist clean install.

script returned exit code 1
Build log
[2024-07-30T19:09:30.188Z] 
[2024-07-30T19:09:30.188Z] C:\Jenkins\agent\workspace\ugins_tuleap-oauth-plugin_PR-295>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/ugins_tuleap-oauth-plugin_PR-295@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=C:/Jenkins/agent/workspace/ugins_tuleap-oauth-plugin_PR-295@tmp/changelist clean install 
[2024-07-30T19:09:32.023Z] -XX:InitialHeapSize=268417088 -XX:MaxHeapSize=4294673408 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:-UseLargePagesIndividualAllocation -XX:+UseParallelGC 
[2024-07-30T19:09:37.072Z] Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
[2024-07-30T19:09:37.072Z] Maven home: C:\Jenkins\agent\tools\hudson.tasks.Maven_MavenInstallation\mvn
[2024-07-30T19:09:37.073Z] Java version: 1.8.0_422, vendor: Temurin, runtime: C:\tools\jdk-8\jre
[2024-07-30T19:09:37.073Z] Default locale: en_US, platform encoding: Cp1252
[2024-07-30T19:09:37.073Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2024-07-30T19:09:52.002Z] [INFO] Error stacktraces are turned on.
[2024-07-30T19:09:53.222Z] [INFO] Setting: -Dchangelist=-rc231.1f0029e3fd79 -DscmTag=1f0029e3fd796a4ec75ae524e3db1cc619381d6d
[2024-07-30T19:09:53.222Z] [INFO] No information available to set -DgitHubRepo
[2024-07-30T19:09:53.223Z] [INFO] Scanning for projects...
[2024-07-30T19:10:19.750Z] [WARNING] io.jenkins.plugins:tuleap-oauth:hpi:1.1.19 does not seem to be including ${changelist} in its <version>
[2024-07-30T19:10:26.225Z] [INFO] 
[2024-07-30T19:10:26.226Z] [INFO] ------------------< io.jenkins.plugins:tuleap-oauth >-------------------
[2024-07-30T19:10:26.226Z] [INFO] Building Tuleap Authentication Plugin 1.1.19
[2024-07-30T19:10:26.226Z] [INFO]   from pom.xml
[2024-07-30T19:10:26.226Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-07-30T19:10:26.334Z] [INFO] 
[2024-07-30T19:10:26.334Z] [INFO] --- help:3.4.1:evaluate (default-cli) @ tuleap-oauth ---
[2024-07-30T19:10:28.286Z] [INFO] No artifact parameter specified, using 'io.jenkins.plugins:tuleap-oauth:hpi:1.1.19' as project.
[2024-07-30T19:10:28.287Z] [INFO] Result of evaluation written to: C:\Jenkins\agent\workspace\ugins_tuleap-oauth-plugin_PR-295@tmp\changelist
[2024-07-30T19:10:28.287Z] [INFO] 
[2024-07-30T19:10:28.287Z] [INFO] ------------------< io.jenkins.plugins:tuleap-oauth >-------------------
[2024-07-30T19:10:28.287Z] [INFO] Building Tuleap Authentication Plugin 1.1.19
[2024-07-30T19:10:28.287Z] [INFO]   from pom.xml
[2024-07-30T19:10:28.287Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-07-30T19:10:28.395Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.27:validate (default-validate)'
[2024-07-30T19:10:28.395Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.27:validate-hpi (default-validate-hpi)'
[2024-07-30T19:10:28.396Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.27:initialize (default-initialize)'
[2024-07-30T19:10:28.396Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.27:insert-test (default-insert-test)'
[2024-07-30T19:10:28.396Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.27:test-hpl (default-test-hpl)'
[2024-07-30T19:10:28.396Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.27:resolve-test-dependencies (default-resolve-test-dependencies)'
[2024-07-30T19:10:28.397Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.27:test-runtime (default-test-runtime)'
[2024-07-30T19:10:28.397Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.27:hpi (default-hpi)'
[2024-07-30T19:11:10.861Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T19:11:10.861Z] [INFO] BUILD FAILURE
[2024-07-30T19:11:10.862Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T19:11:10.862Z] [INFO] Total time:  01:18 min
[2024-07-30T19:11:10.862Z] [INFO] Finished at: 2024-07-30T19:11:10Z
[2024-07-30T19:11:10.862Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T19:11:10.863Z] [ERROR] Failed to execute goal on project tuleap-oauth: Could not resolve dependencies for project io.jenkins.plugins:tuleap-oauth:hpi:1.1.19
[2024-07-30T19:11:10.863Z] [ERROR] dependency: org.jenkins-ci.plugins:git-client:jar:3.11.0 (compile)
[2024-07-30T19:11:10.863Z] [ERROR] 	Could not transfer artifact org.jenkins-ci.plugins:git-client:jar:3.11.0 from/to azure-proxy (https://repo.azure.jenkins.io/): status code: 502, reason phrase: Bad Gateway (502)
[2024-07-30T19:11:10.863Z] [ERROR] -> [Help 1]
[2024-07-30T19:11:10.863Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project tuleap-oauth: Could not resolve dependencies for project io.jenkins.plugins:tuleap-oauth:hpi:1.1.19
[2024-07-30T19:11:10.864Z] dependency: org.jenkins-ci.plugins:git-client:jar:3.11.0 (compile)
[2024-07-30T19:11:10.864Z] 	Could not transfer artifact org.jenkins-ci.plugins:git-client:jar:3.11.0 from/to azure-proxy (https://repo.azure.jenkins.io/): status code: 502, reason phrase: Bad Gateway (502)
[2024-07-30T19:11:10.864Z] 
[2024-07-30T19:11:10.864Z]     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
[2024-07-30T19:11:10.864Z]     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:136)
[2024-07-30T19:11:10.864Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:355)
[2024-07-30T19:11:10.865Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:313)
[2024-07-30T19:11:10.865Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-07-30T19:11:10.865Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-07-30T19:11:10.865Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-07-30T19:11:10.865Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-07-30T19:11:10.866Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-07-30T19:11:10.866Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-07-30T19:11:10.866Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-07-30T19:11:10.866Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-07-30T19:11:10.867Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-07-30T19:11:10.867Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-07-30T19:11:10.867Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-07-30T19:11:10.867Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-30T19:11:10.867Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-30T19:11:10.868Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-30T19:11:10.868Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-30T19:11:10.868Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-30T19:11:10.868Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-30T19:11:10.869Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-30T19:11:10.869Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-30T19:11:10.869Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-30T19:11:10.870Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-30T19:11:10.870Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-30T19:11:10.870Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-30T19:11:10.870Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-30T19:11:10.870Z] Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project io.jenkins.plugins:tuleap-oauth:hpi:1.1.19
[2024-07-30T19:11:10.870Z] dependency: org.jenkins-ci.plugins:git-client:jar:3.11.0 (compile)
[2024-07-30T19:11:10.870Z] 	Could not transfer artifact org.jenkins-ci.plugins:git-client:jar:3.11.0 from/to azure-proxy (https://repo.azure.jenkins.io/): status code: 502, reason phrase: Bad Gateway (502)
[2024-07-30T19:11:10.871Z] 
[2024-07-30T19:11:10.871Z]     at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:191)
[2024-07-30T19:11:10.871Z]     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:224)
[2024-07-30T19:11:10.871Z]     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:136)
[2024-07-30T19:11:10.871Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:355)
[2024-07-30T19:11:10.872Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:313)
[2024-07-30T19:11:10.872Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-07-30T19:11:10.872Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-07-30T19:11:10.872Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-07-30T19:11:10.872Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-07-30T19:11:10.872Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-07-30T19:11:10.873Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-07-30T19:11:10.873Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-07-30T19:11:10.873Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-07-30T19:11:10.873Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-07-30T19:11:10.873Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-07-30T19:11:10.873Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-07-30T19:11:10.874Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-30T19:11:10.874Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-30T19:11:10.874Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-30T19:11:10.874Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-30T19:11:10.874Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-30T19:11:10.875Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-30T19:11:10.875Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-30T19:11:10.875Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-30T19:11:10.875Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-30T19:11:10.875Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-30T19:11:10.876Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-30T19:11:10.876Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-30T19:11:10.876Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-30T19:11:10.876Z] [ERROR] 
[2024-07-30T19:11:10.876Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2024-07-30T19:11:10.876Z] [ERROR] 
[2024-07-30T19:11:10.877Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2024-07-30T19:11:10.877Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

windows-8 / Build (windows-8) / 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-07-30T19:11:10.662Z] Recording test results
[2024-07-30T19:11:10.864Z] No test report files were found. Configuration error?

Details

  • linux-8 (1 ms)
  • windows-8 (11 min)
    • Checkout (windows-8) (18 sec)
    • Build (windows-8) (1 min 45 sec)
      Error: script returned exit code 1
      Error: No test report files were found. Configuration error?