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

2016-08-21 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-22-0620/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-22-0620/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-22-0620/samba.stdout
  
The top commit at the time of the failure was:

commit 6dc75c7d24325d2070eb7feab5399dbfda50da96
Author: Martin Schwenke 
Date:   Fri Aug 19 16:38:50 2016 +1000

ctdb-daemon: When releasing an IP, update PNN in callback

When an error occurs so an IP address is not released then the PNN in
the VNN is currently incorrectly updated.

Instead, update the PNN in the callback when the release is
successful.  Also, explicitly update the PNN on redundant releases.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12158

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

Autobuild-User(master): Amitay Isaacs 
Autobuild-Date(master): Sun Aug 21 22:45:33 CEST 2016 on sn-devel-144



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

2016-08-21 Thread autobuild
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:

   http://git.samba.org/autobuild.flakey.sn-devel-144/2016-08-22-0617/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-08-22-0617/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-144/2016-08-22-0617/samba.stdout
  
The top commit at the time of the failure was:

commit 6dc75c7d24325d2070eb7feab5399dbfda50da96
Author: Martin Schwenke 
Date:   Fri Aug 19 16:38:50 2016 +1000

ctdb-daemon: When releasing an IP, update PNN in callback

When an error occurs so an IP address is not released then the PNN in
the VNN is currently incorrectly updated.

Instead, update the PNN in the callback when the release is
successful.  Also, explicitly update the PNN on redundant releases.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12158

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

Autobuild-User(master): Amitay Isaacs 
Autobuild-Date(master): Sun Aug 21 22:45:33 CEST 2016 on sn-devel-144



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

2016-08-21 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-22-0220/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-22-0220/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-22-0220/samba.stdout
  
The top commit at the time of the failure was:

commit 6dc75c7d24325d2070eb7feab5399dbfda50da96
Author: Martin Schwenke 
Date:   Fri Aug 19 16:38:50 2016 +1000

ctdb-daemon: When releasing an IP, update PNN in callback

When an error occurs so an IP address is not released then the PNN in
the VNN is currently incorrectly updated.

Instead, update the PNN in the callback when the release is
successful.  Also, explicitly update the PNN on redundant releases.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12158

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

Autobuild-User(master): Amitay Isaacs 
Autobuild-Date(master): Sun Aug 21 22:45:33 CEST 2016 on sn-devel-144



[SCM] Samba Shared Repository - branch master updated

2016-08-21 Thread Amitay Isaacs
The branch, master has been updated
   via  6dc75c7 ctdb-daemon: When releasing an IP, update PNN in callback
   via  976a50a ctdb-daemon: Rename takeover_callback_state -> 
release_ip_callback_state
  from  6910d3a lib: Implement poll_timeout

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


- Log -
commit 6dc75c7d24325d2070eb7feab5399dbfda50da96
Author: Martin Schwenke 
Date:   Fri Aug 19 16:38:50 2016 +1000

ctdb-daemon: When releasing an IP, update PNN in callback

When an error occurs so an IP address is not released then the PNN in
the VNN is currently incorrectly updated.

Instead, update the PNN in the callback when the release is
successful.  Also, explicitly update the PNN on redundant releases.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12158

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

Autobuild-User(master): Amitay Isaacs 
Autobuild-Date(master): Sun Aug 21 22:45:33 CEST 2016 on sn-devel-144

commit 976a50af6f045765c7bf1961e26efc3cba17f3ba
Author: Martin Schwenke 
Date:   Fri Aug 19 16:30:46 2016 +1000

ctdb-daemon: Rename takeover_callback_state -> release_ip_callback_state

Many years ago takeover_callback_state was used for both IP takeover
and release.  Now it is only used when releasing an IP so rename it to
improve clarity.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12158

Signed-off-by: Martin Schwenke 
Reviewed-by: Amitay Isaacs 

---

Summary of changes:
 ctdb/server/ctdb_takeover.c | 43 ++-
 1 file changed, 26 insertions(+), 17 deletions(-)


Changeset truncated at 500 lines:

diff --git a/ctdb/server/ctdb_takeover.c b/ctdb/server/ctdb_takeover.c
index ee4dbe1..ff096ce 100644
--- a/ctdb/server/ctdb_takeover.c
+++ b/ctdb/server/ctdb_takeover.c
@@ -434,12 +434,6 @@ static int32_t ctdb_announce_vnn_iface(struct ctdb_context 
*ctdb,
return 0;
 }
 
