db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fernanda Pizzorno (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1751) derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework
Date Fri, 22 Sep 2006 08:57:23 GMT
    [ 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

        

Mime
View raw message