dev@glassfish.java.net

Re: [QL TESTS] Not all of the QL tests can be passed on the Mac OS platform

From: ÂÀËÎƽ <lvsongping_at_gmail.com>
Date: Tue, 23 Apr 2013 22:33:20 +0800

Hi, Tom:



2013/4/23 Tom Mueller <Tom.Mueller_at_oracle.com>

> Hi Jeremy,
>
> While the test is running, try using your browser to go to
> http://localhost:8080/simple-bg-servlet/test
> You should be seeing text that includes:
>
> case3: ConstraintViolation: message: may not be null propertyPath:
> listOfString
>
> Your test case failure says that this text wasn't there. What are you
> getting?
>
       It seems I got the 404 not found exception when I try to access this
web site.

>
> Is this same test failing everytime you run it?
>
       Yes, the failure I have attached will be happened every times, if I
run the second time without delete .gfclient file and recreate the domain,
there will be more tests failed when I run the QL tests

> I tried upgrading my JDK to 1.7.0_21 and the test still passes.
>
       I will update the jdk to the 1.7.0_21 to check whether the tests
will be failed..

>
>
Thanks.
> Tom
>

Thanks

-Jeremy

>
>
>
>
>
> On 4/22/13 11:50 AM, ÂÀËÎƽ wrote:
>
> Hi, Tom:
>
> Here's the test I have updated and ran just now.
> testng-summary:
> [echo] [testng]
> [echo] [testng] ===============================================
> [echo] [testng] QuickLookTests
> [echo] [testng] Total tests run: 117, Failures: 1, Skips: 0
> [echo] [testng] ===============================================
> [echo] [testng]
>
> I have also attached some of my test logs so that you can check about.
>
> I will try to look into the reason of failure I'v came across tomorrow.
> I haven't do any investigation about the failure I have came into now.
>
> BTW: Before I run the QL tests, I have confirmed I have create a new
> domain and delete the ./gfclient file. What's more, I have't change any
> source in my workspace.
>
> I use the JDK1.7.0_17 to build the glassfish and run it, I think maybe
> it is caused by the jdk....
>
> Thanks
>
> -Jeremy
>
> 2013/4/22 Tom Mueller <Tom.Mueller_at_oracle.com>
>
>> I just ran the test successfully this morning on the same OS but with JDK
>> 1.7.0_11.
>> Can you please send more details about what failures you are seeing and
>> what command you are using to run the test suite?
>>
>> Thanks.
>> Tom
>>
>>
>> On 4/21/13 7:08 AM, ÂÀËÎƽ wrote:
>>
>>> Hi, all:
>>>
>>> I'm just update my glassfish source to the latest version and run
>>> the QL tests, Not all of the tests passed. Here are my tests results:
>>>
>>> estng-summary:
>>> [echo] [testng]
>>> [echo] [testng] ===============================================
>>> [echo] [testng] QuickLookTests
>>> [echo] [testng] Total tests run: 117, Failures: 4, Skips: 2
>>> [echo] [testng] ===============================================
>>> [echo] [testng]
>>> [INFO] Executed tasks
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD SUCCESS
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> Can anyone come across about this situation...
>>>
>>>
>>> My platform information as follow:
>>> OS: Mac OS 10.8.3
>>> Java version:jdk1.7.0_17
>>> GF: latest build version
>>>
>>> I'm not sure whether it is my fault...I have run many times but the
>>> tests is still failed..
>>>
>>> Thanks
>>>
>>> -Jeremy
>>>
>>>
>>>
>>
>
>