Project

General

Profile

Actions

Bug #14177

closed

test suite pkg manifests need DTrace dependencies

Added by Robert Mustacchi 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
packaging
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The util-tests use the DTrace command line utility. Recently I had a fresh system where I installed the utiltest package; however, the sleep tests failed with this:

rm@iliad:~$ /opt/util-tests/tests/sleep/sleeptest
dtrace: failed to initialize dtrace: DTrace device not available on system
TEST FAILED: sleeptest: sleep 1: 1 secs 0 ns
dtrace: failed to initialize dtrace: DTrace device not available on system
TEST FAILED: sleeptest: sleep 23: 23 secs 0 ns
dtrace: failed to initialize dtrace: DTrace device not available on system
TEST FAILED: sleeptest: sleep 0xff: 0xff secs 0 ns
dtrace: failed to initialize dtrace: DTrace device not available on system
TEST FAILED: sleeptest: sleep 123456789: 123456789 secs 0 ns
...

While developer/dtrace was installed system/kernel/dtrace/providers was not. Since none of these are libraries, the default pkgdepend stuff does not pick it up. The solution is to make sure we actually declare that we need DTrace here in the manifests. The same is true of the os-tests and libc-tests.

Actions

Also available in: Atom PDF