Current time: 12-17-2017, 05:49 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mac/Linux Support for Agent
06-10-2014, 12:37 PM
Post: #1
Mac/Linux Support for Agent
Hello,

I was trying to install private instance on my mac,
and realize that Windows was the only machine to setup the test agent.
Is this going to support Mac/Linux machine for future?

thanks!
Find all posts by this user
Quote this message in a reply
06-10-2014, 11:47 PM
Post: #2
RE: Mac/Linux Support for Agent
The only thing that supports Mac/Linux right now is the NodeJS agent for controlling a tethered Android phone. Technically it also supports running Desktop Chrome but it doesn't really get any testing.

We don't have any near-term plans to support either Mac or Linux, most of the active development is on Mobile right now (though I've been toying with creating a cross-platfrom Chrome extension that could run as an agent which would support Chrome on all platforms, including Chrome Books but won't be able to do video capture).
Visit this user's website Find all posts by this user
Quote this message in a reply
02-28-2015, 07:49 AM
Post: #3
RE: Mac/Linux Support for Agent
Hi @pmeenan,

Just came across this thread. Were you able to complete the chrome extension that would allow cross-platform testing?

Thanks

(06-10-2014 11:47 PM)pmeenan Wrote:  The only thing that supports Mac/Linux right now is the NodeJS agent for controlling a tethered Android phone. Technically it also supports running Desktop Chrome but it doesn't really get any testing.

We don't have any near-term plans to support either Mac or Linux, most of the active development is on Mobile right now (though I've been toying with creating a cross-platfrom Chrome extension that could run as an agent which would support Chrome on all platforms, including Chrome Books but won't be able to do video capture).
Find all posts by this user
Quote this message in a reply
06-07-2015, 12:12 AM
Post: #4
RE: Mac/Linux Support for Agent
Hi Pat,

Is there any rough documentation anywhere on how to go about setting up nodejs to work on desktop chrome? Im trying to get the agent running here but its trying to run adb commands which are causing a fail.

Any guidance on this would be appreciated if its possible, It would be great to get an agent running on a Linux platform.

Cheers

Sam
Find all posts by this user
Quote this message in a reply
06-23-2015, 10:36 PM
Post: #5
RE: Mac/Linux Support for Agent
Docs for nodejs are of course in /agent/js/README, looks to be working for me so far! Awesome software Smile
Find all posts by this user
Quote this message in a reply
06-25-2015, 12:09 AM
Post: #6
RE: Mac/Linux Support for Agent
FWIW, Linux falls into the rough, uncharted territory where the code worked at one point, may still work but isn't something I use regularly so it may rust.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-20-2016, 10:03 PM
Post: #7
RE: Mac/Linux Support for Agent
Hi, Is there a agent version that support linux desktop chrome?I would appreciate it if anyone help me , thank you in advance!
Find all posts by this user
Quote this message in a reply
03-30-2017, 12:11 AM
Post: #8
RE: Mac/Linux Support for Agent
I see there is a new Test location "Dulles, VA - Linux (Experimental)", with Chrome.

Is it some experimental Linux agent?
Find all posts by this user
Quote this message in a reply
03-30-2017, 01:36 AM
Post: #9
RE: Mac/Linux Support for Agent
Yep. It's Chrome-only but it's in good shape (and as of Friday runs all of the mobile agent testing as well): https://github.com/WPO-Foundation/wptagent
Visit this user's website Find all posts by this user
Quote this message in a reply
03-30-2017, 10:22 PM (This post was last modified: 03-30-2017 10:48 PM by mangoo.)
Post: #10
RE: Mac/Linux Support for Agent
I'm not able to make it work. I mean, the python code works and sends requests, but testing does not proceed.

My locations.ini:
Code:
[locations]
1=Office
default=Office

[Office]
1=WPT_Chrome
label="Test - Original Location Office"

[WPT_Chrome]
browser=Chrome
label="Original Location - Office"


I run python code as follows:

Code:
$ python wptagent/wptagent.py --server http://localhost/work/ --location Office  --xvfb -vvvvv --shaper none
fatal: Not a git repository (or any of the parent directories): .git
Python 2.7.12
12:17:01.701 - Waiting for Idle...
Running agent, hit Ctrl+C to exit
12:17:01.702 - Checking for work: http://localhost/work/getwork.php?f=json&shards=1&location=Office&pc=webpagetest&freedisk=244.905
12:17:01.706 - Starting new HTTP connection (1): localhost
12:17:01.711 - http://localhost:80 "GET /work/getwork.php?f=json&shards=1&location=Office&pc=webpagetest&freedisk=244.905 HTTP/1.1" 200 0
12:17:06.718 - Checking for work: http://localhost/work/getwork.php?f=json&shards=1&location=Office&pc=webpagetest&freedisk=244.905
12:17:06.720 - Resetting dropped connection: localhost
12:17:06.725 - http://localhost:80 "GET /work/getwork.php?f=json&shards=1&location=Office&pc=webpagetest&freedisk=244.905 HTTP/1.1" 200 0
12:17:11.727 - Checking for work: http://localhost/work/getwork.php?f=json&shards=1&location=Office&pc=webpagetest&freedisk=244.905
12:17:11.729 - Resetting dropped connection: localhost
(...)


This one doesn't return any data:

Code:
$ curl -v "http://localhost/work/getwork.php?f=json&shards=1&location=Office&pc=webpagetest&freedisk=244.905"
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 80 (#0)
> GET /work/getwork.php?f=json&shards=1&location=Office&pc=webpagetest&freedisk=244.905 HTTP/1.1
> Host: localhost
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 30 Mar 2017 12:22:10 GMT
< Server: Apache/2.4.18 (Ubuntu)
< Access-Control-Allow-Origin: *
< Set-Cookie: o=2cc9445c61c0a6eea3fcbed67a6cd7e3c7762a5b; expires=Fri, 30-Mar-2018 12:22:10 GMT; Max-Age=31536000; path=/
< Cache-Control: no-cache, must-revalidate
< Expires: Sat, 26 Jul 1997 05:00:00 GMT
< Content-Length: 0
< Content-Type: text/plain;charset=UTF-8
<
* Connection #0 to host localhost left intact


A call to /install/ shows that no agents are connected:

Code:
Test Locations

Office : Test - Original Location Office
WPT_Chrome : Original Location - Office - No Agents Connected

Not sure how to debug this.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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