Bug #18818
openAll jobs scheduled using --sha1 show up "branch: master", even if they are {hammer,jewel,kraken}
0%
Description
When a user schedules a run using --ceph $BRANCH
, the branch name shows up in the name of the run. Developers are used to parsing the name of the run to see which branch is being tested.
This works fine as long as the runs are scheduled in this way.
If a run is scheduled with --sha1 $SHA1
, teuthology uses the default for the branch, which is master. Since master contains all valid SHA1s, it could be argued that this is reasonable. However, since the SHA1/tag does not show up in the run name, it can be confusing.
For example, if I want to test v10.2.4 for some reason, I find the SHA1 corresponding to that tag and do:
teuthology-suite --sha1 $SHA1_CORRESPONDING_TO_V10.2.4_TAG
From the name, the resulting run claims to be "master", but in reality it is jewel.
This could be fixed by having teuthology parse "git describe" to determine the major version and set the value of branch accordingly.
No data to display