puma.git
5 months agoUpdate example certificates
Athos Ribeiro [Tue, 15 Jul 2025 13:38:43 +0000 (10:38 -0300)]
Update example certificates

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078640
Forwarded: not-needed
Last-Update: 2025-07-15

Update the example certificates so that the upstream unit tests keep
passing throughout the next Debian release (trixie) support cycle.  This
is done by updating the certificates validity to 11 years (possibly
covering LTS/eLTS).
Last-Update: 2025-07-15

Gbp-Pq: Name 0020-update-ex-certs.patch

5 months agoAdapt test certificates generation
Athos Ribeiro [Thu, 17 Jul 2025 09:35:51 +0000 (06:35 -0300)]
Adapt test certificates generation

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078640
Forwarded: not-needed
Last-Update: 2025-07-15

Adapt the test certificates generation process to Debian. For that, we extend
the validity of the certificates to 11 years to try to cover the Debian support
(and hopefully the LTS/eLTS) window as long as a build is performed 1 year
before a release. We also require certificate_authority from the installed
package so we can generate this certificates without external packages.
Last-Update: 2025-07-15

Gbp-Pq: Name 0019-adapt-test-certs-generation.patch

5 months agoDisable test concurrency without concurrent_ruby
Lucas Nussbaum [Wed, 5 Feb 2025 13:17:14 +0000 (14:17 +0100)]
Disable test concurrency without concurrent_ruby

The way this is implemented (moving away the gem in $HOME) looks dangerous and
doesn't work for non-user-installed packages.

Forwarded: not-needed

Gbp-Pq: Name 0010-Disable-test-concurrency-without-concurrent_ruby.patch

5 months agoSkip tests failing with ruby3.2 in Ubuntu
Debian Ruby Team [Mon, 23 Dec 2024 22:26:53 +0000 (19:26 -0300)]
Skip tests failing with ruby3.2 in Ubuntu

  1) Error:
TestRackUp::RackUp#test_bin:
TimeoutEveryTestCase::TestTookTooLong: execution expired
    /<<PKGBUILDDIR>>/test/test_rack_handler.rb:318:in `sysread'
    /<<PKGBUILDDIR>>/test/test_rack_handler.rb:318:in `test_bin'
    /<<PKGBUILDDIR>>/test/helper.rb:90:in `block (4 levels) in run'
    /usr/lib/ruby/3.2.0/timeout.rb:189:in `block in timeout'
    /usr/lib/ruby/3.2.0/timeout.rb:196:in `timeout'
    /<<PKGBUILDDIR>>/test/helper.rb:88:in `block (3 levels) in run'

Those tests reported the following errors:

  2) Error:
TestCLI#test_control_clustered:
TimeoutEveryTestCase::TestTookTooLong: execution expired
    /<<PKGBUILDDIR>>/test/test_cli.rb:136:in `join'
    /<<PKGBUILDDIR>>/test/test_cli.rb:136:in `test_control_clustered'
    /<<PKGBUILDDIR>>/test/helper.rb:90:in `block (4 levels) in run'
    /usr/lib/ruby/3.2.0/timeout.rb:189:in `block in timeout'
    /usr/lib/ruby/3.2.0/timeout.rb:196:in `timeout'
    /<<PKGBUILDDIR>>/test/helper.rb:88:in `block (3 levels) in run'

  3) Error:
TestPluginSystemd#test_systemd_notify_usr2_hot_restart_cluster:
Errno::EPIPE: Broken pipe
    /<<PKGBUILDDIR>>/test/test_plugin_systemd.rb:90:in `write'
    /<<PKGBUILDDIR>>/test/test_plugin_systemd.rb:90:in `assert_restarts_with_systemd'
    /<<PKGBUILDDIR>>/test/test_plugin_systemd.rb:42:in `test_systemd_notify_usr2_hot_restart_cluster'
    /<<PKGBUILDDIR>>/test/helper.rb:90:in `block (4 levels) in run'
    /usr/lib/ruby/3.2.0/timeout.rb:189:in `block in timeout'
    /usr/lib/ruby/3.2.0/timeout.rb:196:in `timeout'
    /<<PKGBUILDDIR>>/test/helper.rb:88:in `block (3 levels) in run'

  4) Error:
TestIntegrationPumactl#test_halt_unix:
Errno::ECHILD: No child processes
    /<<PKGBUILDDIR>>/test/test_integration_pumactl.rb:55:in `wait2'
    /<<PKGBUILDDIR>>/test/test_integration_pumactl.rb:55:in `ctl_unix'
    /<<PKGBUILDDIR>>/test/test_integration_pumactl.rb:42:in `test_halt_unix'
    /<<PKGBUILDDIR>>/test/helper.rb:90:in `block (4 levels) in run'
    /usr/lib/ruby/3.2.0/timeout.rb:189:in `block in timeout'
    /usr/lib/ruby/3.2.0/timeout.rb:196:in `timeout'
    /<<PKGBUILDDIR>>/test/helper.rb:88:in `block (3 levels) in run'

  5) Error:
TestIntegrationPumactl#test_stop_unix:
Errno::ECHILD: No child processes
    /<<PKGBUILDDIR>>/test/test_integration_pumactl.rb:55:in `wait2'
    /<<PKGBUILDDIR>>/test/test_integration_pumactl.rb:55:in `ctl_unix'
    /<<PKGBUILDDIR>>/test/test_integration_pumactl.rb:38:in `test_stop_unix'
    /<<PKGBUILDDIR>>/test/helper.rb:90:in `block (4 levels) in run'
    /usr/lib/ruby/3.2.0/timeout.rb:189:in `block in timeout'
    /usr/lib/ruby/3.2.0/timeout.rb:196:in `timeout'
    /<<PKGBUILDDIR>>/test/helper.rb:88:in `block (3 levels) in run'

  6) Error:
TestPumaServer#test_timeout_in_data_phase:
TimeoutEveryTestCase::TestTookTooLong: execution expired
    /<<PKGBUILDDIR>>/debian/puma/usr/lib/x86_64-linux-gnu/rubygems-integration/3.2.0/gems/puma-6.4.2/lib/puma/server.rb:627:in `join'
    /<<PKGBUILDDIR>>/debian/puma/usr/lib/x86_64-linux-gnu/rubygems-integration/3.2.0/gems/puma-6.4.2/lib/puma/server.rb:627:in `stop'
    /<<PKGBUILDDIR>>/test/test_puma_server.rb:31:in `teardown'
    /<<PKGBUILDDIR>>/test/helper.rb:96:in `block (5 levels) in run'
    /<<PKGBUILDDIR>>/test/helper.rb:96:in `each'
    /<<PKGBUILDDIR>>/test/helper.rb:96:in `block (4 levels) in run'
    /usr/lib/ruby/3.2.0/timeout.rb:189:in `block in timeout'
    /usr/lib/ruby/3.2.0/timeout.rb:196:in `timeout'
    /<<PKGBUILDDIR>>/test/helper.rb:95:in `block (3 levels) in run'
 .
 Extra failure in Debian:
 .
  1) Error:
TestIntegrationSingle#test_puma_debug_loaded_exts:
TimeoutEveryTestCase::TestTookTooLong: execution expired
    /build/reproducible-path/puma-6.4.3/test/helpers/integration.rb:125:in `wait2'
    /build/reproducible-path/puma-6.4.3/test/helpers/integration.rb:125:in `stop_server'
    /build/reproducible-path/puma-6.4.3/test/helpers/integration.rb:39:in `teardown'
    /build/reproducible-path/puma-6.4.3/test/helper.rb:96:in `block (5 levels) in run'
    /build/reproducible-path/puma-6.4.3/test/helper.rb:96:in `each'
    /build/reproducible-path/puma-6.4.3/test/helper.rb:96:in `block (4 levels) in run'
    /usr/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout'
    /usr/lib/ruby/3.3.0/timeout.rb:193:in `timeout'
    /build/reproducible-path/puma-6.4.3/test/helper.rb:95:in `block (3 levels) in run'
 .
 They do not seem real regressions, so skipping them for now.
Author: Lucas Kanashiro <lucas.kanashiro@canonical.com>
Last-Updated: 2024-12-23
Forwarded: not-needed

Gbp-Pq: Name 0018-disable-test-failing-with-ruby3.2.patch

5 months agodisable-test-failing-on-armhf
Debian Ruby Team [Thu, 17 Jul 2025 10:20:19 +0000 (07:20 -0300)]
disable-test-failing-on-armhf

https://ci.debian.net/packages/p/puma/testing/armhf/42745746/

Gbp-Pq: Name 0017-disable-test-failing-on-armhf.patch

5 months agodisable-test-failing-on-arm64
Debian Ruby Team [Thu, 17 Jul 2025 10:20:19 +0000 (07:20 -0300)]
disable-test-failing-on-arm64

this test is failing on arm64 buildd (sometimes on other archs as well)

Gbp-Pq: Name 0016-disable-test-failing-on-arm64.patch

5 months agodisable-different-output-test
Debian Ruby Team [Thu, 17 Jul 2025 10:20:19 +0000 (07:20 -0300)]
disable-different-output-test

Output changed from 'OK' to '::Rack::URLMap is loaded'

Output changed from 'OK' to '::Rack::URLMap is loaded'

Gbp-Pq: Name 0015-disable-different-output-test.patch

5 months agoDisable test that failied on amd64 buildd
Pirate Praveen [Mon, 8 Mar 2021 17:33:21 +0000 (23:03 +0530)]
Disable test that failied on amd64 buildd

This test failed on amd64 buildd
https://buildd.debian.org/status/fetch.php?pkg=puma&arch=amd64&ver=5.2.2-1&stamp=1615133735&raw=0

Forwarded: not-needed

Gbp-Pq: Name 0014-disable-test-failing-on-amd64.patch

5 months agoFix test to read output locale independent
Daniel Leidert [Thu, 6 Feb 2020 10:24:24 +0000 (11:24 +0100)]
Fix test to read output locale independent

The test fails if run in a non-English environment.

Forwarded: https://github.com/puma/puma/issues/2149

Gbp-Pq: Name 0013-fix-test-term-not-accepts-new-connections.patch

5 months agoDisable cli ssl tests
Daniel Leidert [Wed, 5 Feb 2020 22:18:37 +0000 (23:18 +0100)]
Disable cli ssl tests

Forwarded: not-needed

Gbp-Pq: Name 0012-disable-cli-ssl-tests.patch

5 months agoDisable unavailable minitest extensions
Daniel Leidert [Wed, 5 Feb 2020 21:20:42 +0000 (22:20 +0100)]
Disable unavailable minitest extensions

Forwarded: not-needed

Gbp-Pq: Name 0011-disable-minitest-extensions.patch

5 months agoDrop git usage from gemspec
Antonio Terceiro [Wed, 5 Feb 2020 20:36:05 +0000 (21:36 +0100)]
Drop git usage from gemspec

Forwarded: not-needed

Gbp-Pq: Name 0004-puma.gemspec-drop-git-usage.patch

5 months agopuma (6.6.0-4) unstable; urgency=medium
Athos Ribeiro [Thu, 17 Jul 2025 10:20:19 +0000 (07:20 -0300)]
puma (6.6.0-4) unstable; urgency=medium

  * Team upload.
  * Do not generate example certificates in build time to avoid build
    depending on Java
  * d/p/0019-adapt-test-certs-generation.patch: adjust example certificates
    generation script
  * d/p/0020-update-ex-certs.patch: update example certificates to avoid a
    regression for #1078640
  * debian/README.source: document test certificates generation

[dgit import unpatched puma 6.6.0-4]

5 months agoImport puma_6.6.0-4.debian.tar.xz
Athos Ribeiro [Thu, 17 Jul 2025 10:20:19 +0000 (07:20 -0300)]
Import puma_6.6.0-4.debian.tar.xz

[dgit import tarball puma 6.6.0-4 puma_6.6.0-4.debian.tar.xz]

10 months agoImport puma_6.6.0.orig.tar.gz
Lucas Nussbaum [Wed, 5 Feb 2025 13:56:49 +0000 (14:56 +0100)]
Import puma_6.6.0.orig.tar.gz

[dgit import orig puma_6.6.0.orig.tar.gz]