[tomcat] branch master updated: Enable debug logging for test failing intermittently in CI

2020-07-11 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new b6cd0bd  Enable debug logging for test failing intermittently in CI
b6cd0bd is described below

commit b6cd0bd0139cb335363d32dc5ac9fa0088645b39
Author: Mark Thomas 
AuthorDate: Sat Jul 11 14:58:07 2020 +0100

Enable debug logging for test failing intermittently in CI
---
 .../tomcat/websocket/TestWebSocketFrameClient.java  | 17 +
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java 
b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
index 92bda85..2ee37dc 100644
--- a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
+++ b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
@@ -23,6 +23,8 @@ import java.util.Map;
 import java.util.Queue;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
+import java.util.logging.Level;
+import java.util.logging.LogManager;
 
 import jakarta.websocket.ClientEndpointConfig;
 import jakarta.websocket.ClientEndpointConfig.Configurator;
@@ -115,10 +117,17 @@ public class TestWebSocketFrameClient extends 
WebSocketBaseTest {
 
 tomcat.start();
 
-echoTester("",null);
-echoTester("/",null);
-echoTester("/foo",null);
-echoTester("/foo/",null);
+
LogManager.getLogManager().getLogger("org.apache.coyote").setLevel(Level.ALL);
+
LogManager.getLogManager().getLogger("org.apache.tomcat.util.net").setLevel(Level.ALL);
+try {
+echoTester("",null);
+echoTester("/",null);
+echoTester("/foo",null);
+echoTester("/foo/",null);
+} finally {
+
LogManager.getLogManager().getLogger("org.apache.coyote").setLevel(Level.ALL);
+
LogManager.getLogManager().getLogger("org.apache.tomcat.util.net").setLevel(Level.INFO);
+}
 }
 
 public void echoTester(String path, ClientEndpointConfig 
clientEndpointConfig)


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 9.0.x updated: Enable debug logging for test failing intermittently in CI

2020-07-11 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new a822603  Enable debug logging for test failing intermittently in CI
a822603 is described below

commit a822603302d8c140a41bb891376a1cfc00f3548b
Author: Mark Thomas 
AuthorDate: Sat Jul 11 14:58:07 2020 +0100

Enable debug logging for test failing intermittently in CI
---
 .../tomcat/websocket/TestWebSocketFrameClient.java  | 17 +
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java 
b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
index 20f22b6..530cdf6 100644
--- a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
+++ b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
@@ -23,6 +23,8 @@ import java.util.Map;
 import java.util.Queue;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
+import java.util.logging.Level;
+import java.util.logging.LogManager;
 
 import javax.websocket.ClientEndpointConfig;
 import javax.websocket.ClientEndpointConfig.Configurator;
@@ -115,10 +117,17 @@ public class TestWebSocketFrameClient extends 
WebSocketBaseTest {
 
 tomcat.start();
 
-echoTester("",null);
-echoTester("/",null);
-echoTester("/foo",null);
-echoTester("/foo/",null);
+
LogManager.getLogManager().getLogger("org.apache.coyote").setLevel(Level.ALL);
+
LogManager.getLogManager().getLogger("org.apache.tomcat.util.net").setLevel(Level.ALL);
+try {
+echoTester("",null);
+echoTester("/",null);
+echoTester("/foo",null);
+echoTester("/foo/",null);
+} finally {
+
LogManager.getLogManager().getLogger("org.apache.coyote").setLevel(Level.ALL);
+
LogManager.getLogManager().getLogger("org.apache.tomcat.util.net").setLevel(Level.INFO);
+}
 }
 
 public void echoTester(String path, ClientEndpointConfig 
clientEndpointConfig)


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 8.5.x updated: Enable debug logging for test failing intermittently in CI

2020-07-11 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
 new 51e1d2f  Enable debug logging for test failing intermittently in CI
51e1d2f is described below

