"make test" not working?

Josef Moellers jmoellers at suse.de
Mon Jan 31 16:15:20 UTC 2022


On 31.01.22 16:57, Ondřej Surý wrote:
> Hi,
> 
>> On 31. 1. 2022, at 15:42, Josef Moellers <jmoellers at suse.de> wrote:
>>
>> Hi,
>>
>> Me again ...
>> I have installed the files required to build the packages on an openSUSE Tumbleweed machine. I have also added
>>         --enable-developer --disable-warn-error
>> to the configure options.
> 
> Why? Are you a developer? It’s wrong to have this option enabled for production builds.

Well, yes, I am a developer. Not specifically for "bind" (or else I'd be 
more widely known), but, in general, yes! I have been sind 1981 and will 
be for a few more months.

I need to package bind, but before doing so I usually run the tests on a 
couple of VMs to see if no obvious problems exist.

So, yes: on production builds these options are not enabled, but on the 
test VMs I must enable them or the tests will not run.

>> Yet "make test" fails in that it does not do anything.
>> "make check" does run some tests, but finishes in ca. 3 minutes rather than the 40 minutes "make test" usually takes.
>>
>> The documentation still mentions "make test", so ... what am I missing?
>> NB I did run
>> 	bin/tests/system/ifconfig.sh up
> 
> Nobody can really help you if you don’t provide what’s wrong.  Perhaps you can start
> by trying understanding what you are doing and why it is failing?

As I wrote:
1) I transfer the source archive, the SPEC file (for openSUSE), the 
patches and whatever else is needed to a VM (into 
/usr/src/packages/SOURCES).
2) I modify the SPEC file and add the two options mentioned above
3) I run "rpmbuild -bb /usr/src/packages/SOURCES/bind.spec"
4) I change to /usr/src/packages/BUILD/bind-1.18.0
5) I run "bin/tests/system/ifconfig.sh up"
6) I run "make test"

With 9.16.x, this works and "make test" takes ~40 minutes and gives me 
good confidence that everything is OK.

With 9.18.0, all I get is
# make test
Making test in .
make[1]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0'
make[1]: Nothing to be done for 'test-am'.
make[1]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0'
Making test in lib
make[1]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib'
Making test in isc
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isc'
Making test in tests
make[3]: Entering directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/isc/tests'
make[3]: Nothing to be done for 'test'.
make[3]: Leaving directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/isc/tests'
make[3]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isc'
make[3]: Nothing to be done for 'test-am'.
make[3]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isc'
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isc'
Making test in dns
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/dns'
Making test in tests
make[3]: Entering directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/dns/tests'
make[3]: Nothing to be done for 'test'.
make[3]: Leaving directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/dns/tests'
make[3]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/dns'
make[3]: Nothing to be done for 'test-am'.
make[3]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/dns'
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/dns'
Making test in isccc
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isccc'
make[2]: Nothing to be done for 'test'.
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isccc'
Making test in ns
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/ns'
Making test in tests
make[3]: Entering directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/ns/tests'
make[3]: Nothing to be done for 'test'.
make[3]: Leaving directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/ns/tests'
make[3]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/ns'
make[3]: Nothing to be done for 'test-am'.
make[3]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/ns'
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/ns'
Making test in isccfg
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isccfg'
Making test in tests
make[3]: Entering directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/isccfg/tests'
make[3]: Nothing to be done for 'test'.
make[3]: Leaving directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/isccfg/tests'
make[3]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isccfg'
make[3]: Nothing to be done for 'test-am'.
make[3]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isccfg'
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/isccfg'
Making test in bind9
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/bind9'
make[2]: Nothing to be done for 'test'.
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/bind9'
Making test in irs
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/irs'
Making test in tests
make[3]: Entering directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/irs/tests'
make[3]: Nothing to be done for 'test'.
make[3]: Leaving directory 
'/usr/src/packages/BUILD/bind-9.18.0/lib/irs/tests'
make[3]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib/irs'
make[3]: Nothing to be done for 'test-am'.
make[3]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/irs'
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib/irs'
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/lib'
make[2]: Nothing to be done for 'test-am'.
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib'
make[1]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/lib'
Making test in doc
make[1]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/doc'
Making test in .
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/doc'
make[2]: Nothing to be done for 'test-am'.
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/doc'
Making test in misc
make[2]: Entering directory '/usr/src/packages/BUILD/bind-9.18.0/doc/misc'
make[2]: *** No rule to make target 'test'.  Stop.
make[2]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/doc/misc'
make[1]: *** [Makefile:442: test-recursive] Error 1
make[1]: Leaving directory '/usr/src/packages/BUILD/bind-9.18.0/doc'
make: *** [Makefile:615: test-recursive] Error 1
-end of output-

> Both ‘make test’ and ‘make check’ works as expected.

So ... what did I do wrong?

Josef
-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5
90409 Nürnberg
Germany

(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev


More information about the bind-users mailing list