Current time: 07-26-2017, 08:43 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I implement the system reload of a tester?
06-06-2017, 06:52 PM
Post: #1
How can I implement the system reload of a tester?
Someone can advise me ....
I use several tester machine, all are physical desktop with SO = windows 10;
After several days of continuous operation here is a deterioration in the tests results which is resolved by restarting (manually from remote desktop) the machine.

I would like to know if is possible to use wptdriver to reboot remotely the tester

I tried using net rpc command but on some testers it does not work (even though my testers are identical to each other)

The need to reboot remotely comes from the fact that I must first stop the execution of the tests to avoid improper results and to reboot with a known period

Thanks in advance
Find all posts by this user
Quote this message in a reply
06-13-2017, 02:41 AM
Post: #2
RE: How can I implement the system reload of a tester?
If your tests are strictly scheduled (not manual runs) you may want to designate a maintenance window where tests will not be scheduled to run. Then on each node you could script a check against the getLocations.php page which will give you the number of queued tests. It no tests are queued, restart.
Find all posts by this user
Quote this message in a reply
06-14-2017, 12:53 AM
Post: #3
RE: How can I implement the system reload of a tester?
There is server-side support for sending a reboot command but it is currently disabled: https://github.com/WPO-Foundation/webpag...rk.php#L48

If you drop a <testername>.reboot file in the location work directory on the server it will send a reboot command down to the agent when it next polls for work and wptdriver will reboot the machine. There isn't anything in there that schedules it automatically though.

Presumably if you wanted to get fancier, we could add a plugin support to getWork.php so you can have custom server code that decides when to send reboot commands to the agents.

More fundamentally, it would be good to understand why you are seeing a deterioration in the performance and see if we can solve that instead. Once an agent gets into a slower state it would be good to look at resmon to see if there are any processes using a lot of cpu, memory or disk.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-28-2017, 05:06 PM
Post: #4
RE: How can I implement the system reload of a tester?
Many thanks for the information,
This mode of reboot implementation is really precious, as it does not interrupt the measurement being run.
I have not yet understood why windows has a drop in performance over the days ... if I find it I'll let you know ....
I attach a chart that explains what has happened
Now I have implemented the new reboot and deleted the windows task scheduling.

on webpagetest private instances 3.0 The reboot feature with the <testername> .reboot file is not disabled and works without modifying getwork.php

[Image: reboot.jpg]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)