Your message dated Mon, 14 Apr 2025 21:17:44 -0700
with message-id 
<CAOMoQbSMLcwuDukayDX9ZAG++v1TH=8ylr9aw9bwvbjjecp...@mail.gmail.com>
and subject line Bug#1085109: pgbouncer: The main pytest suite does not run 
during debbuild
has caused the Debian Bug report #1085109,
regarding pgbouncer: The main pytest suite does not run during debbuild
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1085109: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085109
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pgbouncer
Version: 1.23.1-1
Severity: normal
Tags: patch

Dear Maintainer,

   * What led up to the situation?

   I built this package and noticed the main pytest suite did not run
   yet the build completed successfully and produced a .deb file.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

     1. dget 
http://deb.debian.org/debian/pool/main/p/pgbouncer/pgbouncer_1.23.1-1.dsc
     2. debbuild

   * What was the outcome of this action?

   I observed the tests did not run.

   * What outcome did you expect instead?

   I expected pytest to run the tests in test/

   I am attaching a patch that causes this test suite to run.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/64 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pgbouncer depends on:
ii  init-system-helpers  1.65.2
ii  libc-ares2           1.18.1-3
ii  libc6                2.36-9+deb12u8
ii  libevent-2.1-7       2.1.12-stable-8
ii  libpam0g             1.5.2-6+deb12u1
ii  libssl3              3.0.14-1~deb12u2
ii  libsystemd0          252.30-1~deb12u2
ii  postgresql-common    252.pgdg120+1

pgbouncer recommends no packages.

Versions of packages pgbouncer suggests:
ii  python3           3.11.2-1+b1
ii  python3-psycopg2  2.9.5-1+b1

-- Configuration Files:
/etc/pgbouncer/pgbouncer.ini [Errno 13] Permission denied: 
'/etc/pgbouncer/pgbouncer.ini'
/etc/pgbouncer/userlist.txt [Errno 13] Permission denied: 
'/etc/pgbouncer/userlist.txt'

-- no debconf information

diff -Nru pgbouncer-1.23.1/debian/changelog pgbouncer-1.23.1/debian/changelog
--- pgbouncer-1.23.1/debian/changelog   2024-08-03 07:27:34.000000000 +0000
+++ pgbouncer-1.23.1/debian/changelog   2024-10-14 19:04:39.000000000 +0000
@@ -1,3 +1,10 @@
+pgbouncer (1.23.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Ensure that the main test suite does in fact run during debbuild 
+
+ -- Brian Cosgrove <[email protected]>  Mon, 14 Oct 2024 19:04:39 +0000
+
 pgbouncer (1.23.1-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru pgbouncer-1.23.1/debian/control pgbouncer-1.23.1/debian/control
--- pgbouncer-1.23.1/debian/control     2024-04-17 21:24:48.000000000 +0000
+++ pgbouncer-1.23.1/debian/control     2024-10-14 19:02:15.000000000 +0000
@@ -21,6 +21,15 @@
  pandoc,
  postgresql,
  python3,
+ python3-pytest,
+ python3-pytest,
+ python3-pytest-asyncio,
+ python3-pytest-timeout,
+ python3-pytest-xdist,
+ python3-psycopg2,
+ python3-psycopg,
+ python3-filelock,
+ python3-contextlib2,
 Homepage: https://www.pgbouncer.org/
 Vcs-Git: https://salsa.debian.org/postgresql/pgbouncer.git
 Vcs-Browser: https://salsa.debian.org/postgresql/pgbouncer
diff -Nru pgbouncer-1.23.1/debian/rules pgbouncer-1.23.1/debian/rules
--- pgbouncer-1.23.1/debian/rules       2023-07-25 14:53:11.000000000 +0000
+++ pgbouncer-1.23.1/debian/rules       2024-10-14 19:04:33.000000000 +0000
@@ -24,7 +24,7 @@
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-       $(MAKE) -C test check PATH=$(PGBINDIR):$(PATH)
+       $(MAKE) check PATH=$(PGBINDIR):$(PATH)
 endif
 
 override_dh_auto_install:

--- End Message ---
--- Begin Message ---
This was fixed in pgbouncer 1.24.0-1.

-- Bradford

[0]: 
https://salsa.debian.org/postgresql/pgbouncer/-/commit/ddb56913153392bff3bbc845396f2bcd3016e148

--- End Message ---

Reply via email to