testkube icon indicating copy to clipboard operation
testkube copied to clipboard

Get artifacts by test-suite execution is not working

Open windowsrefund opened this issue 5 months ago • 1 comments

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 avatar Feb 28 '24 17:02 windowsrefund

@nicufk

windowsrefund avatar Feb 28 '24 17:02 windowsrefund