You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Myrna van Lunteren <m....@gmail.com> on 2010/12/13 20:35:09 UTC

re 10.7 release & JDBC CTS suite testing

Hi,

I was wondering if anyone was planning to run the JDBC (3.0?) CTS suite?

I looked over the testing results from 10.7 so far, and from the 10.6
releases but couldn't find an entry; last entry was for 10.5.3.0.

Regards,
Myrna

Re: re 10.7 release & JDBC CTS suite testing

Posted by Rick Hillegas <ri...@oracle.com>.
On 12/13/10 12:19 PM, Kathey Marsden wrote:
> On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>>
>> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer 
>> works on Derby. As you note, no-one has run that test on 10.6.2 or 
>> 10.7.1.
>>
> Is there someone that has access to these tests that can run them now 
> that Ole is gone or is it just one more bit of testing we don't do 
> anymore?  It would be nice to know we are compliant for  a release off 
> trunk.
>
> Speaking of possible testing gaps, unfortunately I have not had time 
> to do the  mixed client/server  and upgrade testing I usually do with 
> each release.
Hi Kathey,

I have run 
org.apache.derbyTesting.functionTests.tests.upgradeTests._Suite on 
10.7.1.1, starting with all of the following releases. Are there other 
upgrade tests which you run?

10.0.2.1
10.1.1.0
10.1.2.1
10.1.3.1
10.2.1.6
10.2.2.0
10.2.2.1
10.3.1.4
10.3.2.1
10.3.3.0
10.4.1.3
10.4.2.0
10.4.2.1
10.5.1.1
10.5.2.0
10.5.3.0
10.6.1.0
10.6.2.1

Thanks,
-Rick
> I plan to do it in January or as user cases  and permits, but thought 
> I should mention this in case someone else wants to pick it up as 
> often issues found by this type of testing can't easily be fixed in 
> the branches.
>
> Thanks
>
> Kathey
>
>
>
>


Re: re 10.7 release & JDBC CTS suite testing

Posted by Knut Anders Hatlen <kn...@oracle.com>.
Kathey Marsden <km...@sbcglobal.net> writes:

> On 12/15/2010 6:20 AM, Knut Anders Hatlen wrote:
>> Knut Anders Hatlen<kn...@oracle.com>  writes:
>>
>>> Kathey Marsden<km...@sbcglobal.net>  writes:
>>>
>>>> On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>>>>> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer
>>>>> works on Derby. As you note, no-one has run that test on 10.6.2 or
>>>>> 10.7.1.
>>>>>
>>>> Is there someone that has access to these tests that can run them now
>>>> that Ole is gone or is it just one more bit of testing we don't do
>>>> anymore?  It would be nice to know we are compliant for  a release off
>>>> trunk.
>>> I found the instructions for running these tests and have started
>>> them. So if everything goes well, we'll have the results shortly.
>> It didn't go all that well... Here's what the report says:
>>
>> batchUpdate.out:     passed: 68
>> callStmt.out:        passed: 1,580; failed: 20
>> connection.out:      passed: 36
>> dateTime.out:        passed: 152
>> dbMeta.out:          passed: 940
>> escapeSyntax.out:    passed: 324
>> exception.out:       passed: 56
>> prepStmt.out:        passed: 1,072; failed: 12
>> resultSet.out:       passed: 452; failed: 4
>> rsMeta.out:          passed: 84
>> stmt.out:            passed: 132
>> Total time: 09:58:28
>>
>> I haven't looked at all the failures yet. Those I have looked at appear
>> to happen because our meta-data now says that we support BOOLEAN,
>> whereas the database schema created by the test itself contains
>> workarounds for Derby's lack of support for BOOLEAN (like using SMALLINT
>> columns instead of BOOLEAN columns). So I think there are some changes
>> required for the DDL and DML scripts that create the database schema in
>> order to make the test run successfully, but I haven't found anything
>> that appears to be a Derby problem yet.
>>
> Would a workaround to changes the DML scripts for the short run be to
> create the database with an old version and run against the soft
> upgraded database now that the metadata issue in soft upgrade is
> fixed.

That may possibly work. At least it seemed to me that the failures I
analyzed wouldn't have happened if getTypeInfo() hadn't returned
boolean.

-- 
Knut Anders

Re: re 10.7 release & JDBC CTS suite testing

