inspec / inspec-vault

An InSpec input source plugin for HashiCorp Vault
Other
9 stars 6 forks source link

Integration tests fail during seeding phase #23

Open clintoncwolfe opened 5 years ago

clintoncwolfe commented 5 years ago

Under buildkite, wee see:


test/integration/support/install-vault.linux.sh
--
  | Reading package lists...
  | Building dependency tree...
  | Reading state information...
  | unzip is already the newest version (6.0-21+deb9u1).
  | 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  | % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  | Dload  Upload   Total   Spent    Left  Speed
  | 100 42.6M  100 42.6M    0     0  61.0M      0 --:--:-- --:--:-- --:--:-- 61.0M
  | Archive:  vault.zip
  | inflating: vault
  | ../../integration/support/vault kv put secret/inspec/profile-01 @secret/inspec/profile-01.json
  | Get https://127.0.0.1:8200/v1/sys/internal/ui/mounts/secret/inspec/profile-01: dial tcp 127.0.0.1:8200: connect: connection refused
  | ==> Vault server configuration:
  |  
  | Api Address: http://127.0.0.1
  | Cgo: disabled
  | Cluster Address: https://127.0.0.1:444
  | Listener 1: tcp (addr: "127.0.0.1:8200", cluster address: "127.0.0.1:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
  | Log Level: debug
  | Mlock: supported: true, enabled: false
  | Storage: inmem
  | Version: Vault v1.2.2
  |  
  | rake aborted!
  | Command failed with status (2): [../../integration/support/vault kv put sec...]
  | /workdir/Rakefile:74:in `block (5 levels) in <top (required)>'
  | /workdir/Rakefile:67:in `each'
  | /workdir/Rakefile:67:in `block (4 levels) in <top (required)>'
  | /workdir/Rakefile:66:in `chdir'
  | /workdir/Rakefile:66:in `block (3 levels) in <top (required)>'
  | /usr/local/bundle/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
  | /usr/local/bin/bundle:23:in `load'
  | /usr/local/bin/bundle:23:in `<main>'
  | Tasks: TOP => test:integration => test:int:seed_vault
  | (See full trace by running task with --trace)
  | 🚨 Error: The command exited with status 1
clintoncwolfe commented 5 years ago

Sleeping didn't fix it.