Cannot connect to CI server error messages
This happened to @sytses and others lately: https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/6629
If you look at the JSON data, pipeline
is null
:
{"id":4056442,"iid":6629,"author_id":424775,"description":"Results in:\r\n\r\n","lock_version":1,"milestone_id":null,"position":0,"state":"opened","title":"Reorder comparisons","updated_by_id":424775,"created_at":"2017-06-29T21:41:39.936Z","updated_at":"2017-06-29T22:10:33.726Z","deleted_at":null,"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null,"in_progress_merge_commit_sha":null,"locked_at":null,"merge_commit_sha":null,"merge_error":null,"merge_params":{"force_remove_source_branch":"1"},"merge_status":"can_be_merged","merge_user_id":null,"merge_when_pipeline_succeeds":false,"source_branch":"reorder-comparisons","source_project_id":7764,"target_branch":"master","target_project_id":7764,"approvals_before_merge":null,"squash":false,"rebase_commit_sha":null,"rebase_in_progress":false,"should_be_rebased":false,"ff_only_enabled":false,"can_push_to_source_branch":true,"rebase_path":null,"approvals_path":null,"merge_event":null,"closed_event":null,"author":{"name":"Mark Pundsack","username":"markpundsack","id":424775,"state":"active","avatar_url":"https://secure.gravatar.com/avatar/26cf0d1d89d41b47dc9a9d70a20d721d?s=80\u0026d=identicon","web_url":"https://gitlab.com/markpundsack","path":"/markpundsack"},"merge_user":null,"diff_head_sha":"48d942a6218b957a706647b419b49b14e6c00764","merge_commit_message":"Merge branch 'reorder-comparisons' into 'master'\n\nReorder comparisons\n\nSee merge request !6629","pipeline":null,"work_in_progress":false,"source_branch_exists":true,"mergeable_discussions_state":true,"branch_missing":false,"commits_count":1,"has_conflicts":false,"can_be_merged":true,"remove_source_branch":true,"project_archived":false,"only_allow_merge_if_pipeline_succeeds":true,"has_ci":true,"ci_status":null,"issues_links":{"assign_to_closing":null,"closing":"","mentioned_but_not_closing":""},"source_branch_with_namespace_link":"\u003ca href=\"/gitlab-com/www-gitlab-com/commits/reorder-comparisons\"\u003ereorder-comparisons\u003c/a\u003e","source_branch_path":"/gitlab-com/www-gitlab-com/branches/reorder-comparisons","current_user":{"can_remove_source_branch":true,"can_revert_on_current_merge_request":null,"can_cherry_pick_on_current_merge_request":false},"target_branch_commits_path":"/gitlab-com/www-gitlab-com/commits/master","new_blob_path":"/gitlab-com/www-gitlab-com/new/reorder-comparisons","conflict_resolution_path":null,"remove_wip_path":"/gitlab-com/www-gitlab-com/merge_requests/6629/remove_wip","cancel_merge_when_pipeline_succeeds_path":"/gitlab-com/www-gitlab-com/merge_requests/6629/cancel_merge_when_pipeline_succeeds","create_issue_to_resolve_discussions_path":"/gitlab-com/www-gitlab-com/issues/new?merge_request_to_resolve_discussions_of=6629","merge_path":"/gitlab-com/www-gitlab-com/merge_requests/6629/merge","cherry_pick_in_fork_path":null,"revert_in_fork_path":null,"email_patches_path":"/gitlab-com/www-gitlab-com/merge_requests/6629.patch","plain_diff_path":"/gitlab-com/www-gitlab-com/merge_requests/6629.diff","status_path":"/gitlab-com/www-gitlab-com/merge_requests/6629.json","ci_environments_status_path":"/gitlab-com/www-gitlab-com/merge_requests/6629/ci_environments_status","merge_commit_message_with_description":"Merge branch 'reorder-comparisons' into 'master'\n\nReorder comparisons\n\nResults in:\r\n\r\n\n\nSee merge request !6629","diverged_commits_count":3,"commit_change_content_path":"/gitlab-com/www-gitlab-com/merge_requests/6629/commit_change_content"}
When I looked at the commit status of this commit, it was green.
I came back hours lately, and it appears to have been fixed.
I see a number of issues:
- Should we change the text to be something more like, "Pipeline for merge request has not been created yet"?
- Why is there such a long delay? Sidekiq queues did not seem out of control.
/cc: @ayufan, @fatihacet