Skip to content

Output schema validation error in artifact download #7233

@lotas

Description

@lotas

Some example of the artifact that can not be returned:
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/DPT6AmPyTf-8s3Xvw_5Q3g/runs/1/artifacts/public%2Ftest_info%2Fvideo_mochitest-plain_09-04-2024_01%3A05%3A45%20PM.webm

"Output schema validation error: 
Schema Validation Failed!
Rejecting Schema: https://firefox-ci-tc.services.mozilla.com/schemas/queue/v1/get-artifact-response.json#
Errors:
  * data/url must match format "uri""

Artifact:

  {
    "task_id": "DPT6AmPyTf-8s3Xvw_5Q3g",
    "run_id": 1,
    "name": "public/test_info/video_mochitest-plain_09-04-2024_01:05:45 PM.webm",
    "storage_type": "s3",
    "content_type": "video/webm",
    "details": "{\"bucket\": \"firefoxcitc-public-artifacts\", \"prefix\": \"DPT6AmPyTf-8s3Xvw_5Q3g/1/public/test_info/video_mochitest-plain_09-04-2024_01:05:45 PM.webm\"}",
    "present": true,
    "expires": "2024-10-02 12:43:13.564+00"
  }

createArtifact was called with this uri: /task/DPT6AmPyTf-8s3Xvw_5Q3g/runs/1/artifacts/public%2Ftest_info%2Fvideo_mochitest-plain_09-04-2024_01%3A05%3A45%20PM.webm

Problem occurred on the docker-worker pool, it was not possible to confirm it on the generic-worker as files with spaces were uploaded with + signs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions