Transient failure in qa/specs/features/ee/browser_ui/3_create/repository/push_rules_spec.rb
Summary
Test fails not receiving the expected error.
It does appear from the logs however that the repo is rejecting the commit based on file size as it should, so it seems that the expectation in the test is incorrect or there is a problem with the error being returned.
Stack trace
Starting test: Create Push Rules using non signed commits restricts files by name and size
D, [2020-05-20T20:05:17.546242 #22] DEBUG -- : Attempt number 1
D, [2020-05-20T20:05:17.546332 #22] DEBUG -- : Git: pwd=[/tmp/d20200520-22-145juzh], command=[HOME="/tmp/qa-netrc-credentials/22" git clone https://gitlab-qa@staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git ./ 2>&1]
D, [2020-05-20T20:05:18.044662 #22] DEBUG -- : Git: output=[Cloning into '.'...], exitstatus=[0]
D, [2020-05-20T20:05:18.044833 #22] DEBUG -- : Attempt number 1
D, [2020-05-20T20:05:18.044879 #22] DEBUG -- : Git: pwd=[/tmp/d20200520-22-145juzh], command=[HOME="/tmp/qa-netrc-credentials/22" git config user.name "QA User (Quality Team's Test Account)" 2>&1]
D, [2020-05-20T20:05:18.051255 #22] DEBUG -- : Git: output=[], exitstatus=[0]
D, [2020-05-20T20:05:18.051413 #22] DEBUG -- : Attempt number 1
D, [2020-05-20T20:05:18.051460 #22] DEBUG -- : Git: pwd=[/tmp/d20200520-22-145juzh], command=[HOME="/tmp/qa-netrc-credentials/22" git config user.email remy+gitlab-qa@gitlab.com 2>&1]
D, [2020-05-20T20:05:18.056964 #22] DEBUG -- : Git: output=[], exitstatus=[0]
D, [2020-05-20T20:05:18.057104 #22] DEBUG -- : Attempt number 1
D, [2020-05-20T20:05:18.057148 #22] DEBUG -- : Git: pwd=[/tmp/d20200520-22-145juzh], command=[HOME="/tmp/qa-netrc-credentials/22" git checkout "master" 2>&1]
D, [2020-05-20T20:05:18.063722 #22] DEBUG -- : Git: output=[Already on 'master'
Your branch is up to date with 'origin/master'.], exitstatus=[0]
D, [2020-05-20T20:05:18.066261 #22] DEBUG -- : Attempt number 1
D, [2020-05-20T20:05:18.066359 #22] DEBUG -- : Git: pwd=[/tmp/d20200520-22-145juzh], command=[HOME="/tmp/qa-netrc-credentials/22" git add file 2>&1]
D, [2020-05-20T20:05:18.137300 #22] DEBUG -- : Git: output=[], exitstatus=[0]
D, [2020-05-20T20:05:18.137506 #22] DEBUG -- : Attempt number 1
D, [2020-05-20T20:05:18.137557 #22] DEBUG -- : Git: pwd=[/tmp/d20200520-22-145juzh], command=[HOME="/tmp/qa-netrc-credentials/22" git commit -m "allowed commit" 2>&1]
D, [2020-05-20T20:05:18.178812 #22] DEBUG -- : Git: output=[[master 7ef8200] allowed commit
1 file changed, 1 insertion(+), 1 deletion(-)
rewrite file (100%)], exitstatus=[0]
D, [2020-05-20T20:05:18.179045 #22] DEBUG -- : Attempt number 1
D, [2020-05-20T20:05:18.179094 #22] DEBUG -- : Git: pwd=[/tmp/d20200520-22-145juzh], command=[HOME="/tmp/qa-netrc-credentials/22" git push https://gitlab-qa@staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git master:master 2>&1]
D, [2020-05-20T20:05:19.471080 #22] DEBUG -- : Git: output=[remote: fatal: pack exceeds maximum allowed size
error: remote unpack failed: unpack-objects abnormal exit
To https://staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'https://gitlab-qa@staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git'], exitstatus=[1]
D, [2020-05-20T20:05:19.471267 #22] DEBUG -- : Attempt number 2
D, [2020-05-20T20:05:19.471322 #22] DEBUG -- : Git: pwd=[/tmp/d20200520-22-145juzh], command=[HOME="/tmp/qa-netrc-credentials/22" git push https://gitlab-qa@staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git master:master 2>&1]
D, [2020-05-20T20:05:20.772674 #22] DEBUG -- : Git: output=[remote: fatal: pack exceeds maximum allowed size
error: remote unpack failed: unpack-objects abnormal exit
To https://staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'https://gitlab-qa@staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git'], exitstatus=[1]
D, [2020-05-20T20:05:20.772840 #22] DEBUG -- : Attempt number 3
D, [2020-05-20T20:05:20.772889 #22] DEBUG -- : Git: pwd=[/tmp/d20200520-22-145juzh], command=[HOME="/tmp/qa-netrc-credentials/22" git push https://gitlab-qa@staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git master:master 2>&1]
D, [2020-05-20T20:05:22.252821 #22] DEBUG -- : Git: output=[remote: fatal: pack exceeds maximum allowed size
error: remote unpack failed: unpack-objects abnormal exit
To https://staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'https://gitlab-qa@staging.gitlab.com/gitlab-qa-sandbox-group/qa-test-2020-05-20-19-58-31-9b0ea495e441778c/push_rules-5a62a359a71cb27a.git'], exitstatus=[1]
D, [2020-05-20T20:05:22.342384 #22] DEBUG -- :
Screenshot / HTML page
No screenshot available.
Possible fixes
Edited by Zeff Morgan