Bug #14621
closedMissing dependency in cores tests build
100%
Description
I hit this error while running a full gate build:
/build/af/bloody/rti/ig_14617_ipmp/usr/src/test/os-tests/tests/cores/scripts /build/af/bloody/rti/ig_14617_ipmp/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install -s -d -m 755 /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores /usr/bin/rm -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/core_prereqs; /build/af/bloody/rti/ig_14617_ipmp/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install -s -m 0555 -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores core_prereqs.ksh; /usr/bin/mv -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/core_prereqs.ksh /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/core_prereqs /usr/bin/rm -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/coretests; /build/af/bloody/rti/ig_14617_ipmp/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install -s -m 0555 -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores coretests.ksh; /usr/bin/mv -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/coretests.ksh /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/coretests cd libdumper; pwd; dmake install /build/af/bloody/rti/ig_14617_ipmp/usr/src/test/os-tests/tests/cores/libdumper /build/af/bloody/rti/ig_14617_ipmp/usr/src/test/os-tests/tests/cores/libdumper/i386 /usr/bin/rm -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/libdumper.so.1; /build/af/bloody/rti/ig_14617_ipmp/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install -s -m 755 -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores libdumper.so.1 install:file_copy: /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/libdumper.so.1 failed (2): No such file or directory *** Error code 1 /build/af/bloody/rti/ig_14617_ipmp/usr/src/test/os-tests/tests/cores/libdumper/amd64 /build/af/bloody/rti/ig_14617_ipmp/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install -s -d -m 755 /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/amd64 /usr/bin/rm -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/amd64/libdumper.so.1; /build/af/bloody/rti/ig_14617_ipmp/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install -s -m 755 -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/amd64 libdumper.so.1 /usr/bin/rm -f /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/amd64/libdumper.so; /usr/bin/ln -s libdumper.so.1 /build/af/bloody/rti/ig_14617_ipmp/proto/root_i386-nd/opt/os-tests/tests/cores/amd64/libdumper.so Current working directory /build/af/bloody/rti/ig_14617_ipmp/usr/src/test/os-tests/tests/cores/libdumper
A second build succeeded.
Looking at this, each subdirectory of usr/src/test/os-tests/tests/cores
is built in parallel and apparently the top-level /opt/os-tests/tests/cores
directory is only created by scripts/
.
Running a make install
within libdumper/i386
or secmapper
causes an error:
build:illumos:master% pwd /data/omnios-build/omniosorg/bloody/illumos/usr/src/test/os-tests/tests/cores/libdumper/i386 build:illumos:master% make install /usr/bin/rm -f /data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores/libdumper.so.1; /data/omnios-build/omniosorg/bloody/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install -s -m 755 -f /data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores libdumper.so.1 install:file_copy: /data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores/libdumper.so.1 failed (2): No such file or directory *** Error code 1 make: Fatal error: Command failed for target `/data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores/libdumper.so.1' Current working directory /data/omnios-build/omniosorg/bloody/illumos/usr/src/test/os-tests/tests/cores/libdumper/i386
build:illumos:master% pwd /data/omnios-build/omniosorg/bloody/illumos/usr/src/test/os-tests/tests/cores/secmapper build:illumos:master% make install /usr/bin/rm -f /data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores/secmapper; /data/omnios-build/omniosorg/bloody/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install -s -m 0555 -f /data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores secmapper install:file_copy: /data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores/secmapper failed (2): No such file or directory *** Error code 1 make: Fatal error: Command failed for target `/data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores/secmapper' Current working directory /data/omnios-build/omniosorg/bloody/illumos/usr/src/test/os-tests/tests/cores/secmapper
and in libdumper/amd64:
build:illumos:master% pwd /data/omnios-build/omniosorg/bloody/illumos/usr/src/test/os-tests/tests/cores/libdumper/amd64 build:illumos:master% make install make: Fatal error: Don't know how to make target `/data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores' Current working directory /data/omnios-build/omniosorg/bloody/illumos/usr/src/test/os-tests/tests/cores/libdumper/amd64
build:illumos:master% ls -l $ROOT/opt/os-tests/tests/ total 0
Running install in scripts/ creates the directory and then everything else succeeds:
build:illumos:master% cd ../scripts /data/omnios-build/omniosorg/bloody/illumos/usr/src/test/os-tests/tests/cores/scripts build:illumos:master% make install /data/omnios-build/omniosorg/bloody/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install -s -d -m 755 /data/omnios-build/omniosorg/bloody/illumos/proto/root_i386-nd/opt/os-tests/tests/cores ...
Updated by Andy Fiddaman 4 months ago
I've tested this with a full build, which is clean, and by changing into each of the directories under usr/src/test/os-tests/tests/cores
(including subdirectories such as libdumper/i386
) and running make install
having first removed the contents of $ROOT/opt/os-tests
each time.
Updated by Electric Monk 4 months ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
git commit 43f863f959a7ec8a6ee3645d33997561ff808c39
commit 43f863f959a7ec8a6ee3645d33997561ff808c39 Author: Andy Fiddaman <omnios@citrus-it.co.uk> Date: 2022-04-25T19:26:32.000Z 14621 Missing dependency in cores tests build Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>