perfsonar / owamp

A tool for performing one-way or two-way active measurements
Apache License 2.0
70 stars 30 forks source link

Tests fail in containers #87

Closed mfeit-internet2 closed 5 months ago

mfeit-internet2 commented 1 year ago

When building the RPM in a Docker container, the %check scriptlet does make check. This fails because the OWAMP and TWAMP servers don't start.

The cause is elusive, so for now that's been disabled if the RPM spec thinks it's running in a Docker container. Details are in the accompanying commit.

Note that Debian doesn't do this step, so it has no problems. :-)

mfeit-internet2 commented 5 months ago

The problem was caused when building in a directory shared through VirtualBox's vboxsf file system, which doesn't allow the creation of sockets.

Used the directory provided in P_tmpdir if present or punted and used /tmp if not.