Skip to content

Essential ystack services' test coverage using y-assert#30

Merged
solsson merged 65 commits into
masterfrom
y-assert-dogfooding
Jun 21, 2020
Merged

Essential ystack services' test coverage using y-assert#30
solsson merged 65 commits into
masterfrom
y-assert-dogfooding

Conversation

@solsson

@solsson solsson commented Jun 5, 2020

Copy link
Copy Markdown
Collaborator

No description provided.

solsson added 6 commits June 5, 2020 21:31
E0606 09:05:46.810522       1 available_controller.go:420] v1beta1.metrics.k8s.io failed with: failing or missing response from https://10.43.103.169:443/apis/metrics.k8s.io/v1beta1: Get https://10.43.103.169:443/apis/metrics.k8s.io/v1beta1: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

... but no, they're still there.
@solsson
solsson force-pushed the y-assert-dogfooding branch from 2df811b to 65d9444 Compare June 6, 2020 09:33
solsson added 27 commits June 8, 2020 11:55
The chosen UID is for gcr.io/distroless nonroot, but the GID is nogroup
present in distro base images like ubuntu
@solsson
solsson merged commit f231c89 into master Jun 21, 2020
@solsson

solsson commented Jun 21, 2020

Copy link
Copy Markdown
Collaborator Author

Autobuild at https://hub.docker.com/r/solsson/ystack-runner passed with build logs ending

2020-06-21T06:59:05Z Prometheus queries for test results will use labels: namespace="ystack-specs"
2020-06-21T06:59:05Z cleanup-ish: kubectl --context=default get namespace -l janitor/ttl=23h -o name | xargs kubectl --context=default delete
jq: error (at <stdin>:0): No results
jq: error (at <stdin>:0): No results
Zero failures now with: curl -s --data query=assertions_failed{namespace="ystack-specs"} http://monitoring.ystack.svc.cluster.local:9090/api/v1/query
+ '[' false = true ']'
Removing bupvk8bgjhmhquozospbscb_sut_1 ...
�[1A�[2K Removing bupvk8bgjhmhquozospbscb_sut_1 ... �[32mdone�[0m �[1BGoing to remove bupvk8bgjhmhquozospbscb_sut_1
Tests in docker-compose.test.yml succeeded
Pushing index.docker.io/solsson/ystack-runner:latest...
Done!
Build finished

Locally I've never had "Zero failures" immediately after "No results", but I guess it can happen given certain timings between run/scrape/curl.

The runner that was pushed is solsson/ystack-runner@sha256:617b86f3a9ec6e1ef9fb45c14710bd16d6e418249c6f4e9c03fd002f737a3988.

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 this pull request may close these issues.

1 participant