Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stderr connection error ( python3.6), but no failures on UI #625

Closed
neelay opened this issue Jul 21, 2017 · 5 comments
Closed

Stderr connection error ( python3.6), but no failures on UI #625

neelay opened this issue Jul 21, 2017 · 5 comments

Comments

@neelay
Copy link

neelay commented Jul 21, 2017

I start with 5000 users to simulate at a hatch rate of 500, but the test only goes to 4200.
Result in UI shows no failures, but stderr shows the following failures.
Can any help on how to fix the failures.

locustio==0.8a1
screen shot 2017-07-21 at 4 17 16 pm
requests==2.12.4

[2017-07-21 16:17:47,559] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,559] myMachine/ERROR/stderr: File "/ ENV3/lib/python3.6/site-packages/locust/runners.py", line 115, in start_locust
    locust().run()
[2017-07-21 16:17:47,559] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,559] myMachine/ERROR/stderr: File "/ENV3/lib/python3.6/site-packages/locust/core.py", line 104, in run
    self.task_set(self).run()
[2017-07-21 16:17:47,559] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: File "/ ENV3/lib/python3.6/site-packages/locust/core.py", line 252, in run
    self.on_start()
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: File "/ locustTest.py", line 56, in on_start
    self.token = loginUser()
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: File "/ helper.py", line 18, in loginUser
    'Accept':'application/json'
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: File "/ ENV3/lib/python3.6/site-packages/requests/api.py", line 110, in post
    return request('post', url, data=data, json=json, **kwargs)
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: File "/ ENV3/lib/python3.6/site-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: File "/ ENV3/lib/python3.6/site-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: File "/ ENV3/lib/python3.6/site-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: File "/ ENV3/lib/python3.6/site-packages/requests/adapters.py", line 473, in send
    raise ConnectionError(err, request=request)
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: 
[2017-07-21 16:17:47,560] myMachine/ERROR/stderr: <Greenlet at 0x1208a9800: start_locust(<class 'locustTest.WebsiteUser'>)> failed with ConnectionError```
@aldenpeterson-wf
Copy link
Contributor

You probably are hitting an exception, rather than a failure. Check that tab.

@neelay
Copy link
Author

neelay commented Jul 25, 2017

exceptions tab is empty. these errors were only seen on terminal.

@aldenpeterson-wf
Copy link
Contributor

Is there a way to consistently reproduce this?

@mbeacom
Copy link
Member

mbeacom commented Nov 15, 2017

@neelay Any update on this? Can you outline methods to reproduce this error?

@cgoldberg
Copy link
Member

closing since there are no updates on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants