Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1770235

Summary: perl-DBD-Pg tests failing due to rebase of libpq 12 and PostgreSQL server 12
Product: Red Hat Enterprise Linux 8 Reporter: Honza Horak <hhorak>
Component: perl-DBD-PgAssignee: perl-maint-list
Status: CLOSED CURRENTRELEASE QA Contact: RHEL CS Apps Subsystem QE <rhel-cs-apps-subsystem-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.1CC: bnater, jorton, kanderso, ppisar
Target Milestone: rcKeywords: Patch, Reproducer, Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-DBD-Pg-3.7.4-3.el8_1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1772373 1772805 (view as bug list) Environment:
Last Closed: 2020-04-16 09:38:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1772822    
Bug Blocks: 1749461, 1768846    
Attachments:
Description Flags
Upstream fix ported to DBD-Pg-3.7.4 none

Description Honza Horak 2019-11-08 14:39:21 UTC
This bug was initially created as a copy of Bug #1768846

Description of problem:

* Tests /CoreOS/perl-DBD-Pg/Sanity/upstream-tests fail with the rebased libpq done for rhel-8.1.1.

* After talking to ppisar, it looks like the tests were fixed upstream (see https://bugzilla.redhat.com/show_bug.cgi?id=1768846#c5) and it looks like a good idea to fix this together with delivering postgresql:12 stream (tracked in bz#1721822) + libpq rebase in rhel-8.1.1 (tracked in bz#1749461)

* We still would like to keep bz#1768846 opened for libpq, because it still looks important enough for more investigation, but we're so far convinced the changes in that library do not change ABI, most probably just a slight change in behavior that perl-DBD-pg depended on changed, which should be not relevant nor visible for users.

How reproducible:
Always

Steps to Reproduce:
1. run tests for perl-DBD-Pg with the libpq-12.0 (/CoreOS/perl-DBD-Pg/Sanity/upstream-tests)

Actual results:
4 tests in 03dbmethod.t fails


Expected results:
No fail


Additional info:
see https://bugzilla.redhat.com/show_bug.cgi?id=1768846#c5

Comment 1 Honza Horak 2019-11-08 14:45:09 UTC
Setting qa_test_coverage+ because the tests already exist.

Comment 4 Petr Pisar 2019-11-11 09:30:13 UTC
Created attachment 1634798 [details]
Upstream fix ported to DBD-Pg-3.7.4

Comment 5 Petr Pisar 2019-11-11 09:32:40 UTC
We have perl-DBD-Pg twice in RHEL-8. Once as a non-modular package in BaseOS and once as a modular package of perl-DBD-Pg:3.7 stream in AppStream. We need to fix both of them.

Comment 8 Petr Pisar 2019-11-14 09:24:19 UTC
There is also a request to pass perl-DBD-Pg tests against PostreSQL 12 server. As the server removes some features and a perl-DBD-Pg library uses them and the tests checks for them, it necessary to apply additional seven patches. These patches preserve perl-DBD-Pg API and all tests pass against PostregreSQL server 9.6, 10, and 12. I will include them referring to this bug report.

Comment 24 Petr Pisar 2019-11-18 16:28:42 UTC
This is a buildroot-only package. And on pp64le only. It does not need an erratum.