Re: Buildfarm support for older versions

Larry Rosenman <ler@lerctr.org>

From: Larry Rosenman <ler@lerctr.org>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-12-23T01:33:16Z
Lists: pgsql-hackers
On 12/22/2021 7:16 pm, Larry Rosenman wrote:
> On 12/22/2021 7:20 am, Andrew Dunstan wrote:
>> On 12/21/21 15:06, Larry Rosenman wrote:
>>> I filled out that form on the 16th, and haven't gotten a new animal
>>> assignment.  Is there
>>> a problem with my data?
>> 
>> 
>> 
>> It's a manual process, done when your friendly admins have time. I 
>> have
>> approved it now.
>> 
>> 
>> cheers
>> 
>> 
>> andrew
>> 
>> --
>> Andrew Dunstan
>> EDB: https://www.enterprisedb.com
> 
> 
> REL9_2_STABLE make dies on:
> gmake[4]: Entering directory
> '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/src/backend/utils'
> '/usr/bin/perl' ./generate-errcodes.pl
> ../../../src/backend/utils/errcodes.txt > errcodes.h
> cc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels
> -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
> -fwrapv -Wno-unused-command-line-argument
> -Wno-compound-token-split-by-macro -Wno-sometimes-uninitialized -g
> -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include
> -c -o path.o path.c
> gmake[4]: Leaving directory
> '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/src/backend/utils'
> prereqdir=`cd 'utils/' >/dev/null && pwd` && \
>   cd '../../src/include/utils/' && rm -f errcodes.h && \
>   ln -s "$prereqdir/errcodes.h" .
> gmake[3]: Leaving directory
> '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/src/backend'
> cc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels
> -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
> $ tail -30  make.log
> ld: error: relocation R_X86_64_PC32 cannot be used against symbol
> __mb_sb_limit; recompile with -fPIC
>>>> defined in /lib/libc.so.7
>>>> referenced by pgstrcasecmp.c:109
>>>>               pgstrcasecmp.o:(pg_toupper) in archive 
>>>> ../../src/port/libpgport.a
> 
> ld: error: relocation R_X86_64_PC32 cannot be used against symbol
> _CurrentRuneLocale; recompile with -fPIC
>>>> defined in /lib/libc.so.7
>>>> referenced by runetype.h:0 (/usr/include/runetype.h:0)
>>>>               pgstrcasecmp.o:(pg_toupper) in archive 
>>>> ../../src/port/libpgport.a
> 
> ld: error: relocation R_X86_64_PC32 cannot be used against symbol
> __mb_sb_limit; recompile with -fPIC
>>>> defined in /lib/libc.so.7
>>>> referenced by pgstrcasecmp.c:126
>>>>               pgstrcasecmp.o:(pg_tolower) in archive 
>>>> ../../src/port/libpgport.a
> 
> ld: error: relocation R_X86_64_PC32 cannot be used against symbol
> _CurrentRuneLocale; recompile with -fPIC
>>>> defined in /lib/libc.so.7
>>>> referenced by runetype.h:0 (/usr/include/runetype.h:0)
>>>>               pgstrcasecmp.o:(pg_tolower) in archive 
>>>> ../../src/port/libpgport.a
> cc: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> gmake[3]: *** [../../src/Makefile.port:20: timetravel.so] Error 1
> gmake[3]: *** Waiting for unfinished jobs....
> rm moddatetime.o autoinc.o refint.o timetravel.o insert_username.o
> gmake[3]: Leaving directory
> '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/contrib/spi'
> gmake[2]: *** [GNUmakefile:126: submake-contrib-spi] Error 2
> gmake[2]: *** Waiting for unfinished jobs....
> gmake[2]: Leaving directory
> '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/src/test/regress'
> gmake[1]: *** [Makefile:33: all-test/regress-recurse] Error 2
> gmake[1]: Leaving directory
> '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/src'
> gmake: *** [GNUmakefile:11: all-src-recurse] Error 2
> $
> 
> The other branches are still running.


