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 "Stan Bradbury (JIRA)" <de...@db.apache.org> on 2006/06/21 00:24:32 UTC

[jira] Created: (DERBY-1432) derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn" on Linux with DHCP generated hostname

derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn<xx>" on Linux with DHCP generated hostname
--------------------------------------------------------------------------------------------------------------------------------

         Key: DERBY-1432
         URL: http://issues.apache.org/jira/browse/DERBY-1432
     Project: Derby
        Type: Bug

  Components: Test  
    Versions: 10.1.2.1, 10.1.3.0    
 Environment: Linux Operating Systems using DHCP IP address *and* hostname generation
    Reporter: Stan Bradbury
    Priority: Minor


The test derbynetmats/NSinSameJVM.java reports that the Network Server failed to start and aborts on Linux machines that use DHCP to generate a hostname that reflects the generated IP address (e.g. hostname like: dyn<xx> where <xx> is the IP address string like 216101116144).  Network server does, in fact, start.

derby.log entry:
Warning: UnknkownHostException: dyn<someIP>: dyn<someIP>.
Server is ready to accept connections on port <some-port>.

derbyall.sum entry:
> FAIL Network Server did not start
Test Failed.
*** End:   NSinSameJVM jdk1.5.0_07 DerbyNetClient derbynetmats:derbynetmats 2006

Appears to be related to reported JVM issue: Bug ID:   	 4665037
  Synopsis  	 InetAddress.getLocalHost() ambiguous on Linux systems
see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037

-- 
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-1432) derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn" on Linux with DHCP generated hostname

Posted by "Andreas Korneliussen (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1432?page=comments#action_12418971 ] 

Andreas Korneliussen commented on DERBY-1432:
---------------------------------------------

The  derbynetmats/NSinSameJVM.java  test fails often with this error on Windows in the nightly regression tests. I think the reason is that the test starts the network server on ip "0.0.0.0" , which is a special-use interface. On windows, you may often see that network interfaces which are down, get the 0.0.0.0 address. I think this could be fixed by using localhost instead.
I do not see how this error is related to the RFE in the bugtraq database: the RFE is to have InetAddress.getLocalHost().. return an IP address which is something else than the loopback interface (which again contradicts the current JavaDoc of InetAddress.getLocalHost())


> derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn<xx>" on Linux with DHCP generated hostname
> --------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1432
>          URL: http://issues.apache.org/jira/browse/DERBY-1432
>      Project: Derby
>         Type: Bug

>   Components: Test
>     Versions: 10.1.2.1, 10.1.3.0
>  Environment: Linux Operating Systems using DHCP IP address *and* hostname generation
>     Reporter: Stan Bradbury
>     Priority: Minor

>
> The test derbynetmats/NSinSameJVM.java reports that the Network Server failed to start and aborts on Linux machines that use DHCP to generate a hostname that reflects the generated IP address (e.g. hostname like: dyn<xx> where <xx> is the IP address string like 216101116144).  Network server does, in fact, start.
> derby.log entry:
> Warning: UnknkownHostException: dyn<someIP>: dyn<someIP>.
> Server is ready to accept connections on port <some-port>.
> derbyall.sum entry:
> > FAIL Network Server did not start
> Test Failed.
> *** End:   NSinSameJVM jdk1.5.0_07 DerbyNetClient derbynetmats:derbynetmats 2006
> Appears to be related to reported JVM issue: Bug ID:   	 4665037
>   Synopsis  	 InetAddress.getLocalHost() ambiguous on Linux systems
> see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037

-- 
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-1432) derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn" on Linux with DHCP generated hostname

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1432?page=comments#action_12426451 ] 
            
Andrew McIntyre commented on DERBY-1432:
----------------------------------------

Hi Ole, check the derby.logs for these failures on your machines. They will contain a "Warning: UnknkownHostException: dyn<someIP>: dyn<someIP>." if this is the same failure as DERBY-952.

> derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn<xx>" on Linux with DHCP generated hostname
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1432
>                 URL: http://issues.apache.org/jira/browse/DERBY-1432
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Test
>    Affects Versions: 10.1.2.1, 10.1.3.0
>         Environment: Linux Operating Systems using DHCP IP address *and* hostname generation
>            Reporter: Stan Bradbury
>            Priority: Minor
>
> The test derbynetmats/NSinSameJVM.java reports that the Network Server failed to start and aborts on Linux machines that use DHCP to generate a hostname that reflects the generated IP address (e.g. hostname like: dyn<xx> where <xx> is the IP address string like 216101116144).  Network server does, in fact, start.
> derby.log entry:
> Warning: UnknkownHostException: dyn<someIP>: dyn<someIP>.
> Server is ready to accept connections on port <some-port>.
> derbyall.sum entry:
> > FAIL Network Server did not start
> Test Failed.
> *** End:   NSinSameJVM jdk1.5.0_07 DerbyNetClient derbynetmats:derbynetmats 2006
> Appears to be related to reported JVM issue: Bug ID:   	 4665037
>   Synopsis  	 InetAddress.getLocalHost() ambiguous on Linux systems
> see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037