Posted by Kathey Marsden <km...@sbcglobal.net>.
On 12/15/2010 6:20 AM, Knut Anders Hatlen wrote:
> Knut Anders Hatlen<kn...@oracle.com>  writes:
>
>> Kathey Marsden<km...@sbcglobal.net>  writes:
>>
>>> On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>>>> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer
>>>> works on Derby. As you note, no-one has run that test on 10.6.2 or
>>>> 10.7.1.
>>>>
>>> Is there someone that has access to these tests that can run them now
>>> that Ole is gone or is it just one more bit of testing we don't do
>>> anymore?  It would be nice to know we are compliant for  a release off
>>> trunk.
>> I found the instructions for running these tests and have started
>> them. So if everything goes well, we'll have the results shortly.
> It didn't go all that well... Here's what the report says:
>
> batchUpdate.out:     passed: 68
> callStmt.out:        passed: 1,580; failed: 20
> connection.out:      passed: 36
> dateTime.out:        passed: 152
> dbMeta.out:          passed: 940
> escapeSyntax.out:    passed: 324
> exception.out:       passed: 56
> prepStmt.out:        passed: 1,072; failed: 12
> resultSet.out:       passed: 452; failed: 4
> rsMeta.out:          passed: 84
> stmt.out:            passed: 132
> Total time: 09:58:28
>
> I haven't looked at all the failures yet. Those I have looked at appear
> to happen because our meta-data now says that we support BOOLEAN,
> whereas the database schema created by the test itself contains
> workarounds for Derby's lack of support for BOOLEAN (like using SMALLINT
> columns instead of BOOLEAN columns). So I think there are some changes
> required for the DDL and DML scripts that create the database schema in
> order to make the test run successfully, but I haven't found anything
> that appears to be a Derby problem yet.
>
Would a workaround to changes the DML scripts for the short run be to 
create the database with an old version and run against the soft 
upgraded database now that the metadata issue in soft upgrade is fixed.

Kathey



Re: re 10.7 release & JDBC CTS suite testing

Posted by Knut Anders Hatlen <kn...@oracle.com>.
Knut Anders Hatlen <kn...@oracle.com> writes:

> Knut Anders Hatlen <kn...@oracle.com> writes:
>
>> Kathey Marsden <km...@sbcglobal.net> writes:
>>
>>> On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>>>>
>>>> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer
>>>> works on Derby. As you note, no-one has run that test on 10.6.2 or
>>>> 10.7.1.
>>>>
>>> Is there someone that has access to these tests that can run them now
>>> that Ole is gone or is it just one more bit of testing we don't do
>>> anymore?  It would be nice to know we are compliant for  a release off
>>> trunk.
>>
>> I found the instructions for running these tests and have started
>> them. So if everything goes well, we'll have the results shortly.
>
> It didn't go all that well... Here's what the report says:
>
> batchUpdate.out:     passed: 68
> callStmt.out:        passed: 1,580; failed: 20
> connection.out:      passed: 36
> dateTime.out:        passed: 152
> dbMeta.out:          passed: 940
> escapeSyntax.out:    passed: 324
> exception.out:       passed: 56
> prepStmt.out:        passed: 1,072; failed: 12
> resultSet.out:       passed: 452; failed: 4
> rsMeta.out:          passed: 84
> stmt.out:            passed: 132
> Total time: 09:58:28 
>
> I haven't looked at all the failures yet. Those I have looked at appear
> to happen because our meta-data now says that we support BOOLEAN,
> whereas the database schema created by the test itself contains
> workarounds for Derby's lack of support for BOOLEAN (like using SMALLINT
> columns instead of BOOLEAN columns). So I think there are some changes
> required for the DDL and DML scripts that create the database schema in
> order to make the test run successfully, but I haven't found anything
> that appears to be a Derby problem yet.

After I have updated DDL, DML and stored procedure signatures to use
boolean instead of smallint/short, I see 24 failures in
PreparedStatement and 32 failures in CallableStatement. These are all
variants of DERBY-4964 (client only) and DERBY-4965 (client and
embedded). I've added the "deviation from standard" flag to the bug
reports.

-- 
Knut Anders

Re: re 10.7 release & JDBC CTS suite testing

Posted by Knut Anders Hatlen <kn...@oracle.com>.
Knut Anders Hatlen <kn...@oracle.com> writes:

> Kathey Marsden <km...@sbcglobal.net> writes:
>
>> On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>>>
>>> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer
>>> works on Derby. As you note, no-one has run that test on 10.6.2 or
>>> 10.7.1.
>>>
>> Is there someone that has access to these tests that can run them now
>> that Ole is gone or is it just one more bit of testing we don't do
>> anymore?  It would be nice to know we are compliant for  a release off
>> trunk.
>
> I found the instructions for running these tests and have started
> them. So if everything goes well, we'll have the results shortly.

It didn't go all that well... Here's what the report says:

batchUpdate.out:     passed: 68
callStmt.out:        passed: 1,580; failed: 20
connection.out:      passed: 36
dateTime.out:        passed: 152
dbMeta.out:          passed: 940
escapeSyntax.out:    passed: 324
exception.out:       passed: 56
prepStmt.out:        passed: 1,072; failed: 12
resultSet.out:       passed: 452; failed: 4
rsMeta.out:          passed: 84
stmt.out:            passed: 132
Total time: 09:58:28 

I haven't looked at all the failures yet. Those I have looked at appear
to happen because our meta-data now says that we support BOOLEAN,
whereas the database schema created by the test itself contains
workarounds for Derby's lack of support for BOOLEAN (like using SMALLINT
columns instead of BOOLEAN columns). So I think there are some changes
required for the DDL and DML scripts that create the database schema in
order to make the test run successfully, but I haven't found anything
that appears to be a Derby problem yet.

-- 
Knut Anders

Re: re 10.7 release & JDBC CTS suite testing

