Unit test check_repo_tags.bats will exercise (git ls-remote) logic inlined within the software-upgrades.groovy script. The test will gather a list of tagnames from the gerrit and github repositories then compare the lists for differences.
check_repo_tags.bats contains two variables that can be uncommented to enable debugging.
Uncomment to allow tagname differences to induce testing failures.
Test exclusions (skip) are supported but behavior is heavy handed. Skip will cause a test suite to prematurely exit on first failure VS iterate over all test conditions then ignore overall status.