[JIRA] Created: (HUDSON-7000) Failing unit test testBranches maks mercurial plugin as unstable

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-7000) Failing unit test testBranches maks mercurial plugin as unstable

Hudson issues mailing list
Failing unit test testBranches maks mercurial plugin as unstable
----------------------------------------------------------------

                 Key: HUDSON-7000
                 URL: http://issues.hudson-ci.org/browse/HUDSON-7000
             Project: Hudson
          Issue Type: Bug
          Components: mercurial
    Affects Versions: current
         Environment: Hudson http://ci.hudson-labs.org/job/hudson_all_plugins/
            Reporter: jan_ruzicka
            Assignee: kohsuke
            Priority: Minor


It looks like single test procedure (testBranches @ MercurialSCMTest.java:47) is failing three different tests.

http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/CachingSCMTest/testBranches/
http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/DebugFlagTest/testBranches/
http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/MercurialSCMTest/testBranches/

Error Message  null

Stacktrace:

junit.framework.AssertionFailedError: null
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertTrue(Assert.java:27)
        at hudson.plugins.mercurial.MercurialTestCase.buildAndCheck(MercurialTestCase.java:47)
        at hudson.plugins.mercurial.MercurialSCMTest.testBranches(MercurialSCMTest.java:47)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-7000) Failing unit test testBranches maks mercurial plugin as unstable

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-7000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140224#action_140224 ]

jan_ruzicka commented on HUDSON-7000:
-------------------------------------

MercurialSCMTest.java
43 touchAndCommit(repo, "b-1");
44 FreeStyleProject p = createFreeStyleProject();
45 // Clone off b.
46 p.setScm(new MercurialSCM(hgInstallation, repo.getPath(), "b", null, null, false, false));
47 >> buildAndCheck(p, "b-1");
48 hg(repo, "update", "--clean", "default");
49 touchAndCommit(repo, "default-2");

MercurialTestCase.java:
42   protected String buildAndCheck(FreeStyleProject p, String name, Action... actions) throws Exception {
43   FreeStyleBuild b = assertBuildStatusSuccess(p.scheduleBuild2(0, new UserCause(), actions).get());
44   // for (String line : b.getLog(Integer.MAX_VALUE)) {
45   // System.err.println(">> " + line);
46   // }
47>>   assertTrue(b.getWorkspace().child(name).exists());
48   assertNotNull(b.getAction(MercurialTagAction.class));
49   @SuppressWarnings("deprecation")
50   String log = b.getLog();
51   return log;
52   }

For some reason it's getting null in the assertTrue on MercurialTestCase.java:47.

> Failing unit test testBranches maks mercurial plugin as unstable
> ----------------------------------------------------------------
>
>                 Key: HUDSON-7000
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7000
>             Project: Hudson
>          Issue Type: Bug
>          Components: mercurial
>    Affects Versions: current
>         Environment: Hudson http://ci.hudson-labs.org/job/hudson_all_plugins/
>            Reporter: jan_ruzicka
>            Assignee: kohsuke
>            Priority: Minor
>
> It looks like single test procedure (testBranches @ MercurialSCMTest.java:47) is failing three different tests.
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/CachingSCMTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/DebugFlagTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/MercurialSCMTest/testBranches/
> Error Message  null
> Stacktrace:
> junit.framework.AssertionFailedError: null
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertTrue(Assert.java:27)
> at hudson.plugins.mercurial.MercurialTestCase.buildAndCheck(MercurialTestCase.java:47)
> at hudson.plugins.mercurial.MercurialSCMTest.testBranches(MercurialSCMTest.java:47)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-7000) Failing unit test testBranches maks mercurial plugin as unstable

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-7000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jglick reassigned HUDSON-7000:
------------------------------

    Assignee: jglick  (was: kohsuke)

> Failing unit test testBranches maks mercurial plugin as unstable
> ----------------------------------------------------------------
>
>                 Key: HUDSON-7000
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7000
>             Project: Hudson
>          Issue Type: Bug
>          Components: mercurial
>    Affects Versions: current
>         Environment: Hudson http://ci.hudson-labs.org/job/hudson_all_plugins/
>            Reporter: jan_ruzicka
>            Assignee: jglick
>            Priority: Minor
>
> It looks like single test procedure (testBranches @ MercurialSCMTest.java:47) is failing three different tests.
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/CachingSCMTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/DebugFlagTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/MercurialSCMTest/testBranches/
> Error Message  null
> Stacktrace:
> junit.framework.AssertionFailedError: null
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertTrue(Assert.java:27)
> at hudson.plugins.mercurial.MercurialTestCase.buildAndCheck(MercurialTestCase.java:47)
> at hudson.plugins.mercurial.MercurialSCMTest.testBranches(MercurialSCMTest.java:47)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-7000) Failing unit test testBranches maks mercurial plugin as unstable

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-7000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140283#action_140283 ]

jglick commented on HUDSON-7000:
--------------------------------

Not sure. Cannot reproduce locally. The stdout/stderr just seems to stop in the middle of the test - the actual error is not shown.

Last build of the job just failed with a disk space error.

