id summary reporter owner description type status priority milestone component version resolution keywords cc port 60614 Travis: Create hosts file to work around DNS resolution failures ryandesign admin@… "[https://paste.macports.org/77731bf16fce Travis builds fail] all the time with errors like this: {{{ ---> Attempting to fetch ossp-uuid-1.6.2_11+perl5_28.darwin_17.x86_64.tbz2 from https://packages-private.macports.org/ossp-uuid % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0DEBUG: Fetching archive failed: Could not resolve host: packages-private.macports.org ---> Attempting to fetch ossp-uuid-1.6.2_11+perl5_28.darwin_17.x86_64.tbz2 from https://packages.macports.org/ossp-uuid % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0DEBUG: Fetching archive failed: Could not resolve host: packages.macports.org }}} {{{ ---> Attempting to fetch uuid-1.6.2.tar.gz from ftp://ftp.ossp.org/pkg/lib/uuid/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0DEBUG: Fetching distfile failed: Could not resolve host: ftp.ossp.org ---> Attempting to fetch uuid-1.6.2.tar.gz from http://distcache.FreeBSD.org/ports-distfiles/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0DEBUG: Fetching distfile failed: Could not resolve host: distcache.FreeBSD.org ---> Attempting to fetch uuid-1.6.2.tar.gz from https://distfiles.macports.org/ossp-uuid % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0DEBUG: Fetching distfile failed: Could not resolve host: distfiles.macports.org Error: Failed to fetch ossp-uuid: Could not resolve host: distfiles.macports.org }}} In other words, all DNS resolution suddenly fails so nothing can be downloaded. To test the theory that this is merely a DNS problem, do we have the ability to modify /etc/hosts on the Travis build machines? If so, we could have _ci/bootstrap.sh at least add entries for packages.macports.org, packages-private.macports.org and distfiles.macports.org. That might help some builds succeed that would otherwise have failed." defect closed Normal server/hosting fixed