Posted by Myrna van Lunteren <m....@gmail.com>.
On Tue, Dec 14, 2010 at 2:49 AM, Knut Anders Hatlen
<kn...@oracle.com> wrote:
> Kathey Marsden <km...@sbcglobal.net> writes:
>
>> On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>>>
>>> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer
>>> works on Derby. As you note, no-one has run that test on 10.6.2 or
>>> 10.7.1.
>>>
>> Is there someone that has access to these tests that can run them now
>> that Ole is gone or is it just one more bit of testing we don't do
>> anymore?  It would be nice to know we are compliant for  a release off
>> trunk.
>
> I found the instructions for running these tests and have started
> them. So if everything goes well, we'll have the results shortly.
>
> --
> Knut Anders
>

Thanks Knut Anders!

Myrna

Re: re 10.7 release & JDBC CTS suite testing

Posted by Knut Anders Hatlen <kn...@oracle.com>.
Kathey Marsden <km...@sbcglobal.net> writes:

> On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>>
>> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer
>> works on Derby. As you note, no-one has run that test on 10.6.2 or
>> 10.7.1.
>>
> Is there someone that has access to these tests that can run them now
> that Ole is gone or is it just one more bit of testing we don't do
> anymore?  It would be nice to know we are compliant for  a release off
> trunk.

I found the instructions for running these tests and have started
them. So if everything goes well, we'll have the results shortly.

-- 
Knut Anders

Re: re 10.7 release & JDBC CTS suite testing

Posted by Kathey Marsden <km...@sbcglobal.net>.
On 12/13/2010 12:43 PM, Rick Hillegas wrote:
> On 12/13/10 12:19 PM, Kathey Marsden wrote:
>> On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>>>
>>> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer 
>>> works on Derby. As you note, no-one has run that test on 10.6.2 or 
>>> 10.7.1.
>>>
>> Is there someone that has access to these tests that can run them now 
>> that Ole is gone or is it just one more bit of testing we don't do 
>> anymore?  It would be nice to know we are compliant for  a release 
>> off trunk.
>>
>> Speaking of possible testing gaps, unfortunately I have not had time 
>> to do the  mixed client/server
> Hi Kathey,
>
> I see that Knut ran the compatibility tests on both release 
> candidates. What other mixed client/server tests do you recommend?
>
Hi Rick,

I realize I should not have hijacked the CTS thread about these tests.
http://old.nabble.com/Mixed-client-sever-and-upgrade-and-compatibility-testing-with-Junit-Tests-ts30449488.html

I started a separate thread and will leave this one to answer the CTS 
question.






Re: re 10.7 release & JDBC CTS suite testing

Posted by Rick Hillegas <ri...@oracle.com>.
On 12/13/10 12:19 PM, Kathey Marsden wrote:
> On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>>
>> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer 
>> works on Derby. As you note, no-one has run that test on 10.6.2 or 
>> 10.7.1.
>>
> Is there someone that has access to these tests that can run them now 
> that Ole is gone or is it just one more bit of testing we don't do 
> anymore?  It would be nice to know we are compliant for  a release off 
> trunk.
>
> Speaking of possible testing gaps, unfortunately I have not had time 
> to do the  mixed client/server
Hi Kathey,

I see that Knut ran the compatibility tests on both release candidates. 
What other mixed client/server tests do you recommend?

Thanks,
-Rick
>   and upgrade testing I usually do with each release.  I plan to do it 
> in January or as user cases  and permits, but thought I should mention 
> this in case someone else wants to pick it up as often issues found by 
> this type of testing can't easily be fixed in the branches.
>
> Thanks
>
> Kathey
>
>
>
>


Re: re 10.7 release & JDBC CTS suite testing

Posted by Kathey Marsden <km...@sbcglobal.net>.
On 12/13/2010 11:58 AM, Rick Hillegas wrote:
>
> I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer works 
> on Derby. As you note, no-one has run that test on 10.6.2 or 10.7.1.
>
Is there someone that has access to these tests that can run them now 
that Ole is gone or is it just one more bit of testing we don't do 
anymore?  It would be nice to know we are compliant for  a release off 
trunk.

Speaking of possible testing gaps, unfortunately I have not had time to 
do the  mixed client/server  and upgrade testing I usually do with each 
release.  I plan to do it in January or as user cases  and permits, but 
thought I should mention this in case someone else wants to pick it up 
as often issues found by this type of testing can't easily be fixed in 
the branches.

Thanks

Kathey




Re: re 10.7 release & JDBC CTS suite testing

Posted by Rick Hillegas <ri...@oracle.com>.
On 12/13/10 11:35 AM, Myrna van Lunteren wrote:
> Hi,
>
> I was wondering if anyone was planning to run the JDBC (3.0?) CTS suite?
>
> I looked over the testing results from 10.7 so far, and from the 10.6
> releases but couldn't find an entry; last entry was for 10.5.3.0.
>
> Regards,
> Myrna
>
I see that Ole ran this test on 10.5.3 and 10.6.1. Ole no longer works 
on Derby. As you note, no-one has run that test on 10.6.2 or 10.7.1.

Regards,
-Rick