broken tests

Started by Pavel Stehuleabout 10 years ago10 messages
#1Pavel Stehule
pavel.stehule@gmail.com
2 attachment(s)

Hi

Today I have problem with regress tests on my laptop.

I did fresh clone of git

Is it working elsewhere?

Regards

Pavel

Attachments:

regression.diffsapplication/octet-stream; name=regression.diffsDownload
*** /home/pavel/src/postgresql/src/test/regress/expected/xml.out	2015-12-02 19:20:53.785571677 +0100
--- /home/pavel/src/postgresql/src/test/regress/results/xml.out	2015-12-02 19:28:51.342475722 +0100
***************
*** 9,16 ****
  LINE 1: INSERT INTO xmltest VALUES (3, '<wrong');
                                         ^
  DETAIL:  line 1: 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:  line 1: 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 ----
***************
*** 224,239 ****
  <invalidentity>&</invalidentity>
                  ^
  line 1: chunk is not well balanced
- <invalidentity>&</invalidentity>
-                                 ^
  SELECT xmlparse(content '<undefinedentity>&idontexist;</undefinedentity>');
  ERROR:  invalid XML content
  DETAIL:  line 1: Entity 'idontexist' not defined
  <undefinedentity>&idontexist;</undefinedentity>
                               ^
  line 1: chunk is not well balanced
- <undefinedentity>&idontexist;</undefinedentity>
-                                                ^
  SELECT xmlparse(content '<invalidns xmlns=''&lt;''/>');
           xmlparse          
  ---------------------------
--- 220,231 ----
***************
*** 252,262 ****
  <twoerrors>&idontexist;</unbalanced>
                         ^
  line 1: Opening and ending tag mismatch: twoerrors line 1 and unbalanced
- <twoerrors>&idontexist;</unbalanced>
-                                     ^
  line 1: chunk is not well balanced
- <twoerrors>&idontexist;</unbalanced>
-                                     ^
  SELECT xmlparse(content '<nosuchprefix:tag/>');
        xmlparse       
  ---------------------
--- 244,250 ----
***************
*** 266,284 ****
  SELECT xmlparse(document '');
  ERROR:  invalid XML document
  DETAIL:  line 1: switching encoding : no input
- 
- ^
  line 1: Document is empty
- 
- ^
- line 1: Start tag expected, '<' not found
- 
- ^
  SELECT xmlparse(document '   ');
  ERROR:  invalid XML document
  DETAIL:  line 1: Start tag expected, '<' not found
-    
-    ^
  SELECT xmlparse(document 'abc');
  ERROR:  invalid XML document
  DETAIL:  line 1: Start tag expected, '<' not found
--- 254,263 ----
***************
*** 296,311 ****
  <invalidentity>&</abc>
                  ^
  line 1: Opening and ending tag mismatch: invalidentity line 1 and abc
- <invalidentity>&</abc>
-                       ^
  SELECT xmlparse(document '<undefinedentity>&idontexist;</abc>');
  ERROR:  invalid XML document
  DETAIL:  line 1: Entity 'idontexist' not defined
  <undefinedentity>&idontexist;</abc>
                               ^
  line 1: Opening and ending tag mismatch: undefinedentity line 1 and abc
- <undefinedentity>&idontexist;</abc>
-                                    ^
  SELECT xmlparse(document '<invalidns xmlns=''&lt;''/>');
           xmlparse          
  ---------------------------
--- 275,286 ----
***************
*** 324,331 ****
  <twoerrors>&idontexist;</unbalanced>
                         ^
  line 1: Opening and ending tag mismatch: twoerrors line 1 and unbalanced
- <twoerrors>&idontexist;</unbalanced>
-                                     ^
  SELECT xmlparse(document '<nosuchprefix:tag/>');
        xmlparse       
  ---------------------
--- 299,304 ----

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

regression.outapplication/octet-stream; name=regression.outDownload
#2Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Pavel Stehule (#1)
Re: broken tests

Pavel Stehule wrote:

Hi

Today I have problem with regress tests on my laptop.

Maybe this is because of the libxml version?

--
�lvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Pavel Stehule
pavel.stehule@gmail.com
In reply to: Alvaro Herrera (#2)
Re: broken tests

2015-12-02 20:08 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.com>:

Pavel Stehule wrote:

Hi

Today I have problem with regress tests on my laptop.

Maybe this is because of the libxml version?

100%, same issue is with 9.4.5

After downgrade to 2.9.2 (from 2.9.3) this issue was out

So it is looking like Fedora fault

Regards

Pavel

Show quoted text

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Pavel Stehule (#1)
Re: broken tests

Pavel Stehule <pavel.stehule@gmail.com> writes:

Today I have problem with regress tests on my laptop.

Looks like

https://bugzilla.redhat.com/show_bug.cgi?id=1286692

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#5Pavel Stehule
pavel.stehule@gmail.com
In reply to: Tom Lane (#4)
Re: broken tests

2015-12-02 23:00 GMT+01:00 Tom Lane <tgl@sss.pgh.pa.us>:

Pavel Stehule <pavel.stehule@gmail.com> writes:

Today I have problem with regress tests on my laptop.

Looks like

https://bugzilla.redhat.com/show_bug.cgi?id=1286692

sure

Pavel

Show quoted text

regards, tom lane

#6Pavel Raiskup
praiskup@redhat.com
In reply to: Pavel Stehule (#3)
Re: broken tests

On Wednesday 02 of December 2015 20:26:56 Pavel Stehule wrote:

2015-12-02 20:08 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.com>:

Pavel Stehule wrote:

Hi

Today I have problem with regress tests on my laptop.

Maybe this is because of the libxml version?

100%, same issue is with 9.4.5

After downgrade to 2.9.2 (from 2.9.3) this issue was out

Agreed.

So it is looking like Fedora fault

Not really. This has been changed in libxml2 upstream:
https://bugzilla.redhat.com/show_bug.cgi?id=1286692

Pavel

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#7Pavel Stehule
pavel.stehule@gmail.com
In reply to: Pavel Raiskup (#6)
Re: broken tests

2015-12-03 12:39 GMT+01:00 Pavel Raiskup <praiskup@redhat.com>:

On Wednesday 02 of December 2015 20:26:56 Pavel Stehule wrote:

2015-12-02 20:08 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.com>:

Pavel Stehule wrote:

Hi

Today I have problem with regress tests on my laptop.

Maybe this is because of the libxml version?

100%, same issue is with 9.4.5

After downgrade to 2.9.2 (from 2.9.3) this issue was out

Agreed.

So it is looking like Fedora fault

Not really. This has been changed in libxml2 upstream:
https://bugzilla.redhat.com/show_bug.cgi?id=1286692

ok

I would not be offensive

Regards

Pavel

Show quoted text

Pavel

#8Pavel Raiskup
praiskup@redhat.com
In reply to: Pavel Stehule (#7)
Re: broken tests

On Thursday 03 of December 2015 20:49:09 Pavel Stehule wrote:

2015-12-03 12:39 GMT+01:00 Pavel Raiskup <praiskup@redhat.com>:

On Wednesday 02 of December 2015 20:26:56 Pavel Stehule wrote:

2015-12-02 20:08 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.com>:

Pavel Stehule wrote:

Hi

Today I have problem with regress tests on my laptop.

Maybe this is because of the libxml version?

100%, same issue is with 9.4.5

After downgrade to 2.9.2 (from 2.9.3) this issue was out

Agreed.

So it is looking like Fedora fault

Not really. This has been changed in libxml2 upstream:
https://bugzilla.redhat.com/show_bug.cgi?id=1286692

ok

I would not be offensive

Sorry if that looked like this :(. I just wanted to point out that this
is not "just" about Fedora --> but either libxml2 (upstream) needs to be
fixed or PostgreSQL's testsuite.

Pavel

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#9Pavel Stehule
pavel.stehule@gmail.com
In reply to: Pavel Raiskup (#8)
Re: broken tests

2015-12-03 22:50 GMT+01:00 Pavel Raiskup <praiskup@redhat.com>:

On Thursday 03 of December 2015 20:49:09 Pavel Stehule wrote:

2015-12-03 12:39 GMT+01:00 Pavel Raiskup <praiskup@redhat.com>:

On Wednesday 02 of December 2015 20:26:56 Pavel Stehule wrote:

2015-12-02 20:08 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.com

:

Pavel Stehule wrote:

Hi

Today I have problem with regress tests on my laptop.

Maybe this is because of the libxml version?

100%, same issue is with 9.4.5

After downgrade to 2.9.2 (from 2.9.3) this issue was out

Agreed.

So it is looking like Fedora fault

Not really. This has been changed in libxml2 upstream:
https://bugzilla.redhat.com/show_bug.cgi?id=1286692

ok

I would not be offensive

Sorry if that looked like this :(. I just wanted to point out that this
is not "just" about Fedora --> but either libxml2 (upstream) needs to be
fixed or PostgreSQL's testsuite.

juju

Pavel

Show quoted text

Pavel

#10Michael Paquier
michael.paquier@gmail.com
In reply to: Pavel Stehule (#9)
Re: broken tests

On Fri, Dec 4, 2015 at 2:59 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:

2015-12-03 22:50 GMT+01:00 Pavel Raiskup <praiskup@redhat.com>:

Sorry if that looked like this :(. I just wanted to point out that this
is not "just" about Fedora --> but either libxml2 (upstream) needs to be
fixed or PostgreSQL's testsuite.

juju

FWIW, I just faced the issue myself with a custom build of libxml2
using 2.9.3... Hopefully this is going to be addressed soon, libxml2
2.9.3 has addressed many CVEs, like CVE-2015-7941, but if it breaks
the xml datatype itself...
--
Michael

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers