branching scripts need to tolerate glitches in opendev gerrit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Scott Little |
Bug Description
Brief Description
-----------------
During creation of the r/stx.6.0 branch, the opendev gerrit server was failing on a high percentage of all git review and git push commands. The branching scripts need to tolerate glitches by adding delays and retries. Perhaps the high volume of requests over a short time was triggering an anti-spam or anti-DDS function?
Severity
--------
Major
Steps to Reproduce
------------------
create_
push_branches_
Expected Behavior
------------------
branches are pushed to all gits without error
Actual Behavior
----------------
nearly 50% of branches failed to push
Reproducibility
---------------
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
Dec 9 2021
Last Pass
---------
N/A
Timestamp/Logs
--------------
Problem running 'git remote update gerrit'
Fetching gerrit
ssh_exchange_
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch gerrit
..
Problems encountered installing commit-msg hook
The following command failed with exit code 1
"scp -P29418 <email address hidden>
-------
ssh_exchange_
-------
ERROR: 1: failed to setup git review in /localdisk/
slittle1@
Test Activity
-------------
Build
Workaround
----------
Manual branch creation
Fix proposed to branch: master /review. opendev. org/c/starlingx /root/+ /821475
Review: https:/