Bug 1303972

Summary: Test suite didn't pass due to less verbose libxml2 output
Product: Red Hat Enterprise Linux 6 Reporter: Jakub Prokes <jprokes>
Component: postgresqlAssignee: Pavel Raiskup <praiskup>
Status: CLOSED ERRATA QA Contact: Jakub Prokes <jprokes>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8CC: databases-maint, jkurik, jpopelka, jprokes, ovasik, pkajaba, psklenar
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: postgresql-8.4.20-5.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1336391 (view as bug list) Environment:
Last Closed: 2016-05-11 01:33:45 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:    
Bug Blocks: 1308597, 1308598, 1336391    

Description Jakub Prokes 2016-02-02 15:04:40 UTC
Description of problem:

Upstream testsuite failed.
     returning            ... ok
     largeobject          ... ok
     with                 ... ok
     xml                  ... FAILED
test stats                ... ok
test tablespace           ... ok


Version-Release number of selected component (if applicable):
postgresql-8.4.20-4.el6_7.x86_64

How reproducible:
Allways

Additional info:

As you can see from output postgresql seems to be working properly but expected result are more verbose. I suppose this behavior has something in common with last patch-sets.

*** /usr/lib64/pgsql/test/regress/expected/xml.out      2014-02-17 14:44:07.000000000 -0500
--- /usr/lib64/pgsql/test/regress/results/xml.out       2016-02-02 09:55:01.628000002 -0500
***************
*** 9,16 ****
  LINE 1: INSERT INTO xmltest VALUES (3, '<wrong');
                                         ^
  DETAIL:  Entity: line 1: parser error : Couldn't find end of Start Tag wrong line 1
- <wrong
-       ^
  SELECT * FROM xmltest;
   id |        data        
  ----+--------------------
--- 9,14 ----
***************
*** 63,70 ****
  LINE 1: SELECT xmlconcat('bad', '<syntax');
                                  ^
  DETAIL:  Entity: line 1: parser error : Couldn't find end of Start Tag syntax line 1
- <syntax
-        ^
  SELECT xmlconcat('<foo/>', NULL, '<?xml version="1.1" standalone="no"?><bar/>');
    xmlconcat   
  --------------
--- 61,66 ----

======================================================================

Comment 2 Pavel Raiskup 2016-02-02 15:31:53 UTC
Thanks for the report.

As Tom mentioned in Fedora bug, this has already propagated into RHEL6 :).
It is fair amount of time libxml2 maintainer did not respond.  For more info
see the bug 1286692.

To fix this, we need to rebuild PostgreSQL with fixed testsuite;  this test
failure is expected.

Comment 11 errata-xmlrpc 2016-05-11 01:33:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0978.html