{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5200","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5200/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5200/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5200/events","html_url":"https://github.com/travis-ci/travis-ci/issues/5200","id":120261829,"number":5200,"title":"Assimilation build fails under [precise-gce]","user":{"login":"Alan-R","id":1258659,"avatar_url":"https://avatars.githubusercontent.com/u/1258659?v=3","gravatar_id":"","url":"https://api.github.com/users/Alan-R","html_url":"https://github.com/Alan-R","followers_url":"https://api.github.com/users/Alan-R/followers","following_url":"https://api.github.com/users/Alan-R/following{/other_user}","gists_url":"https://api.github.com/users/Alan-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Alan-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alan-R/subscriptions","organizations_url":"https://api.github.com/users/Alan-R/orgs","repos_url":"https://api.github.com/users/Alan-R/repos","events_url":"https://api.github.com/users/Alan-R/events{/privacy}","received_events_url":"https://api.github.com/users/Alan-R/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/IPv6","name":"IPv6","color":"006b75"},{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/precise-gce","name":"precise-gce","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-03T20:25:10Z","updated_at":"2015-12-04T03:01:51Z","closed_at":null,"body":"Some of our tests perform loopback testing using ::1. It looks like this fails. We don't need routable ipv6 addresses, but _everything_ we do is ipv6.  It doesn't even make sense to write software that uses ipv4 native addresses any more - and hasn't for a few years. So, when we started this software back in 2010, we simply didn't (even then) see any need to support native ipv4 addresses.\r\n\r\nWe translate all ipv4 addresses to ipv6 - _everywhere_. We don't need \"real\" ipv6 addresses, but we do need ::1, and we need for the kernel to have the ipv6 stack enabled, so that when we mention ::ffff:1.2.3.4 or similar that it will treat it as a legitimate address. Again, we don't need to route anything, but we do need for this to work.\r\n\r\nYou can see how this has hosed up [this build](https://travis-ci.org/assimilation/assimilation-official/builds/94694137)."},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/161858584","html_url":"https://github.com/travis-ci/travis-ci/issues/5200#issuecomment-161858584","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5200","id":161858584,"user":{"login":"Alan-R","id":1258659,"avatar_url":"https://avatars.githubusercontent.com/u/1258659?v=3","gravatar_id":"","url":"https://api.github.com/users/Alan-R","html_url":"https://github.com/Alan-R","followers_url":"https://api.github.com/users/Alan-R/followers","following_url":"https://api.github.com/users/Alan-R/following{/other_user}","gists_url":"https://api.github.com/users/Alan-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Alan-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alan-R/subscriptions","organizations_url":"https://api.github.com/users/Alan-R/orgs","repos_url":"https://api.github.com/users/Alan-R/repos","events_url":"https://api.github.com/users/Alan-R/events{/privacy}","received_events_url":"https://api.github.com/users/Alan-R/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T03:01:51Z","updated_at":"2015-12-04T03:01:51Z","body":"I do all my personal testing under Docker - and have for quite a while.\n\nWhat can I do further?\n\nOn December 3, 2015 6:47:15 PM MST, Brandon Burton <notifications@github.com> wrote:\n>@Alan-R we can understand your frustration and apologize that this\n>caught you off guard.\n>\n>While we agree that IPv6 is definitely part of the future,\n>unfortunately at this point none of the major cloud providers offer any\n>support for IPv6, even on localhost, it's disabled in the Linux images\n>they provide by default.\n>\n>The official Ubuntu Precise image that we're building our images from\n>has this in `/etc/systctl.d/99-gce.conf`:\n>```\n># Requirements from Google. Documented at:\n>#       https://developers.google.com/compute/docs/images#buildingimage\n>\n># Disable IPV6 as unsupported\n>net.ipv6.conf.all.disable_ipv6 = 1\n>```\n>One of our customers noted that using one of our Docker build VMs\n>(based on Trusty), you get `inet6` on `lo` inside a Docker container,\n>as shown below:\n>\n>```\n>brandon@sol-docker-ipv6:~$ grep ipv6 /etc/sysctl.d/99-gce.conf\n>net.ipv6.conf.all.disable_ipv6 = 1\n>brandon@sol-docker-ipv6:~$ ip addr show dev lo\n>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN\n>group default\n>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n>    inet 127.0.0.1/8 scope host lo\n>       valid_lft forever preferred_lft forever\n>brandon@sol-docker-ipv6:~$ sudo docker run -it --rm ubuntu:precise ip\n>addr show dev lo\n>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN\n>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n>    inet 127.0.0.1/8 scope host lo\n>       valid_lft forever preferred_lft forever\n>    inet6 ::1/128 scope host\n>       valid_lft forever preferred_lft forever\n>```\n>\n>We're investigating this further to see if it's something we can\n>officially recommend to users, but if you'd like to try getting your\n>builds working in a docker container and see if it works with the\n>loopback device in the container, we'd love to hear the results of your\n>testing.\n>\n>Please let me know if that's something you'd be interested in.\n>\n>Thanks\n>\n>---\n>Reply to this email directly or view it on GitHub:\n>https://github.com/travis-ci/travis-ci/issues/5200#issuecomment-161847828\n\n-- \nSent from my Android device with K-9 Mail. Please excuse my brevity."}}