Use of 'travis_wait' with 'puppet', any special tricks need?


#1

Hi,
I have inherited a system which uses a (sudo) ‘puppet’ invocation in the ‘before_install’ phase, which take 9-12 minutes to execute. This use of puppet naturally often times-out after 10 minutes. To prevent this timeout I have added ‘travis_wait 15’, but this has not fixed the problem.

The “Raw log” shows that after a “Still running (10 of 15)” message I still get a timeout.

Any special tricks need, to get this to work?

I have done some tests of “travis_wait” with various test scripts contains sleeps, waits, sudos and forked sub-processed, and I haven’t found a test case which reproduces this behavior.

Stuart