validate-ck failure on test_keystone

Bug #1954295 reported by Kevin W Monroe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charmed Kubernetes Testing
Fix Released
Critical
Adam Dyess

Bug Description

Overnight validate-ck for CK 1.23/edge on focal failed:

https://jenkaas.s3.amazonaws.com/b285ddfd-295d-47b8-96e2-47a5b73610e7/index.html

Console log for the job:

https://jenkins.canonical.com/k8s/job/validate-ck/arch=amd64,channel=edge,node=runner-validate,series=focal,snap_version=1.23%2Fedge/665/

This shows timeouts for 2 of our failures:

jobs/integration/validation.py::test_audit_webhook ERROR exit status 1 (Timeout, server 10.246.153.132 not responding.
...
jobs/integration/validation.py::test_dns_provider ERROR exit status 1 (Timeout, server 10.246.153.132 not responding.

I'm not worried too much about the timeout, but there's also an error with test_keystone:

ERROR at setup of test_keystone

At first glance, this appears to be an issue with py38 (which is what jenkins uses) vs py39; likely came in with the recent change to our keystone validation test:

https://github.com/charmed-kubernetes/jenkins/pull/762

Changed in charmed-kubernetes-testing:
milestone: none → 1.23
status: New → Triaged
Revision history for this message
Adam Dyess (addyess) wrote :

py3.9 introduced `str.removeprefix`
https://docs.python.org/3.9/library/stdtypes.html#str.removeprefix

 > return charm_url.removeprefix("cs:")
 E AttributeError: 'str' object has no attribute 'removeprefix'

the jenkins runs are py38. Will adjust the test for more py38 compat

Revision history for this message
Adam Dyess (addyess) wrote :
Changed in charmed-kubernetes-testing:
status: Triaged → Fix Committed
Changed in charmed-kubernetes-testing:
assignee: nobody → Adam Dyess (addyess)
importance: Undecided → Critical
Adam Dyess (addyess)
Changed in charmed-kubernetes-testing:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.