commit 51e1d2fdfefb75a7ca43f7f14fce89e44b4398b0
Author: Mark Thomas 
AuthorDate: Sat Jul 11 14:58:07 2020 +0100

Enable debug logging for test failing intermittently in CI
---
 .../tomcat/websocket/TestWebSocketFrameClient.java  | 17 +
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java 
b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
index 21eeea3..f722e90 100644
--- a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
+++ b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
@@ -23,6 +23,8 @@ import java.util.Map;
 import java.util.Queue;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
+import java.util.logging.Level;
+import java.util.logging.LogManager;
 
 import javax.websocket.ClientEndpointConfig;
 import javax.websocket.ClientEndpointConfig.Configurator;
@@ -118,10 +120,17 @@ public class TestWebSocketFrameClient extends 
WebSocketBaseTest {
 
 tomcat.start();
 
-echoTester("",null);
-echoTester("/",null);
-echoTester("/foo",null);
-echoTester("/foo/",null);
+
LogManager.getLogManager().getLogger("org.apache.coyote").setLevel(Level.ALL);
+
LogManager.getLogManager().getLogger("org.apache.tomcat.util.net").setLevel(Level.ALL);
+try {
+echoTester("",null);
+echoTester("/",null);
+echoTester("/foo",null);
+echoTester("/foo/",null);
+} finally {
+
LogManager.getLogManager().getLogger("org.apache.coyote").setLevel(Level.ALL);
+
LogManager.getLogManager().getLogger("org.apache.tomcat.util.net").setLevel(Level.INFO);
+}
 }
 
 public void echoTester(String path, ClientEndpointConfig 
clientEndpointConfig)


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 7.0.x updated: Enable debug logging for test failing intermittently in CI

2020-07-11 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
 new 1619e62  Enable debug logging for test failing intermittently in CI
1619e62 is described below

commit 1619e6272c0153ae0a49aca96b16139b34ee564d
Author: Mark Thomas 
AuthorDate: Sat Jul 11 14:58:07 2020 +0100

Enable debug logging for test failing intermittently in CI
---
 .../tomcat/websocket/TestWebSocketFrameClient.java  | 17 +
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java 
b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
index d1faf7a..ef8adba 100644
--- a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
+++ b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
@@ -23,6 +23,8 @@ import java.util.Map;
 import java.util.Queue;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
+import java.util.logging.Level;
+import java.util.logging.LogManager;
 
 import javax.websocket.ClientEndpointConfig;
 import javax.websocket.ClientEndpointConfig.Configurator;
@@ -117,10 +119,17 @@ public class TestWebSocketFrameClient extends 
WebSocketBaseTest {
 
 tomcat.start();
 
-echoTester("",null);
-echoTester("/",null);
-echoTester("/foo",null);
-echoTester("/foo/",null);
+
LogManager.getLogManager().getLogger("org.apache.coyote").setLevel(Level.ALL);
+
LogManager.getLogManager().getLogger("org.apache.tomcat.util.net").setLevel(Level.ALL);
+try {
+echoTester("",null);
+echoTester("/",null);
+echoTester("/foo",null);
+echoTester("/foo/",null);
+} finally {
+
LogManager.getLogManager().getLogger("org.apache.coyote").setLevel(Level.ALL);
+
LogManager.getLogManager().getLogger("org.apache.tomcat.util.net").setLevel(Level.INFO);
+}
 }
 
 public void echoTester(String path, ClientEndpointConfig 
clientEndpointConfig)


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



buildbot success in on tomcat-trunk

2020-07-11 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while 
building tomcat. Full details are available at:
https://ci.apache.org/builders/tomcat-trunk/builds/5309

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: asf946_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-commit' 
triggered this build
Build Source Stamp: [branch master] b6cd0bd0139cb335363d32dc5ac9fa0088645b39
Blamelist: Mark Thomas 

Build succeeded!

Sincerely,
 -The Buildbot




-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org