Dynamic Child Pipeline fails on Community Edition

Summary

Dynamic child pipelines working on Enterprise Edition fail in Community Edition without any visible log output.

Steps to reproduce

I added the ci-files from https://gitlab.com/fabiopitino/test/-/tree/dynamic-child-pipelines to our project. We are using GitLab Community Edition 12.9.1. The CI-job "dynamic-child" and the corresponding Downstream job fails. I cannot find any log output or reason why it fails.

Example Project

Same as https://gitlab.com/fabiopitino/test/-/tree/dynamic-child-pipelines but on Community Edition.

What is the current bug behavior?

Dynamic child job and downstream job fail, no error/log visible.

What is the expected correct behavior?

These jobs should not fail. If they do never the less, an error message/log should be displayed.

Relevant logs and/or screenshots

ci-dynamic-children-error

Compare to https://gitlab.com/fabiopitino/test/pipelines/127727437

We are using ci shell runner version 12.9.0 on windows:

$ ./gitlab-runner-windows-amd64.exe --version
Version:      12.9.0
Git revision: 4c96e5ad
Git branch:   12-9-stable
GO version:   go1.13.8
Built:        2020-03-20T13:02:39+0000
OS/Arch:      windows/amd64
Debug output of runner
Checking for jobs... received                       job=69 repo_url=XXXX runner=XXXX
Failed to requeue the runner                        builds=1 runner=XXXX
Running with gitlab-runner 12.9.0 (4c96e5ad)        job=69 project=4 runner=XXXX
  on XXXX XXXX                            job=69 project=4 runner=XXXX
Preparing the "shell" executor          job=69 project=4 runner=XXXX
Shell configuration: environment: []
dockercommand:
- PowerShell
- -NoProfile
- -NoLogo
- -InputFormat
- text
- -OutputFormat
- text
- -NonInteractive
- -ExecutionPolicy
- Bypass
- -Command
- '-'
command: powershell
arguments:
- -noprofile
- -noninteractive
- -executionpolicy
- Bypass
- -command
passfile: true
extension: ps1
  job=69 project=4 runner=XXXX
Using Shell executor...                             job=69 project=4 runner=XXXX
Waiting for signals...                              job=69 project=4 runner=XXXX
No referees configured                              job=69 project=4 runner=XXXX
Executing build stage                               build_stage=prepare_script job=69 project=4 runner=XXXX
Preparing environment                   job=69 project=4 runner=XXXX
Executing build stage                               build_stage=get_sources job=69 project=4 runner=XXXX
Getting source from Git repository      job=69 project=4 runner=XXXX
Feeding runners to channel                          builds=1
Appending trace to coordinator... ok                code=202 job=69 job-log=0-651 job-status=running runner=XXXX sent-log=0-650 status=202 Accepted update-interval=30s
Executing build stage                               build_stage=restore_cache job=69 project=4 runner=XXXX
Restoring cache                         job=69 project=4 runner=XXXX
Executing build stage                               build_stage=download_artifacts job=69 project=4 runner=XXXX
Downloading artifacts                   job=69 project=4 runner=XXXX
Executing build stage                               build_stage=build_script job=69 project=4 runner=XXXX
Running before_script and script        job=69 project=4 runner=XXXX
Executing build stage                               build_stage=after_script job=69 project=4 runner=XXXX
Executing build stage                               build_stage=archive_cache job=69 project=4 runner=XXXX
Saving cache                            job=69 project=4 runner=XXXX
Executing build stage                               build_stage=upload_artifacts_on_success job=69 project=4 runner=XXXX
Uploading artifacts for successful job  job=69 project=4 runner=XXXX
Skipping referees execution                         job=69 project=4 runner=XXXX
Job succeeded                                       duration=16.9537849s job=69 project=4 runner=XXXX
Appending trace to coordinator... ok                code=202 job=69 job-log=0-2634 job-status=running runner=XXXX sent-log=651-2633 status=202 Accepted update-interval=30s
Submitting job to coordinator... ok                 code=200 job=69 job-status= runner=XXXX
Checking for jobs... nothing                        runner=XXXX
Feeding runners to channel                          builds=0
Checking for jobs... received                       job=73 repo_url=XXXX runner=XXXX
Failed to requeue the runner                        builds=1 runner=XXXX
Running with gitlab-runner 12.9.0 (4c96e5ad)        job=73 project=4 runner=XXXX
  on XXXX XXXX                            job=73 project=4 runner=XXXX