> Failing unit test testBranches maks mercurial plugin as unstable
> ----------------------------------------------------------------
>
>                 Key: HUDSON-7000
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7000
>             Project: Hudson
>          Issue Type: Bug
>          Components: mercurial
>    Affects Versions: current
>         Environment: Hudson http://ci.hudson-labs.org/job/hudson_all_plugins/
>            Reporter: jan_ruzicka
>            Assignee: jglick
>            Priority: Minor
>
> It looks like single test procedure (testBranches @ MercurialSCMTest.java:47) is failing three different tests.
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/CachingSCMTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/DebugFlagTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/MercurialSCMTest/testBranches/
> Error Message  null
> Stacktrace:
> junit.framework.AssertionFailedError: null
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertTrue(Assert.java:27)
> at hudson.plugins.mercurial.MercurialTestCase.buildAndCheck(MercurialTestCase.java:47)
> at hudson.plugins.mercurial.MercurialSCMTest.testBranches(MercurialSCMTest.java:47)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-7000) Failing unit test testBranches maks mercurial plugin as unstable

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-7000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140284#action_140284 ]

scm_issue_link commented on HUDSON-7000:
----------------------------------------

Code changed in hudson
User: : jglick
Path:
 trunk/hudson/plugins/mercurial/src/test/java/hudson/plugins/mercurial/MercurialTestCase.java
http://hudson-ci.org/commit/33067
Log:
[HUDSON-7000] Diagnostics for unreproducible test failure.


> Failing unit test testBranches maks mercurial plugin as unstable
> ----------------------------------------------------------------
>
>                 Key: HUDSON-7000
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7000
>             Project: Hudson
>          Issue Type: Bug
>          Components: mercurial
>    Affects Versions: current
>         Environment: Hudson http://ci.hudson-labs.org/job/hudson_all_plugins/
>            Reporter: jan_ruzicka
>            Assignee: jglick
>            Priority: Minor
>
> It looks like single test procedure (testBranches @ MercurialSCMTest.java:47) is failing three different tests.
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/CachingSCMTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/DebugFlagTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/MercurialSCMTest/testBranches/
> Error Message  null
> Stacktrace:
> junit.framework.AssertionFailedError: null
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertTrue(Assert.java:27)
> at hudson.plugins.mercurial.MercurialTestCase.buildAndCheck(MercurialTestCase.java:47)
> at hudson.plugins.mercurial.MercurialSCMTest.testBranches(MercurialSCMTest.java:47)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-7000) Failing unit test testBranches marks mercurial plugin as unstable

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-7000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

basil3whitehouse updated HUDSON-7000:
-------------------------------------

    Summary: Failing unit test testBranches marks mercurial plugin as unstable  (was: Failing unit test testBranches maks mercurial plugin as unstable)

> Failing unit test testBranches marks mercurial plugin as unstable
> -----------------------------------------------------------------
>
>                 Key: HUDSON-7000
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7000
>             Project: Hudson
>          Issue Type: Bug
>          Components: mercurial
>    Affects Versions: current
>         Environment: Hudson http://ci.hudson-labs.org/job/hudson_all_plugins/
>            Reporter: jan_ruzicka
>            Assignee: jglick
>            Priority: Minor
>
> It looks like single test procedure (testBranches @ MercurialSCMTest.java:47) is failing three different tests.
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/CachingSCMTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/DebugFlagTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/MercurialSCMTest/testBranches/
> Error Message  null
> Stacktrace:
> junit.framework.AssertionFailedError: null
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertTrue(Assert.java:27)
> at hudson.plugins.mercurial.MercurialTestCase.buildAndCheck(MercurialTestCase.java:47)
> at hudson.plugins.mercurial.MercurialSCMTest.testBranches(MercurialSCMTest.java:47)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Closed: (HUDSON-7000) Failing unit test testBranches marks mercurial plugin as unstable

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-7000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jan_ruzicka closed HUDSON-7000.
-------------------------------

    Resolution: Fixed

update of slave machine to newer version of mercurial took care of this.


> Failing unit test testBranches marks mercurial plugin as unstable
> -----------------------------------------------------------------
>
>                 Key: HUDSON-7000
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7000
>             Project: Hudson
>          Issue Type: Bug
>          Components: mercurial
>    Affects Versions: current
>         Environment: Hudson http://ci.hudson-labs.org/job/hudson_all_plugins/
>            Reporter: jan_ruzicka
>            Assignee: jglick
>            Priority: Minor
>
> It looks like single test procedure (testBranches @ MercurialSCMTest.java:47) is failing three different tests.
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/CachingSCMTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/DebugFlagTest/testBranches/
> http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$mercurial/140/testReport/hudson.plugins.mercurial/MercurialSCMTest/testBranches/
> Error Message  null
> Stacktrace:
> junit.framework.AssertionFailedError: null
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertTrue(Assert.java:27)
> at hudson.plugins.mercurial.MercurialTestCase.buildAndCheck(MercurialTestCase.java:47)
> at hudson.plugins.mercurial.MercurialSCMTest.testBranches(MercurialSCMTest.java:47)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]