autobuild[sn-devel-184]: intermittent test failure detected

2019-06-03 Thread autobuild
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-04-0353/flakey.log

The failure seems to be in the "samba-ad-member" suite, whose build logs are 
available here:

   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-04-0353/samba-ad-member.stderr
   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-04-0353/samba-ad-member.stdout
  
The top commit at the time of the failure was:

commit eb2e29c354ceb7ffe3bcc786929006a6cf9b13ea
Author: Anoop C S 
Date:   Wed May 29 11:40:55 2019 +0530

s3-smbcontrol: Replace && with || to declare variables in do_sleep()

--enable-developer internally use --enable-selftest alongside. But when
configured only with --enable-selftest the following code block becomes
invalid:

 #if defined(DEVELOPER) && defined(ENABLE_SELFTEST)
unsigned int seconds;
long input;
const long MAX_SLEEP = 60 * 60; /* One hour maximum sleep */
 #endif

making those variables undeclared for further use. Therefore replace &&
with || to have those variables declared with --enable-selftest
configure option.

Signed-off-by: Anoop C S 
Reviewed-by: Ralph Boehme 
Reviewed-by: Alexander Bokovoy 

Autobuild-User(master): Ralph Böhme 
Autobuild-Date(master): Fri May 31 20:38:09 UTC 2019 on sn-devel-184

and the last 50 lines of the stdout log were:

