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 "John H. Embretsen (JIRA)" <de...@db.apache.org> on 2006/08/23 15:22:15 UTC

[jira] Created: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
---------------------------------------------------------------------------------

                 Key: DERBY-1751
                 URL: http://issues.apache.org/jira/browse/DERBY-1751
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure
    Affects Versions: 10.2.1.0
         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
OS: Solaris 10 (sparc) local zones
Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
            Reporter: John H. Embretsen
            Priority: Minor
         Attachments: derby.log

During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:

Platform "sparc_zone2":
    derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff

Platform "sparc_zone3":
    derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
    derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff

The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):


********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
*** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
308a309,312
> java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> 	... 14 more----------------------------------------------
> Testing with derby.drda.securityMechanism=INVALID_VALUE
> EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
310,312d313
< Testing with derby.drda.securityMechanism=INVALID_VALUE
< EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
< -----
Test Failed.
*** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***


The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).

Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1751?page=comments#action_12436616 ] 
            
Knut Anders Hatlen commented on DERBY-1751:
-------------------------------------------

Hi Fernanda,

Derbyall passed on JVM 1.5, but the jdbc40 suite (DerbyNetClient, JVM 1.6 b99) failed:

********* Diff file jdbc40/DerbyNetClient/jdbc40/TestConnectionMethods.diff
*** Start: TestConnectionMethods jdk1.6.0-rc DerbyNetClient jdbc40:jdbc40 2006-09-21 20:18:10 ***
0 add
> INFO: Network server shutdown returned: java.lang.NullPointerException
Test Failed.
*** End:   TestConnectionMethods jdk1.6.0-rc DerbyNetClient jdbc40:jdbc40 2006-09-21 20:18:19 ***

Could this be related to your patch?

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0
>
>         Attachments: derby-1751.diff, derby-1751.stat, derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1751?page=comments#action_12433649 ] 
            
Knut Anders Hatlen commented on DERBY-1751:
-------------------------------------------

This test and many others fail intermittently this way because they start a network server within the test itself. Since the server is running in the same process as the test, harmless exceptions (caused by the database engine shutting down at the same time as one of the server threads is closing a connection) are printed together with the test output. Since these tests are not testing engine shutdown behaviour, they should ignore server output.

The network server is started like this:
  networkServer = new NetworkServerControl(InetAddress.getByName(hostName),NETWORKSERVER_PORT);
  networkServer.start(null);

The null argument given to start() means that console output should be disabled. However, it doesn't disable all output. Some of the consolePrint* methods print exceptions to System.err when the console is null. The only way to make the server completely silent, is to set the console printer to a stream which just throws away all output. Something like:

  PrintWriter pw = new PrintWriter(new OutputStream() { public void write(int b) { } });
  networkServer.start(pw);

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>         Attachments: derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Bryan Pendleton (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1751?page=comments#action_12433651 ] 
            
Bryan Pendleton commented on DERBY-1751:
----------------------------------------

This sounds quite similar to DERBY-273.

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>         Attachments: derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Fernanda Pizzorno (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1751?page=comments#action_12436795 ] 
            
Fernanda Pizzorno commented on DERBY-1751:
------------------------------------------

Hi Bryan,

The approach I am taking in this patch is similar to the approach 
taken in Derby-273. The difference is that the approach I am 
taking will set the NetworkServer's console output to a file when 
the server is started and the output will continue to be to the 
same file until the server is closed. The approach taken on 
DERBY-273 was to set the output to a file right before shutting 
down the server. This not sufficient to prevent the test from 
failing due to a shut down exception because these exceptions 
do not happen only when the server is shut down, they can also
happen when the engine is shut down (connection with the property
shutdown=true).

Fernanda

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0
>
>         Attachments: derby-1751.diff, derby-1751.stat, derby-1751v2.diff, derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Bryan Pendleton (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1751?page=comments#action_12436675 ] 
            
Bryan Pendleton commented on DERBY-1751:
----------------------------------------

I haven't reviewed your patch, but wonder: it sounds like the approach
you are taking here is very similar to that taken for DERBY-273. Is that
true? Can you compare and constrast the approach taken in this issue
with the one in that issue, as that might assist reviewers who were involved
in that issue with their review of this issue. Thanks!


> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0
>
>         Attachments: derby-1751.diff, derby-1751.stat, derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Bryan Pendleton (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1751?page=comments#action_12436894 ] 
            
Bryan Pendleton commented on DERBY-1751:
----------------------------------------

Thanks Fernanda for the explanation. Your patch is certainly
simpler than the previous technique and it is nice to see all
that test code get simpler. I guess I am a little bit concerned
that this technique might cause us to miss important messages
in the server output, but I don't have anything better to suggest
right now. +1 from me for this patch.

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0
>
>         Attachments: derby-1751.diff, derby-1751.stat, derby-1751v2.diff, derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1751?page=all ]

Knut Anders Hatlen resolved DERBY-1751.
---------------------------------------

    Fix Version/s: 10.3.0.0
       Resolution: Fixed
       Derby Info:   (was: [Patch Available])

Thanks to Fernanda for fixing the problem and to Bryan for reviewing the patch.
Committed v2 into trunk with revision 449671, and into 10.2 with revision 449674.

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.5
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0, 10.3.0.0
>
>         Attachments: derby-1751.diff, derby-1751.stat, derby-1751v2.diff, derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Fernanda Pizzorno (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1751?page=all ]

Fernanda Pizzorno updated DERBY-1751:
-------------------------------------

    Derby Info: [Patch Available]

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0
>
>         Attachments: derby-1751.diff, derby-1751.stat, derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "John H. Embretsen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1751?page=all ]

John H. Embretsen closed DERBY-1751.
------------------------------------


I have not observed any related failures lately (although I have not seen any test results from Solaris Zones platforms yet, and the platform is not available to me at the moment) so I have confidene that this issue has been fixed. I am closing the issue, thanks for resolving!


> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.6
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0, 10.3.0.0
>
>         Attachments: derby-1751.diff, derby-1751.stat, derby-1751v2.diff, derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Fernanda Pizzorno (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1751?page=all ]

Fernanda Pizzorno updated DERBY-1751:
-------------------------------------

    Attachment: derby-1751.diff
                derby-1751.stat

The attached patch (derby-1751.diff) avoids the problem seen in this issue by setting the console output of the network server to a file. This change in made to the following files:

* java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/TestConnectionMethods.java
* java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java
* java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/dataSourcePermissions_net.java
* java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java

It also changes DRDAProtocolException so that agent Errors will be printed to the network server console intead of System.out.

I have successfully run derbyall with this patch, and I have verified that shutdown exceptions do not cause the test to fail with this patch. Can someone please review it?

Thank you in advance!

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0
>
>         Attachments: derby-1751.diff, derby-1751.stat, derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Fernanda Pizzorno (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1751?page=all ]

Fernanda Pizzorno updated DERBY-1751:
-------------------------------------

    Attachment: derby-1751v2.diff

I forgot to run the jdbc40 suite, sorry. Thanks for catching this error Knut Anders. I am attaching a new patch (derby-1751v2.diff) were the problem is fixed.

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0
>
>         Attachments: derby-1751.diff, derby-1751.stat, derby-1751v2.diff, derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Fernanda Pizzorno (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1751?page=all ]

Fernanda Pizzorno reassigned DERBY-1751:
----------------------------------------

    Assignee: Fernanda Pizzorno

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>         Attachments: derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Rick Hillegas (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1751?page=all ]

Rick Hillegas updated DERBY-1751:
---------------------------------

    Fix Version/s: 10.2.2.0
                       (was: 10.2.1.0)

Moving to 10.2.2.0.

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>         Assigned To: Fernanda Pizzorno
>            Priority: Minor
>             Fix For: 10.2.2.0
>
>         Attachments: derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework

Posted by "Mike Matrigali (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1751?page=all ]

Mike Matrigali updated DERBY-1751:
----------------------------------

    Fix Version/s: 10.2.1.0

> derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1751
>                 URL: http://issues.apache.org/jira/browse/DERBY-1751
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>         Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95)
> OS: Solaris 10 (sparc) local zones
> Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU
>            Reporter: John H. Embretsen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>         Attachments: derby.log
>
>
> During 10.2.1.0 beta testing this test failed with org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms running Solaris zones:
> Platform "sparc_zone2":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> Platform "sparc_zone3":
>     derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
>     derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff
> The test did not fail on other platforms, which may indicate timing sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one single machine). Here is one of the diffs (from platform "sparc_zone2"):
> ********* Diff file derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff
> *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:31:48 ***
> 308a309,312
> > java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
> > 	... 14 more----------------------------------------------
> > Testing with derby.drda.securityMechanism=INVALID_VALUE
> > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> 310,312d313
> < Testing with derby.drda.securityMechanism=INVALID_VALUE
> < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.
> < -----
> Test Failed.
> *** End:   testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats 2006-08-14 21:32:54 ***
> The failure occurred in the DerbyNetClient framework when shutting down the database for the second (and last) time in the method testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 (DERBY-528).
> Attatching derby.log from the failure in derbynetclientmats/derbynetmats on sparc_zone2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira