Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new error for verification troubleshoot #540

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/verification-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,15 @@ properties:
type: string
default: Some default value
```

### Application did not get ready before timeout of 300.0 seconds

This indicates that the deployer job did not finish in the [default 300 seconds timeout](https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/c5899a928a2ac8d5022463c82823284a9e63b177/marketplace/deployer_util/deploy_with_tests.sh#L101), and environment variable `WAIT_FOR_READY_TIMEOUT` was not defined. To solve this make sure that environment `WAIT_FOR_READY_TIMEOUT` has been defined in deployer dockerfile. Example of dockerfile:
```dockerfile
FROM gcr.io/cloud-marketplace-tools/k8s/deployer_envsubst/onbuild
COPY data-test /data-test
ENV WAIT_FOR_READY_TIMEOUT 900
ENV TESTER_TIMEOUT 900
```

`mpdev verify` itself also has a [default 600 seconds timeout](https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/c5899a928a2ac8d5022463c82823284a9e63b177/scripts/verify#L56), which can be taken care of with argument `--wait_timeout=900`.