Problem to solve
When a updated is pushed to a project git repository a pipeline should be created based on .gitlab-ci.yml
Our GitLab on-prem server auto upgraded to v17 during the morning of 5/17 and pipeline have not been working since. We have updated our runner via the new registration workflow. GitLab server admin reported data migration were not complete and had to manually run the migration.
Other symptoms:
- If I manually create a “Run pipeline” all jobs are stuck " This job has not been triggered yet" “This job depends on upstream jobs that need to succeed in order for this job to be triggered”
- “Canceling this job” stuck as not triggered and retrying put in Pending status but no runner is assigned.
- With a job in Pending status if a pause/unpause a runner GitLab will assign the runner for 1 job only.
- Not all Pipeline showing on the project pipelines page. For example a manually created Pipeline may not show on the pipelines page but can be accessed via ID (…/pipleines/5517)
- Some Pipelines show status Running eventhough they have no running jobs.
Steps to reproduce
- Push a commit to GitLab project containin .gitlab-ci.yml and no pipeline is created
I’ve attempted to change CI/CD pipeline settings for projects, edit or remove .gitlab-ci.yml files, use the API to inspect pipelines and jobs, fork a project, and create a new project with a sample .gitlab-ci.yml file. The common thread is that I cannot get GitLab pipelines to function as they did before the upgrade. I haven’t found any documentation indicating fundamental changes in GitLab pipelines.
Configuration
any update to .gitlab-ci.yml
seem to have no change so even the most basic file will not trigger a pipeline creation.
build-job:
stage: build
script:
- echo "Hello, $GITLAB_USER_LOGIN!"
Versions
- Self-managed
- GitLab.com SaaS
- Self-hosted Runners
Versions
- GitLab Enterprise Edition v17.0.0-ee
- GitLab Runner, 17.0.0
Some of our issues seem similar to The scheduler failed to assign job to the runner (#395628) · Issues · GitLab.org / GitLab · GitLab