[73(632)/87 at 7m10s] samba.wbinfo_simple.domain-groups(ad_member:local)
[74(633)/87 at 7m10s] 
samba.wbinfo_simple.name-to-sid=$DC_USERNAME(ad_member:local)
[75(634)/87 at 7m10s] 
samba.wbinfo_simple.name-to-sid=$DOMAIN/$DC_USERNAME(ad_member:local)
[76(635)/87 at 7m11s] 
samba.wbinfo_simple.user-info=$DOMAIN/$DC_USERNAME(ad_member:local)
[77(636)/87 at 7m11s] 
samba.wbinfo_simple.user-groups=$DOMAIN/$DC_USERNAME(ad_member:local)
[78(637)/87 at 7m11s] 
samba.wbinfo_simple.authenticate=$DOMAIN/$DC_USERNAME%$DC_PASSWORD(ad_member:local)
[79(638)/87 at 7m11s] samba.wbinfo_simple.allocate-uid(ad_member:local)
[80(639)/87 at 7m12s] samba.wbinfo_simple.allocate-gid(ad_member:local)
[81(640)/87 at 7m12s] samba.wbinfo_sids2xids.(ad_member:local)(ad_member:local)
[82(641)/87 at 7m26s] samba.tests.ntlm_auth(ad_member:local)
[83(654)/87 at 7m30s] samba.nss.test using 
winbind(ad_member:local)(ad_member:local)
[84(655)/87 at 7m31s] samba.tests.auth_log_winbind(ad_member:local)
WARNING: The "server schannel" option is deprecated
INFO: Received PING message from server 2807649.8 []
{"timestamp": "2019-06-04T03:47:55.543907+", "type": "Authentication", 
"Authentication": {"version": {"major": 1, "minor": 2}, "eventId": 4624, 
"logonId": "4a9f7d118837b3a5", "logonType": 3, "status": "NT_STATUS_OK", 
"localAddress": "ipv4:127.0.0.30:1026", "remoteAddress": 
"ipv4:127.0.0.29:21155", "serviceDescription": "SamLogon", "authDescription": 
"network", "clientDomain": "ADDOMAIN", "clientAccount": "Administrator", 
"workstation": "LOCALADMEMBER", "becameAccount": "Administrator", 
"becameDomain": "ADDOMAIN", "becameSid": 
"S-1-5-21-783394783-2107221959-3951049807-500", "mappedAccount": 
"Administrator", "mappedDomain": "ADDOMAIN", "netlogonComputer": 
"LOCALADMEMBER", "netlogonTrustAccount": "LOCALADMEMBER$", 
"netlogonNegotiateFlags": "0x610F", "netlogonSecureChannelType": 2, 
"netlogonTrustAccountSid": "S-1-5-21-783394783-2107221959-3951049807-1109", 
"passwordType": "NTLMv2", "duration": 9230}}
INFO: Received PING message from server 2811104.3987118051 []
{"timestamp": "2019-06-04T03:47:55.432618+", "type": "Authentication", 
"Authentication": {"version": {"major": 1, "minor": 2}, "eventId": 4625, 
"logonId": "4df1cc8a34580686", "logonType": 2, "status": 
"NT_STATUS_NO_SUCH_USER", "localAddress": "unix:", "remoteAddress": "unix:", 
"serviceDescription": "winbind", "authDescription": "PASSDB, wbinfo, 2811077", 
"clientDomain": "", "clientAccount": "Administrator", "workstation": 
"LOCALADMEMBER", "becameAccount": null, "becameDomain": null, "becameSid": 
null, "mappedAccount": "Administrator", "mappedDomain": "", "netlogonComputer": 
null, "netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x", 
"netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, 
"passwordType": "NTLMv2", "duration": 239}}
INFO: Received PING message from server 2811104.3974868758 []
{"timestamp": "2019-06-04T03:47:55.531982+", "type": "Authentication", 
"Authentication": {"version": {"major": 1, "minor": 2}, "eventId": 4625, 
"logonId": "4df1cc8a34580686", "logonType": 8, "status": 
"NT_STATUS_INVALID_HANDLE", "localAddress": "unix:", "remoteAddress": "unix:", 
"serviceDescription": "winbind", "authDescription": "PAM_AUTH, wbinfo, 
2811077", "clientDomain": "", "clientAccount": "Administrator", "workstation": 
null, "becameAccount": "", "becameDomain": "", 

autobuild[sn-devel-184]: intermittent test failure detected

2019-06-03 Thread autobuild
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-03-1615/flakey.log

The failure seems to be in the "samba-nt4" suite, whose build logs are 
available here:

   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-03-1615/samba-nt4.stderr
   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-03-1615/samba-nt4.stdout
  
The top commit at the time of the failure was:

commit eb2e29c354ceb7ffe3bcc786929006a6cf9b13ea
Author: Anoop C S 
Date:   Wed May 29 11:40:55 2019 +0530

s3-smbcontrol: Replace && with || to declare variables in do_sleep()

--enable-developer internally use --enable-selftest alongside. But when
configured only with --enable-selftest the following code block becomes
invalid:

 #if defined(DEVELOPER) && defined(ENABLE_SELFTEST)
unsigned int seconds;
long input;
const long MAX_SLEEP = 60 * 60; /* One hour maximum sleep */
 #endif

making those variables undeclared for further use. Therefore replace &&
with || to have those variables declared with --enable-selftest
configure option.

Signed-off-by: Anoop C S 
Reviewed-by: Ralph Boehme 
Reviewed-by: Alexander Bokovoy 

Autobuild-User(master): Ralph Böhme 
Autobuild-Date(master): Fri May 31 20:38:09 UTC 2019 on sn-devel-184

and the last 50 lines of the stdout log were:

(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:10 2019 UTC(1320664297) => Sun Sep  1 15:56:10 2019 
UTC(1321182697)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:10 2019 UTC(1320664297) => Sun Sep  1 15:56:10 2019 
UTC(1321182697)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:10 2019 UTC(1320664297) => Sun Sep  1 15:56:10 2019 
UTC(1321182697)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:10 2019 UTC(1320664297) => Sun Sep  1 15:56:10 2019 
UTC(1321182697)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:10 2019 UTC(1320664297) => Sun Sep  1 15:56:10 2019 
UTC(1321182697)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:10 2019 UTC(1320664297) => Sun Sep  1 15:56:10 2019 
UTC(1321182697)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:10 2019 UTC(1320664297) => Sun Sep  1 15:56:10 2019 
UTC(1321182697)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:10 2019 UTC(1320664297) => Sun Sep  1 15:56:10 2019 
UTC(1321182697)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:12 2019 UTC(13206642972000) => Sun Sep  1 15:56:12 2019 
UTC(13211826972000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:12 2019 UTC(13206642972000) => Sun Sep  1 15:56:12 2019 
UTC(13211826972000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:12 2019 UTC(13206642972000) => Sun Sep  1 15:56:12 2019 
UTC(13211826972000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:12 2019 UTC(13206642972000) => Sun Sep  1 15:56:12 2019 
UTC(13211826972000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:12 2019 UTC(13206642972000) => Sun Sep  1 15:56:12 2019 
UTC(13211826972000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:12 2019 UTC(13206642972000) => Sun Sep  1 15:56:12 2019 
UTC(13211826972000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:12 2019 UTC(13206642972000) => Sun Sep  1 15:56:12 2019 
UTC(13211826972000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:12 2019 UTC(13206642972000) => Sun Sep  1 15:56:12 2019 
UTC(13211826972000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:12 2019 UTC(13206642972000) => Sun Sep  1 15:56:12 2019 
UTC(13211826972000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:14 2019 UTC(13206642974000) => Sun Sep  1 15:56:14 2019 
UTC(13211826974000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 15:56:14 2019 UTC(13206642974000) => Sun Sep  1 15:56:14 2019 
UTC(13211826974000)
(../../source4/torture/smb2/util.c:158) change_time not setup correctly: Wed 
Jul  3 

[SCM] UID Wrapper Repository - branch master updated

2019-06-03 Thread Andreas Schneider
The branch, master has been updated
   via  0ae7595 gitlab-ci: Setup CI for uid_wrapper
   via  12fe095 cmake: Use GNUInstallDirs
   via  bc50185 tests: Don't run test_uwrap_disabled with sanitizers
   via  89ff574 cmake: Correctly set _GNU_SOURCE
   via  f8bc8c2 cmake: Fix configure check for libdl
   via  4ed04f4 cmake: Use target_include_directories()
   via  a25fbab cmake: Update AddCMockaTest.cmake
   via  e372761 cmake: Update cmocka requirement
   via  896a138 cmake: Support running the tests with AddressSanitizer
   via  de52edb cmake: Add AddressSanitizer and UndefinedSanitizer
   via  19a5414 cmake: Move Compiler flags to new file
   via  40955ff cmake: Remove obsolete DefineCompilerFlags.cmake
   via  14c4982 cmake: Improve checks for compiler flags
   via  11e2e2d cmake: Update CMake defaults
   via  b1c6704 cmake: Do not misuse CMAKE_REQUIRED_LIBRARIES
   via  37a8e23 cmake: Require at least cmake 3.5.0
   via  b657bce cpack: Fix description and vendor
   via  67280b7 README: Rename to a markdown file
   via  f8c7170 uwrap: Remove problematic FALL_THROUGH in 
uwrap_load_lib_handle()
   via  2273c8e uwrap: Don't do a deep bind if we run with libasan
  from  77f7ce8 ctest: Move to new dashboard

https://git.samba.org/?p=uid_wrapper.git;a=shortlog;h=master


- Log -
commit 0ae7595d48913c552ddd259a990612adfb4413fd
Author: Andreas Schneider 
Date:   Tue May 7 13:03:37 2019 +0200

gitlab-ci: Setup CI for uid_wrapper

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit 12fe095e01c6e2ee18ba864677d409c0d4afd529
Author: Andreas Schneider 
Date:   Tue May 7 13:02:04 2019 +0200

cmake: Use GNUInstallDirs

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit bc501857f00d6f0d5f3fc150dd73adca7dfed83c
Author: Andreas Schneider 
Date:   Tue May 7 12:58:49 2019 +0200

tests: Don't run test_uwrap_disabled with sanitizers

or on cross compiled hosts (Debian MIPS).

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit 89ff574c381b6e4cc462d58e3fad9e434e362bfe
Author: Andreas Schneider 
Date:   Tue May 7 12:57:32 2019 +0200

cmake: Correctly set _GNU_SOURCE

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit f8bc8c21ce91eaf6da92abfbda3ce5621cf2075d
Author: Andreas Schneider 
Date:   Tue May 7 12:46:47 2019 +0200

cmake: Fix configure check for libdl

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit 4ed04f4d6a5093edabb9b2d97de42b1d7505a0f1
Author: Andreas Schneider 
Date:   Tue May 7 12:45:48 2019 +0200

cmake: Use target_include_directories()

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit a25fbab6607e792d491f884f28b18dbcce5970a0
Author: Andreas Schneider 
Date:   Tue May 7 12:39:55 2019 +0200

cmake: Update AddCMockaTest.cmake

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit e3727612fe1487cebf10d0f65666efba308a6adc
Author: Andreas Schneider 
Date:   Tue May 7 12:33:15 2019 +0200

cmake: Update cmocka requirement

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit 896a138b23ed3835967a00abfa1799131f01231a
Author: Andreas Schneider 
Date:   Tue May 7 12:32:29 2019 +0200

cmake: Support running the tests with AddressSanitizer

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit de52edbf5cd9d2a0fd3153ce1e05e0b5168086d6
Author: Andreas Schneider 
Date:   Tue May 7 12:16:11 2019 +0200

cmake: Add AddressSanitizer and UndefinedSanitizer

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit 19a5414aadccae4a35cead4f9579e2c03d18cc1c
Author: Andreas Schneider 
Date:   Tue May 7 12:15:16 2019 +0200

cmake: Move Compiler flags to new file

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit 40955ffad292d9d175c9a49d9b44d8bb19072b79
Author: Andreas Schneider 
Date:   Tue May 7 12:12:30 2019 +0200

cmake: Remove obsolete DefineCompilerFlags.cmake

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit 14c4982ec5b211c6ae9294405810972aed3e2920
Author: Andreas Schneider 
Date:   Tue May 7 12:11:45 2019 +0200

cmake: Improve checks for compiler flags

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit 11e2e2d38a3390753d2031776d2bee6325e690ea
Author: Andreas Schneider 
Date:   Tue May 7 12:06:25 2019 +0200

cmake: Update CMake defaults

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 

commit b1c6704c5c3c46fe5a99a79a9caa8b4213046490
Author: Andreas Schneider 
Date:   Tue May 7 12:05:16 2019 +0200

cmake: Do not misuse CMAKE_REQUIRED_LIBRARIES

Signed-off-by: Andreas Schneider 
Reviewed-by: Gary Lockyer 


autobuild[sn-devel-184]: intermittent test failure detected

2019-06-03 Thread autobuild
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-03-0951/flakey.log

The failure seems to be in the "samba-ad-member" suite, whose build logs are 
available here:

   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-03-0951/samba-ad-member.stderr
   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-03-0951/samba-ad-member.stdout
  
The top commit at the time of the failure was:

commit eb2e29c354ceb7ffe3bcc786929006a6cf9b13ea
Author: Anoop C S 
Date:   Wed May 29 11:40:55 2019 +0530

s3-smbcontrol: Replace && with || to declare variables in do_sleep()

--enable-developer internally use --enable-selftest alongside. But when
configured only with --enable-selftest the following code block becomes
invalid:

 #if defined(DEVELOPER) && defined(ENABLE_SELFTEST)
unsigned int seconds;
long input;
const long MAX_SLEEP = 60 * 60; /* One hour maximum sleep */
 #endif

making those variables undeclared for further use. Therefore replace &&
with || to have those variables declared with --enable-selftest
configure option.

Signed-off-by: Anoop C S 
Reviewed-by: Ralph Boehme 
Reviewed-by: Alexander Bokovoy 

Autobuild-User(master): Ralph Böhme 
Autobuild-Date(master): Fri May 31 20:38:09 UTC 2019 on sn-devel-184

and the last 50 lines of the stdout log were:

[81(640)/87 at 6m58s] samba.wbinfo_sids2xids.(ad_member:local)(ad_member:local)
[82(641)/87 at 7m11s] samba.tests.ntlm_auth(ad_member:local)
[83(654)/87 at 7m14s] samba.nss.test using 
winbind(ad_member:local)(ad_member:local)
[84(655)/87 at 7m15s] samba.tests.auth_log_winbind(ad_member:local)
WARNING: The "server schannel" option is deprecated
INFO: Received PING message from server 4098816 []
{"timestamp": "2019-06-03T09:50:48.281328+", "type": "Authentication", 
"Authentication": {"version": {"major": 1, "minor": 2}, "eventId": 4624, 
"logonId": "c37e9ea0d4e4e7a2", "logonType": 3, "status": "NT_STATUS_OK", 
"localAddress": null, "remoteAddress": "ipv4:127.0.0.20:15480", 
"serviceDescription": "Kerberos KDC", "authDescription": "ENC-TS 
Pre-authentication", "clientDomain": null, "clientAccount": 
"IDMAPRIDMEMBER$@ADDOM.SAMBA.EXAMPLE.COM", "workstation": null, 
"becameAccount": "idmapridmember$", "becameDomain": "ADDOMAIN", "becameSid": 
"S-1-5-21-169290843-3341449363-3184552747-1113", "mappedAccount": 
"idmapridmember$", "mappedDomain": "ADDOMAIN", "netlogonComputer": null, 
"netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x", 
"netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, 
"passwordType": "aes256-cts-hmac-sha1-96", "duration": 5544}}
INFO: Received PING message from server 4098816 []
{"timestamp": "2019-06-03T09:50:48.293536+", "type": "Authentication", 
"Authentication": {"version": {"major": 1, "minor": 2}, "eventId": 4624, 
"logonId": "57028a2ad247735f", "logonType": 3, "status": "NT_STATUS_OK", 
"localAddress": null, "remoteAddress": "ipv4:127.0.0.20:15481", 
"serviceDescription": "Kerberos KDC", "authDescription": "ENC-TS 
Pre-authentication", "clientDomain": null, "clientAccount": 
"IDMAPRIDMEMBER$@ADDOM.SAMBA.EXAMPLE.COM", "workstation": null, 
"becameAccount": "idmapridmember$", "becameDomain": "ADDOMAIN", "becameSid": 
"S-1-5-21-169290843-3341449363-3184552747-1113", "mappedAccount": 
"idmapridmember$", "mappedDomain": "ADDOMAIN", "netlogonComputer": null, 
"netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x", 
"netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, 
"passwordType": "aes256-cts-hmac-sha1-96", "duration": 6500}}
INFO: Received PING message from server 4098793.8 []
{"timestamp": "2019-06-03T09:50:48.304812+", "type": "Authentication", 
"Authentication": {"version": {"major": 1, "minor": 2}, "eventId": 4624, 
"logonId": "1c1d2b0cfd5e16e8", "logonType": 3, "status": "NT_STATUS_OK", 
"localAddress": "ipv4:127.0.0.30:1026", "remoteAddress": 
"ipv4:127.0.0.29:11849", "serviceDescription": "SamLogon", "authDescription": 
"network", "clientDomain": "ADDOMAIN", "clientAccount": "Administrator", 
"workstation": "LOCALADMEMBER", "becameAccount": "Administrator", 
"becameDomain": "ADDOMAIN", "becameSid": 
"S-1-5-21-169290843-3341449363-3184552747-500", "mappedAccount": 
"Administrator", "mappedDomain": "ADDOMAIN", "netlogonComputer": 
"LOCALADMEMBER", "netlogonTrustAccount": "LOCALADMEMBER$", 
"netlogonNegotiateFlags": "0x610F", "netlogonSecureChannelType": 2, 
"netlogonTrustAccountSid": "S-1-5-21-169290843-3341449363-3184552747-1109", 
"passwordType": "NTLMv2", "duration": 9141}}
INFO: Received PING message from server 4101810.819771152 []
{"timestamp": "2019-06-03T09:50:48.195027+", "type": "Authentication", 
"Authentication": {"version": {"major": 1,