kubeshop / testkube

☸️ Kubernetes-native testing framework for test execution and orchestration
https://testkube.io
Other
1.36k stars 132 forks source link

Get artifacts by test-suite execution is not working #5084

Closed windowsrefund closed 8 months ago

windowsrefund commented 8 months ago

According to this merge, it should be possible to list all artifacts associated with a given test-suite execution. This is not working.

❯ testkube version | grep -i version
Client Version 1.16.32
Server Version 1.16.30

❯ testkube get tse --test-suite aws-efs-csi-driver | head

Context:  (1.16.32)   Namespace: testkube
-----------------------------------------

  ID                       | TEST SUITE NAME    | EXECUTION NAME           | STATUS | STEPS | LABELS
---------------------------+--------------------+--------------------------+--------+-------+---------
  65df6692b41a36b91abca073 | aws-efs-csi-driver | ts-aws-efs-csi-driver-45 | passed |     4 |
  65df5882b41a36b91abca035 | aws-efs-csi-driver | ts-aws-efs-csi-driver-44 | passed |     4 |
  65df4a71b41a36b91abc9fe0 | aws-efs-csi-driver | ts-aws-efs-csi-driver-43 | passed |     4 |
  65df3c62b41a36b91abc9fbe | aws-efs-csi-driver | ts-aws-efs-csi-driver-42 | passed |     4 |

❯ testkube get artifact ts-aws-efs-csi-driver-45

Context:  (1.16.32)   Namespace: testkube
-----------------------------------------
  EXECUTION | NAME | SIZE (KB)
------------+------+------------

In order to list the actual artifact, I have to pass the step in rather than the tse which is what the mentioned merge was trying to solve for.

windowsrefund commented 8 months ago

@nicufk