{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/17441","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/17441/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/17441/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/17441/events","html_url":"https://github.com/ansible/ansible/issues/17441","id":175525350,"number":17441,"title":"test_eos_command: \"unable to load response from device\"","user":{"login":"gundalow","id":940557,"avatar_url":"https://avatars.githubusercontent.com/u/940557?v=3","gravatar_id":"","url":"https://api.github.com/users/gundalow","html_url":"https://github.com/gundalow","followers_url":"https://api.github.com/users/gundalow/followers","following_url":"https://api.github.com/users/gundalow/following{/other_user}","gists_url":"https://api.github.com/users/gundalow/gists{/gist_id}","starred_url":"https://api.github.com/users/gundalow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gundalow/subscriptions","organizations_url":"https://api.github.com/users/gundalow/orgs","repos_url":"https://api.github.com/users/gundalow/repos","events_url":"https://api.github.com/users/gundalow/events{/privacy}","received_events_url":"https://api.github.com/users/gundalow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.2","name":"affects_2.2","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/ansible/ansible/labels/networking","name":"networking","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"privateip","id":414626,"avatar_url":"https://avatars.githubusercontent.com/u/414626?v=3","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},"assignees":[{"login":"privateip","id":414626,"avatar_url":"https://avatars.githubusercontent.com/u/414626?v=3","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},{"login":"Qalthos","id":649648,"avatar_url":"https://avatars.githubusercontent.com/u/649648?v=3","gravatar_id":"","url":"https://api.github.com/users/Qalthos","html_url":"https://github.com/Qalthos","followers_url":"https://api.github.com/users/Qalthos/followers","following_url":"https://api.github.com/users/Qalthos/following{/other_user}","gists_url":"https://api.github.com/users/Qalthos/gists{/gist_id}","starred_url":"https://api.github.com/users/Qalthos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qalthos/subscriptions","organizations_url":"https://api.github.com/users/Qalthos/orgs","repos_url":"https://api.github.com/users/Qalthos/repos","events_url":"https://api.github.com/users/Qalthos/events{/privacy}","received_events_url":"https://api.github.com/users/Qalthos/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/8","html_url":"https://github.com/ansible/ansible/milestones/2.2.0","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/8/labels","id":1702615,"number":8,"title":"2.2.0","description":"","creator":{"login":"sivel","id":39340,"avatar_url":"https://avatars.githubusercontent.com/u/39340?v=3","gravatar_id":"","url":"https://api.github.com/users/sivel","html_url":"https://github.com/sivel","followers_url":"https://api.github.com/users/sivel/followers","following_url":"https://api.github.com/users/sivel/following{/other_user}","gists_url":"https://api.github.com/users/sivel/gists{/gist_id}","starred_url":"https://api.github.com/users/sivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sivel/subscriptions","organizations_url":"https://api.github.com/users/sivel/orgs","repos_url":"https://api.github.com/users/sivel/repos","events_url":"https://api.github.com/users/sivel/events{/privacy}","received_events_url":"https://api.github.com/users/sivel/received_events","type":"User","site_admin":false},"open_issues":153,"closed_issues":287,"state":"open","created_at":"2016-04-12T23:10:49Z","updated_at":"2016-10-02T19:03:03Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-09-07T14:58:17Z","updated_at":"2016-10-02T19:03:03Z","closed_at":"2016-10-02T19:03:03Z","body":"##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\nmodule_utils/eos.py/m\r\n##### ANSIBLE VERSION\r\n```\r\nansible-playbook --version\r\nansible-playbook 2.2.0 (devel d67af04c45) last updated 2016/09/07 14:24:26 (GMT +100)\r\n  lib/ansible/modules/core: (devel db38f0c876) last updated 2016/09/07 14:49:01 (GMT +100)\r\n  lib/ansible/modules/extras: (devel 8bfdcfcab2) last updated 2016/09/07 14:49:33 (GMT +100)\r\n  config file = /home/johnb/.ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n\r\n```\r\n\r\n##### CONFIGURATION\r\n\r\n##### OS / ENVIRONMENT\r\n##### SUMMARY\r\n\r\nI'm unsure if the error is in `eos_command` or `lib/ansible/module_utils/eos.py`. I'm assuming in `module_utils` so raising in this repo.\r\n\r\n##### STEPS TO REPRODUCE\r\n```\r\nansible-playbook -vvv eos.yaml -i inventory\r\n```\r\n\r\n##### EXPECTED RESULTS\r\nClean run\r\n##### ACTUAL RESULTS\r\n```\r\nTASK [test_eos_command : test contains operator] *******************************\r\ntask path: /home/johnb/git/ansible-inc/test-network-modules/roles/test_eos_command/tests/cli/contains.yaml:4\r\nUsing module file /home/johnb/git/ansible-inc/ansible/lib/ansible/modules/core/network/eos/eos_command.py\r\n<veos01> ESTABLISH LOCAL CONNECTION FOR USER: johnb\r\n<veos01> EXEC /bin/sh -c '( umask 77 && mkdir -p \"` echo $HOME/.ansible/tmp/ansible-tmp-1473256799.51-521237603843 `\" && echo ansible-tmp-1473256799.51-521237603843=\"` echo $HOME/.ansible/tmp/ansible-tmp-1473256799.51-521237603843 `\" ) && sleep 0'\r\n<veos01> PUT /tmp/tmpvwxxeM TO /home/johnb/.ansible/tmp/ansible-tmp-1473256799.51-521237603843/eos_command.py\r\n<veos01> EXEC /bin/sh -c 'chmod u+x /home/johnb/.ansible/tmp/ansible-tmp-1473256799.51-521237603843/ /home/johnb/.ansible/tmp/ansible-tmp-1473256799.51-521237603843/eos_command.py && sleep 0'\r\n<veos01> EXEC /bin/sh -c 'python /home/johnb/.ansible/tmp/ansible-tmp-1473256799.51-521237603843/eos_command.py; rm -rf \"/home/johnb/.ansible/tmp/ansible-tmp-1473256799.51-521237603843/\" > /dev/null 2>&1 && sleep 0'\r\nfatal: [veos01]: FAILED! => {\r\n    \"changed\": false, \r\n    \"failed\": true, \r\n    \"invocation\": {\r\n        \"module_args\": {\r\n            \"auth_pass\": null, \r\n            \"authorize\": true, \r\n            \"commands\": [\r\n                \"show version\", \r\n                \"show interface Management1 | json\"\r\n            ], \r\n            \"host\": \"veos01\", \r\n            \"interval\": 1, \r\n            \"match\": \"all\", \r\n            \"password\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\", \r\n            \"port\": null, \r\n            \"provider\": {\r\n                \"authorize\": true, \r\n                \"host\": \"veos01\", \r\n                \"password\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\", \r\n                \"transport\": \"cli\", \r\n                \"username\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\"\r\n            }, \r\n            \"retries\": 10, \r\n            \"ssh_keyfile\": null, \r\n            \"timeout\": 10, \r\n            \"transport\": \"cli\", \r\n            \"use_ssl\": true, \r\n            \"username\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\", \r\n            \"validate_certs\": true, \r\n            \"wait_for\": [\r\n                \"result[0] contains EOS\", \r\n                \"result[1].interfaces.Management1.name contains Manage\"\r\n            ], \r\n            \"waitfor\": [\r\n                \"result[0] contains EOS\", \r\n                \"result[1].interfaces.Management1.name contains Manage\"\r\n            ]\r\n        }, \r\n        \"module_name\": \"eos_command\"\r\n    }, \r\n    \"msg\": \"unable to load response from device\"\r\n}\r\n\r\n```\r\n"}}
{"actor":{"display_login":"privateip"}}