{"action":"created","issue":{"url":"https://api.github.com/repos/openblockchain/obc-peer/issues/722","repository_url":"https://api.github.com/repos/openblockchain/obc-peer","labels_url":"https://api.github.com/repos/openblockchain/obc-peer/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/openblockchain/obc-peer/issues/722/comments","events_url":"https://api.github.com/repos/openblockchain/obc-peer/issues/722/events","html_url":"https://github.com/openblockchain/obc-peer/issues/722","id":135817612,"number":722,"title":"Assertion failed - behave tests are failing outside of vagrant environment (through Travis ci)","user":{"login":"rameshthoomu","id":17034502,"avatar_url":"https://avatars.githubusercontent.com/u/17034502?v=3","gravatar_id":"","url":"https://api.github.com/users/rameshthoomu","html_url":"https://github.com/rameshthoomu","followers_url":"https://api.github.com/users/rameshthoomu/followers","following_url":"https://api.github.com/users/rameshthoomu/following{/other_user}","gists_url":"https://api.github.com/users/rameshthoomu/gists{/gist_id}","starred_url":"https://api.github.com/users/rameshthoomu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rameshthoomu/subscriptions","organizations_url":"https://api.github.com/users/rameshthoomu/orgs","repos_url":"https://api.github.com/users/rameshthoomu/repos","events_url":"https://api.github.com/users/rameshthoomu/events{/privacy}","received_events_url":"https://api.github.com/users/rameshthoomu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openblockchain/obc-peer/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/openblockchain/obc-peer/labels/sev2","name":"sev2","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"muralisrini","id":14361488,"avatar_url":"https://avatars.githubusercontent.com/u/14361488?v=3","gravatar_id":"","url":"https://api.github.com/users/muralisrini","html_url":"https://github.com/muralisrini","followers_url":"https://api.github.com/users/muralisrini/followers","following_url":"https://api.github.com/users/muralisrini/following{/other_user}","gists_url":"https://api.github.com/users/muralisrini/gists{/gist_id}","starred_url":"https://api.github.com/users/muralisrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muralisrini/subscriptions","organizations_url":"https://api.github.com/users/muralisrini/orgs","repos_url":"https://api.github.com/users/muralisrini/repos","events_url":"https://api.github.com/users/muralisrini/events{/privacy}","received_events_url":"https://api.github.com/users/muralisrini/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-02-23T18:12:22Z","updated_at":"2016-03-01T19:28:12Z","closed_at":"2016-03-01T19:28:11Z","body":"Issue: Observed an **Assertion failed** message in the behave test logs while running the Behave test scripts outside of the vagrant environment (Using TRAVIS CI).\r\n\r\nThe output of the \"**ip addr show**\" and \"**ps -ef | grep docker**\" of Travis CI environment is mentioned below:\r\n\r\n**ip addr show** for **docker0** inteface\r\ndocker0: <BROADCAST,MULTICAST,UP> mtu 1460 qdisc noqueue state UP group default \r\nlink/ether 02:42:3a:a4:d6:cd brd ff:ff:ff:ff:ff:ff\r\ninet 172.17.42.1/16 scope global docker0\r\nvalid_lft forever preferred_lft forever\r\n\r\n**ps -ef | grep docker**\r\nroot      3307     1  5 17:00 ?        00:00:46 /usr/bin/docker daemon -H tcp://127.0.0.1:**2375**-H unix:///var/run/docker.sock\r\ntravis   12597  2247  0 17:13 pts/0    00:00:00 grep docker\r\n\r\nBelow is the Error message displaying in the Behave test log:\r\n\r\n**Assertion Failed: Failed to POST to http://172.17.0.13:5000**/devops/query:  {\"Error\": \"Error:Failed to launch chaincode spec(Error starting container: Post http://172.17.0.1:4243/containers/dev-vp0-bb540edfc1ee2ac0f5e2ec6000677f4cd1c6728046d5e32dede7fea11a42f86a6943b76a8f9154f4792032551ed320871ff7b7076047e4184292e01e3421889c/start: dial tcp 172.17.0.1:4243: getsockopt: no route to host)\"}\r\n\r\nI have changed the OPENCHAIN_VM_ENDPOINT to \"http://172.17.42.1:2375\" in compose-defaults.yml and ran the tests but still getting the above error message.\r\n\r\nAttached error log file:\r\n[Assertion Failed_BehaveTests.txt](https://github.com/openblockchain/obc-peer/files/143127/Assertion.Failed_BehaveTests.txt)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openblockchain/obc-peer/issues/comments/190864152","html_url":"https://github.com/openblockchain/obc-peer/issues/722#issuecomment-190864152","issue_url":"https://api.github.com/repos/openblockchain/obc-peer/issues/722","id":190864152,"user":{"login":"tuand27613","id":11295979,"avatar_url":"https://avatars.githubusercontent.com/u/11295979?v=3","gravatar_id":"","url":"https://api.github.com/users/tuand27613","html_url":"https://github.com/tuand27613","followers_url":"https://api.github.com/users/tuand27613/followers","following_url":"https://api.github.com/users/tuand27613/following{/other_user}","gists_url":"https://api.github.com/users/tuand27613/gists{/gist_id}","starred_url":"https://api.github.com/users/tuand27613/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuand27613/subscriptions","organizations_url":"https://api.github.com/users/tuand27613/orgs","repos_url":"https://api.github.com/users/tuand27613/repos","events_url":"https://api.github.com/users/tuand27613/events{/privacy}","received_events_url":"https://api.github.com/users/tuand27613/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T19:28:11Z","updated_at":"2016-03-01T19:28:11Z","body":"close #722"}}