Bug 1303972 - Test suite didn't pass due to less verbose libxml2 output
Summary: Test suite didn't pass due to less verbose libxml2 output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: postgresql
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Raiskup
QA Contact: Jakub Prokes
URL:
Whiteboard:
Depends On:
Blocks: 1308597 1308598 1336391
TreeView+ depends on / blocked
 
Reported: 2016-02-02 15:04 UTC by Jakub Prokes
Modified: 2016-05-16 10:44 UTC (History)
7 users (show)

Fixed In Version: postgresql-8.4.20-5.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1336391 (view as bug list)
Environment:
Last Closed: 2016-05-11 01:33:45 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1286692 0 unspecified CLOSED postgresql-9.4.5-3.fc24 FTBFS: an xml test fails 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2016:0978 0 normal SHIPPED_LIVE postgresql bug fix update 2016-05-10 22:59:37 UTC

Internal Links: 1286692

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


Note You need to log in before you can comment on or make changes to this bug.