Conversation
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
c75d83a to
14a87d9
Compare
maelvls
approved these changes
Nov 14, 2025
wallrj-cyberark
approved these changes
Nov 14, 2025
Member
wallrj-cyberark
left a comment
There was a problem hiding this comment.
I clicked re-run for the failed E2E test.
- https://github.com/jetstack/jetstack-secure/actions/runs/19369338328/job/55420779892
I assume it was a temporary API server problem. The curl command worked for me
$ curl --fail-with-body -sS "https://${VEN_API_HOST}/v1/teams" -H "tppl-api-key: $VEN_API_KEY" | jq '.teams[0].id' -r
d2508300-3705-11ee-a17b-69a77fb429d7
And the E2E test ran successfully locally and I saw the new log message .
| "cluster_name", opts.ClusterName, | ||
| "data_readings_count", len(readings), | ||
| "data_size_bytes", len(data), | ||
| ) |
Member
There was a problem hiding this comment.
I observed this log message by running the E2E test locally:
$ make test-e2e-gke
...
{
"ts": 1763137282342.5798,
"caller": "vcp_oauth/vcp_oauth.go:64",
"msg": "acquired OAuth token from Certificate Manager SaaS API",
"v": 0,
"logger": "Run.gatherAndOutputData.postData",
"scope": "",
"token_type": "bearer",
"valid_until": 1763137282342.5864
}
{
"ts": 1763137282390.8809,
"caller": "client/client_venconn.go:163",
"msg": "uploading data readings",
"v": 2,
"logger": "Run.gatherAndOutputData.postData",
"url": "https://api.venafi.cloud/v1/tlspk/upload/clusterdata/no",
"cluster_name": "venafi-kubernetes-agent-e2e",
"data_readings_count": 36,
"data_size_bytes": 749416
}
{"ts":1763137282973.3423,"caller":"agent/run.go:420","msg":"Data sent successfully","v":0,"logger":"Run.gatherAndOutputData.postData"}
...
Member
|
Looks like the API key has expired on the VCP test tenant. I suggest merging anyway. The E2E test passed for me locally. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These new debug log messages should give us insights in when an upload starts and how much data we are trying to upload.
This should help with debugging https://venafi.atlassian.net/browse/VC-46449.
For verbosity > 2 (
-v 2), you now get these log lines: