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 "Kristian Waagan (JIRA)" <ji...@apache.org> on 2012/10/01 14:45:07 UTC

[jira] [Created] (DERBY-5940) Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms

Kristian Waagan created DERBY-5940:
--------------------------------------

             Summary: Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms
                 Key: DERBY-5940
                 URL: https://issues.apache.org/jira/browse/DERBY-5940
             Project: Derby
          Issue Type: Task
          Components: Test
    Affects Versions: 10.10.0.0
         Environment: ARM platforms
            Reporter: Kristian Waagan
            Assignee: Kristian Waagan


The security mechanism strong password substitution (securityMechanism=8) uses code that relies on entropy, which seems to be in short supply on some ARM systems. This includes the ARM server farm available in the ASF build/test farm.

I will disable tests using strong password substitution in NSSecurityMechanismTest on ARM platforms to be able to run the test to completion within a reasonable time.
DERBY-3106 and DERBY-5651 are relevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5940) Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms

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

Kristian Waagan updated DERBY-5940:
-----------------------------------

    Attachment: derby-5940-1a-disable_secMec8_on_ARM.diff

Attaching patch 1a, which disables securityMechanism=8 in NSSecurityMechanismTest.
I verified the patch by tracing NetConnection.flowConnect. Forcing hasSufficientEntropy to false, the number of flows went down from 231 to 132.
I've also tested a very similar patch on the ASF ARM build farm.

Patch ready for review.
                
> Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms
> -----------------------------------------------------------------------
>
>                 Key: DERBY-5940
>                 URL: https://issues.apache.org/jira/browse/DERBY-5940
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.10.0.0
>         Environment: ARM platforms
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-5940-1a-disable_secMec8_on_ARM.diff
>
>
> The security mechanism strong password substitution (securityMechanism=8) uses code that relies on entropy, which seems to be in short supply on some ARM systems. This includes the ARM server farm available in the ASF build/test farm.
> I will disable tests using strong password substitution in NSSecurityMechanismTest on ARM platforms to be able to run the test to completion within a reasonable time.
> DERBY-3106 and DERBY-5651 are relevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (DERBY-5940) Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms

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

Kristian Waagan closed DERBY-5940.
----------------------------------


suites.All on ARM platform completed.
Closing issue.
                
> Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms
> -----------------------------------------------------------------------
>
>                 Key: DERBY-5940
>                 URL: https://issues.apache.org/jira/browse/DERBY-5940
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.10.0.0
>         Environment: ARM platforms
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.10.0.0
>
>         Attachments: derby-5940-1a-disable_secMec8_on_ARM.diff
>
>
> The security mechanism strong password substitution (securityMechanism=8) uses code that relies on entropy, which seems to be in short supply on some ARM systems. This includes the ARM server farm available in the ASF build/test farm.
> I will disable tests using strong password substitution in NSSecurityMechanismTest on ARM platforms to be able to run the test to completion within a reasonable time.
> DERBY-3106 and DERBY-5651 are relevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5940) Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms

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

Kristian Waagan updated DERBY-5940:
-----------------------------------

    Issue & fix info: Patch Available

I hope to commit this patch shortly.
                
> Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms
> -----------------------------------------------------------------------
>
>                 Key: DERBY-5940
>                 URL: https://issues.apache.org/jira/browse/DERBY-5940
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.10.0.0
>         Environment: ARM platforms
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-5940-1a-disable_secMec8_on_ARM.diff
>
>
> The security mechanism strong password substitution (securityMechanism=8) uses code that relies on entropy, which seems to be in short supply on some ARM systems. This includes the ARM server farm available in the ASF build/test farm.
> I will disable tests using strong password substitution in NSSecurityMechanismTest on ARM platforms to be able to run the test to completion within a reasonable time.
> DERBY-3106 and DERBY-5651 are relevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5940) Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms

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

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

I've seen this problem too. As I mentioned in my comment on DERBY-3106, I don't think it's worthwhile fixing the underlying problem, since we no longer recommend the use of securityMechanism=8. So disabling the test cases on ARM sounds fine to me. +1 to the approach in the 1a patch.
                
> Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms
> -----------------------------------------------------------------------
>
>                 Key: DERBY-5940
>                 URL: https://issues.apache.org/jira/browse/DERBY-5940
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.10.0.0
>         Environment: ARM platforms
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-5940-1a-disable_secMec8_on_ARM.diff
>
>
> The security mechanism strong password substitution (securityMechanism=8) uses code that relies on entropy, which seems to be in short supply on some ARM systems. This includes the ARM server farm available in the ASF build/test farm.
> I will disable tests using strong password substitution in NSSecurityMechanismTest on ARM platforms to be able to run the test to completion within a reasonable time.
> DERBY-3106 and DERBY-5651 are relevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (DERBY-5940) Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms

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

Kristian Waagan resolved DERBY-5940.
------------------------------------

          Resolution: Fixed
       Fix Version/s: 10.10.0.0
    Issue & fix info:   (was: Patch Available)

Thanks, Knut.

I went ahead and committed patch 1a to trunk with revision 1392819.
I've started run #15 [1] of suites.All on ARM (it takes 7+ hours to complete).


[1] https://builds.apache.org/job/Derby-trunk-suites.All-ARM/
                
> Disable securityMechanism=8 in NSSecurityMechanismTest on ARM platforms
> -----------------------------------------------------------------------
>
>                 Key: DERBY-5940
>                 URL: https://issues.apache.org/jira/browse/DERBY-5940
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.10.0.0
>         Environment: ARM platforms
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.10.0.0
>
>         Attachments: derby-5940-1a-disable_secMec8_on_ARM.diff
>
>
> The security mechanism strong password substitution (securityMechanism=8) uses code that relies on entropy, which seems to be in short supply on some ARM systems. This includes the ARM server farm available in the ASF build/test farm.
> I will disable tests using strong password substitution in NSSecurityMechanismTest on ARM platforms to be able to run the test to completion within a reasonable time.
> DERBY-3106 and DERBY-5651 are relevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira