Skip to content

Investigate flaky test-https-connect-address-family.js and test-tls-connect-address-family #7288

Closed
@gibfahn

Description

@gibfahn
  • Version:v6.2.1
  • Platform:Linux (Ubuntu 14.04, 15.04, Debian 8, others?)
  • Subsystem: test

See #6654 (comment) and nodejs/build#415

These tests were added in v6.2.1 and were marked as flaky due to a problem with resolving localhost on IPv6 on some Linux distros.

Basically /etc/hosts needs to contain the line ::1 localhost in order for localhost to be properly resolved. Most distros seem to have it (e.g. Ubuntu 16.04: ::1 localhost ip6-localhost ip6-loopback) but some, (e.g. Ubuntu 14.04/15.04 ::1 ip6-localhost ip6-loopback) don't. Given the number of people that will be testing their pull requests with make test, it seems important to make sure that this test passes on machines with other strings in their ::1 section.

As ./test/common.js contains this list of options, it should in theory work.

@bnoordhuis @jbergstroem I know you were/are looking into this, I just wanted to make sure we had an issue open for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to the tests.tlsIssues and PRs related to the tls subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions