{"action":"created","issue":{"url":"https://api.github.com/repos/vfarcic/go-demo/issues/8","repository_url":"https://api.github.com/repos/vfarcic/go-demo","labels_url":"https://api.github.com/repos/vfarcic/go-demo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/vfarcic/go-demo/issues/8/comments","events_url":"https://api.github.com/repos/vfarcic/go-demo/issues/8/events","html_url":"https://github.com/vfarcic/go-demo/issues/8","id":225416732,"number":8,"title":"failed Test_Hello_ReturnsStatus200","user":{"login":"ReDeiPirati","id":5721767,"avatar_url":"https://avatars0.githubusercontent.com/u/5721767?v=3","gravatar_id":"","url":"https://api.github.com/users/ReDeiPirati","html_url":"https://github.com/ReDeiPirati","followers_url":"https://api.github.com/users/ReDeiPirati/followers","following_url":"https://api.github.com/users/ReDeiPirati/following{/other_user}","gists_url":"https://api.github.com/users/ReDeiPirati/gists{/gist_id}","starred_url":"https://api.github.com/users/ReDeiPirati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReDeiPirati/subscriptions","organizations_url":"https://api.github.com/users/ReDeiPirati/orgs","repos_url":"https://api.github.com/users/ReDeiPirati/repos","events_url":"https://api.github.com/users/ReDeiPirati/events{/privacy}","received_events_url":"https://api.github.com/users/ReDeiPirati/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-05-01T10:33:02Z","updated_at":"2017-05-03T12:04:25Z","closed_at":null,"body":"This error is not isolated at Mac OS X system, but even in Debian Linux.\r\n##### Version\r\n```\r\n[Mac OS X]\r\npirate$ docker --version\r\nDocker version 17.03.1-ce, build c6d412e\r\n\r\npirate$ docker-machine --version\r\ndocker-machine version 0.10.0, build 76ed2a6\r\n\r\npirate$ docker-compose --version\r\ndocker-compose version 1.11.2, build dfed245\r\n\r\npirate$ uname -a\r\nDarwin pirate-MBP 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64\r\n\r\n[Debian Linux]\r\npirate$ docker --version\r\nDocker version 17.03.1-ce, build c6d412e\r\n\r\npirate$ docker-machine --version\r\ndocker-machine version 0.10.0 build 76ead2a6\r\n\r\npirate$ uname -a\r\nLinux debian 3.16.0-4 amd64 #1 SMP Debian 3.16.39+deb8u2 (2017-03-07) x86_64 GNU/Linux\r\n\r\n```\r\n##### Steps to reproduce the issue:\r\n```\r\n[you can try even within a docker-machine node with virtualbox or pwd driver, the result is the same  ]\r\npirate$ docker-compose -f docker-compose-test-local.yml  up -d staging-dep\r\nCreating godemo_db_1\r\nCreating godemo_staging-dep_1\r\n\r\npirate$ docker-compose  -f docker-compose-test-local.yml ps\r\nWARNING: The HOST_IP variable is not set. Defaulting to a blank string.\r\n        Name                  Command          State           Ports          \r\n-----------------------------------------------------------------------------\r\ngodemo_db_1            /entrypoint.sh mongod   Up      27017/tcp              \r\ngodemo_staging-dep_1   go-demo                 Up      0.0.0.0:8080->8080/tcp \r\n\r\npirate$ docker-compose  -f docker-compose-test-local.yml run --rm staging\r\nWARNING: The HOST_IP variable is not set. Defaulting to a blank string.\r\nPulling staging (golang:1.6)...\r\n1.6: Pulling from library/golang\r\n....\r\n=== RUN   TestIntegrationTestSuite\r\n=== RUN   Test_Hello_ReturnsStatus200\r\n--- FAIL: Test_Hello_ReturnsStatus200 (20.00s)\r\n        Error Trace:    integration_test.go:48\r\n\tError:      \tReceived unexpected error:\r\n\t            \tGet http://staging-dep:8080/demo/hello: dial tcp: lookup staging-dep on 10.0.2.3:53: read udp 10.0.2.15:52485->10.0.2.3:53: i/o timeout\r\npanic: runtime error: invalid memory address or nil pointer dereference [recovered]\r\n\tpanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x0 pc=0x486092]\r\n\r\ngoroutine 6 [running]:\r\npanic(0x8ab9e0, 0xc82000e0b0)\r\n\t/usr/local/go/src/runtime/panic.go:481 +0x3e6\r\ntesting.tRunner.func1(0xc82007e120)\r\n\t/usr/local/go/src/testing/testing.go:467 +0x192\r\npanic(0x8ab9e0, 0xc82000e0b0)\r\n\t/usr/local/go/src/runtime/panic.go:443 +0x4e9\r\n_/usr/src/myapp.IntegrationTestSuite.Test_Hello_ReturnsStatus200(0xc8201ee560, 0xc8201ee570, 0xc82007e120, 0xc82000a068, 0x10)\r\n\t/usr/src/myapp/integration_test.go:49 +0x232\r\n_/usr/src/myapp.(*IntegrationTestSuite).Test_Hello_ReturnsStatus200(0xc8200514d0)\r\n\t<autogenerated>:77 +0x98\r\nreflect.Value.call(0x7e5860, 0x93dad8, 0x13, 0x945710, 0x4, 0xc820043f08, 0x1, 0x1, 0x0, 0x0, ...)\r\n\t/usr/local/go/src/reflect/value.go:435 +0x120d\r\nreflect.Value.Call(0x7e5860, 0x93dad8, 0x13, 0xc820043f08, 0x1, 0x1, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/reflect/value.go:303 +0xb1\r\ngithub.com/stretchr/testify/suite.Run.func2(0xc82007e120)\r\n\t/go/src/github.com/stretchr/testify/suite/suite.go:101 +0x3c9\r\ntesting.tRunner(0xc82007e120, 0xc8201f0660)\r\n\t/usr/local/go/src/testing/testing.go:473 +0x98\r\ncreated by testing.RunTests\r\n\t/usr/local/go/src/testing/testing.go:582 +0x892\r\nexit status 2\r\nFAIL\t_/usr/src/myapp\t20.013s\r\n```"},"comment":{"url":"https://api.github.com/repos/vfarcic/go-demo/issues/comments/298891890","html_url":"https://github.com/vfarcic/go-demo/issues/8#issuecomment-298891890","issue_url":"https://api.github.com/repos/vfarcic/go-demo/issues/8","id":298891890,"user":{"login":"ReDeiPirati","id":5721767,"avatar_url":"https://avatars0.githubusercontent.com/u/5721767?v=3","gravatar_id":"","url":"https://api.github.com/users/ReDeiPirati","html_url":"https://github.com/ReDeiPirati","followers_url":"https://api.github.com/users/ReDeiPirati/followers","following_url":"https://api.github.com/users/ReDeiPirati/following{/other_user}","gists_url":"https://api.github.com/users/ReDeiPirati/gists{/gist_id}","starred_url":"https://api.github.com/users/ReDeiPirati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReDeiPirati/subscriptions","organizations_url":"https://api.github.com/users/ReDeiPirati/orgs","repos_url":"https://api.github.com/users/ReDeiPirati/repos","events_url":"https://api.github.com/users/ReDeiPirati/events{/privacy}","received_events_url":"https://api.github.com/users/ReDeiPirati/received_events","type":"User","site_admin":false},"created_at":"2017-05-03T12:04:25Z","updated_at":"2017-05-03T12:04:25Z","body":"Could you post your version of docker, docker-machine and docker-compose? Today i've tried even on vmware-fusion driver for Mac, but i've obtained same problem. What i've is that every time i was using a Linux enviroment then the network is out. But when i use Docker locally with Mac, the network seems fine for some second, then goes down."}}
{"actor":{"display_login":"ReDeiPirati"}}