Bug 290202 - [releng] update test infrastructure to JIRA 3.13.5 and JIRA 4.0.0-rc1
Summary: [releng] update test infrastructure to JIRA 3.13.5 and JIRA 4.0.0-rc1
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 3.3   Edit
Assignee: Thomas Ehrnhoefer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 21:56 EDT by Steffen Pingel CLA
Modified: 2009-09-30 00:55 EDT (History)
1 user (show)

See Also:


Attachments
patch v1 (2.77 KB, patch)
2009-09-29 18:50 EDT, Thomas Ehrnhoefer CLA
no flags Details | Diff
mylyn/context/zip (60.46 KB, application/octet-stream)
2009-09-29 18:50 EDT, Thomas Ehrnhoefer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2009-09-22 21:56:40 EDT
Tests should run against the latest available releases of JIRA. As part of this a JIRA 3.7 repository should be installed which is the earliest JIRA version that is officially supported.
Comment 1 Thomas Ehrnhoefer CLA 2009-09-29 18:50:25 EDT
Created attachment 148374 [details]
patch v1

...necessary changes to test constants and fixture
Comment 2 Thomas Ehrnhoefer CLA 2009-09-29 18:50:28 EDT
Created attachment 148375 [details]
mylyn/context/zip
Comment 3 Thomas Ehrnhoefer CLA 2009-09-29 19:06:05 EDT
I have not been able to fix the following failing tests:

*Headless Standalone Tests for org.eclipse.mylyn.jira.tests*
*org.eclipse.mylyn.jira.tests.client.JiraClientOfflineTest*
testGetWorklogsUnsupportedVersion(org.eclipse.mylyn.jira.tests.client.JiraClientOfflineTest)
org.eclipse.mylyn.internal.jira.core.service.JiraServiceUnavailableException: Protocol violation: Unexpected single newline character in chunk size


*Testing on JIRA 4.0.0-Beta2/Enterprise*
*org.eclipse.mylyn.jira.tests.client.JiraClientTest*
testLogin(org.eclipse.mylyn.jira.tests.client.JiraClientTest)
org.eclipse.mylyn.internal.jira.core.service.JiraServiceUnavailableException: Server error: (400)No Host matches server name mylyn.eclipse.org

testBasicAuth(org.eclipse.mylyn.jira.tests.client.JiraClientTest)
org.eclipse.mylyn.internal.jira.core.service.JiraServiceUnavailableException: Server error: (400)No Host matches server name mylyn.eclipse.org


*org.eclipse.mylyn.jira.tests.core.JiraClientFactoryTest*
testCharacterEncoding(org.eclipse.mylyn.jira.tests.core.JiraClientFactoryTest)
org.eclipse.mylyn.internal.jira.core.service.JiraServiceUnavailableException: Server error: (400)No Host matches server name mylyn.eclipse.org


*org.eclipse.mylyn.jira.tests.core.JiraStackTraceDuplicateDetectorTest*
testStackTraceInDescription(org.eclipse.mylyn.jira.tests.core.JiraStackTraceDuplicateDetectorTest)
junit.framework.AssertionFailedError: Expected duplicated task 21890 : PRONE-9049

testStackTraceInComment(org.eclipse.mylyn.jira.tests.core.JiraStackTraceDuplicateDetectorTest)
junit.framework.AssertionFailedError: Expected duplicated task 21891 : PRONE-9050


*Testing on JIRA 3.13.5/Enterprise*
*org.eclipse.mylyn.jira.tests.core.JiraFilterTest*
testCustomQueryWrongDatePattern(org.eclipse.mylyn.jira.tests.core.JiraFilterTest)
junit.framework.AssertionFailedError: expected:<Status OK: org.eclipse.core.runtime code=0 OK null> but was:<Status ERROR: org.eclipse.mylyn.internal.jira.core code=1 Unexpected result code 400 while running query: http://mylyn.eclipse.org/jira-enterprise-3.13.5/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?decorator=none&reset=true&tempMax=5000&&created:after=01%2FOkt%2F08&created:before=01%2FOkt%2F08 null>


*Testing on JIRA 4.0.0-Beta2/Enterprise*
*org.eclipse.mylyn.jira.tests.core.JiraFilterTest*
testCustomQueryWrongDatePattern(org.eclipse.mylyn.jira.tests.core.JiraFilterTest)
junit.framework.AssertionFailedError: expected:<Status OK: org.eclipse.core.runtime code=0 OK null> but was:<Status ERROR: org.eclipse.mylyn.internal.jira.core code=1 Unexpected result code 400 while running query: http://mylyn.eclipse.org/jira-enterprise-4.0.0/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?decorator=none&reset=true&tempMax=5000&&created:after=01%2FOkt%2F08&created:before=01%2FOkt%2F08 null>
Comment 4 Steffen Pingel CLA 2009-09-30 00:55:32 EDT
Thanks Thomas. I have updated the server urls. You may need to reinitialize the search indices to get the search tests working again. I am not sure about the 400 errors, I haven't seen those before but it could be something with the repository setup that's causing the failures.