[PATCH] Another flapping python 3 test

Ralph Böhme slow at samba.org
Sat Sep 29 02:31:24 UTC 2018


On Fri, Sep 28, 2018 at 08:04:48PM +0200, Andreas Schneider via samba-technical wrote:
>On Thursday, 20 September 2018 03:43:18 CEST Douglas Bagnall via samba-
>technical wrote:
>> This is another Python 3 test that is flapping on sn-devel.
>>
>> The test is still being run in Python 2 and never fails there. It also
>> presumably works OK in Python 3, but it doesn't like doing both at the
>> same time.
>>
>> The trouble started with this recent patch:
>>
>> b2665d569e35957aa2433e010175ed1fe361ee7b s4/selftest: enable samba.tests.kcc
>> for py3
>>
>> but rather than go backwards on that, let's put it to the side for
>> now. What we care about now is that the file parses and runs as both
>> pythons, and the test passes. Running both versions at once is not a
>> long term goal.
>
>Douglas, that rule doesn't seem to work!
>
>[67(594)/75 at 42m9s] samba.tests.kcc.python3(vampire_dc)
>UNEXPECTED(error):
>samba.tests.kcc.python3.samba.tests.kcc.KCCTests.test_verify(vampire_dc)
>REASON: Exception: Exception: Traceback (most recent call last):
>  File "bin/python/samba/tests/kcc/__init__.py", line 80, in test_verify
>    attempt_live_connections=False)
>  File "bin/python/samba/kcc/__init__.py", line 2659, in run
>    ('connected',))
>  File "bin/python/samba/kcc/__init__.py", line 2513, in plot_all_connections
>    vertex_colors=vertex_colours)
>  File "bin/python/samba/kcc/graph_utils.py", line 334, in verify_and_dot
>    for p, e, doc in errors)))
>samba.kcc.graph_utils.GraphError: The 'dsa_final CN=NTDS
>Settings,CN=LOCALVAMPIREDC,CN=Servers,CN=Default-First-Site-
>Name,CN=Sites,CN=Configuration,DC=samba,DC=example,DC=com' graph lacks the
>following properties:
>connected: the graph is not connected, as the following vertices are
>unreachable:
>
>
>That's now the 5ths time in a row that I hit that with my pipeline:
>
>https://gitlab.com/samba-team/devel/samba/pipelines/31473359

I hit also hit it twice on sn-devel with Tim's unrelated patchset.

-slow

-- 
Ralph Boehme, Samba Team       https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG Key Fingerprint:           FAE2 C608 8A24 2520 51C5
                               59E4 AA1E 9B71 2639 9E46



More information about the samba-technical mailing list