| Summary: | GitCloneTest.testCloneMissingUserInfo() failed | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Tomasz Zarna <tomasz.zarna> |
| Component: | Git | Assignee: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | malgorzata.tomczyk |
| Version: | 0.4 | ||
| Target Milestone: | 0.4 RC1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| URL: | http://download.eclipse.org/orion/drops/I201202052230/org.eclipse.orion.server.tests.AllServerTests.html | ||
| Whiteboard: | |||
|
Description
Tomasz Zarna
It's most probably caused by a "missing host exception" returned from the server as 400. Modified the test a bit to double check it -- c4f02acd7ca1c718b297d340a5ca912b14bb069f *** Bug 370687 has been marked as a duplicate of this bug. *** From the failure in I201202052230 [1] we can get this kind of additional info:
{
"Severity":"Error",
"Message":"ssh://git.eclipse.org/gitroot/platform/eclipse.platform.news.git: username must not be null.",
"HttpCode":400,
"Code":0,
"DetailedMessage":"ssh://git.eclipse.org/gitroot/platform/eclipse.platform.news.git: username must not be null.",
"JsonData":{
"Scheme":"ssh",
"Url":"ssh://git.eclipse.org/gitroot/platform/eclipse.platform.news.git",
"Host":"git.eclipse.org",
"HumanishName":"eclipse.platform.news"
}
}
Rest of the stacktrace is identical to the one from comment 0.
[1] http://download.eclipse.org/orion/drops/I201202052230/org.eclipse.orion.server.tests.AllServerTests.html
It seems that we expected this error in test. The only problem here is that the test was expected to end up as a task and it finished much faster. I had to miss this test when I migrated clone operation to TaskJob that does not necessary end up as a task, or maybe this test is newer. I can take it from here, Tomek, if you want. (In reply to comment #4) > I had to miss this test when I migrated clone operation to TaskJob that does not necessary end > up as a task, or maybe this test is newer. You didn't miss it, it's a new test added in bug 369282. > I can take it from here, Tomek, if you want. Be my guest. Thx! Done. I added getResult helper method to GitTest that returns what should be in task Result no meter if it ended in task or returned directly. |