Failure in browser_ui/3_create/repository/push_over_ssh_spec.rb | Create SSH key support pushes multiple branches and tags together
Full description
Create SSH key support pushes multiple branches and tags together
File path
./qa/specs/features/browser_ui/3_create/repository/push_over_ssh_spec.rb
Stack trace
Failure/Error: repository.push_tags_and_branches(branches)
QA::Support::Run::CommandError:
The command HOME="/tmp/qa-netrc-credentials/27" GIT_SSH_COMMAND="ssh -i /tmp/id_3d4cd3a0900ca6b020230414-27-ei7aig -o UserKnownHostsFile=/tmp/known_hosts_ce83c8f004a8fced20230414-27-rt8cdm -o IdentitiesOnly=yes" git push --tags origin branch1 branch2 branch3 2>&1 failed (1) with the following output:
remote:
remote: INFO: Your SSH key is expiring soon. Please generate a new key.
remote:
remote: GitLab: Internal API error (404)
To ssh://staging.gitlab.com/gitlab-qa-sandbox-group-6/qa-test-2023-04-14-17-44-05-eb2dc52737c1b3d5/ssh-tests-6811f405aade389c.git
! [remote rejected] branch1 -> branch1 (pre-receive hook declined)
! [remote rejected] branch2 -> branch2 (pre-receive hook declined)
! [remote rejected] branch3 -> branch3 (pre-receive hook declined)
! [remote rejected] tag1 -> tag1 (pre-receive hook declined)
! [remote rejected] tag2 -> tag2 (pre-receive hook declined)
! [remote rejected] tag3 -> tag3 (pre-receive hook declined)
error: failed to push some refs to 'ssh://staging.gitlab.com/gitlab-qa-sandbox-group-6/qa-test-2023-04-14-17-44-05-eb2dc52737c1b3d5/ssh-tests-6811f405aade389c.git'
First happened in https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/9783878.
Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347826.