pg.ddx.io pgsql-ports@postgresql.org mailing list archive
help / color / mirror / Atom feed'point' test suite failure on arm
6+ messages / 4 participants
[nested] [flat]
* 'point' test suite failure on arm
@ 2005-12-20 11:18 Martin Pitt <martin@piware.de>
2005-12-20 16:29 ` Re: 'point' test suite failure on arm Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 6+ messages in thread
From: Martin Pitt @ 2005-12-20 11:18 UTC (permalink / raw)
To: pgsql-ports
Hi PostgreSQL porters!
I recently noticed that the PostgreSQL test suite fails on arm in the
'point' test (diff pasted below). However, the difference is really
small and is well within the rounding error range. It just seems that
the expected output has one digit less than the actual result.
Is this a mere bug in the test suite? Any idea why it just occurs on
the arm platform? It works fine on all other 11 platforms of Debian.
Please see [1] for the full build log which includes the test suite
output. This is the log for 8.1.1, but the same occurs with 7.4 and
8.0.
Thanks in advance for any hint,
Martin
inline patch 1: ./results/point.out (+4/-4 lines) download inline-1.patch
*** ./expected/point.out Thu Apr 7 01:51:40 2005
--- ./results/point.out Mon Dec 12 20:51:59 2005
***************
*** 101,107 ****
| (-3,4) | 5
| (-10,0) | 10
| (-5,-12) | 13
! | (10,10) | 14.142135623731
| (5.1,34.5) | 34.8749193547455
(6 rows)
--- 101,107 ----
| (-3,4) | 5
| (-10,0) | 10
| (-5,-12) | 13
! | (10,10) | 14.1421356237309
| (5.1,34.5) | 34.8749193547455
(6 rows)
***************
*** 127,134 ****
| (-5,-12) | (-10,0) | 13
| (-5,-12) | (0,0) | 13
| (0,0) | (-5,-12) | 13
! | (0,0) | (10,10) | 14.142135623731
! | (10,10) | (0,0) | 14.142135623731
| (-3,4) | (10,10) | 14.3178210632764
| (10,10) | (-3,4) | 14.3178210632764
| (-5,-12) | (-3,4) | 16.1245154965971
--- 127,134 ----
| (-5,-12) | (-10,0) | 13
| (-5,-12) | (0,0) | 13
| (0,0) | (-5,-12) | 13
! | (0,0) | (10,10) | 14.1421356237309
! | (10,10) | (0,0) | 14.1421356237309
| (-3,4) | (10,10) | 14.3178210632764
| (10,10) | (-3,4) | 14.3178210632764
| (-5,-12) | (-3,4) | 16.1245154965971
***************
*** 198,204 ****
| (-10,0) | (0,0) | 10
| (-10,0) | (-5,-12) | 13
| (-5,-12) | (0,0) | 13
! | (0,0) | (10,10) | 14.142135623731
| (-3,4) | (10,10) | 14.3178210632764
| (-5,-12) | (-3,4) | 16.1245154965971
| (-10,0) | (10,10) | 22.3606797749979
--- 198,204 ----
| (-10,0) | (0,0) | 10
| (-10,0) | (-5,-12) | 13
| (-5,-12) | (0,0) | 13
! | (0,0) | (10,10) | 14.1421356237309
| (-3,4) | (10,10) | 14.3178210632764
| (-5,-12) | (-3,4) | 16.1245154965971
| (-10,0) | (10,10) | 22.3606797749979
[1] http://buildd.debian.org/fetch.php?&pkg=postgresql-8.1&ver=8.1.1-1&arch=arm&stamp=11...
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
In a world without walls and fences, who needs Windows and Gates?
Attachments:
signature.asc (application/pgp-signature, 188B) download
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: 'point' test suite failure on arm
2005-12-20 11:18 'point' test suite failure on arm Martin Pitt <martin@piware.de>
@ 2005-12-20 16:29 ` Tom Lane <tgl@sss.pgh.pa.us>
2005-12-20 16:45 ` Re: 'point' test suite failure on arm Martin Pitt <martin@piware.de>
0 siblings, 1 reply; 6+ messages in thread
From: Tom Lane @ 2005-12-20 16:29 UTC (permalink / raw)
To: Martin Pitt <martin@piware.de>; +Cc: pgsql-ports
Martin Pitt <martin@piware.de> writes:
> I recently noticed that the PostgreSQL test suite fails on arm in the
> 'point' test (diff pasted below). However, the difference is really
> small and is well within the rounding error range. It just seems that
> the expected output has one digit less than the actual result.
> Is this a mere bug in the test suite? Any idea why it just occurs on
> the arm platform? It works fine on all other 11 platforms of Debian.
Floating point math a bit different on the ARM? The quoted result is
basically sqrt(200::float8), and we've never before heard reports of
different platforms printing different answers, though I suppose it's
possible if the FP hardware is not IEEE-spec. I'd suggest asking
whoever maintains libm for Debian.
regards, tom lane
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: 'point' test suite failure on arm
2005-12-20 11:18 'point' test suite failure on arm Martin Pitt <martin@piware.de>
2005-12-20 16:29 ` Re: 'point' test suite failure on arm Tom Lane <tgl@sss.pgh.pa.us>
@ 2005-12-20 16:45 ` Martin Pitt <martin@piware.de>
2005-12-20 21:37 ` Re: 'point' test suite failure on arm Jim C. Nasby <jnasby@pervasive.com>
0 siblings, 1 reply; 6+ messages in thread
From: Martin Pitt @ 2005-12-20 16:45 UTC (permalink / raw)
To: pgsql-ports
Hi Tom!
Tom Lane [2005-12-20 11:29 -0500]:
> Martin Pitt <martin@piware.de> writes:
> > I recently noticed that the PostgreSQL test suite fails on arm in the
> > 'point' test (diff pasted below). However, the difference is really
> > small and is well within the rounding error range. It just seems that
> > the expected output has one digit less than the actual result.
>
> > Is this a mere bug in the test suite? Any idea why it just occurs on
> > the arm platform? It works fine on all other 11 platforms of Debian.
>
> Floating point math a bit different on the ARM? The quoted result is
> basically sqrt(200::float8), and we've never before heard reports of
> different platforms printing different answers, though I suppose it's
> possible if the FP hardware is not IEEE-spec. I'd suggest asking
> whoever maintains libm for Debian.
I will do that. I just wondered why the expected and actual result are
actually the same number, but differ only in the presented precision.
Thanks,
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
In a world without walls and fences, who needs Windows and Gates?
Attachments:
signature.asc (application/pgp-signature, 188B) download
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: 'point' test suite failure on arm
2005-12-20 11:18 'point' test suite failure on arm Martin Pitt <martin@piware.de>
2005-12-20 16:29 ` Re: 'point' test suite failure on arm Tom Lane <tgl@sss.pgh.pa.us>
2005-12-20 16:45 ` Re: 'point' test suite failure on arm Martin Pitt <martin@piware.de>
@ 2005-12-20 21:37 ` Jim C. Nasby <jnasby@pervasive.com>
2005-12-21 07:26 ` Re: 'point' test suite failure on arm Martin Pitt <martin@piware.de>
0 siblings, 1 reply; 6+ messages in thread
From: Jim C. Nasby @ 2005-12-20 21:37 UTC (permalink / raw)
To: pgsql-ports
On Tue, Dec 20, 2005 at 05:45:33PM +0100, Martin Pitt wrote:
> Hi Tom!
>
> Tom Lane [2005-12-20 11:29 -0500]:
> > Martin Pitt <martin@piware.de> writes:
> > > I recently noticed that the PostgreSQL test suite fails on arm in the
<snip>
> I will do that. I just wondered why the expected and actual result are
> actually the same number, but differ only in the presented precision.
You should consider setting that machine up in the buildfarm as well (I
don't see any arm machines in there right now):
http://pgbuildfarm.org/cgi-bin/show_status.pl
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: 'point' test suite failure on arm
2005-12-20 11:18 'point' test suite failure on arm Martin Pitt <martin@piware.de>
2005-12-20 16:29 ` Re: 'point' test suite failure on arm Tom Lane <tgl@sss.pgh.pa.us>
2005-12-20 16:45 ` Re: 'point' test suite failure on arm Martin Pitt <martin@piware.de>
2005-12-20 21:37 ` Re: 'point' test suite failure on arm Jim C. Nasby <jnasby@pervasive.com>
@ 2005-12-21 07:26 ` Martin Pitt <martin@piware.de>
2005-12-22 00:19 ` Re: 'point' test suite failure on arm Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 6+ messages in thread
From: Martin Pitt @ 2005-12-21 07:26 UTC (permalink / raw)
To: pgsql-ports
Hi Jim!
Jim C. Nasby [2005-12-20 15:37 -0600]:
> On Tue, Dec 20, 2005 at 05:45:33PM +0100, Martin Pitt wrote:
> > Hi Tom!
> >
> > Tom Lane [2005-12-20 11:29 -0500]:
> > > Martin Pitt <martin@piware.de> writes:
> > > > I recently noticed that the PostgreSQL test suite fails on arm in the
> <snip>
> > I will do that. I just wondered why the expected and actual result are
> > actually the same number, but differ only in the presented precision.
>
> You should consider setting that machine up in the buildfarm as well (I
> don't see any arm machines in there right now):
> http://pgbuildfarm.org/cgi-bin/show_status.pl
Unfortunately these are not my machines, these are the official Debian
package autobuilders. Access to them is very restricted and I doubt
that we can use them for PostgreSQL. I will ask, though.
BTW, that problem does only occur for 7.4, it seems to work fine for
8.0 and 8.1. So I will just ignore this particular test on arm for
7.4.
Thanks,
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: 'point' test suite failure on arm
2005-12-20 11:18 'point' test suite failure on arm Martin Pitt <martin@piware.de>
2005-12-20 16:29 ` Re: 'point' test suite failure on arm Tom Lane <tgl@sss.pgh.pa.us>
2005-12-20 16:45 ` Re: 'point' test suite failure on arm Martin Pitt <martin@piware.de>
2005-12-20 21:37 ` Re: 'point' test suite failure on arm Jim C. Nasby <jnasby@pervasive.com>
2005-12-21 07:26 ` Re: 'point' test suite failure on arm Martin Pitt <martin@piware.de>
@ 2005-12-22 00:19 ` Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 6+ messages in thread
From: Bruce Momjian @ 2005-12-22 00:19 UTC (permalink / raw)
To: Martin Pitt <martin@piware.de>; +Cc: pgsql-ports
Martin Pitt wrote:
> Hi Jim!
>
> Jim C. Nasby [2005-12-20 15:37 -0600]:
> > On Tue, Dec 20, 2005 at 05:45:33PM +0100, Martin Pitt wrote:
> > > Hi Tom!
> > >
> > > Tom Lane [2005-12-20 11:29 -0500]:
> > > > Martin Pitt <martin@piware.de> writes:
> > > > > I recently noticed that the PostgreSQL test suite fails on arm in the
> > <snip>
> > > I will do that. I just wondered why the expected and actual result are
> > > actually the same number, but differ only in the presented precision.
> >
> > You should consider setting that machine up in the buildfarm as well (I
> > don't see any arm machines in there right now):
> > http://pgbuildfarm.org/cgi-bin/show_status.pl
>
> Unfortunately these are not my machines, these are the official Debian
> package autobuilders. Access to them is very restricted and I doubt
> that we can use them for PostgreSQL. I will ask, though.
As another option, you can do a nightly cvs update and check and
email any compile/regression to yourself. See src/tools/pgtest for an
example.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2005-12-22 00:19 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-20 11:18 'point' test suite failure on arm Martin Pitt <martin@piware.de>
2005-12-20 16:29 ` Tom Lane <tgl@sss.pgh.pa.us>
2005-12-20 16:45 ` Martin Pitt <martin@piware.de>
2005-12-20 21:37 ` Jim C. Nasby <jnasby@pervasive.com>
2005-12-21 07:26 ` Martin Pitt <martin@piware.de>
2005-12-22 00:19 ` Bruce Momjian <pgman@candle.pha.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox