Conversation
Let's see if this works better on travis-ci. |
Before:
After:
|
What happens if we generate a random name? I'm wondering if the issue is actually the name or something regarding their network and instances or something entirely different. |
@BanzaiMan mentioned travis-ci/travis-cookbooks@31b08f9 |
Modified Makefile to test and gather info. |
Failed:
Succeeded:
|
So that's a sign about long names and short names. Erlang considers a domain to be long if it's got a period in it ( https://github.com/erlang/otp/blob/maint/lib/kernel/src/net_kernel.erl#L1244-L1268 So For the auto-detection, we'd have to look at the output of |
So you see the problem in the output: I'm guessing this bit here has a single name found and ends up not setting both values. Not sure why that happens exactly. |
Before I test the container-based workers, test binding to 127.0.0.1. |
Well that seems to work. If we can rewrite tests to use that, that would probably be best so our build status is accurate again. In any case I'm not sure we should depend on a properly configured host file when possible to avoid, given that may turn out contributors will also have a broken config on their local machine. |
It's a last resort, and it has problems like being IPv4-specific and having to remember that any and all distributed nodes we start use |
Now, let's try container-based workers. |
That seemed to go well too. |
Yes, @BanzaiMan's suggestion to use container-based workers fixed it. |
Cleaned up branch and commit. |
Spinning up a distributed Erlang node by running 'erl -name ct3' failed due to FQDN issues. Hiro Asari from Travis-CI suggested to try out the new container-based workers as a fix, and that one works as expected because we get a proper FQDN. Therefore, make the switch to container-based workers.
Sweet, thanks for the fix. Merging. |
inttest/ct3: fix travis-ci breakage
No description provided.