The autobuild test system (on sn-devel-144) has detected an intermittent failing test in the current master tree.
The autobuild log of the failure is available here: https://git.samba.org/autobuild.flakey.sn-devel-144/2019-01-18-1335/flakey.log The failure seems to be in the "samba-py2" suite, whose build logs are available here: https://git.samba.org/autobuild.flakey.sn-devel-144/2019-01-18-1335/samba-py2.stderr https://git.samba.org/autobuild.flakey.sn-devel-144/2019-01-18-1335/samba-py2.stdout The top commit at the time of the failure was: commit b8c248e4d903b657c209b4faedcf6dc1ddacf2fe Author: Tim Beale <[email protected]> Date: Thu Jan 17 17:36:50 2019 +1300 dns_hub: Rename variable to avoid naming collision in exception handler In dns_hup.py, we are both importing the socket module and declaring a variable called socket. When we try to catch a socket.error exception (defined by the module), Python thinks we're referring to the variable. As the variable has no attribute called 'error', Python throws an exception, e.g.: File "./bin/python/samba/tests/dns_forwarder_helpers/dns_hub.py", line 123, in handle except socket.error as err: AttributeError: 'socket' object has no attribute 'error' We can avoid this problem by calling the variable 'sock' instead. Signed-off-by: Tim Beale <[email protected]> Reviewed-by: Andreas Schneider <[email protected]> Autobuild-User(master): Andreas Schneider <[email protected]> Autobuild-Date(master): Thu Jan 17 15:23:23 CET 2019 on sn-devel-144 and the last 50 lines of the stdout log were: [36(359)/85 at 12m16s] samba.tests.blackbox.traffic_summary.python2(ad_dc_ntvfs) [37(359)/85 at 12m16s] samba.tests.blackbox.smbcontrol.python2(ad_dc_ntvfs:local) [38(361)/85 at 12m18s] samba.tests.blackbox.smbcontrol.python2(promoted_dc:local) [39(363)/85 at 12m19s] samba4.schemaInfo.python(ad_dc_ntvfs).python2(ad_dc_ntvfs) [40(365)/85 at 12m23s] samba.tests.dsdb_schema_attributes.python2(ad_dc_ntvfs:local) [41(371)/85 at 12m44s] samba4.ldap.sort.python.python2(ad_dc_ntvfs) [42(378)/85 at 12m53s] samba4.drs.replica_sync_rodc.python(rodc).python2(rodc:local) [43(380)/85 at 13m8s] samba4.ldap.passwordsettings.python.python2(ad_dc_ntvfs) [44(392)/85 at 14m2s] samba4.tombstone_reanimation.python.python2(ad_dc_ntvfs) [45(404)/85 at 14m11s] samba.tests.upgradeprovisionneeddc.python2(ad_dc_ntvfs:local) [46(415)/85 at 14m15s] samba.tests.samba_tool.rodc.python2(rodc:local) [47(424)/85 at 15m1s] samba4.drs.ridalloc_exop.python(vampire_dc).python2(vampire_dc) [48(435)/85 at 19m5s] samba4.drs.samba_tool_drs.python(vampire_dc).python2(vampire_dc:local) [49(449)/85 at 21m53s] samba4.drs.samba_tool_drs_showrepl.python(vampire_dc).python2(vampire_dc:local) [50(453)/85 at 22m15s] samba4.drs.replica_sync.python(vampire_dc).python2(vampire_dc:local) [51(469)/85 at 25m6s] samba4.drs.delete_object.python(vampire_dc).python2(vampire_dc) [52(471)/85 at 25m22s] samba4.drs.fsmo.python(vampire_dc).python2(vampire_dc) [53(476)/85 at 25m43s] samba4.drs.repl_move.python(vampire_dc).python2(vampire_dc) [54(497)/85 at 29m36s] samba4.drs.getnc_exop.python(vampire_dc).python2(vampire_dc) [55(509)/85 at 29m58s] samba4.drs.getnc_unpriv.python(vampire_dc).python2(vampire_dc) [56(513)/85 at 30m8s] samba4.drs.link_conflicts.python(vampire_dc).python2(vampire_dc) [57(525)/85 at 38m6s] samba4.drs.samba_tool_drs.python(promoted_dc).python2(promoted_dc:local) [58(539)/85 at 43m50s] samba4.drs.samba_tool_drs_showrepl.python(promoted_dc).python2(promoted_dc:local) [59(543)/85 at 44m32s] samba4.drs.replica_sync.python(promoted_dc).python2(promoted_dc:local) UNEXPECTED(error): samba4.drs.replica_sync.python(promoted_dc).python2.replica_sync.DrsReplicaSyncTestCase.test_ReplConflictsRemoteWin_with_child(promoted_dc:local) REASON: Exception: Exception: Traceback (most recent call last): File "/memdisk/autobuild/fl/b2233036/samba-py2/source4/torture/drs/python/replica_sync.py", line 278, in test_ReplConflictsRemoteWin_with_child self.ou2 = self._create_ou(self.ldb_dc2, "OU=Test Parent Remote Conflict") File "/memdisk/autobuild/fl/b2233036/samba-py2/source4/torture/drs/python/replica_sync.py", line 126, in _create_ou samdb.add_ldif(ldif) File "bin/python/samba/__init__.py", line 230, in add_ldif self.add(msg, controls) LdbError: (68, 'LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS - <Entry OU=Test Parent Remote Conflict,OU=replica_sync9442315,DC=samba,DC=example,DC=com already exists> <>') FAILED (0 failures, 1 errors and 0 unexpected successes in 0 testsuites) A summary with detailed information can be found in: ./bin/ab/summary TOP 10 slowest tests samba4.drs.link_conflicts.python(vampire_dc).python2(vampire_dc) -> 478 samba4.drs.samba_tool_drs.python(promoted_dc).python2(promoted_dc:local) -> 344 samba4.drs.ridalloc_exop.python(vampire_dc).python2(vampire_dc) -> 244 samba4.drs.repl_move.python(vampire_dc).python2(vampire_dc) -> 233 samba4.drs.replica_sync.python(vampire_dc).python2(vampire_dc:local) -> 171 samba4.drs.samba_tool_drs.python(vampire_dc).python2(vampire_dc:local) -> 168 samba.tests.emulate.traffic_packet.python2(ad_dc_ntvfs) -> 132 samba.tests.samba_tool.user.python2(ad_dc_ntvfs:local) -> 91 samba4.ldap.passwordsettings.python.python2(ad_dc_ntvfs) -> 54 samba.tests.samba_tool.user_wdigest.python2(ad_dc_ntvfs:local) -> 51 ERROR: test failed with exit code 1
