← Back to team overview

sikuli-driver team mailing list archive

[Question #235193]: Script hangs after extended test runs

 

New question #235193 on Sikuli:
https://answers.launchpad.net/sikuli/+question/235193

Im running a script to exercise a GUI over an extended period of time, and so far I've had 6 test runs and have seen 4 of them hang at the same place in the GUI sequence.

Summary of test runs: 
Became hung 7 hours into a 24 hour run
Became hung 40 hours into a 48 hour run
Successfully completed a 72 hour run 
Became hung 9 hours into a 96 hour run
Successfully completed a 48 hour run
Became hung 84 hours into a 96 hour run

The test consists of a series of nested loops which use a list of x,y locations to click on specified points, then at the end, searches for the Apply button to click, as follows:

loop for range1
    Click(this range1 Location)

    loop for range2
        Click(this range2 Location)

        loop for range3
            This goes round a circle clicking on two points for the start and end
            Click(start Location)
            Click(end Location)

            Click(ApplyButton.png)

        end range3
    
        Click(this range2 Location) again

    end range 2

end range1

It always hangs with the mouse pointer on the Apply button.

The test is started as a command line script using sikuli-script with debug enabled, and machine parameters logged to record cpu, memory, and disk usage, all of which appear normal. Looking in the debug output gives nothing unusual.

Im running it on RedHat Linux 6.4 64bit using Sikuli version 1.0.0.

Havn't been able to try it on version 1.0.1 yet due to problems getting the dropbox hosted files through a firewall. 

In advance of trying 1.0.1, have there been any mods which would address such a random hang?

Thanks



-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.