HI team ,
our wpt server are running on K8-docker where are using official wpt server docker image
our wpt agent machine we have built from scratch by following installation step
(non docker structure)
OS : amazon linux 2 (centos)
agent : 200604.150630
when we are running wptagent with dockerized command its wrking
sudo python ~/wptagent/wptagent.py --server --location --key --xvfb -vvvvv
but when we are running without dockerized attribute its not working
sudo python ~/wptagent/wptagent.py --server --location --key --xvfb --dockerized -vvvvv
getting errors as
22:43:22.957 - Connect to dev tools Error: HTTPConnectionPool(host=‘localhost’, port=9222): Max retries exceeded with url: /json (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x7fc76c697ad0>: Failed to establish a new connection: [Errno 111] Connection refused’,))
we have tried
- increasing CONNECT_TIME_LIMIT to 60-300 seconds (refernce : WebPageTest Forums)
but no success
one more thing even its is getting passed with dockerized attribute results data is bit skewed pls refer image wptissue.png.
[hr]
adding error logs
00:30:51.261 - Connect to dev tools Error: HTTPConnectionPool(host=‘localhost’, port=9222): Max retries exceeded with url: /json (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x7f1fedd99750>: Failed to establish a new connection: [Errno 111] Connection refused’,))
00:30:51.762 - Error connecting to dev tools interface
00:30:51.762 - Stopping browser
00:30:51.762 - Closing browser
00:30:51.762 - Terminating all instances of chrome
chrome: no process found
00:30:52.161 - Error backfilling bodies
Traceback (most recent call last):
File “/home/ec2-user/wptagent/internal/webpagetest.py”, line 966, in get_bodies
with gzip.open(devtools_file, GZIP_READ_TEXT) as f_in:
File “/usr/lib64/python2.7/gzip.py”, line 34, in open
return GzipFile(filename, mode, compresslevel)
File “/usr/lib64/python2.7/gzip.py”, line 94, in init
fileobj = self.myfileobj = builtin.open(filename, mode or ‘rb’)
IOError: [Errno 2] No such file or directory: ‘/home/ec2-user/wptagent/work/ip-.ec2.internal/200612_SX_ddc7ee39089a242dd30ae562184d1ab5.1.0/1_devtools_requests.json.gz’