Current time: 10-18-2018, 09:13 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[EC2 AMI] Firefox is broken on Windows (wptagent) EC2 AMI
04-13-2018, 08:33 AM (This post was last modified: 05-08-2018 08:53 AM by thedoc31.)
Post: #1
Bug [EC2 AMI] Firefox is broken on Windows (wptagent) EC2 AMI
I've set up a WPT Private Instance which uses the Windows (wptagent) AMI to run tests. Chrome works fine, but if I try to launch a test with Firefox, I get a result of:

The testing completed but failed.
Invalid browser - Firefox
First View: Test Error: Invalid browser - Firefox

This occurs in all regions I have tested - us-west-2, eu-west-1, and ap-northeast-1.

If I remote desktop to the Agent, Firefox is installed and otherwise functional.
Find all posts by this user
Quote this message in a reply
05-08-2018, 08:38 AM (This post was last modified: 05-08-2018 08:41 AM by thedoc31.)
Post: #2
RE: [EC2 AMI] Firefox is broken on Windows (wptagent) EC2 AMI
I've done more testing. It appears this is occurring because the browser_install.py file is downloading and installing the 64-bit Firefox, but something is wrong with the browser auto-detection in wptagent.py. This is evidenced by the logging, which only shows detection of Chrome, ie, and Edge.

If I manually install the 32-bit version of Firefox on the wptagent AMI, then Firefox works fine.

From the log file:
22:40:24.502 - Detected Browsers:
22:40:24.502 - Chrome: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
22:40:24.502 - Edge: C:\WebPageTest\wptagent\internal\support\edge\14\MicrosoftWebDriver.exe
22:40:24.502 - ie: C:\Program Files (x86)\Internet Explorer\iexplore.exe
22:40:24.516 - Microsoft Edge: C:\WebPageTest\wptagent\internal\support\edge\14\MicrosoftWebDriver.exe
Find all posts by this user
Quote this message in a reply
06-21-2018, 05:43 AM
Post: #3
RE: [EC2 AMI] Firefox is broken on Windows (wptagent) EC2 AMI
Patrick fixed this with

https://github.com/WPO-Foundation/wptage...b0910e9dbb

Firefox now loads properly on the WPTAgent AMI.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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