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

simplejson.errors.JSONDecodeError in ara_record #81

Open
dmsimard opened this issue Oct 24, 2019 · 0 comments
Open

simplejson.errors.JSONDecodeError in ara_record #81

dmsimard opened this issue Oct 24, 2019 · 0 comments
Labels
bug plugins Related to the Ansible plugins

Comments

@dmsimard
Copy link
Contributor

What component is this about ?

ara_record

What is happening ?

When running integration tests:

2019-10-23 22:43:15,977 DEBUG ara.clients.http: HTTP 200: get on /api/v1/plays?uuid=5c5f67b9-e63c-bdfa-cdfb-000000000048
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
fatal: [test-1-02]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
2019-10-23 22:43:15,999 DEBUG ara.plugins.callback.default: Getting or creating host: test-1-02
2019-10-23 22:43:16,009 DEBUG urllib3.connectionpool: http://localhost:50163 "GET /api/v1/plays?uuid=5c5f67b9-e63c-bdfa-cdfb-000000000048 HTTP/1.1" 200 281
2019-10-23 22:43:16,010 DEBUG ara.clients.http: HTTP 200: get on /api/v1/plays?uuid=5c5f67b9-e63c-bdfa-cdfb-000000000048
[WARNING]: Failure using method (v2_runner_on_failed) in callback plugin (<ansible.plugins.callback./home/dmsimard/dev/virtualenvs/ansible/lib/python3.7/site-
packages/ara/plugins/callback/ara_default.CallbackModule object at 0x7f70d9df2e10>): ('Connection aborted.', BadStatusLine('Date: Thu, 24 Oct 2019 02:43:16 GMT\r\n'))
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('{"count":1,"next":null,"previous":null,"results":[{"id":1,"duration":"0.015488","items":{"tasks":5,"results":256},"playbook":1,"started":"2019-10-23T22:42:54.336790-04:00","ended":null,"name":"ARA Tasks test play","uuid":"5c5f67b9-e63c-bdfa-cdfb-000000000048","status":"running"}]}HTTP/1.1 200 OK\r\n'))
fatal: [test-1-01]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
2019-10-23 22:43:16,064 DEBUG ara.plugins.callback.default: Getting or creating host: test-1-01
2019-10-23 22:43:16,065 DEBUG urllib3.connectionpool: Starting new HTTP connection (2): localhost:50163
2019-10-23 22:43:16,139 DEBUG urllib3.connectionpool: http://localhost:50163 "POST /api/v1/results HTTP/1.1" 201 383
2019-10-23 22:43:16,140 DEBUG ara.clients.http: HTTP 201: post on /api/v1/results
2019-10-23 22:43:16,189 DEBUG urllib3.connectionpool: http://localhost:50163 "GET /api/v1/plays?uuid=5c5f67b9-e63c-bdfa-cdfb-000000000048 HTTP/1.1" 200 281
2019-10-23 22:43:16,190 DEBUG ara.clients.http: HTTP 200: get on /api/v1/plays?uuid=5c5f67b9-e63c-bdfa-cdfb-000000000048
2019-10-23 22:43:16,198 DEBUG urllib3.connectionpool: http://localhost:50163 "GET /api/v1/records?playbook=1&key=notype HTTP/1.1" 200 281
2019-10-23 22:43:16,199 DEBUG ara.clients.http: HTTP 200: get on /api/v1/records?playbook=1&key=notype
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('Date: Thu, 24 Oct 2019 02:43:16 GMT\r\n'))
fatal: [test-1-05]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
2019-10-23 22:43:16,213 DEBUG ara.plugins.callback.default: Getting or creating host: test-1-05
2019-10-23 22:43:16,223 DEBUG urllib3.connectionpool: http://localhost:50163 "GET /api/v1/records/1 HTTP/1.1" 200 52
2019-10-23 22:43:16,223 DEBUG ara.clients.http: HTTP 200: get on /api/v1/records/1
Not Found: /api/v1/records/1
2019-10-23 22:43:16,226 WARNING django.request: Not Found: /api/v1/records/1
@dmsimard dmsimard added bug plugins Related to the Ansible plugins labels Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug plugins Related to the Ansible plugins
Projects
None yet
Development

No branches or pull requests

1 participant