Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361870

Summary: Want the default property files to work against a RTC 3.0.1.1 eGA instance on quagmire
Product: [Technology] Lyo Reporter: Yuhong Yin <yyin>
Component: TestSuiteAssignee: Yuhong Yin <yyin>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: fiedler.mf, sspeiche, yyin
Version: unspecifiedFlags: sspeiche: review-
sspeiche: review+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
rtc-setupv2.properties
none
rtc-template2.xml
none
rtc-json-template2.json
none
Updates to RTC config files
fiedler.mf: iplog+
update to use a RTC 3.0.1.1 server on quagmire none

Description Yuhong Yin CLA 2011-10-24 16:45:24 EDT
Build Identifier: Should update the RTC test property files

Running against RTC 3.0.1.1 server produces the best result. 

All 123 tests run. No error. 5 failures (only two types)

Reproducible: Always

Steps to Reproduce:
Will only modify the following files
1. rtc-setupv2.properties
2. rtc-template2.xml
3. rtc-json-template2.json
Comment 1 Yuhong Yin CLA 2011-10-25 13:44:32 EDT
Created attachment 205943 [details]
rtc-setupv2.properties
Comment 2 Yuhong Yin CLA 2011-10-25 13:45:35 EDT
Created attachment 205944 [details]
rtc-template2.xml

update to use RTC 3.0.1.1 server
Comment 3 Yuhong Yin CLA 2011-10-25 13:46:51 EDT
Created attachment 205945 [details]
rtc-json-template2.json

Update to use RTC 3.0.1.1 server
Comment 4 Steve Speicher CLA 2011-10-25 14:29:19 EDT
Please resubmit only your changes as patches
Comment 5 Michael Fiedler CLA 2011-10-26 11:32:11 EDT
Please re-assign to Michael Fiedler
Comment 6 Michael Fiedler CLA 2011-10-26 11:42:55 EDT
Created attachment 205995 [details]
Updates to RTC config files
Comment 7 Yuhong Yin CLA 2011-10-26 11:52:23 EDT
Created attachment 205998 [details]
update to use a RTC 3.0.1.1 server on quagmire

attached patch contains updates to three files
Comment 8 Steve Speicher CLA 2011-10-27 09:03:58 EDT
(In reply to comment #7)
> Created attachment 205998 [details]
> update to use a RTC 3.0.1.1 server on quagmire
> 
> attached patch contains updates to three files

Yuhong, in reviewing the patch I see at least 6 files included.  Can you please confirm the patch contents?  See: https://bugs.eclipse.org/bugs/attachment.cgi?id=205998&action=diff

Perhaps these got pulled in inadvertently?
Comment 9 Steve Speicher CLA 2011-10-27 09:08:48 EDT
Comment on attachment 205998 [details]
update to use a RTC 3.0.1.1 server on quagmire

Yuhong, I'm just going to mark this obsolete as I see Mike attached the patch
Comment 10 Yuhong Yin CLA 2011-10-27 09:17:30 EDT
That's fine since Mike's and mine are the same on the three V2 property files. My other three are V1 related files - not critical at this point. 

Thanks
Comment 11 Steve Speicher CLA 2011-10-27 09:49:04 EDT
I tried the patch and get a failure early (note, I did try before applying the patch)

java.lang.NullPointerException
	at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881)
	at org.apache.http.impl.client.BasicCredentialsProvider.setCredentials(BasicCredentialsProvider.java:62)
	at org.eclipse.lyo.testsuite.server.util.OSLCUtils.getHttpClient(OSLCUtils.java:116)
	at org.eclipse.lyo.testsuite.server.util.OSLCUtils.getResponseFromUrl(OSLCUtils.java:95)
	at org.eclipse.lyo.testsuite.server.util.OSLCUtils.getResponseFromUrl(OSLCUtils.java:81)
	at org.eclipse.lyo.testsuite.server.oslcv2tests.TestsBase.formLogin(TestsBase.java:442)
	at org.eclipse.lyo.testsuite.server.oslcv2tests.TestsBase.staticSetup(TestsBase.java:106)
	at org.eclipse.lyo.testsuite.server.DynamicSuiteBuilder.suite(DynamicSuiteBuilder.java:51)
	at org.eclipse.lyo.testsuite.server.OslcTestSuite.<init>(OslcTestSuite.java:36)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:33)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:25)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:48)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Comment 12 Steve Speicher CLA 2011-10-27 10:38:06 EDT
Updating my project via maven install and reruning allowed tests to run successfully.

Committed http://git.eclipse.org/c/lyo/org.eclipse.lyo.testsuite.git/commit/?id=f0fadf5af0d5750d9c61e498a8242df45fa5ea7f
Comment 13 Samuel Padgett CLA 2015-03-09 09:53:36 EDT
Bulk update: Closing out Lyo bugs fixed long ago. Feel free to reopen if you feel your bug was closed in error.