You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently we come across wpt windows agent issue where the agent was not connecting to master. To debug the issue, took RDP of windows agent and tried to run the setup script and found that internal/webpagetest.py file failed to recognise the platform and trying to run Linux routing commands.
Recently we come across wpt windows agent issue where the agent was not connecting to master. To debug the issue, took RDP of windows agent and tried to run the setup script and found that internal/webpagetest.py file failed to recognise the platform and trying to run Linux routing commands.
This issue is observed after this commit.
Got the below exception while executing wptagent.py file.
11:29:10.470 - powershell.exe C:\WebPageTest\wptagent\internal\support\ec2\win_routes.ps1
11:29:16.017 - Starting new HTTP connection (1): 169.254.169.254:80
11:29:16.033 - http://169.254.169.254:80 "GET /latest/user-data HTTP/1.1" 200 99
11:29:16.033 - User Data: wpt_server=10.248.220.72 wpt_loc=us-east-1,us-east-1_IE11 wpt_key=8sctMkh7LRGPaM7REeDOUWsXVwPnSH48
11:29:16.033 - Setting config option "wpt_server" to "10.248.220.72"
11:29:16.033 - Setting config option "wpt_loc" to "us-east-1,us-east-1_IE11"
11:29:16.033 - Setting config option "wpt_key" to "8sctMkh7LRGPaM7REeDOUWsXVwPnSH48"
11:29:16.033 - http://169.254.169.254:80 "GET /latest/meta-data/instance-id HTTP/1.1" 200 19
11:29:16.033 - http://169.254.169.254:80 "GET /latest/meta-data/placement/availability-zone HTTP/1.1" 200 10
11:29:16.033 - Starting new HTTP connection (1): 169.254.169.254:80
11:29:16.033 - http://169.254.169.254:80 "GET /latest/meta-data/identity-credentials/ec2/security-credentials/ec2-instance HTTP/1.1" 200 1330
Traceback (most recent call last):
File "C:\WebPageTest\wptagent\wptagent.py", line 1146, in
main()
File "C:\WebPageTest\wptagent\wptagent.py", line 1136, in main
agent = WPTAgent(options, browsers)
File "C:\WebPageTest\wptagent\wptagent.py", line 46, in init
self.wpt = WebPageTest(options, os.path.join(self.root_path, "work"))
File "C:\WebPageTest\wptagent\internal\webpagetest.py", line 168, in init
self.block_metadata()
File "C:\WebPageTest\wptagent\internal\webpagetest.py", line 367, in block_metadata
subprocess.call(['sudo', 'route', 'add', '169.254.169.254', 'gw', '127.0.0.1', 'lo'])
File "C:\Python27\lib\subprocess.py", line 168, in call
return Popen(*popenargs, **kwargs).wait()
File "C:\Python27\lib\subprocess.py", line 390, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 640, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
The text was updated successfully, but these errors were encountered: