pedroMMM/goss

View on GitHub
integration-tests/goss/alpine3/goss-expected-q.yaml

Summary

Maintainability
Test Coverage
file:
  /etc/passwd:
    exists: true
    contains: []
  /tmp/goss/foobar:
    exists: false
    contains: []
package:
  apache2:
    installed: true
  foobar:
    installed: false
  vim-tiny:
    installed: false
addr:
  tcp://google.com:22:
    reachable: false
    timeout: 1000
  tcp://google.com:443:
    reachable: true
    timeout: 1000
  udp://8.8.8.8:53:
    reachable: true
    timeout: 1000
port:
  tcp:80:
    listening: false
  tcp:9999:
    listening: false
  tcp6:80:
    listening: true
service:
  apache2:
    enabled: true
    running: true
  foobar:
    enabled: false
    running: false
user:
  foobar:
    exists: false
  www-data:
    exists: false
group:
  foobar:
    exists: false
  www-data:
    exists: true
command:
  echo 'hi':
    exit-status: 0
    stdout: []
    stderr: []
    timeout: 10000
  foobar:
    exit-status: 127
    stdout: []
    stderr: []
    timeout: 10000
dns:
  CAA:dnstest.io:
    resolvable: true
    timeout: 1000
    server: 8.8.8.8
  CNAME:c.dnstest.io:
    resolvable: true
    timeout: 1000
    server: 8.8.8.8
  MX:dnstest.io:
    resolvable: true
    timeout: 1000
    server: 8.8.8.8
  NS:dnstest.io:
    resolvable: true
    timeout: 1000
    server: 8.8.8.8
  PTR:54.243.154.1:
    resolvable: true
    timeout: 1000
    server: 8.8.8.8
  SRV:_https._tcp.dnstest.io:
    resolvable: true
    timeout: 1000
    server: 8.8.8.8
  TXT:txt._test.dnstest.io:
    resolvable: true
    timeout: 1000
    server: 8.8.8.8
  ip6.dnstest.io:
    resolvable: true
    timeout: 1000
    server: 8.8.8.8
  localhost:
    resolvable: true
    timeout: 1000
process:
  apache2:
    running: false
  foobar:
    running: false
kernel-param:
  kernel.ostype:
    value: Linux
mount:
  /dev:
    exists: true
http:
  http://google.com:
    status: 301
    allow-insecure: false
    no-follow-redirects: true
    timeout: 5000
    body: []
  https://www.google.com:
    status: 200
    allow-insecure: false
    no-follow-redirects: false
    timeout: 5000
    body: []