[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-4859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881335#comment-17881335
 ] 

Kezhu Wang commented on ZOOKEEPER-4859:
---------------------------------------

Shit happens.

Github is providing us hostnames with more than 64 characters quite often now.
{noformat}
fv-az1272-448.grsihaubamwerhiryzjrxtypna.phxx.internal.cloudapp.net
fv-az1383-210.ikz3ofujitfebmhnxoyjuylfjd.ex.internal.cloudapp.net
{noformat}

And openssl refuses to generate certs for ssl tests when hostname length is 
greater than 64. 

I found these from {{gencerts.stderr}} (output by {{gencerts.sh}}).

{noformat}
Error making certificate request
404703E6897F0000:error:06800097:asn1 encoding 
routines:ASN1_mbstring_ncopy:string too 
long:../crypto/asn1/a_mbstr.c:106:maxsize=64
{noformat}



> C client tests hang to be cancelled quite often
> -----------------------------------------------
>
>                 Key: ZOOKEEPER-4859
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4859
>             Project: ZooKeeper
>          Issue Type: Test
>          Components: c client, tests
>            Reporter: Kezhu Wang
>            Assignee: Kezhu Wang
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> CPPUNIT tests runs sequentially. By comparing logs with successful run, I 
> think it could be {{{}Zookeeper_readOnly::testReadOnlyWithSSL{}}}.
> Logs from failed run.
> {noformat}
>      [exec] Zookeeper_multi::testWatch : elapsed 2005 : OK
>      [exec] Zookeeper_multi::testSequentialNodeCreateInAsyncMulti : elapsed 
> 2001 : OK
>      [exec] Zookeeper_multi::testBigAsyncMulti : elapsed 3003 : OK
>      [exec] Zookeeper_operations::testAsyncWatcher1 : elapsed 54 : OK
>      [exec] Zookeeper_operations::testAsyncGetOperation : elapsed 54 : OK
>      [exec] Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : 
> elapsed 382 : OK
>      [exec] Zookeeper_operations::testOperationsAndDisconnectConcurrently2 : 
> elapsed 0 : OK
>      [exec] Zookeeper_operations::testConcurrentOperations1 : elapsed 21127 : 
> OK
>      [exec] Zookeeper_readOnly::testReadOnly ZooKeeper server started 
> ZooKeeper server started : elapsed 12214 : OK
> {noformat}
> Logs from successful run.
> {noformat}
>      [exec] Zookeeper_multi::testWatch : elapsed 2006 : OK
>      [exec] Zookeeper_multi::testSequentialNodeCreateInAsyncMulti : elapsed 
> 2001 : OK
>      [exec] Zookeeper_multi::testBigAsyncMulti : elapsed 3003 : OK
>      [exec] Zookeeper_operations::testAsyncWatcher1 : elapsed 54 : OK
>      [exec] Zookeeper_operations::testAsyncGetOperation : elapsed 54 : OK
>      [exec] Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : 
> elapsed 387 : OK
>      [exec] Zookeeper_operations::testOperationsAndDisconnectConcurrently2 : 
> elapsed 0 : OK
>      [exec] Zookeeper_operations::testConcurrentOperations1 : elapsed 22459 : 
> OK
>      [exec] Zookeeper_readOnly::testReadOnly ZooKeeper server started 
> ZooKeeper server started : elapsed 15515 : OK
>      [exec] Zookeeper_readOnly::testReadOnlyWithSSL ZooKeeper server started 
> ZooKeeper server started : elapsed 14865 : OK
> {noformat}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to