Metrics job metrics:pipeline_and_job_duration - gitlab-com/gl-infra/cells/tissue is not a valid "project_name" value
Problem Description
Example job: https://ops.gitlab.net/gitlab-org/release/tools/-/jobs/14864976
2024-08-01 11:55:59.192362 E ReleaseTools::Metrics::Client -- Recording metric failed --
{
:name=>"deployment_pipeline_duration_seconds",
:action=>:set, :status=>"400",
:message=>"\"gitlab-com/gl-infra/cells/tissue\" is not a valid \"project_name\" value"
}
rake aborted!
TypeError: no implicit conversion of nil into String (TypeError)
d = Date._parse(date, comp)
^^^^^^^^^^
/builds/gitlab-org/release/tools/lib/release_tools/pipeline_tracer/pipeline.rb:92:in `real_time_duration'
/builds/gitlab-org/release/tools/lib/release_tools/pipeline_tracer/metrics_service.rb:42:in `execute'
/builds/gitlab-org/release/tools/lib/release_tools/pipeline_tracer/metrics_service.rb:79:in `block (2 levels) in process_downstream_pipelines'
/usr/local/bundle/gems/gitlab-4.20.1/lib/gitlab/paginated_response.rb:22:in `each'
/usr/local/bundle/gems/gitlab-4.20.1/lib/gitlab/paginated_response.rb:22:in `method_missing'
/builds/gitlab-org/release/tools/lib/release_tools/pipeline_tracer/metrics_service.rb:69:in `block in process_downstream_pipelines'
The auto-deployment into the project gitlab-com/gl-infra/cells/tissue
has been around for quite some time. Potential noteworthy item, the project was moved, it was previously gitlab-com/gl-infra/cells-tissue
.
Exit Critrieron
-
Problem Discovery -
Repair -
Validation that the stage: coordinated:finish
has no failed jobs on any Auto-Deploy pipeline
Edited by Dat Tang