Not able to get anything through autobuild at the moment - visualize_drs.python3 error.
Andrew Bartlett
abartlet at samba.org
Thu Sep 6 23:26:13 UTC 2018
On Thu, 2018-09-06 at 13:40 -0700, Jeremy Allison wrote:
> I'm trying to push the (unrelated) printing
> fixes and continually get:
>
> ----------------------------------------------------------------
> [36(315)/36 at 9m1s]
> samba.tests.samba_tool.visualize_drs.python3(promoted_dc)
> Attempting to contact ldap://localdc.samba.example.com
> (CN=LOCALDC,CN=Servers,CN=Default-First-Site-
> Name,CN=Sites,CN=Configuration,DC=samba,DC=example,DC=com)
> found extra DSAs:
> CN=RODC,CN=Servers,CN=Default-First-Site-
> Name,CN=Sites,CN=Configuration,DC=samba,DC=example,DC=com
> missing DSAs (known locally, not by CN=LOCALDC,CN=Servers,CN=Default-
> First-Site-
> Name,CN=Sites,CN=Configuration,DC=samba,DC=example,DC=com):
> Attempting to contact ldap://localvampiredc.samba.example.com
> (CN=LOCALVAMPIREDC,CN=Servers,CN=Default-First-Site-
> Name,CN=Sites,CN=Configuration,DC=samba,DC=example,DC=com)
> found extra DSAs:
> CN=RODC,CN=Servers,CN=Default-First-Site-
> Name,CN=Sites,CN=Configuration,DC=samba,DC=example,DC=com
> missing DSAs (known locally, not by
> CN=LOCALVAMPIREDC,CN=Servers,CN=Default-First-Site-
> Name,CN=Sites,CN=Configuration,DC=samba,DC=example,DC=com):
> Attempting to contact ldap://promotedvdc.samba.example.com
> (CN=PROMOTEDVDC,CN=Servers,CN=Default-First-Site-
> Name,CN=Sites,CN=Configuration,DC=samba,DC=example,DC=com)
> UNEXPECTED(failure):
> samba.tests.samba_tool.visualize_drs.python3.samba.tests.samba_tool.v
> isualize_drs.SambaToolVisualizeDrsTest.test_reps_remote(promoted_dc)
> REASON: Exception: Exception: Traceback (most recent call last):
> File "/memdisk/jra/a/b43732/samba-
> py3/bin/python/samba/tests/samba_tool/visualize_drs.py", line 466, in
> test_reps_remote
> self.assertCmdSuccess(result, out, err)
> File "/memdisk/jra/a/b43732/samba-
> py3/bin/python/samba/tests/samba_tool/base.py", line 109, in
> assertCmdSuccess
> exit, out, err, msg))
> AssertionError: -1 is not None : exit[-1] stdout[]
> stderr[ERROR(<class 'KeyError'>): uncaught exception - '6eec1bda-
> 5ce1-4c06-b747-fab80d6377ab'
> File "/memdisk/jra/a/b43732/samba-
> py3/bin/python/samba/netcmd/__init__.py", line 183, in _run
> return self.run(*args, **kwargs)
> File "/memdisk/jra/a/b43732/samba-
> py3/bin/python/samba/netcmd/visualize.py", line 339, in run
> (guid_to_dnstr[str(r.source_dsa_obj_guid)],
> ]:
>
> FAILED (1 failures, 0 errors and 0 unexpected successes in 0
> testsuites)
> ----------------------------------------------------------------
>
> Which certainly seems unrelated to any change I'm making.
>
> Anyone else having autobuild issues ?
Yes, we are having a few at the moment. A few things have caused us
trouble:
- splitting out the python3 build helped but also hindered, because it
stirred the pot.
- it also introduced more load as we do more builds and there are more
things running
- More python3 tests keep getting enabled, and most of our complex
multi-process, multi-environment tests are written in python.
- The visualize_drs tests run twice, and against a complex busy
environment, and they have some natural races.
- we just changed waf, which also stirs the pot
- There is a (fairly easy to fix) bug in the backup tool, causing the
'failed to start up env' flapping:
https://bugzilla.samba.org/show_bug.cgi?id=13604
- the long-time difficult ctdb, notify and wbcCheckTrustCredentials
tests still flap :-(
So, clearly this isn't acceptable.
I have the following WIP efforts:
- https://gitlab.com/samba-team/samba/merge_requests/59
- https://gitlab.com/samba-team/samba/merge_requests/56
I also tried to move showrepl and visualize_drs to a more quiet
environment, but it failed (and I've not got back to it yet)
So, for things for which I have any influence, I'm sorry, and this is
very much on my radar.
For the things I can't, please continue to help, and to everyone else:
Pinning down a flapping test is hard, but has some of the highest
payback in team-stress-reduction. Look over the recent 'intermittent
test failure' mails for inspiration. And hey, because it is a flapping
test, you can say with confidence you fixed it (for sure this time!) ;-
)
Thanks Jeremy for raising this. I know it is very frustrating to
everyone, and I thank you all for your patience.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list