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 "Mike Matrigali (JIRA)" <ji...@apache.org> on 2007/05/23 00:22:18 UTC

[jira] Created: (DERBY-2681) SetQueryTimeoutTest. fails in J2ME environment

SetQueryTimeoutTest. fails in J2ME environment
----------------------------------------------

                 Key: DERBY-2681
                 URL: https://issues.apache.org/jira/browse/DERBY-2681
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure
    Affects Versions: 10.2.2.0
         Environment: Generating report for RunSuite derbyall j9_foundation j9 null null true 
------------------ Java Information ------------------
Java Version:    J2ME Foundation Specification v1.0
Java Vendor:     IBM Corporation
Java home:       c:\jartest\wctme5.7\ive
Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
OS name:         Windows 2000
OS architecture: x86
OS version:      5.0 build 2195 Service Pack 4
Java user name:  cloudtest
Java user home:  C:\Documents and Settings\cloudtest
Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
java.specification.name: J2ME Foundation Specification
java.specification.version: 1.0
--------- Derby Information --------
JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
[C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
[C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
[C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
[C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)

            Reporter: Mike Matrigali


Have seen this error a number of times, but not every run in this environment.  

********* Diff file derbyall/jdbcapi/SetQueryTimeoutTest.diff
*** Start: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:28:51 ***
7 del
< Statement 1 completed
8 del
< Statement 2 completed
9 del
< Statement 3 completed
10 del
< Testing timeout with an execute operation
11 del
< Statements that should time out timed out, and statements that should complete completed
12 del
< Testing setting a negative timeout value
13 del
< Negative timeout value caused exception, as expected
14 del
< Execute returned a ResultSet
15 del
< Testing that Statement remembers timeout.
16 del
< Testing that PreparedStatement remembers timeout.
17 del
< Testing that CallableStatement remembers timeout.
18 del
< Testing timeout with executeUpdate call.
19 del
< Test SetQueryTimeoutTest PASSED
19a7,11
> Test SetQueryTimeoutTest FAILED
> org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException: Unexpected exception in 1: java.sql.SQLException: The statement has been cancelled or timed out.
> ERROR XCL52: The statement has been cancelled or timed out.
> java.sql.SQLException: Invalid transaction state.
> java.sql.SQLException: Invalid transaction state.
Test Failed.
*** End:   SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:29:13 ***


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-2681) SetQueryTimeoutTest. fails in J2ME environment

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591870#action_12591870 ] 

Knut Anders Hatlen commented on DERBY-2681:
-------------------------------------------

Is this a duplicate of DERBY-1848?

> SetQueryTimeoutTest. fails in J2ME environment
> ----------------------------------------------
>
>                 Key: DERBY-2681
>                 URL: https://issues.apache.org/jira/browse/DERBY-2681
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.2.0
>         Environment: Generating report for RunSuite derbyall j9_foundation j9 null null true 
> ------------------ Java Information ------------------
> Java Version:    J2ME Foundation Specification v1.0
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\wctme5.7\ive
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows 2000
> OS architecture: x86
> OS version:      5.0 build 2195 Service Pack 4
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
> java.specification.name: J2ME Foundation Specification
> java.specification.version: 1.0
> --------- Derby Information --------
> JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
> [C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)
>            Reporter: Mike Matrigali
>            Assignee: Myrna van Lunteren
>             Fix For: 10.2.2.1
>
>
> Have seen this error a number of times, but not every run in this environment.  
> ********* Diff file derbyall/jdbcapi/SetQueryTimeoutTest.diff
> *** Start: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:28:51 ***
> 7 del
> < Statement 1 completed
> 8 del
> < Statement 2 completed
> 9 del
> < Statement 3 completed
> 10 del
> < Testing timeout with an execute operation
> 11 del
> < Statements that should time out timed out, and statements that should complete completed
> 12 del
> < Testing setting a negative timeout value
> 13 del
> < Negative timeout value caused exception, as expected
> 14 del
> < Execute returned a ResultSet
> 15 del
> < Testing that Statement remembers timeout.
> 16 del
> < Testing that PreparedStatement remembers timeout.
> 17 del
> < Testing that CallableStatement remembers timeout.
> 18 del
> < Testing timeout with executeUpdate call.
> 19 del
> < Test SetQueryTimeoutTest PASSED
> 19a7,11
> > Test SetQueryTimeoutTest FAILED
> > org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException: Unexpected exception in 1: java.sql.SQLException: The statement has been cancelled or timed out.
> > ERROR XCL52: The statement has been cancelled or timed out.
> > java.sql.SQLException: Invalid transaction state.
> > java.sql.SQLException: Invalid transaction state.
> Test Failed.
> *** End:   SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:29:13 ***

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-2681) SetQueryTimeoutTest. fails in J2ME environment

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-2681:
--------------------------------------

    Environment: 
Generating report for RunSuite derbyall j9_foundation j9 null null true 
------------------ Java Information ------------------
Java Version:    J2ME Foundation Specification v1.0
Java Vendor:     IBM Corporation
Java home:       c:\jartest\wctme5.7\ive
Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale*jar;c:/jartest/classes/derbytools.jar;
c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;
c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;
c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;
c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
OS name:         Windows 2000
OS architecture: x86
OS version:      5.0 build 2195 Service Pack 4
Java user name:  cloudtest
Java user home:  C:\Documents and Settings\cloudtest
Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
java.specification.name: J2ME Foundation Specification
java.specification.version: 1.0
--------- Derby Information --------
JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
[C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
[C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
[C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
[C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)


  was:
Generating report for RunSuite derbyall j9_foundation j9 null null true 
------------------ Java Information ------------------
Java Version:    J2ME Foundation Specification v1.0
Java Vendor:     IBM Corporation
Java home:       c:\jartest\wctme5.7\ive
Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
OS name:         Windows 2000
OS architecture: x86
OS version:      5.0 build 2195 Service Pack 4
Java user name:  cloudtest
Java user home:  C:\Documents and Settings\cloudtest
Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
java.specification.name: J2ME Foundation Specification
java.specification.version: 1.0
--------- Derby Information --------
JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
[C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
[C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
[C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
[C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)



editing environment classpath to entice jira to display a more reasonable layout.

> SetQueryTimeoutTest. fails in J2ME environment
> ----------------------------------------------
>
>                 Key: DERBY-2681
>                 URL: https://issues.apache.org/jira/browse/DERBY-2681
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.2.0
>         Environment: Generating report for RunSuite derbyall j9_foundation j9 null null true 
> ------------------ Java Information ------------------
> Java Version:    J2ME Foundation Specification v1.0
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\wctme5.7\ive
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale*jar;c:/jartest/classes/derbytools.jar;
> c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;
> c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;
> c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;
> c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows 2000
> OS architecture: x86
> OS version:      5.0 build 2195 Service Pack 4
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
> java.specification.name: J2ME Foundation Specification
> java.specification.version: 1.0
> --------- Derby Information --------
> JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
> [C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)
>            Reporter: Mike Matrigali
>            Assignee: Myrna van Lunteren
>             Fix For: 10.2.2.1
>
>
> Have seen this error a number of times, but not every run in this environment.  
> ********* Diff file derbyall/jdbcapi/SetQueryTimeoutTest.diff
> *** Start: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:28:51 ***
> 7 del
> < Statement 1 completed
> 8 del
> < Statement 2 completed
> 9 del
> < Statement 3 completed
> 10 del
> < Testing timeout with an execute operation
> 11 del
> < Statements that should time out timed out, and statements that should complete completed
> 12 del
> < Testing setting a negative timeout value
> 13 del
> < Negative timeout value caused exception, as expected
> 14 del
> < Execute returned a ResultSet
> 15 del
> < Testing that Statement remembers timeout.
> 16 del
> < Testing that PreparedStatement remembers timeout.
> 17 del
> < Testing that CallableStatement remembers timeout.
> 18 del
> < Testing timeout with executeUpdate call.
> 19 del
> < Test SetQueryTimeoutTest PASSED
> 19a7,11
> > Test SetQueryTimeoutTest FAILED
> > org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException: Unexpected exception in 1: java.sql.SQLException: The statement has been cancelled or timed out.
> > ERROR XCL52: The statement has been cancelled or timed out.
> > java.sql.SQLException: Invalid transaction state.
> > java.sql.SQLException: Invalid transaction state.
> Test Failed.
> *** End:   SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:29:13 ***

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (DERBY-2681) SetQueryTimeoutTest. fails in J2ME environment

Posted by "Manjula Kutty (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manjula Kutty reopened DERBY-2681:
----------------------------------


This happened again in 10.5.Alpha. Here is the stack
SetQueryTimeoutTest(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)junit.framework.ComparisonFailure: Output at line 7 expected:<Statement 1 completed> but was:<Test SetQueryTimeoutTest FAILED>
	at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
	at org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:91)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:103)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)


> SetQueryTimeoutTest. fails in J2ME environment
> ----------------------------------------------
>
>                 Key: DERBY-2681
>                 URL: https://issues.apache.org/jira/browse/DERBY-2681
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.2.0
>         Environment: Generating report for RunSuite derbyall j9_foundation j9 null null true 
> ------------------ Java Information ------------------
> Java Version:    J2ME Foundation Specification v1.0
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\wctme5.7\ive
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows 2000
> OS architecture: x86
> OS version:      5.0 build 2195 Service Pack 4
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
> java.specification.name: J2ME Foundation Specification
> java.specification.version: 1.0
> --------- Derby Information --------
> JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
> [C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)
>            Reporter: Mike Matrigali
>            Assignee: Myrna van Lunteren
>             Fix For: 10.2.2.1
>
>
> Have seen this error a number of times, but not every run in this environment.  
> ********* Diff file derbyall/jdbcapi/SetQueryTimeoutTest.diff
> *** Start: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:28:51 ***
> 7 del
> < Statement 1 completed
> 8 del
> < Statement 2 completed
> 9 del
> < Statement 3 completed
> 10 del
> < Testing timeout with an execute operation
> 11 del
> < Statements that should time out timed out, and statements that should complete completed
> 12 del
> < Testing setting a negative timeout value
> 13 del
> < Negative timeout value caused exception, as expected
> 14 del
> < Execute returned a ResultSet
> 15 del
> < Testing that Statement remembers timeout.
> 16 del
> < Testing that PreparedStatement remembers timeout.
> 17 del
> < Testing that CallableStatement remembers timeout.
> 18 del
> < Testing timeout with executeUpdate call.
> 19 del
> < Test SetQueryTimeoutTest PASSED
> 19a7,11
> > Test SetQueryTimeoutTest FAILED
> > org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException: Unexpected exception in 1: java.sql.SQLException: The statement has been cancelled or timed out.
> > ERROR XCL52: The statement has been cancelled or timed out.
> > java.sql.SQLException: Invalid transaction state.
> > java.sql.SQLException: Invalid transaction state.
> Test Failed.
> *** End:   SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:29:13 ***

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DERBY-2681) SetQueryTimeoutTest. fails in J2ME environment

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren reassigned DERBY-2681:
-----------------------------------------

    Assignee: Myrna van Lunteren

> SetQueryTimeoutTest. fails in J2ME environment
> ----------------------------------------------
>
>                 Key: DERBY-2681
>                 URL: https://issues.apache.org/jira/browse/DERBY-2681
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.2.0
>         Environment: Generating report for RunSuite derbyall j9_foundation j9 null null true 
> ------------------ Java Information ------------------
> Java Version:    J2ME Foundation Specification v1.0
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\wctme5.7\ive
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows 2000
> OS architecture: x86
> OS version:      5.0 build 2195 Service Pack 4
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
> java.specification.name: J2ME Foundation Specification
> java.specification.version: 1.0
> --------- Derby Information --------
> JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
> [C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)
>            Reporter: Mike Matrigali
>            Assignee: Myrna van Lunteren
>
> Have seen this error a number of times, but not every run in this environment.  
> ********* Diff file derbyall/jdbcapi/SetQueryTimeoutTest.diff
> *** Start: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:28:51 ***
> 7 del
> < Statement 1 completed
> 8 del
> < Statement 2 completed
> 9 del
> < Statement 3 completed
> 10 del
> < Testing timeout with an execute operation
> 11 del
> < Statements that should time out timed out, and statements that should complete completed
> 12 del
> < Testing setting a negative timeout value
> 13 del
> < Negative timeout value caused exception, as expected
> 14 del
> < Execute returned a ResultSet
> 15 del
> < Testing that Statement remembers timeout.
> 16 del
> < Testing that PreparedStatement remembers timeout.
> 17 del
> < Testing that CallableStatement remembers timeout.
> 18 del
> < Testing timeout with executeUpdate call.
> 19 del
> < Test SetQueryTimeoutTest PASSED
> 19a7,11
> > Test SetQueryTimeoutTest FAILED
> > org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException: Unexpected exception in 1: java.sql.SQLException: The statement has been cancelled or timed out.
> > ERROR XCL52: The statement has been cancelled or timed out.
> > java.sql.SQLException: Invalid transaction state.
> > java.sql.SQLException: Invalid transaction state.
> Test Failed.
> *** End:   SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:29:13 ***

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DERBY-2681) SetQueryTimeoutTest. fails in J2ME environment

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren closed DERBY-2681.
-------------------------------------

       Resolution: Won't Fix
    Fix Version/s: 10.2.2.1

I have disabled the test from running with j9foundation on the 10.2 branch. 
It's possible there's a derby bug here, but we only ever see this with j9 foundation, (about 7 times in 5 months) and then, only on the 10.2 branch (not on trunk=10.3).
It's also possible there is a JVM bug here, but there's a newer version of the JVM (available with weme6.1) and the tests I have seen run with that on the trunk(10.3 at this point) do not show this behavior.
I am marking this as 'won't fix'.



> SetQueryTimeoutTest. fails in J2ME environment
> ----------------------------------------------
>
>                 Key: DERBY-2681
>                 URL: https://issues.apache.org/jira/browse/DERBY-2681
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.2.0
>         Environment: Generating report for RunSuite derbyall j9_foundation j9 null null true 
> ------------------ Java Information ------------------
> Java Version:    J2ME Foundation Specification v1.0
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\wctme5.7\ive
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows 2000
> OS architecture: x86
> OS version:      5.0 build 2195 Service Pack 4
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
> java.specification.name: J2ME Foundation Specification
> java.specification.version: 1.0
> --------- Derby Information --------
> JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
> [C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)
>            Reporter: Mike Matrigali
>            Assignee: Myrna van Lunteren
>             Fix For: 10.2.2.1
>
>
> Have seen this error a number of times, but not every run in this environment.  
> ********* Diff file derbyall/jdbcapi/SetQueryTimeoutTest.diff
> *** Start: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:28:51 ***
> 7 del
> < Statement 1 completed
> 8 del
> < Statement 2 completed
> 9 del
> < Statement 3 completed
> 10 del
> < Testing timeout with an execute operation
> 11 del
> < Statements that should time out timed out, and statements that should complete completed
> 12 del
> < Testing setting a negative timeout value
> 13 del
> < Negative timeout value caused exception, as expected
> 14 del
> < Execute returned a ResultSet
> 15 del
> < Testing that Statement remembers timeout.
> 16 del
> < Testing that PreparedStatement remembers timeout.
> 17 del
> < Testing that CallableStatement remembers timeout.
> 18 del
> < Testing timeout with executeUpdate call.
> 19 del
> < Test SetQueryTimeoutTest PASSED
> 19a7,11
> > Test SetQueryTimeoutTest FAILED
> > org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException: Unexpected exception in 1: java.sql.SQLException: The statement has been cancelled or timed out.
> > ERROR XCL52: The statement has been cancelled or timed out.
> > java.sql.SQLException: Invalid transaction state.
> > java.sql.SQLException: Invalid transaction state.
> Test Failed.
> *** End:   SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:29:13 ***

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DERBY-2681) SetQueryTimeoutTest. fails in J2ME environment

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren resolved DERBY-2681.
---------------------------------------

    Resolution: Fixed

I  think this is indeed a duplicate of DERBY-1848. But, as this test has been disabled in 10.2, I think it really doesn't occur in 10.2 anymore, so I think leaving this one as Fixed is ok; DERBY-1848 is still open without any change, so the failure will continue to occur occasionally..
This test is failing intermittently and I think there's a sprinkling of different jiras reported.

> SetQueryTimeoutTest. fails in J2ME environment
> ----------------------------------------------
>
>                 Key: DERBY-2681
>                 URL: https://issues.apache.org/jira/browse/DERBY-2681
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.2.0
>         Environment: Generating report for RunSuite derbyall j9_foundation j9 null null true 
> ------------------ Java Information ------------------
> Java Version:    J2ME Foundation Specification v1.0
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\wctme5.7\ive
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale*jar;c:/jartest/classes/derbytools.jar;
> c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;
> c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;
> c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;
> c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows 2000
> OS architecture: x86
> OS version:      5.0 build 2195 Service Pack 4
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
> java.specification.name: J2ME Foundation Specification
> java.specification.version: 1.0
> --------- Derby Information --------
> JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
> [C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)
>            Reporter: Mike Matrigali
>            Assignee: Myrna van Lunteren
>             Fix For: 10.2.2.1
>
>
> Have seen this error a number of times, but not every run in this environment.  
> ********* Diff file derbyall/jdbcapi/SetQueryTimeoutTest.diff
> *** Start: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:28:51 ***
> 7 del
> < Statement 1 completed
> 8 del
> < Statement 2 completed
> 9 del
> < Statement 3 completed
> 10 del
> < Testing timeout with an execute operation
> 11 del
> < Statements that should time out timed out, and statements that should complete completed
> 12 del
> < Testing setting a negative timeout value
> 13 del
> < Negative timeout value caused exception, as expected
> 14 del
> < Execute returned a ResultSet
> 15 del
> < Testing that Statement remembers timeout.
> 16 del
> < Testing that PreparedStatement remembers timeout.
> 17 del
> < Testing that CallableStatement remembers timeout.
> 18 del
> < Testing timeout with executeUpdate call.
> 19 del
> < Test SetQueryTimeoutTest PASSED
> 19a7,11
> > Test SetQueryTimeoutTest FAILED
> > org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException: Unexpected exception in 1: java.sql.SQLException: The statement has been cancelled or timed out.
> > ERROR XCL52: The statement has been cancelled or timed out.
> > java.sql.SQLException: Invalid transaction state.
> > java.sql.SQLException: Invalid transaction state.
> Test Failed.
> *** End:   SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:29:13 ***

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.