ci.jenkins.io / Tests / windows-17 / Build (windows-17)
failed
Nov 25, 2024
hudson.plugins.git.CliGitSCMTriggerLocalPollTest.testNamespaces_with_refsHeadsNamespace1Master failed
Send us feedback
Details
hudson.plugins.git.CliGitSCMTriggerLocalPollTest.testNamespaces_with_refsHeadsNamespace1Master
git config --global user.name "Name From Git-Plugin-Test" command failed and reported '[, stderr not empty:, error: could not lock config file C:/Windows/system32/config/systemprofile/.gitconfig: File exists]' expected:<0> but was:<255>
Stack trace
java.lang.AssertionError: git config --global user.name "Name From Git-Plugin-Test" command failed and reported '[, stderr not empty:, error: could not lock config file C:/Windows/system32/config/systemprofile/.gitconfig: File exists]' expected:<0> but was:<255>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:647)
at jenkins.plugins.git.CliGitCommand.run(CliGitCommand.java:108)
at jenkins.plugins.git.CliGitCommand.run(CliGitCommand.java:86)
at jenkins.plugins.git.CliGitCommand.run(CliGitCommand.java:90)
at jenkins.plugins.git.CliGitCommand.setConfigIfEmpty(CliGitCommand.java:130)
at jenkins.plugins.git.CliGitCommand.setDefaults(CliGitCommand.java:153)
at jenkins.plugins.git.GitSampleRepoRule.checkGlobalConfig(GitSampleRepoRule.java:71)
at jenkins.plugins.git.GitSampleRepoRule.init(GitSampleRepoRule.java:77)
at hudson.plugins.git.AbstractGitRepository.createGitRepository(AbstractGitRepository.java:42)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
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.RunBefores.invokeMethod(RunBefores.java:33)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:606)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:840)
Standard error
0.162 [id=19] INFO o.jvnet.hudson.test.WarExploder#explode: Exploding C:\Jenkins\agent\workspace\Plugins_git-plugin_PR-1694@tmp\m2repo\org\jenkins-ci\main\jenkins-war\2.387.3\jenkins-war-2.387.3.war into C:\Jenkins\agent\workspace\Plugins_git-plugin_PR-1694\target\jenkins-for-testxx
5.140 [id=19] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer: Running on http://localhost:50136/jenkins/
6.972 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
9.900 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: C:\Windows\TEMP\jenkins3929969421309937144\plugins\javax-mail-api.jpi
11.869 [id=37] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: C:\Windows\TEMP\jenkins3929969421309937144\plugins\command-launcher.jpi
12.003 [id=37] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: C:\Windows\TEMP\jenkins3929969421309937144\plugins\jdk-tool.jpi
12.073 [id=37] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: C:\Windows\TEMP\jenkins3929969421309937144\plugins\sshd.jpi
12.153 [id=37] INFO hudson.PluginManager$1$3$1#isDuplicate: Ignoring C:\Windows\TEMP\jenkins3929969421309937144\plugins\git.jpi because C:\Windows\TEMP\jenkins3929969421309937144\plugins\git.jpl is already loaded
14.850 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
14.864 [id=36] INFO j.b.api.BouncyCastlePlugin#start: C:\Jenkins\agent\workspace\Plugins_git-plugin_PR-1694\target\tmp\j h17661479565621930487\plugins\bouncycastle-api\WEB-INF\optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
22.935 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
22.979 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
22.982 [id=38] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
25.490 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
25.608 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
25.608 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
25.620 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
25.686 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
26.040 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
26.100 [id=19] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
26.154 [id=19] INFO o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting C:\Jenkins\agent\workspace\Plugins_git-plugin_PR-1694\target\tmp\j h17661479565621930487
Standard out
=== Starting testNamespaces_with_refsHeadsNamespace1Master(hudson.plugins.git.CliGitSCMTriggerLocalPollTest)
[junit1299470817799386677] $ git version
git version 2.47.0.windows.1
Loading