The autobuild test system (on sn-devel-184) 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-184/2019-06-28-1554/flakey.log The failure seems to be in the "samba-ad-dc-2" suite, whose build logs are available here: https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-28-1554/samba-ad-dc-2.stderr https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-28-1554/samba-ad-dc-2.stdout The top commit at the time of the failure was: commit fee8cf326bfe240d3a8720569eab43f474349aff Author: Michael Adam <[email protected]> Date: Thu Jun 20 15:14:57 2019 +0200 vfs:glusterfs_fuse: treat ENOATTR as ENOENT The original implementation of the virtual xattr get_real_filename in gluster was misusing the ENOENT errno as the authoritative anwer that the file/dir that we were asking the real filename for does not exist. But since the getxattr call is done on the parent directory, this is a violation of the getxattr API which uses ENOENT for the case that the file/dir that the getxattr call is done against does not exist. Now after a recent regression for fuse-mount re-exports due to gluster mapping ENOENT to ESTALE in the fuse-bridge, the gluster implementation is changed to more correctly return ENOATTR if the requested file does not exist. This patch changes the glusterfs_fuse vfs module to treat ENOATTR as ENOENT to be fully functional again with latest gluster. - Without this patch, samba against a new gluster will work correctly, but the get_real_filename optimization for a non-existing entry is lost. - With this patch, Samba will not work correctly any more against very old gluster servers: Those (correctly) returned ENOATTR always, which Samba originally interpreted as EOPNOTSUPP, triggering the expensive directory scan. With this patch, ENOATTR is interpreted as ENOENT, the authoritative answer that the requested entry does not exist, which is wrong unless it really does not exist. Signed-off-by: Michael Adam <[email protected]> Reviewed-by: Guenther Deschner <[email protected]> Autobuild-User(master): Günther Deschner <[email protected]> Autobuild-Date(master): Fri Jun 28 12:52:03 UTC 2019 on sn-devel-184 and the last 50 lines of the stdout log were: badPwdCount = '3' lockoutTime = '132062107907405560' badPasswordTime = '132062107907405560' Failed to get kerberos credentials (kerberos required): kinit for lockout1krb5@SAMBADOMAIN failed (Preauthentication failed) Wrong username or password: kinit for lockout1krb5@SAMBADOMAIN failed (Preauthentication failed) gensec_spnego_create_negTokenInit_step: gssapi_krb5: creating NEG_TOKEN_INIT for ldap/rodc failed (next[(null)]): NT_STATUS_LOGON_FAILURE Failed to bind - LDAP client internal error: NT_STATUS_LOGON_FAILURE Failed to connect to 'ldap://rodc' with backend 'ldap': LDAP client internal error: NT_STATUS_LOGON_FAILURE -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= badPwdCount = '3' lockoutTime = '132062107907405560' badPasswordTime = '132062107907405560' Failed to get kerberos credentials (kerberos required): kinit for lockout1krb5@SAMBADOMAIN failed (Preauthentication failed) Wrong username or password: kinit for lockout1krb5@SAMBADOMAIN failed (Preauthentication failed) gensec_spnego_create_negTokenInit_step: gssapi_krb5: creating NEG_TOKEN_INIT for ldap/rodc failed (next[(null)]): NT_STATUS_LOGON_FAILURE Failed to bind - LDAP client internal error: NT_STATUS_LOGON_FAILURE Failed to connect to 'ldap://rodc' with backend 'ldap': LDAP client internal error: NT_STATUS_LOGON_FAILURE -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= badPwdCount = '3' lockoutTime = '132062107907405560' badPasswordTime = '132062107907405560' UNEXPECTED(failure): samba4.ldap.rodc_rwdc.python(rodc).__main__.RodcRwdcCachedTests.test_login_lockout_krb5(rodc:local) REASON: Exception: Exception: Traceback (most recent call last): File "/memdisk/autobuild/fl/b2864834/samba-ad-dc-2/source4/dsdb/tests/python/rodc_rwdc.py", line 305, in test_login_lockout_krb5 self._test_login_lockout_rodc_rwdc(self.lockout1krb5_creds, userdn) File "/memdisk/autobuild/fl/b2864834/samba-ad-dc-2/source4/dsdb/tests/python/rodc_rwdc.py", line 556, in _test_login_lockout_rodc_rwdc self.fail() AssertionError: 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 samba4.ldap.large_ldap.gssapi.python(vampire_dc)(vampire_dc) -> 299 samba.wbinfo_sids2xids.(rodc:local)(rodc:local) -> 32 samba.tests.ntlm_auth(rodc:local) -> 15 samba.tests.dns(rodc:local) -> 8 samba.tests.py_credentials(vampire_dc) -> 6 samba4.ldap.rodc.python(rodc)(rodc) -> 6 samba.tests.dns(vampire_dc:local) -> 5 samba.tests.encrypted_secrets(vampire_dc:local) -> 3 samba.wbinfo_simple.user-info=$DOMAIN/$DC_USERNAME(rodc:local) -> 1 samba.wbinfo_simple.name-to-sid=$DC_USERNAME(rodc:local) -> 1 ERROR: test failed with exit code 1 Makefile:16: recipe for target 'test' failed