Preparing the "shell" executor          job=73 project=4 runner=XXXX
Shell configuration: environment: []
dockercommand:
- PowerShell
- -NoProfile
- -NoLogo
- -InputFormat
- text
- -OutputFormat
- text
- -NonInteractive
- -ExecutionPolicy
- Bypass
- -Command
- '-'
command: powershell
arguments:
- -noprofile
- -noninteractive
- -executionpolicy
- Bypass
- -command
passfile: true
extension: ps1
  job=73 project=4 runner=XXXX
Using Shell executor...                             job=73 project=4 runner=XXXX
Waiting for signals...                              job=73 project=4 runner=XXXX
No referees configured                              job=73 project=4 runner=XXXX
Executing build stage                               build_stage=prepare_script job=73 project=4 runner=XXXX
Preparing environment                   job=73 project=4 runner=XXXX
Executing build stage                               build_stage=get_sources job=73 project=4 runner=XXXX
Getting source from Git repository      job=73 project=4 runner=XXXX
Feeding runners to channel                          builds=1
Appending trace to coordinator... ok                code=202 job=73 job-log=0-651 job-status=running runner=XXXX sent-log=0-650 status=202 Accepted update-interval=30s
Executing build stage                               build_stage=restore_cache job=73 project=4 runner=XXXX
Restoring cache                         job=73 project=4 runner=XXXX
Executing build stage                               build_stage=download_artifacts job=73 project=4 runner=XXXX
Downloading artifacts                   job=73 project=4 runner=XXXX
Executing build stage                               build_stage=build_script job=73 project=4 runner=XXXX
Running before_script and script        job=73 project=4 runner=XXXX
Executing build stage                               build_stage=after_script job=73 project=4 runner=XXXX
Executing build stage                               build_stage=archive_cache job=73 project=4 runner=XXXX
Saving cache                            job=73 project=4 runner=XXXX
Executing build stage                               build_stage=upload_artifacts_on_success job=73 project=4 runner=XXXX
Uploading artifacts for successful job  job=73 project=4 runner=XXXX
Skipping referees execution                         job=73 project=4 runner=XXXX
Job succeeded                                       duration=16.0750392s job=73 project=4 runner=XXXX
Appending trace to coordinator... ok                code=202 job=73 job-log=0-1748 job-status=running runner=XXXX sent-log=651-1747 status=202 Accepted update-interval=30s
Submitting job to coordinator... ok                 code=200 job=73 job-status= runner=XXXX
Checking for jobs... received                       job=74 repo_url=XXXX runner=XXXX
Failed to requeue the runner                        builds=1 runner=XXXX
Running with gitlab-runner 12.9.0 (4c96e5ad)        job=74 project=4 runner=XXXX
  on XXXX XXXX                            job=74 project=4 runner=XXXX
Preparing the "shell" executor          job=74 project=4 runner=XXXX
Shell configuration: environment: []
dockercommand:
- PowerShell
- -NoProfile
- -NoLogo
- -InputFormat
- text
- -OutputFormat
- text
- -NonInteractive
- -ExecutionPolicy
- Bypass
- -Command
- '-'
command: powershell
arguments:
- -noprofile
- -noninteractive
- -executionpolicy
- Bypass
- -command
passfile: true
extension: ps1
  job=74 project=4 runner=XXXX
Using Shell executor...                             job=74 project=4 runner=XXXX
Waiting for signals...                              job=74 project=4 runner=XXXX
No referees configured                              job=74 project=4 runner=XXXX
Executing build stage                               build_stage=prepare_script job=74 project=4 runner=XXXX
Preparing environment                   job=74 project=4 runner=XXXX
Executing build stage                               build_stage=get_sources job=74 project=4 runner=XXXX
Getting source from Git repository      job=74 project=4 runner=XXXX
Feeding runners to channel                          builds=1
Appending trace to coordinator... ok                code=202 job=74 job-log=0-651 job-status=running runner=XXXX sent-log=0-650 status=202 Accepted update-interval=30s
Executing build stage                               build_stage=restore_cache job=74 project=4 runner=XXXX
Restoring cache                         job=74 project=4 runner=XXXX
Executing build stage                               build_stage=download_artifacts job=74 project=4 runner=XXXX
Downloading artifacts                   job=74 project=4 runner=XXXX
Executing build stage                               build_stage=build_script job=74 project=4 runner=XXXX
Running before_script and script        job=74 project=4 runner=XXXX
Executing build stage                               build_stage=after_script job=74 project=4 runner=XXXX
Executing build stage                               build_stage=archive_cache job=74 project=4 runner=XXXX
Saving cache                            job=74 project=4 runner=XXXX
Executing build stage                               build_stage=upload_artifacts_on_success job=74 project=4 runner=XXXX
Uploading artifacts for successful job  job=74 project=4 runner=XXXX
Skipping referees execution                         job=74 project=4 runner=XXXX
Job succeeded                                       duration=15.9745957s job=74 project=4 runner=XXXX
Appending trace to coordinator... ok                code=202 job=74 job-log=0-1635 job-status=running runner=XXXX sent-log=651-1634 status=202 Accepted update-interval=30s
Submitting job to coordinator... ok                 code=200 job=74 job-status= runner=XXXX
Checking for jobs... received                       job=75 repo_url=XXXX runner=XXXX
Failed to requeue the runner                        builds=1 runner=XXXX
Running with gitlab-runner 12.9.0 (4c96e5ad)        job=75 project=4 runner=XXXX
  on XXXX XXXX                            job=75 project=4 runner=XXXX
Preparing the "shell" executor          job=75 project=4 runner=XXXX
Shell configuration: environment: []
dockercommand:
- PowerShell
- -NoProfile
- -NoLogo
- -InputFormat
- text
- -OutputFormat
- text
- -NonInteractive
- -ExecutionPolicy
- Bypass
- -Command
- '-'
command: powershell
arguments:
- -noprofile
- -noninteractive
- -executionpolicy
- Bypass
- -command
passfile: true
extension: ps1
  job=75 project=4 runner=XXXX
Using Shell executor...                             job=75 project=4 runner=XXXX
Waiting for signals...                              job=75 project=4 runner=XXXX
No referees configured                              job=75 project=4 runner=XXXX
Executing build stage                               build_stage=prepare_script job=75 project=4 runner=XXXX
Preparing environment                   job=75 project=4 runner=XXXX
Executing build stage                               build_stage=get_sources job=75 project=4 runner=XXXX
Getting source from Git repository      job=75 project=4 runner=XXXX
Feeding runners to channel                          builds=1
Appending trace to coordinator... ok                code=202 job=75 job-log=0-651 job-status=running runner=XXXX sent-log=0-650 status=202 Accepted update-interval=30s
Executing build stage                               build_stage=restore_cache job=75 project=4 runner=XXXX
Restoring cache                         job=75 project=4 runner=XXXX
Executing build stage                               build_stage=download_artifacts job=75 project=4 runner=XXXX
Downloading artifacts                   job=75 project=4 runner=XXXX
Executing build stage                               build_stage=build_script job=75 project=4 runner=XXXX
Running before_script and script        job=75 project=4 runner=XXXX
Executing build stage                               build_stage=after_script job=75 project=4 runner=XXXX
Executing build stage                               build_stage=archive_cache job=75 project=4 runner=XXXX
Saving cache                            job=75 project=4 runner=XXXX
Executing build stage                               build_stage=upload_artifacts_on_success job=75 project=4 runner=XXXX
Uploading artifacts for successful job  job=75 project=4 runner=XXXX
Skipping referees execution                         job=75 project=4 runner=XXXX
Job succeeded                                       duration=16.1146133s job=75 project=4 runner=XXXX
Appending trace to coordinator... ok                code=202 job=75 job-log=0-1737 job-status=running runner=XXXX sent-log=651-1736 status=202 Accepted update-interval=30s
Submitting job to coordinator... ok                 code=200 job=75 job-status= runner=XXXX
Checking for jobs... received                       job=76 repo_url=XXXX runner=XXXX
Failed to requeue the runner                        builds=1 runner=XXXX
Running with gitlab-runner 12.9.0 (4c96e5ad)        job=76 project=4 runner=XXXX
  on XXXX XXXX                            job=76 project=4 runner=XXXX
Preparing the "shell" executor          job=76 project=4 runner=XXXX
Shell configuration: environment: []
dockercommand:
- PowerShell
- -NoProfile
- -NoLogo
- -InputFormat
- text
- -OutputFormat
- text
- -NonInteractive
- -ExecutionPolicy
- Bypass
- -Command
- '-'
command: powershell
arguments:
- -noprofile
- -noninteractive
- -executionpolicy
- Bypass
- -command
passfile: true
extension: ps1
  job=76 project=4 runner=XXXX
Using Shell executor...                             job=76 project=4 runner=XXXX
Waiting for signals...                              job=76 project=4 runner=XXXX
No referees configured                              job=76 project=4 runner=XXXX
Executing build stage                               build_stage=prepare_script job=76 project=4 runner=XXXX
Preparing environment                   job=76 project=4 runner=XXXX
Executing build stage                               build_stage=get_sources job=76 project=4 runner=XXXX
Getting source from Git repository      job=76 project=4 runner=XXXX
Feeding runners to channel                          builds=1
Appending trace to coordinator... ok                code=202 job=76 job-log=0-651 job-status=running runner=XXXX sent-log=0-650 status=202 Accepted update-interval=30s
Executing build stage                               build_stage=restore_cache job=76 project=4 runner=XXXX
Restoring cache                         job=76 project=4 runner=XXXX
Executing build stage                               build_stage=download_artifacts job=76 project=4 runner=XXXX
Downloading artifacts                   job=76 project=4 runner=XXXX
Executing build stage                               build_stage=build_script job=76 project=4 runner=XXXX
Running before_script and script        job=76 project=4 runner=XXXX
Executing build stage                               build_stage=after_script job=76 project=4 runner=XXXX
Executing build stage                               build_stage=archive_cache job=76 project=4 runner=XXXX
Saving cache                            job=76 project=4 runner=XXXX
Executing build stage                               build_stage=upload_artifacts_on_success job=76 project=4 runner=XXXX
Uploading artifacts for successful job  job=76 project=4 runner=XXXX
Skipping referees execution                         job=76 project=4 runner=XXXX
Job succeeded                                       duration=16.0823906s job=76 project=4 runner=XXXX
Appending trace to coordinator... ok                code=202 job=76 job-log=0-1615 job-status=running runner=XXXX sent-log=651-1614 status=202 Accepted update-interval=30s
Submitting job to coordinator... ok                 code=200 job=76 job-status= runner=XXXX
Checking for jobs... nothing                        runner=XXXX

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
# gitlab-rake gitlab:env:info

System information
System:
Current User:   git
Using RVM:      no
Ruby Version:   2.6.5p114
Gem Version:    2.7.10
Bundler Version:1.17.3
Rake Version:   12.3.3
Redis Version:  5.0.7
Git Version:    2.24.1
Sidekiq Version:5.2.7
Go Version:     unknown

GitLab information
Version:        12.9.1
Revision:       63745c932cc
Directory:      /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:     PostgreSQL
DB Version:     10.12
URL:            XXXX
HTTP Clone URL: XXXX
SSH Clone URL:  XXXX
Using LDAP:     yes
Using Omniauth: yes
Omniauth Providers:

GitLab Shell
Version:        12.0.0
Repository storage paths:
- default:      /srv/git-data/repositories
GitLab Shell path:              /opt/gitlab/embedded/service/gitlab-shell
Git:            /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check
# gitlab-rake gitlab:check SANITIZE=true
Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 12.0.0 ? ... OK (12.0.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) User output sanitized. Found 100 users of 100 limit.

Checking LDAP ... Finished

Checking GitLab App ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 3/1 ... yes 3/4 ... yes 3/5 ... yes 3/6 ... yes 3/8 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.5.3 ? ... yes (2.6.5) Git version >= 2.22.0 ? ... yes (2.24.1) Git user has default SSH configuration? ... yes Active users: ... 16 Is authorized keys file accessible? ... yes

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

~bug

Edited by Fabian Schneider