Appliscale / perun

A command-line validation tool for AWS Cloud Formation that allows to conquer the cloud faster!
https://perun-for-aws.appliscale.io
Apache License 2.0
91 stars 8 forks source link

Test Error #179

Open maxiwoj opened 5 years ago

maxiwoj commented 5 years ago

Sometimes, when running tests an error appears:

INFO: Running on EC2
ERROR: RequestError: send request failed
caused by: Get http://169.254.169.254/latest/meta-data/placement/availability-zone: dial tcp 169.254.169.254:80: connect: host is down
--- FAIL: TestGetIamInstanceProfileAssociations (0.65s)
    creatingfiles_test.go:108:
            Error Trace:    creatingfiles_test.go:108
            Error:          Expected value not to be nil.
            Test:           TestGetIamInstanceProfileAssociations
            Messages:       Error should be non-nil
FAIL
coverage: 29.0% of statements
FAIL    github.com/Appliscale/perun/checkingrequiredfiles    6.260s

This is not the first time, we need to investigate what is causing this

maxiwoj commented 5 years ago

Test Error