Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/git-plugin
  Commit: 203abd9bcae9c34290be6c3f95939f416db01cfb
      
https://github.com/jenkinsci/git-plugin/commit/203abd9bcae9c34290be6c3f95939f416db01cfb
  Author: Vincent Latombe <vinc...@latombe.net>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M src/test/java/hudson/plugins/git/GitSCMTest.java

  Log Message:
  -----------
  Fix flaky GitSCMTest#testSubmoduleFixup

The test should wait for the build to complete before actually checking
its status.

```
java.lang.AssertionError:
unexpected build status; build log was:
------
Started by upstream project "test0" build number 1
originally caused by:
 Legacy code started this job.  No cause information is available
Running as SYSTEM
Building in workspace 
/jenkins/workspace/builder/output-git/work/git/target/tmp/j 
h69583182000798596/workspace/test1
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository 
/jenkins/workspace/builder/output-git/work/git/target/tmp/junit3569465322501079491/junit1849114342070567213
 > git init /jenkins/workspace/builder/output-git/work/git/target/tmp/j 
 > h69583182000798596/workspace/test1 # timeout=10

------

Expected: is <SUCCESS>
     but: was null
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.junit.Assert.assertThat(Assert.java:964)
        at 
org.jvnet.hudson.test.JenkinsRule.assertBuildStatus(JenkinsRule.java:1439)
        at 
org.jvnet.hudson.test.JenkinsRule.assertBuildStatusSuccess(JenkinsRule.java:1468)
        at 
hudson.plugins.git.GitSCMTest.testSubmoduleFixup(GitSCMTest.java:1675)
        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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        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:601)
        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.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.lang.Thread.run(Thread.java:748)
```


  Commit: 8ad2ed365eeddc6f22d1438567f009ab4eeee4f7
      
https://github.com/jenkinsci/git-plugin/commit/8ad2ed365eeddc6f22d1438567f009ab4eeee4f7
  Author: Mark Waite <mark.earl.wa...@gmail.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M src/test/java/hudson/plugins/git/GitSCMTest.java

  Log Message:
  -----------
  Run submodule fixup test on Windows

Change from @vlatombe fixed unreliability of 
test on Windows also.


  Commit: 3708312107c3bc7f5544947a285864116382a84b
      
https://github.com/jenkinsci/git-plugin/commit/3708312107c3bc7f5544947a285864116382a84b
  Author: Mark Waite <mark.earl.wa...@gmail.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M src/test/java/hudson/plugins/git/GitSCMTest.java

  Log Message:
  -----------
  Merge pull request #1232 from Vlatombe/GitSCMTest-testSubmoduleFixup

Fix flaky `GitSCMTest#testSubmoduleFixup`


Compare: 
https://github.com/jenkinsci/git-plugin/compare/4e6a71557edd...3708312107c3

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/git-plugin/push/refs/heads/master/4e6a71-370831%40github.com.

Reply via email to