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-04-05-1327/flakey.log The failure seems to be in the "samba-ad-dc-ntvfs" suite, whose build logs are available here: https://git.samba.org/autobuild.flakey.sn-devel-144/2019-04-05-1327/samba-ad-dc-ntvfs.stderr https://git.samba.org/autobuild.flakey.sn-devel-144/2019-04-05-1327/samba-ad-dc-ntvfs.stdout The top commit at the time of the failure was: commit 7a410ccb5f6f2958d56fa6f16d8780c69a3830dd Author: Tim Beale <[email protected]> Date: Wed Apr 3 09:10:55 2019 +1300 netcmd: Fix passwordsettings --max-pwd-age command The min_pwd_age and max_pwd_age parameters are both optional and default to None. However, if we just set the max-pwd-age, then the check 'min_pwd_age >= max_pwd_age' will throw a Python exception because it's trying to compare an int to NoneType (min_pwd_age). This works on Python 2 but is a problem on Python 3. We could just add a check that min_pwd_age is not None, but that defeats the point of having the check if you're only setting either the min or max age indepedently. This patch gets the current min/max password age from the DB (in ticks). If either setting is changed, the ticks will be updated. Then at the end we check the min is still less than the max (to do this, we convert the ticks back to days in the interests of readability). BUG: https://bugzilla.samba.org/show_bug.cgi?id=13873 Signed-off-by: Tim Beale <[email protected]> Reviewed-by: Andrew Bartlett <[email protected]> Autobuild-User(master): Andrew Bartlett <[email protected]> Autobuild-Date(master): Fri Apr 5 08:03:08 UTC 2019 on sn-devel-144 and the last 50 lines of the stdout log were: [215(856)/252 at 32m38s] samba4.smb.signing on with -k yes --signing=on(ad_dc_ntvfs) [216(857)/252 at 32m39s] samba4.smb.signing on with -k yes --signing=required(ad_dc_ntvfs) [217(858)/252 at 32m40s] samba4.smb.signing on with -k yes --option=gensec:fake_gssapi_krb5=yes --option=gensec:gssapi_krb5=no --signing=on(ad_dc_ntvfs) [218(859)/252 at 32m41s] samba4.smb.signing on with -k yes --option=gensec:fake_gssapi_krb5=yes --option=gensec:gssapi_krb5=no --signing=required(ad_dc_ntvfs) [219(860)/252 at 32m43s] samba4.smb.signing --signing=yes anon(ad_dc_ntvfs) [220(861)/252 at 32m43s] samba4.smb.signing --signing=required anon(ad_dc_ntvfs) [221(862)/252 at 32m44s] samba.tests.complex_expressions(ad_dc_ntvfs) [222(884)/252 at 32m58s] samba.tests.samba_tool.gpo(ad_dc_ntvfs:local) [223(896)/252 at 34m18s] samba.tests.dcerpc.registry(ad_dc_ntvfs:local) [224(899)/252 at 34m20s] samba.tests.dcerpc.dnsserver(ad_dc_ntvfs) [225(916)/252 at 34m44s] samba.tests.auth_log(ad_dc_ntvfs:local) [226(963)/252 at 35m48s] samba.tests.auth_log_pass_change(ad_dc_ntvfs) [227(971)/252 at 36m3s] samba.tests.auth_log_ncalrpc(ad_dc_ntvfs:local) [228(973)/252 at 36m4s] samba.tests.auth_log_samlogon(ad_dc_ntvfs:local) [229(974)/252 at 36m6s] samba.tests.auth_log_netlogon(ad_dc_ntvfs:local) [230(975)/252 at 36m8s] samba.tests.auth_log_netlogon_bad_creds(ad_dc_ntvfs:local) [231(979)/252 at 36m14s] samba.tests.password_hash_fl2008(ad_dc_ntvfs:local) [232(983)/252 at 36m18s] samba.tests.krb5_credentials(ad_dc_ntvfs) [233(986)/252 at 36m22s] samba.tests.py_credentials(ad_dc_ntvfs) [234(994)/252 at 36m32s] samba.tests.emulate.traffic(ad_dc_ntvfs) [235(996)/252 at 36m34s] samba.tests.emulate.traffic_packet(ad_dc_ntvfs) [236(1085)/252 at 39m21s] samba.tests.blackbox.traffic_replay(ad_dc_ntvfs) [237(1090)/252 at 40m10s] samba.tests.blackbox.traffic_learner(ad_dc_ntvfs) [238(1092)/252 at 40m12s] samba.tests.blackbox.traffic_summary(ad_dc_ntvfs) [239(1092)/252 at 40m13s] samba.tests.blackbox.smbcontrol(ad_dc_ntvfs:local) [240(1094)/252 at 40m17s] samba4.urgent_replication.python(ad_dc_ntvfs)(ad_dc_ntvfs:local) [241(1102)/252 at 40m26s] samba4.ldap.match_rules.python(ad_dc_ntvfs) [242(1136)/252 at 41m10s] samba4.ldap.notification.python(ad_dc_ntvfs)(ad_dc_ntvfs) UNEXPECTED(failure): samba4.ldap.notification.python(ad_dc_ntvfs).__main__.LDAPNotificationTest.test_simple_search(ad_dc_ntvfs) REASON: Exception: Exception: Traceback (most recent call last): File "/memdisk/autobuild/fl/b267853/samba-ad-dc-ntvfs/source4/dsdb/tests/python/notification.py", line 151, in test_simple_search self.assertIsNotNone(msg3) AssertionError: unexpectedly None FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites) A summary with detailed information can be found in: ./bin/ab/summary TOP 10 slowest tests samba.tests.emulate.traffic_packet(ad_dc_ntvfs) -> 168 samba4.raw.notify(ad_dc_ntvfs) -> 119 samba.tests.samba_tool.gpo(ad_dc_ntvfs:local) -> 80 samba4.nbt.winsreplication(ad_dc_ntvfs) -> 75 samba4.raw.oplock(ad_dc_ntvfs) -> 73 samba.tests.auth_log(ad_dc_ntvfs:local) -> 64 samba4.blackbox.kinit(ad_dc_ntvfs:local)(ad_dc_ntvfs:local) -> 63 samba4.ntvfs.cifs.krb5.base.deny2(ad_dc_ntvfs) -> 60 samba4.base.deny2(ad_dc_ntvfs) -> 60 samba4.ntvfs.cifs.krb5.base.delete(ad_dc_ntvfs) -> 59 ERROR: test failed with exit code 1
