--- Comment #10 from Paul Colby <redhat(a)colby.id.au> ---
The short version: should I be able to use dbpmda without ever running the pmcd
The long version:
I've added a %check section to the RPM Spec file.
The PMDA++ project provides two different checks - unit tests and functional
tests. When you run "make check" it simply runs both, but you can run
check-unit" and/or "make check-functional" independently.
Now, the unit tests are working fine, but some of the functional tests use the
dbpmda command to validate the sample PMDAs' DSO interfaces.
Now, it seems that the dbpmda command won't succeed unless the pmcd service is
running (or has run at some point... presumably it caches something somwhere).
Otherwise I get an error like:
dbpmda: Cannot load namespace from "/tmp/.../root": Problems parsing PMNS
This error goes away if I start the pmcd service.
It seems inappropriate for an RPM Spec file to require a specific service, such
as pmcd, to be running to build. So, is there something I can change to avoid
the need for dbpmda to have pmcd running? Or is it simply impractical to
include these tests?
Note, this looks the simlar to (if not the same as)
What I'll probably do for now, is separate out the tests that require dbpmda
(really they're more integration than functional tests anyway), and set the
%check section to run all but those tests. But I would like to know if it is
(or should be) possible to include those tests eventually.
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component