On 28/08/2025 16:35, ma...@apache.org wrote:
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 3a88873371 Attempt to fix smoke test on MacOS
3a88873371 is described below
commit 3a88873371d2e9ea759bfb66ccf9dc36f9e0df6b
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Aug 28 16:35:46 2025 +0100
Attempt to fix smoke test on MacOS
Nice idea but run command need to run on Windows too.
Also need to see if this fixes the MacOS issue. If it does, and unless I
think of a better plan before then, I'm going to create a (hopefully
temporary) second CI action that is MacOS specific and uses sudo.
Mark
---
.github/workflows/ci.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0695e3a232..bdce290a8f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -58,7 +58,13 @@ jobs:
distribution: zulu
- name: Build
run: |
- ant -noinput echoproperties deploy embed test-nio test-status
+ # Attempt to work-around
https://github.com/actions/runner-images/issues/10924
+ # Some unit tests use clustering with multicase - use sudo as root is
not subject to the local network access checks
+ if [[ "${{ matrix.os }}" == "macos-latest" ]]; then
+ sudo ant -noinput echoproperties deploy embed test-nio test-status
+ else
+ ant -noinput echoproperties deploy embed test-nio test-status
+ fi
env:
ANT_OPTS: -Dtest.openssl.exists=false -Dtest.excludePerformance=true
-Dtest.exclude=jakarta/servlet/http/TestHttpServletResponseSendError.java,org/apache/catalina/authenticator/TestFormAuthenticatorA.java,org/apache/catalina/authenticator/TestFormAuthenticatorB.java,org/apache/catalina/authenticator/TestFormAuthenticatorC.java,org/apache/catalina/authenticator/TestSSOnonLoginAndBasicAuthenticator.java,org/apache/catalina/authenticator/TestSSOnonLoginAndDigestAuthenticator.java,or
[...]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org