Here's the full run:
$ bin/latest/run_branches.pl --test --config $(pwd)/conf/gerenuk.conf 
--run-all
Wed Dec 22 19:05:53 2021: buildfarm run for gerenuk:REL9_2_STABLE 
starting
gerenuk:REL9_2_STABLE [19:05:54] checking out source ...
gerenuk:REL9_2_STABLE [19:06:06] checking if build run needed ...
gerenuk:REL9_2_STABLE [19:06:06] copying source to pgsql.build ...
gerenuk:REL9_2_STABLE [19:06:08] running configure ...
gerenuk:REL9_2_STABLE [19:06:36] running make ...
Branch: REL9_2_STABLE
Stage Make failed with status 2
Wed Dec 22 19:08:21 2021: buildfarm run for gerenuk:REL9_3_STABLE 
starting
gerenuk:REL9_3_STABLE [19:08:21] checking out source ...
gerenuk:REL9_3_STABLE [19:08:27] checking if build run needed ...
gerenuk:REL9_3_STABLE [19:08:28] copying source to pgsql.build ...
gerenuk:REL9_3_STABLE [19:08:29] running configure ...
gerenuk:REL9_3_STABLE [19:08:52] running make ...
gerenuk:REL9_3_STABLE [19:10:38] running make check ...
gerenuk:REL9_3_STABLE [19:11:05] running make contrib ...
gerenuk:REL9_3_STABLE [19:11:15] running make install ...
gerenuk:REL9_3_STABLE [19:11:19] running make contrib install ...
gerenuk:REL9_3_STABLE [19:11:21] checking pg_upgrade
gerenuk:REL9_3_STABLE [19:12:29] running make check miscellaneous 
modules ...
gerenuk:REL9_3_STABLE [19:12:29] setting up db cluster (C)...
gerenuk:REL9_3_STABLE [19:12:32] starting db (C)...
gerenuk:REL9_3_STABLE [19:12:33] running make installcheck (C)...
gerenuk:REL9_3_STABLE [19:13:00] restarting db (C)...
gerenuk:REL9_3_STABLE [19:13:03] running make isolation check ...
gerenuk:REL9_3_STABLE [19:14:00] restarting db (C)...
gerenuk:REL9_3_STABLE [19:14:03] running make PL installcheck (C)...
gerenuk:REL9_3_STABLE [19:14:04] restarting db (C)...
gerenuk:REL9_3_STABLE [19:14:07] running make contrib installcheck 
(C)...
gerenuk:REL9_3_STABLE [19:14:24] stopping db (C)...
gerenuk:REL9_3_STABLE [19:14:26] running make ecpg check ...
gerenuk:REL9_3_STABLE [19:14:47] OK
Branch: REL9_3_STABLE
All stages succeeded
Wed Dec 22 19:14:48 2021: buildfarm run for gerenuk:REL9_4_STABLE 
starting
gerenuk:REL9_4_STABLE [19:14:48] checking out source ...
gerenuk:REL9_4_STABLE [19:14:52] checking if build run needed ...
gerenuk:REL9_4_STABLE [19:14:52] copying source to pgsql.build ...
gerenuk:REL9_4_STABLE [19:15:14] running configure ...
gerenuk:REL9_4_STABLE [19:15:32] running make ...
gerenuk:REL9_4_STABLE [19:17:22] running make check ...
gerenuk:REL9_4_STABLE [19:17:49] running make contrib ...
gerenuk:REL9_4_STABLE [19:18:00] running make install ...
gerenuk:REL9_4_STABLE [19:18:03] running make contrib install ...
gerenuk:REL9_4_STABLE [19:18:06] checking pg_upgrade
gerenuk:REL9_4_STABLE [19:19:11] checking test-decoding
gerenuk:REL9_4_STABLE [19:20:13] running make check miscellaneous 
modules ...
gerenuk:REL9_4_STABLE [19:20:13] running bin test initdb ...
Branch: REL9_4_STABLE
Stage initdbCheck failed with status 2
Wed Dec 22 19:20:20 2021: buildfarm run for gerenuk:REL9_5_STABLE 
starting
gerenuk:REL9_5_STABLE [19:20:20] checking out source ...
gerenuk:REL9_5_STABLE [19:20:26] checking if build run needed ...
gerenuk:REL9_5_STABLE [19:20:26] copying source to pgsql.build ...
gerenuk:REL9_5_STABLE [19:20:56] running configure ...
gerenuk:REL9_5_STABLE [19:21:17] running make ...
gerenuk:REL9_5_STABLE [19:23:16] running make check ...
gerenuk:REL9_5_STABLE [19:23:43] running make contrib ...
gerenuk:REL9_5_STABLE [19:23:53] running make testmodules ...
gerenuk:REL9_5_STABLE [19:23:53] running make install ...
gerenuk:REL9_5_STABLE [19:23:57] running make contrib install ...
gerenuk:REL9_5_STABLE [19:23:59] running make testmodules install ...
gerenuk:REL9_5_STABLE [19:23:59] checking pg_upgrade
gerenuk:REL9_5_STABLE [19:25:09] checking test-decoding
gerenuk:REL9_5_STABLE [19:26:02] running make check miscellaneous 
modules ...
gerenuk:REL9_5_STABLE [19:26:02] running bin test initdb ...
Can't stat pgsql.build/src/bin/initdb/tmp_check: No such file or 
directory
  at /home/pgbuildfarm/bin/build-farm-13.1/PGBuild/Utils.pm line 222.
Branch: REL9_5_STABLE
Stage initdbCheck failed with status 2
Wed Dec 22 19:26:04 2021: buildfarm run for gerenuk:REL9_6_STABLE 
starting
gerenuk:REL9_6_STABLE [19:26:04] checking out source ...
gerenuk:REL9_6_STABLE [19:26:12] checking if build run needed ...
gerenuk:REL9_6_STABLE [19:26:12] copying source to pgsql.build ...
gerenuk:REL9_6_STABLE [19:26:47] running configure ...
gerenuk:REL9_6_STABLE [19:27:06] running make ...
gerenuk:REL9_6_STABLE [19:29:13] running make check ...
gerenuk:REL9_6_STABLE [19:29:41] running make contrib ...
gerenuk:REL9_6_STABLE [19:29:51] running make testmodules ...
gerenuk:REL9_6_STABLE [19:29:51] running make install ...
gerenuk:REL9_6_STABLE [19:29:55] running make contrib install ...
gerenuk:REL9_6_STABLE [19:29:57] running make testmodules install ...
gerenuk:REL9_6_STABLE [19:29:58] checking pg_upgrade
gerenuk:REL9_6_STABLE [19:31:09] checking test-decoding
gerenuk:REL9_6_STABLE [19:32:02] running make check miscellaneous 
modules ...
gerenuk:REL9_6_STABLE [19:32:02] running bin test initdb ...
Can't stat pgsql.build/src/bin/initdb/tmp_check: No such file or 
directory
  at /home/pgbuildfarm/bin/build-farm-13.1/PGBuild/Utils.pm line 222.
Branch: REL9_6_STABLE
Stage initdbCheck failed with status 2
$

Looks like there are "issues".

Should I set it up on cron?  Or does someone want to look first?


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106