Bug 9855 - make test fails on debian 7.0
Summary: make test fails on debian 7.0
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks: 9306
  Show dependency treegraph
 
Reported: 2013-05-05 20:47 UTC by Matthieu Patou
Modified: 2013-08-16 16:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Patou 2013-05-05 20:47:59 UTC
From the master git tree, changeset 5f82641553e33bc236b6c8a4f5cfc1cf3b722eea


[1515/1564 in 1h14m1s, 1 errors] samba4.ldap.dirsync.python(dc)                 
Failed to connect to ldap URL 'ldaps://localdc' - LDAP client internal error: NT_STATUS_HOST_UNREACHABLE
Failed to connect to 'ldaps://localdc' with backend 'ldaps': (null)             
Traceback (most recent call last):                                              
  File "/usr/local/src/samba/source4/dsdb/tests/python/dirsync.py", line 701, in <module>
    ldb = SamDB(ldapshost, credentials=creds, session_info=system_session(lp), lp=lp)
  File "bin/python/samba/samdb.py", line 56, in __init__                        
    options=options)                                                            
  File "bin/python/samba/__init__.py", line 114, in __init__                    
    self.connect(url, flags, options)                                           
  File "bin/python/samba/samdb.py", line 71, in connect                         
    options=options)                                                            
_ldb.LdbError: (1, None)                                                        
command: python /usr/local/src/samba/source4/dsdb/tests/python/dirsync.py $SERVER -U"$USERNAME%$PASSWORD" --workgroup=$DOMAIN 2>&1 | /usr/local/src/samba/selftest/filte#
expanded command: python /usr/local/src/samba/source4/dsdb/tests/python/dirsync.py localdc -U"Administrator%locDCpass1" --workgroup=SAMBADOMAIN 2>&1 | /usr/local/src/sa#
ERROR: Testsuite[samba4.ldap.dirsync.python(dc)]                                
REASON: Exit code was 1                                                         
                                                                                
                                                                                
[1516/1564 in 1h14m1s, 2 errors] samba4.ldap.sites.python(dc)                   
Failed to connect to ldap URL 'ldaps://localdc' - LDAP client internal error: NT_STATUS_HOST_UNREACHABLE
Failed to connect to 'ldaps://localdc' with backend 'ldaps': (null)             
Traceback (most recent call last):                                              
  File "/usr/local/src/samba/source4/dsdb/tests/python/sites.py", line 117, in <module>
    ldb = SamDB(ldapshost, credentials=creds, session_info=system_session(lp), lp=lp)
  File "bin/python/samba/samdb.py", line 56, in __init__                        
    options=options)                                                            
  File "bin/python/samba/__init__.py", line 114, in __init__                    
    self.connect(url, flags, options)                                           
  File "bin/python/samba/samdb.py", line 71, in connect                         
    options=options)                                                            
_ldb.LdbError: (1, None)                                                        
command: python /usr/local/src/samba/source4/dsdb/tests/python/sites.py $SERVER -U"$USERNAME%$PASSWORD" --workgroup=$DOMAIN 2>&1 | /usr/local/src/samba/selftest/filter-#
expanded command: python /usr/local/src/samba/source4/dsdb/tests/python/sites.py localdc -U"Administrator%locDCpass1" --workgroup=SAMBADOMAIN 2>&1 | /usr/local/src/samb#
ERROR: Testsuite[samba4.ldap.sites.python(dc)]                                  
REASON: Exit code was 1                                                         

Next tests continue correctly
Comment 1 Andrew Bartlett 2013-08-12 01:15:13 UTC
Does this still happen?
Comment 2 Matthieu Patou 2013-08-15 05:48:54 UTC
(In reply to comment #1)
> Does this still happen?

I'm restarting a make test base on a recent git checkout and I'll let you know
Comment 3 Matthieu Patou 2013-08-16 16:55:24 UTC
seems not to be reproduced lately