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

AWS-k8s-tester requesting color logs when setting AWS_K8S_TESTER_EKS_LOG_COLOR=false #211

Closed
couralex6 opened this issue Apr 26, 2021 · 0 comments · Fixed by #212
Closed

Comments

@couralex6
Copy link

We are getting an Error code 1 with the following message, even when setting AWS_K8S_TESTER_EKS_LOG_COLOR=false

{"level":"info","ts":"2021-04-26T16:56:22.041Z","caller":"eks/eks.go:181","msg":"set up log writer and file","outputs":["stderr","/home/ssm-user/actions-runner/actions-runner/_work/amazon-vpc-cni-k8s/amazon-vpc-cni-k8s/scripts/cni-test/cluster-cni-test-23280/cni-test-23280.log"]}
{"level":"warn","ts":"2021-04-26T16:56:22.043Z","caller":"eks/eks.go:190","msg":"requested output in color but not supported; overriding","output":"tput: terminal attributes: No such device or address","error":"exit status 1"}

This is breaking the AWS VPC CNI github action pipeline since our script is built to fail when seeing an Error Code 1.

gyuho added a commit to gyuho/aws-k8s-tester that referenced this issue Apr 26, 2021
Fix aws#211.

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
gyuho added a commit that referenced this issue Apr 26, 2021
* config: change LogColorOverride to "string"

Fix #211.

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>

* CHANGELOG: update "LogColorOverride" change

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant