Dynamic Job Failure following upgrade of self hosted Gitlab to 17.3.1

Hello,

We’ve recently upgraded our self hosted gitlab running kubernetes to 17.3.1 and we’re hitting a curious error.

It’s basically this: Undefined Error with Dynamic Child Pipelines

In an attempt to reproduce this from our production pipeline I’ve actually copied the job from the Gitlab docs for executing a dynamic child pipeline,

So my .gitlab-ci.yml file looks like this:

generate-config:
  stage: build
  script: cp ./child-pipeline.yml generated-config.yml
  artifacts:
    paths:
      - generated-config.yml

child-pipeline:
  stage: test
  trigger:
    include:
      - artifact: generated-config.yml
        job: generate-config

With the child pipeline definition looking like this:

testchildjob:
  script:
    - echo "testing"

The intial generate job runs fine but it trys to trigger the child pipeline it throws this rather unhelpful error:
image

I’m curious as to whether anyone else has hit this with 17.3.1? We were running on 17.2.1 perfectly but following this update it just seems to have started happening. I’m not even sure where to find the log of what it’s trying to execute at this point - pointers on this would be massively appreciated.

I’ve checked the artifact that gets generated and as far as I can tell it looks absolutely perfect
this is the code from the generated artifact

testchildjob:
  script:
    - echo "testing"

Any pointers or help would be massively appreciated.

Edit
I should probably add it seems to be any child pipeline requiring an artifact that does it

3 Likes

Same problem here.
We were on 17.2.1 and upgraded to 17.3.1

Did you downgrade to 17.2.x again?
Or have you find any other solution?

Thanks

1 Like

We downgraded to 17.3.0 - this seems to “solve” the Problem.

1 Like

Suggest creating a bug report and collaborate with engineers to identify the problem (and improve the error reporting).

3 Likes

Thanks DNS,

I’m struggling to find any other errors in any logs (I admittedly am unsure where to even look for this unfortunately) and am slightly stuck with the incredibly unhelpful error message on it. But i’ll raise a report - thank you for getting back to me on this, it’s much appreciated.

Raised a ticket: Undefined error with dynamic pipeline creation following upgrade of self hosted Gitlab to 17.3.1 (#482465) · Issues · GitLab.org / GitLab · GitLab