Test Failure
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
#### Overview of the Issue
Test failures seen after building it from source for consul 1.6.2 on Linux x86 Ubuntu16.04
#### Reproduction Steps
Install go v1.12.5, snap install vault (Vault v1.1.1 (cgo) got installed)
ulimit -s unlimited
ulimit -n 999999
export GOPATH=`pwd`
export PATH=$GOPATH/bin:$PATH
git clone https://github.com/hashicorp/consul.git $GOPATH/src/github.com/hashicorp/consul
cd $GOPATH/src/github.com/hashicorp/consul
git checkout v1.6.2
make tools
make dev
make test
### Operating system and Environment details
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
### Log Fragments
```
--- PASS: TestConfigurator_AutoEncrytCertExpired (0.00s)
--- PASS: TestSerialNumber (0.00s)
--- PASS: TestGeneratePrivateKey (0.00s)
--- PASS: TestGenerateCA (0.00s)
--- PASS: TestGenerateCert (0.00s)
ok github.com/hashicorp/consul/tlsutil (cached)
Exit code: 1
--- SKIP: TestAgent_RestoreServiceWithAliasCheck (0.00s)
agent_test.go:1302: skipping slow test; set SLOWTEST=1 to run
--- FAIL: TestBadDataDirPermissions (0.00s)
agent_test.go:203: expected permission denied error, got: ==> Error starting agent: Failed to start Consul server: Failed to start RPC layer: listen tcp 10.0.0.1:8300: bind: cannot assign requested address
FAIL
FAIL github.com/hashicorp/consul/command/agent 0.992s
GNUmakefile:226: recipe for target 'test-internal' failed
make: *** [test-internal] Error 1
```
Contributor guide
Assessment
This issue has not been assessed yet.