[DRE-maint] Bug#1093314: libapache2-mod-passenger: autopkgtest failure

Zixing Liu zixing.liu at canonical.com
Fri Jan 17 18:25:54 GMT 2025


Package: passenger
Version: 6.0.20+ds-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu plucky ubuntu-patch

Dear Maintainer,

libapache2-mod-passenger sometimes will fail the autopkgtest due to Apache
server not start-up in time.

Please see attached patch for a workaround.

In Ubuntu, the attached patch was applied to achieve the following:
    - d/tests: wait a while before testing the server because the server
      will take a while to start up


Thanks for considering the patch.


-- System Information:
Debian Release: trixie/sid
  APT prefers oracular-updates
  APT policy: (500, 'oracular-updates'), (500, 'oracular-security'), (500, 'oracular'), (100, 'oracular-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.0-13-generic (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru passenger-6.0.20+ds/debian/tests/nodejs passenger-6.0.20+ds/debian/tests/nodejs
--- passenger-6.0.20+ds/debian/tests/nodejs	2024-03-12 07:28:07.000000000 -0600
+++ passenger-6.0.20+ds/debian/tests/nodejs	2025-01-17 11:19:56.000000000 -0700
@@ -26,6 +26,7 @@
 a2enmod passenger
 service apache2 reload
 
+sleep 10
 if ! output=`wget -O- http://localhost/testnodejs/ 2>/dev/null`; then
   echo "wget failed, output was:"
   echo "$output"
diff -Nru passenger-6.0.20+ds/debian/tests/rack passenger-6.0.20+ds/debian/tests/rack
--- passenger-6.0.20+ds/debian/tests/rack	2024-03-12 07:28:07.000000000 -0600
+++ passenger-6.0.20+ds/debian/tests/rack	2025-01-17 11:19:56.000000000 -0700
@@ -24,6 +24,7 @@
 a2enmod passenger
 service apache2 reload
 
+sleep 10
 if ! output=`wget -O- http://localhost/testrack/ 2>/dev/null`; then
   echo "wget failed, output was:"
   echo "$output"
diff -Nru passenger-6.0.20+ds/debian/tests/wsgi-py3 passenger-6.0.20+ds/debian/tests/wsgi-py3
--- passenger-6.0.20+ds/debian/tests/wsgi-py3	2024-03-12 07:28:07.000000000 -0600
+++ passenger-6.0.20+ds/debian/tests/wsgi-py3	2025-01-17 11:19:56.000000000 -0700
@@ -24,6 +24,7 @@
 a2enmod passenger
 service apache2 reload
 
+sleep 10
 if ! output=`wget -O- http://localhost/testwsgi-py3/ 2>/dev/null`; then
   echo "wget failed, output was:"
   echo "$output"


More information about the Pkg-ruby-extras-maintainers mailing list