-struct takeover_callback_state {
-   struct ctdb_req_control_old *c;
-   ctdb_sock_addr *addr;
-   struct ctdb_vnn *vnn;
-};
-
 struct ctdb_do_takeip_state {
struct ctdb_req_control_old *c;
struct ctdb_vnn *vnn;
@@ -872,14 +866,21 @@ static struct ctdb_vnn *release_ip_post(struct 
ctdb_context *ctdb,
return vnn;
 }
 
+struct release_ip_callback_state {
+   struct ctdb_req_control_old *c;
+   ctdb_sock_addr *addr;
+   struct ctdb_vnn *vnn;
+   uint32_t target_pnn;
+};
+
 /*
   called when releaseip event finishes
  */
-static void release_ip_callback(struct ctdb_context *ctdb, int status, 
+static void release_ip_callback(struct ctdb_context *ctdb, int status,
void *private_data)
 {
-   struct takeover_callback_state *state = 
-   talloc_get_type(private_data, struct takeover_callback_state);
+   struct release_ip_callback_state *state =
+   talloc_get_type(private_data, struct release_ip_callback_state);
 
if (status == -ETIME) {
ctdb_ban_self(ctdb);
@@ -897,6 +898,7 @@ static void release_ip_callback(struct ctdb_context *ctdb, 
int status,
}
}
 
+   state->vnn->pnn = state->target_pnn;
state->vnn = release_ip_post(ctdb, state->vnn, state->addr);
 
/* the control succeeded */
@@ -904,7 +906,7 @@ static void release_ip_callback(struct ctdb_context *ctdb, 
int status,
talloc_free(state);
 }
 
-static int ctdb_releaseip_destructor(struct takeover_callback_state *state)
+static int ctdb_releaseip_destructor(struct release_ip_callback_state *state)
 {
if (state->vnn != NULL) {
state->vnn->update_in_flight = false;
@@ -921,7 +923,7 @@ int32_t ctdb_control_release_ip(struct ctdb_context *ctdb,
bool *async_reply)
 {
int ret;
-   struct takeover_callback_state *state;
+   struct release_ip_callback_state *state;
struct ctdb_public_ip *pip = (struct ctdb_public_ip *)indata.dptr;
struct ctdb_vnn *vnn;
char *iface;
@@ -933,16 +935,20 @@ int32_t ctdb_control_release_ip(struct ctdb_context *ctdb,
ctdb_addr_to_str(>addr)));
return 0;
}
-   vnn->pnn = pip->pnn;
 
/* stop any previous arps */
talloc_free(vnn->takeover_ctx);
vnn->takeover_ctx = NULL;
 
-   /* Some ctdb tool commands (e.g. moveip) send
-* lazy multicast to drop an IP from any node that isn't the
-* intended new node.  The following causes makes ctdbd ignore
-* a release for any address it doesn't host.
+   /* RELEASE_IP controls are sent to all nodes that 

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

2016-08-21 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-2217/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-2217/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-2217/samba.stdout
  
The top commit at the time of the failure was:

commit 6910d3a4d416ce8631440b8b3023f526bdfb4eb8
Author: Volker Lendecke 
Date:   Tue Oct 20 11:39:09 2015 +0200

lib: Implement poll_timeout

Signed-off-by: Volker Lendecke 
Reviewed-by: Ralph Boehme 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Sat Aug 20 13:38:37 CEST 2016 on sn-devel-144



[SCM] Samba Shared Repository - branch v4-5-test updated

2016-08-21 Thread Stefan Metzmacher
The branch, v4-5-test has been updated
   via  edc2eb2 WHATSNEW.txt: Added more details about multiple DNS 
forwarders
  from  ac2b4cb script/autobuild.py: include the branch name in the output

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-5-test


- Log -
commit edc2eb26b5d7ad44162c093e5dab5f39b4a5104b
Author: Marc Muehlfeld 
Date:   Fri Aug 19 00:57:58 2016 +0200

WHATSNEW.txt: Added more details about multiple DNS forwarders

Signed-off-by: Marc Muehlfeld 
Reviewed-by: Garming Sam 

Autobuild-User(v4-5-test): Stefan Metzmacher 
Autobuild-Date(v4-5-test): Sun Aug 21 18:31:22 CEST 2016 on sn-devel-144

---

Summary of changes:
 WHATSNEW.txt | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index f5b693a..d6b4f37 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -122,8 +122,11 @@ restored with the original SID and GUID still in place.
 Multiple DNS Forwarders on the AD DC
 
 
-Multiple DNS forwarders are now supported on the AD DC, allowing
-Samba to fall back between two different DNS servers for forwarded queries.
+Previously, the Samba internal DNS server supported only one DNS forwarder.
+The "dns forwarder" option has been enhanced and now supports a space-separated
+list of multiple DNS server IP addresses. As a result, Samba is now able to
+fall back to alternative DNS servers. In case that a DNS query to the first
+server timed out, it is sent to the next DNS server listed in the option.
 
 Password quality plugin support in the AD DC
 


-- 
Samba Shared Repository



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

2016-08-21 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-1816/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-1816/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-1816/samba.stdout
  
The top commit at the time of the failure was:

commit 6910d3a4d416ce8631440b8b3023f526bdfb4eb8
Author: Volker Lendecke 
Date:   Tue Oct 20 11:39:09 2015 +0200

lib: Implement poll_timeout

Signed-off-by: Volker Lendecke 
Reviewed-by: Ralph Boehme 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Sat Aug 20 13:38:37 CEST 2016 on sn-devel-144



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

2016-08-21 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-1420/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-1420/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-1420/samba.stdout
  
The top commit at the time of the failure was:

commit 6910d3a4d416ce8631440b8b3023f526bdfb4eb8
Author: Volker Lendecke 
Date:   Tue Oct 20 11:39:09 2015 +0200

lib: Implement poll_timeout

Signed-off-by: Volker Lendecke 
Reviewed-by: Ralph Boehme 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Sat Aug 20 13:38:37 CEST 2016 on sn-devel-144



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

2016-08-21 Thread autobuild
The autobuild test system (on sn-devel-104) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-1021/flakey.log

The samba build logs are available here:

   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-1021/samba.stderr
   
http://git.samba.org/autobuild.flakey.sn-devel-104/2016-08-21-1021/samba.stdout
  
The top commit at the time of the failure was:

commit 6910d3a4d416ce8631440b8b3023f526bdfb4eb8
Author: Volker Lendecke 
Date:   Tue Oct 20 11:39:09 2015 +0200

lib: Implement poll_timeout

Signed-off-by: Volker Lendecke 
Reviewed-by: Ralph Boehme 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Sat Aug 20 13:38:37 CEST 2016 on sn-devel-144