Bastien Roucariès pushed to branch master at Debian Java Maintainers / tomcat11


Commits:
e3d1bc0b by Bastien Roucariès at 2026-11-10T23:30:51+01:00
Add closing

- - - - -
3be94acb by Bastien Roucariès at 2026-11-10T23:32:07+01:00
Add test

- - - - -


3 changed files:

- debian/changelog
- + debian/tests/control
- + debian/tests/smoke


Changes:

=====================================
debian/changelog
=====================================
@@ -11,7 +11,7 @@ tomcat11 (11.0.27-1) UNRELEASED; urgency=medium
   * Security fixes
   * New upstream release (LP: #2171577):
     - Release notes: https://tomcat.apache.org/tomcat-11.0-doc/changelog.html
-    - CVEs (11.0.27):
+    - CVEs (11.0.27): (Closes: #1151848)
       + CVE-2026-103119: Important: AJP response mix-up
       + CVE-2026-101356: Important: HTTP/2 request/response mix-up after error
         during async processing
@@ -22,7 +22,7 @@ tomcat11 (11.0.27-1) UNRELEASED; urgency=medium
       + CVE-2026-74049: Low: Jasper JSTL <c:redirect> plug-in implementation
         omits page abort (SKIP_PAGE)
       + CVE-2026-74048: Low: OpenSSL-FFM FIPS failure does not prevent start-up
-    - CVEs (11.0.26):
+    - CVEs (11.0.26): (Closes: #1148824)
       + CVE-2026-87022: Low: WebSocket message smuggling with
         per-message-deflate
       + CVE-2026-86350: Important: Regression in fix for CVE-2026-41293 can
@@ -46,7 +46,7 @@ tomcat11 (11.0.27-1) UNRELEASED; urgency=medium
         ignore CRLs when certificate uses a keystore
       + CVE-2026-73180: Low: Authenticated WebSocket session survives
         end of HTTP session
-    - CVEs (11.0.25):
+    - CVEs (11.0.25): (Closes: #1145698)
       + CVE-2026-68763: Important: DoS via allocation leak in HTTP/2 backlog
         tracking when a stream is reset
       + CVE-2026-68569: Important: Principal lookup could fail open


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,10 @@
+Tests: smoke
+Depends: @,  @recommends@, curl, retry
+Restrictions: needs-root, allow-stderr
+
+Test-Command: dh_auto_build -- test -Dtest.verbose=false
+Depends: @, @builddeps@, debhelper
+Restrictions: allow-stderr, rw-build-tree
+# Limit self-test to amd and arm architectures
+Architecture: amd64 arm64
+Features: test-name=junit


=====================================
debian/tests/smoke
=====================================
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+# 
-----------------------------------------------------------------------------------
+# autopkgtest smoke: Tests the default webapp server responds and 
tomcat-native loads
+# 
-----------------------------------------------------------------------------------
+
+set -e
+
+# Ensure that the service has started
+systemctl restart tomcat11
+
+# Check that the default webapp responds
+if ! retry -t 18 -d 10 -- curl -fsS http://localhost:8080 | grep -q "It works 
!"; then
+    echo "Smoke test failed: Webpage did not respond as expected"; exit 1
+fi
+
+# Check to see if the tomcat-native library loaded successfully
+if ! journalctl -u tomcat11 | grep -q "Loaded Apache Tomcat Native library"; 
then
+    journalctl -u tomcat11 | cat
+    echo "Smoke test failed: Could not load tomcat-native library"; exit 1
+fi
+
+# Tests successfully completed!
+echo "Smoke tests passed: Webpage accessible with tomcat-native"



View it on GitLab: 
https://salsa.debian.org/java-team/tomcat11/-/compare/f64b94351fc0376934a333da181e37301637a1ee...3be94acb4a91ac7a2d7913790e4689b59cb65735

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/tomcat11/-/compare/f64b94351fc0376934a333da181e37301637a1ee...3be94acb4a91ac7a2d7913790e4689b59cb65735
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
pkg-java-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to