Hello Shlomi,

I commented your e-mail below, please follow.

Em 16-09-2015 05:16, Shlomi Fish escreveu:

http://www.cpantesters.org/cpan/report/b6494902-43a3-11e5-a85a-e28fcaadd3a7


This link is currently down.

The website was having some issues since a couple of days back, it seems to be up and running right now.

I suppose I can try setting up a Solaris x86 (or OpenSolaris or whatever) VBox
VM and testing it there. But I need some help from you:

Sure! Thank you!

What are we supposed to do with this code? It's not self-contained. Can
you provide a self-contained, reproducing, example, on a branch of a
public version control system (which I hope you are using for everybody's sake,
else see http://perl-begin.org/tutorials/bad-elements/ ), with instructions on
what exactly should we run? Otherwise, your instructions will remain unclear.

This distribution is to parse Siebel Server Manager output. More specifically to this error, I implemented in the tests the use of Test::TempDir::Tiny to avoid errors when multiple perls interpreters are testing the distribution at the same time.

The thing is, multiple subclasses of Siebel::Srvrmgr::Daemon instances are not suppose to run at the same time, so the code creates a lock file under the temporary directory created with Test::TempDir::Tiny and the code tries to use flock() to guarantee no other process will try to keep the lock for itself.

I'm not sure what do you means by self contained code (I did reviewed this link you provided) but for testing purposes, you can just download and install the (latest) Siebel::Srvrmgr from CPAN, the tests that failed in the report I provided in the link above will likely fail for you too. The tests we are talking about are:

t/DaemonHeavy.t
t/DaemonLight.t

Both testing subclasses of Siebel::Srvrmgr::Daemon.

I'll try to get a VM with OpenSolaris too, but since I'm not acquainted with it, probably you will be able to do it sooner. There are more errors that seems to be specific to Solaris, but I'm clueless what is happening even to ask something here, so some debugging is in order.

Regards,

Alceu

Reply via email to