Open iainsproat opened 7 months ago
Excerpt from the above:
"status": {
"path": "e271e90551-68622d75ea-b5dd1651b51a2a99cc0d/2c4acb8d-3234-3176-93b9-6df94deb472c/b5dd1651b51a2a99cc0d-71fa142437-3a00d4bbc2-0-log",
"size": 207093760
Does this status.size
value indicate a log size of 207Mb? Or am I misinterpreting this?
To answer my own comment, it seems to be bytes so this would be 207Mb: https://github.com/tektoncd/results/blob/32314594d4e5cf6de35e13cb7429ae216a969781/pkg/api/server/v1alpha2/logs.go#L173C21-L173C28
@iainsproat I believe the size of the log has something to do with this. Are you still having difficulties in storing large logs?
Hi @sayan-biswas - yes, this continues to be an issue for me.
Unfortunately I haven't had time to yet recreate a minimal replicating example so I'm as yet not sure if it's an issue with our cloud provider, my configuration of s3 or logs in tekton results, or something amiss with tekton results.
There is a step in a pipeline run which fails with an error (the application exits with a non-zero exit code). Unfortunately the log content is not stored.
All other pipelines and steps have their logs stored as expected, so this does not seem to be a general configuration problem.
Expected Behavior
All steps in the pipeline would have their logs stored, even (and especially) if the user application exited with a non-zero exit code. A copy of the pipeline can be found below.
This is consistently failing for all numerous repeats.
Actual Behavior
The Tekton results API logs the following two errors:
I can see that a corresponding log record has been stored:
For convenience, the decoded base64 content of the above value is:
When inspecting the content of the s3 blob storage directly I can see that no bucket has been created at the given path.
Likewise the logs cannot be retrieved via the API, as would be expected given the above symptoms.
Steps to Reproduce the Problem
Unfortunately I am not able to yet recreate a minimally failing example of the user workload generating the logs. The pipeline is as follows:
Additional Info
v1.28.2
v0.56.1
v0.9.1