CI Job Running indefinitely after upgradation to Gitlab CE 13.1.1

Recently I have upgraded the Gitlab CE from version 11.2.3 to 13.1.1. The Gitlab CI process which was running fine with earlier version is not working properly with the new upgradation. Whenever the new commit happens, the Job starts running and it is running indefinitely until the time out period with showing only the progress icon

Job does not run in Version 13.1.1

Job running fine in Version 11.2.3

gitlab-ci.yml

stages:

  • codeanalysis_test
  • deployment

image: python:3.6

services:

  • kartoza/postgis:11.0-2.5

variables:
PIP_CACHE_DIR: “$CI_PROJECT_DIR/.cache/pip”

cache:
paths:
- .cache/pip
- venv/

before_script:

  • python -V # Print out python version for debugging
  • pip install virtualenv
  • virtualenv venv
  • source venv/bin/activate

codeanalysis_test:
stage: codeanalysis_test
only:
- development
- master
variables:
POSTGRES_USER: “gwm”
POSTGRES_PASS: “gwm12345”
POSTGRES_DB: “gwm,gwm_data”
script:
- echo “Analysing using flake8 and Testing Code using django test module”
- apt-get update -qy
# Install GDAL
- apt-get install -y python-dev python-pip
- apt-get install -y gdal-bin python-gdal python3-gdal
- gdalinfo --version
- cd Sample
- pip install -r requirements.txt
# Run flake8 and python test
- flake8
- python manage.py test --settings=Sample.settings.test_ci

staging:
stage: deployment
only:
- master
script:
- pip install awscli
- aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID
- aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY
- aws configure set region $AWS_EC2_REGION
- ls -la -F
# Deploy to s3 using AWS Service - New change in S3 Location
- aws deploy push --application-name $AWS_CD_APPLICATION --s3-location $AWS_S3_LOCATION

I have upgraded the Gitlab Runner to 13.1.1 and docker to 19.03.12. But still facing the same issue. I am not aware of the logs. Pls guide me in resolving the issue.

The issue has been resolved :grinning:. Actually there was error in fetching the CI Variables after the upgradation which causes the issue. The Gitlab Runner was working fine and there is no issue with the Gitlab runner.


Solution
I have created a new project and cloned all my contents from the old project where the issue persists to the new project. Also, I have created the new CI variables in the new project and the Jobs are now running fine with the updated Gitlab runner.