Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

SmokeRunner::Multi configuration

by szabgab (Priest)
on Nov 29, 2008 at 18:50 UTC ( #726817=perlquestion: print w/replies, xml ) Need Help??

szabgab has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to setup smoke testing for Padre using SmokeRunner::Multi. According to the docs it needs a yaml file as a configuration and some modules as implementation.

Does anyone have an example setup?

Update

Update 1

Here is what I managed to do so far:

Create a file called ~/.smokerunner/smokerunner.conf with the content:

--- root: /home/gabor/smoke/ runner: Prove #reporter: Smolder reporter: Screen set_dir: /home/gabor/smoke/Padre

Then

cd /home/gabor/smoke/ svn co http://svn.perlide.org/padre/trunk Padre cd smokerunner-multi run
It printed the results to the screen. So far so good.

But I would like to make sure when I run it next time (from a cron job) it will fetch the latest from SVN (it seems doing it, but I don't see in any report), run Build clean and then run the normal test cycle.

I also would like to push it out to the public Smolder server:

It was also complaining during some of the test:

sh: uname: not found
As another note the list command complains as well:
gabor@notebook:~$ smokerunner-multi list Test sets in order name | P? | last run -------------------------------------------- Cannot determine local time zone

Update 2

The new configuration I put together looks like this:
--- root: /home/gabor/smoke/ #runner: Prove #reporter: Screen runner: TAPArchive reporter: Smolder set_dir: /home/gabor/smoke/Padre set_name: Junk smolder: server: smolder.plusthree.com username: someone password: something
My plan was to push out the results to the public Smolder server under the name Junk.

Unfortunately I got this error messge:

Cannot find smolder_smoke_signal in path at /home/gabor/perl5lib/lib/S +mokeRunner/Multi/SafeRun.pm line 36
and in order to have smolder_smoke_signal I need to install Smolder.

But I only want a Smolder client!

Update 3

In the meantime I was lucky and found Michael Peters online and within a short time he setup an account for me on smolder.plusthree.com and setup the Padre project. Michael pointed at http://smolder.svn.sourceforge.net/viewvc/smolder/trunk/bin/smolder_smoke_signal?revision=727 to download the smolder_smoke_signal which does not need much.

That already worked but for some reason the archives sent using SmokeRunner::Multi were corrupted. So I went with the suggestion of Michael and ran

prove -a out.tar -b t/ smolder_smoke_signal --server smolder.plusthree.com --file out.tar --p +roject Padre
and the results can be already seen on #8390.

Replies are listed 'Best First'.
Re: SmokeRunner::Multi configuration
by autarch (Hermit) on Dec 03, 2008 at 16:36 UTC

    For #2, you can install smolder_smoke_signal manually, it doesn't need any Smolder modules (at least last I looked), but this is a Smolder problem. It'd be nice if the client was available as a separate distro.

    I'm not sure what the tar problem was. SmokeRunner::Multi just uses Archive::Tar internally.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://726817]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2019-09-19 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (249 votes). Check out past polls.

    Notices?