Skip to content

feat: Implement k8s auth api test#579

Merged
gtema merged 2 commits intomainfrom
k8s_auth_api_test
Feb 27, 2026
Merged

feat: Implement k8s auth api test#579
gtema merged 2 commits intomainfrom
k8s_auth_api_test

Conversation

@gtema
Copy link
Collaborator

@gtema gtema commented Feb 24, 2026

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 24, 2026

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 26-02-27 13:35:56 26-02-27 13:35:58 00:00:02 0 → 4
Maintaining 26-02-27 13:35:58 26-02-27 13:36:28 00:00:30 4
Decreasing 26-02-27 13:36:28 26-02-27 13:36:28 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 8112 0 14.28 9 30 270.40 0.00
Aggregated 8112 0 14.28 9 30 270.40 0.00

Response Time Metrics

Method Name 50%ile (ms) 60%ile (ms) 70%ile (ms) 80%ile (ms) 90%ile (ms) 95%ile (ms) 99%ile (ms) 100%ile (ms)
GET 12 13 19 19 20 21 22 30
Aggregated 12 13 19 19 20 21 22 30

Status Code Metrics

Method Name Status Codes
GET 8,112 [200]
Aggregated 8,112 [200]

Transaction Metrics

Transaction # Times Run # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
ListUsers
0.0 0 0 0.00 0 0 0.00 0.00
0.1 5123 0 11.24 9 19 170.77 0.00
ValidateToken
1.0 0 0 0.00 0 0 0.00 0.00
1.1 2989 0 19.63 16 30 99.63 0.00
Aggregated 8112 0 14.28 9 30 270.40 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 2 5121 11.25 9 19 170.70 2560.50
ValidateToken 2 2987 19.63 16 30 99.57 1493.50
Aggregated 4 8108 14.33 9 30 270.27 4054.00

Error Metrics

Method Name # Error

View full report

@gtema gtema force-pushed the k8s_auth_api_test branch 2 times, most recently from ba9b7f1 to 99eaf60 Compare February 26, 2026 16:59
@github-actions
Copy link

🐰 Bencher Report

Branchk8s_auth_api_test
Testbedubuntu-latest

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
fernet token/project📈 view plot
⚠️ NO THRESHOLD
1,422.70 ns
get_fernet_token_timestamp/project📈 view plot
⚠️ NO THRESHOLD
146.56 ns
🐰 View full continuous benchmarking report in Bencher

@gtema gtema force-pushed the k8s_auth_api_test branch 10 times, most recently from 9a48d0e to 5878816 Compare February 27, 2026 12:50
Add test (executed with skaffold) for k8s_auth creating all necessary
resources and exchange the K8 JWT for the Keystone token.

This also adds naive implementation for the project deletion which is
used by the test itself, as well as normalization of the url naming
scheme (roles instead of role and instances instead of instance).
@gtema gtema force-pushed the k8s_auth_api_test branch from 5878816 to e4e1665 Compare February 27, 2026 13:27
@gtema gtema marked this pull request as ready for review February 27, 2026 13:37
@gtema gtema merged commit 4acbe05 into main Feb 27, 2026
30 of 31 checks passed
@gtema gtema deleted the k8s_auth_api_test branch February 27, 2026 13:46
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