-- 
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-1432) derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn" on Linux with DHCP generated hostname

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

Kathey Marsden updated DERBY-1432:
----------------------------------

    Component/s: Regression Test Failure

marking regression test failure and 10.2 as it would be good to get these  regression test issues cleaned up for the 10.2 QA run 


> derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn<xx>" on Linux with DHCP generated hostname
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1432
>                 URL: http://issues.apache.org/jira/browse/DERBY-1432
>             Project: Derby
>          Issue Type: Bug
>          Components: Test, Regression Test Failure
>    Affects Versions: 10.1.2.1, 10.1.3.0
>         Environment: Linux Operating Systems using DHCP IP address *and* hostname generation
>            Reporter: Stan Bradbury
>            Priority: Minor
>
> The test derbynetmats/NSinSameJVM.java reports that the Network Server failed to start and aborts on Linux machines that use DHCP to generate a hostname that reflects the generated IP address (e.g. hostname like: dyn<xx> where <xx> is the IP address string like 216101116144).  Network server does, in fact, start.
> derby.log entry:
> Warning: UnknkownHostException: dyn<someIP>: dyn<someIP>.
> Server is ready to accept connections on port <some-port>.
> derbyall.sum entry:
> > FAIL Network Server did not start
> Test Failed.
> *** End:   NSinSameJVM jdk1.5.0_07 DerbyNetClient derbynetmats:derbynetmats 2006
> Appears to be related to reported JVM issue: Bug ID:   	 4665037
>   Synopsis  	 InetAddress.getLocalHost() ambiguous on Linux systems
> see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037

-- 
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-1432) derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn" on Linux with DHCP generated hostname

Posted by "Ole Solberg (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1432?page=comments#action_12425160 ] 
            
Ole Solberg commented on DERBY-1432:
------------------------------------

Is this the same as http://issues.apache.org/jira/browse/DERBY-952?

> derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn<xx>" on Linux with DHCP generated hostname
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1432
>                 URL: http://issues.apache.org/jira/browse/DERBY-1432
>             Project: Derby
>          Issue Type: Bug
>          Components: Test, Regression Test Failure
>    Affects Versions: 10.1.2.1, 10.1.3.0
>         Environment: Linux Operating Systems using DHCP IP address *and* hostname generation
>            Reporter: Stan Bradbury
>            Priority: Minor
>
> The test derbynetmats/NSinSameJVM.java reports that the Network Server failed to start and aborts on Linux machines that use DHCP to generate a hostname that reflects the generated IP address (e.g. hostname like: dyn<xx> where <xx> is the IP address string like 216101116144).  Network server does, in fact, start.
> derby.log entry:
> Warning: UnknkownHostException: dyn<someIP>: dyn<someIP>.
> Server is ready to accept connections on port <some-port>.
> derbyall.sum entry:
> > FAIL Network Server did not start
> Test Failed.
> *** End:   NSinSameJVM jdk1.5.0_07 DerbyNetClient derbynetmats:derbynetmats 2006
> Appears to be related to reported JVM issue: Bug ID:   	 4665037
>   Synopsis  	 InetAddress.getLocalHost() ambiguous on Linux systems
> see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037

-- 
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-1432) derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn" on Linux with DHCP generated hostname

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707006#action_12707006 ] 

Kathey Marsden commented on DERBY-1432:
---------------------------------------

Is this still a problem with the JUnit test NSInSameJVMTest?


> derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn<xx>" on Linux with DHCP generated hostname
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1432
>                 URL: https://issues.apache.org/jira/browse/DERBY-1432
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Test
>    Affects Versions: 10.1.2.1, 10.1.3.1
>         Environment: Linux Operating Systems using DHCP IP address *and* hostname generation
>            Reporter: Stan Bradbury
>            Priority: Minor
>
> The test derbynetmats/NSinSameJVM.java reports that the Network Server failed to start and aborts on Linux machines that use DHCP to generate a hostname that reflects the generated IP address (e.g. hostname like: dyn<xx> where <xx> is the IP address string like 216101116144).  Network server does, in fact, start.
> derby.log entry:
> Warning: UnknkownHostException: dyn<someIP>: dyn<someIP>.
> Server is ready to accept connections on port <some-port>.
> derbyall.sum entry:
> > FAIL Network Server did not start
> Test Failed.
> *** End:   NSinSameJVM jdk1.5.0_07 DerbyNetClient derbynetmats:derbynetmats 2006
> Appears to be related to reported JVM issue: Bug ID:   	 4665037
>   Synopsis  	 InetAddress.getLocalHost() ambiguous on Linux systems
> see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037

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