[Swan-dev] test suite needs some NSS something

D. Hugh Redelmeier hugh at mimosa.com
Tue Jun 7 05:57:38 EEST 2022


I just ran the test suite for the first time in a few months.  Just to be 
safe, I started with "make kvm-demolish".

At the end of the (apparently complete) run, I got this new message:

	make[1]: Entering directory '/home/build/libreswan'
	Package nss was not found in the pkg-config search path.
	Perhaps you should add the directory containing `nss.pc'
	to the PKG_CONFIG_PATH environment variable
	Package 'nss', required by 'virtual:world', not found
	testing/web/json-tests.sh . ./RESULTS/tests ./RESULTS/v4.7-79-gdc4bc306d7-main
	v4.7-79-gdc4bc306d7-main dc4bc306d763a7ac0f4b80d448775ce1811ac645
	joining
	make[1]: Leaving directory '/home/build/libreswan'

That would seem to be somewhat fatal.

How come it came so late?  Testing had run for 8 hours and had run lots of tests:

kvmrunner 8:00:31.04:   stats/bad/ignored/status!=good: 1
kvmrunner 8:00:31.04:   stats/freebsd/ignored/status!=good: 10
kvmrunner 8:00:31.04:   stats/netbsd/ignored/status!=good: 17
kvmrunner 8:00:31.04:   stats/openbsd/ignored/status!=good: 3
kvmrunner 8:00:31.04:   stats/skiptest/ignored/status!=good: 10
kvmrunner 8:00:31.04:   stats/wip/ignored/status!=good: 111
kvmrunner 8:00:31.04:   tests/bad/results/untested: 1
kvmrunner 8:00:31.04:   tests/freebsd/results/untested: 10
kvmrunner 8:00:31.04:   tests/good/errors/output-different: 6
kvmrunner 8:00:31.04:   tests/good/results/failed: 6
kvmrunner 8:00:31.04:   tests/good/results/passed: 877
kvmrunner 8:00:31.04:   tests/netbsd/results/untested: 17
kvmrunner 8:00:31.04:   tests/openbsd/results/untested: 3
kvmrunner 8:00:31.04:   tests/skiptest/results/untested: 10
kvmrunner 8:00:31.04:   tests/wip/results/untested: 111
kvmrunner 8:00:31.04:   total: 1035
kvmrunner 8:00:31.04:   total/failed: 6
kvmrunner 8:00:31.04:   total/ignored: 152
kvmrunner 8:00:31.04:   total/passed: 877

What is the problem and what is the fix?

Is this a problem on the host or on a virtual machine?

/home/build/libreswan is a directory on the host, perhaps it is also a
directory on the virtual machines.

Why would nss be needed on the host (Fedora 36)?
nss-3.79.0-1.fc36.x86_64 is installed on the host (but not
nss-devel).

If something is needed on a virtual machine, surely our tooling should
palce it there.


More information about the Swan-dev mailing list