Skip to content

Instantly share code, notes, and snippets.

@MarkEWaite
Created May 29, 2020 10:45
Show Gist options
  • Save MarkEWaite/ad5fdcd1366a363ee1ed7476098ab15e to your computer and use it in GitHub Desktop.
Save MarkEWaite/ad5fdcd1366a363ee1ed7476098ab15e to your computer and use it in GitHub Desktop.
2020-05-28 Windows test log with repository failure
C:\J\TL\workspace\der_git-client-pipeline_gsoc-jmh>mvn --batch-mode --show-version --errors -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn test -P jmh-benchmark
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Users\MarkE\tools\apache-maven-3.6.3\bin\..
Java version: 1.8.0_252, vendor: AdoptOpenJDK, runtime: C:\Users\MarkE\tools\jdk8u252-b09\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.jenkins-ci.plugins:git-client >------------------
[INFO] Building Jenkins Git client plugin 3.3.0-SNAPSHOT
[INFO] --------------------------------[ hpi ]---------------------------------
[INFO]
[INFO] --- maven-hpi-plugin:3.14:validate (default-validate) @ git-client ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:display-info (display-info) @ git-client ---
[INFO] Maven Version: 3.6.3
[INFO] JDK Version: 1.8.0_252 normalized as: 1.8.0-252
[INFO] OS Info: Arch: amd64 Family: windows Name: windows 10 Version: 10.0
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (display-info) @ git-client ---
[INFO] artifact junit:junit-dep: checking for updates from jgit-repository
[INFO] artifact junit:junit: checking for updates from jgit-repository
[INFO] Adding ignore: module-info
[INFO] Ignoring requireUpperBoundDeps in com.google.guava:guava
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (no-snapshots-in-release) @ git-client ---
[INFO]
[INFO] --- gmavenplus-plugin:1.9.0:addTestSources (test-in-groovy) @ git-client ---
[INFO]
[INFO] --- maven-localizer-plugin:1.26:generate (default) @ git-client ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ git-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 16 resources
[INFO]
[INFO] --- flatten-maven-plugin:1.2.2:flatten (flatten) @ git-client ---
[INFO] Generating flattened POM of project org.jenkins-ci.plugins:git-client:hpi:3.3.0-SNAPSHOT...
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ git-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 49 source files to C:\J\TL\workspace\der_git-client-pipeline_gsoc-jmh\target\classes
[INFO] /C:/J/TL/workspace/der_git-client-pipeline_gsoc-jmh/src/main/java/org/jenkinsci/plugins/gitclient/RemoteGitImpl.java: Some input files use or override a deprecated API.
[INFO] /C:/J/TL/workspace/der_git-client-pipeline_gsoc-jmh/src/main/java/org/jenkinsci/plugins/gitclient/RemoteGitImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] /C:/J/TL/workspace/der_git-client-pipeline_gsoc-jmh/src/main/java/org/jenkinsci/plugins/gitclient/GitToolConfigurator.java: Some input files use unchecked or unsafe operations.
[INFO] /C:/J/TL/workspace/der_git-client-pipeline_gsoc-jmh/src/main/java/org/jenkinsci/plugins/gitclient/GitToolConfigurator.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- access-modifier-checker:1.16:enforce (default-enforce) @ git-client ---
[INFO]
[INFO] --- maven-hpi-plugin:3.14:insert-test (default-insert-test) @ git-client ---
[INFO]
[INFO] --- gmavenplus-plugin:1.9.0:generateTestStubs (test-in-groovy) @ git-client ---
[INFO] No sources specified for stub generation. Skipping.
[INFO] Generated 0 stubs.
[INFO]
[INFO] --- maven-antrun-plugin:3.0.0:run (createTempDir) @ git-client ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ git-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ git-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 57 source files to C:\J\TL\workspace\der_git-client-pipeline_gsoc-jmh\target\test-classes
[INFO] /C:/J/TL/workspace/der_git-client-pipeline_gsoc-jmh/src/test/java/org/jenkinsci/plugins/gitclient/GitClientTest.java: Some input files use or override a deprecated API.
[INFO] /C:/J/TL/workspace/der_git-client-pipeline_gsoc-jmh/src/test/java/org/jenkinsci/plugins/gitclient/GitClientTest.java: Recompile with -Xlint:deprecation for details.
[INFO] /C:/J/TL/workspace/der_git-client-pipeline_gsoc-jmh/src/test/java/org/jenkinsci/plugins/gitclient/GitClientTest.java: Some input files use unchecked or unsafe operations.
[INFO] /C:/J/TL/workspace/der_git-client-pipeline_gsoc-jmh/src/test/java/org/jenkinsci/plugins/gitclient/GitClientTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-hpi-plugin:3.14:test-hpl (default-test-hpl) @ git-client ---
[INFO] Generating C:\J\TL\workspace\der_git-client-pipeline_gsoc-jmh\target\test-classes\the.hpl
[INFO]
[INFO] --- maven-hpi-plugin:3.14:resolve-test-dependencies (default-resolve-test-dependencies) @ git-client ---
[INFO]
[INFO] --- gmavenplus-plugin:1.9.0:compileTests (test-in-groovy) @ git-client ---
[INFO] No sources specified for compilation. Skipping.
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ git-client ---
[INFO] Surefire report directory: C:\J\TL\workspace\der_git-client-pipeline_gsoc-jmh\target\surefire-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running jmh.benchmark.BenchmarkRunner
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19,635.635 s <<< FAILURE! - in jmh.benchmark.BenchmarkRunner
[ERROR] jmh.benchmark.BenchmarkRunner.runJmhBenchmarks Time elapsed: 19,635.425 s <<< ERROR!
org.openjdk.jmh.runner.RunnerException: Benchmark caught the exception
at org.openjdk.jmh.runner.Runner.runBenchmarks(Runner.java:585)
at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:320)
at org.openjdk.jmh.runner.Runner.run(Runner.java:209)
at jmh.benchmark.BenchmarkRunner.runJmhBenchmarks(BenchmarkRunner.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451)
Caused by: org.openjdk.jmh.runner.BenchmarkException: Benchmark error during the run
at org.openjdk.jmh.runner.BenchmarkHandler.runIteration(BenchmarkHandler.java:428)
at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:281)
at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:233)
at org.openjdk.jmh.runner.BaseRunner.doSingle(BaseRunner.java:138)
at org.openjdk.jmh.runner.BaseRunner.runBenchmarksForked(BaseRunner.java:75)
at org.openjdk.jmh.runner.ForkedRunner.run(ForkedRunner.java:72)
at org.openjdk.jmh.runner.ForkedMain.main(ForkedMain.java:84)
Suppressed: hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: file:///C:\Users\MarkE\AppData\Local\Temp\junit9094607977983380740\junit2969508165490726799\samba.git
at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:636)
at jmh.benchmark.GitClientFetchBenchmark.gitFetchBenchmark(GitClientFetchBenchmark.java:107)
at jmh.benchmark.generated.GitClientFetchBenchmark_gitFetchBenchmark_jmhTest.gitFetchBenchmark_avgt_jmhStub(GitClientFetchBenchmark_gitFetchBenchmark_jmhTest.java:195)
at jmh.benchmark.generated.GitClientFetchBenchmark_gitFetchBenchmark_jmhTest.gitFetchBenchmark_AverageTime(GitClientFetchBenchmark_gitFetchBenchmark_jmhTest.java:157)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453)
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: file:///C:\Users\MarkE\AppData\Local\Temp\junit9094607977983380740\junit2969508165490726799\samba.git
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:219)
at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:634)
... 14 more
Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: file:///C:\Users\MarkE\AppData\Local\Temp\junit9094607977983380740\junit2969508165490726799\samba.git: not found.
at org.eclipse.jgit.transport.TransportLocal$1.open(TransportLocal.java:99)
at org.eclipse.jgit.transport.TransportBundleFile$1.open(TransportBundleFile.java:74)
at org.eclipse.jgit.transport.Transport.open(Transport.java:520)
at org.eclipse.jgit.transport.Transport.open(Transport.java:273)
at org.eclipse.jgit.transport.Transport.open(Transport.java:243)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:203)
... 15 more
[INFO] Running jmh.benchmark.GitClientFetchVanillaBenchmark
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,718.875 s - in jmh.benchmark.GitClientFetchVanillaBenchmark
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] BenchmarkRunner.runJmhBenchmarks:34 » Runner Benchmark caught the exception
[INFO]
[ERROR] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:56 h
[INFO] Finished at: 2020-05-29T00:34:54-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project git-client: There are test failures.
[ERROR]
[ERROR] Please refer to C:\J\TL\workspace\der_git-client-pipeline_gsoc-jmh\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project git-client: There are test failures.
Please refer to C:\J\TL\workspace\der_git-client-pipeline_gsoc-jmh\target\surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to C:\J\TL\workspace\der_git-client-pipeline_gsoc-jmh\target\surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:271)
at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159)
at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:435)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1079)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:889)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment