Cause of recent buildfarm failures on hamerkop

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org, harukat(at)sraoss(dot)co(dot)jp
Subject: Cause of recent buildfarm failures on hamerkop
Date: 2012-09-14 05:02:05
Message-ID: 1602.1347598925@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I looked into why buildfarm member hamerkop has been failing regression
tests for the last two months. The symptoms appear consistent with the
theory that the src/test/regress/data/tenk.data test file has been
converted to have DOS style line endings (\r\n). The test cases that
are failing involve reading data that should start 2030 bytes into that
file, but if you assume that the preceding \n line endings actually take
two bytes each, the data would be offset to match what we see in the
actual results. Also, the data load test that is the primary use of
that file wouldn't complain, because COPY is built to allow either \n or
\r\n line endings.

I assume this means that the git checkout was created with options that
allowed conversion of text files to \r\n line endings.

I'm not sure if we should just write this off as pilot error, or if we
should try to make the regression tests proof against such things. If
the latter, how exactly?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rural Hunter 2012-09-14 05:43:30 pg_upgrade from 9.1.3 to 9.2 failed
Previous Message Bruce Momjian 2012-09-14 00:35:40 Re: XML/JSON processing in Postgres