CI tests are pulling in the wrong version of git repo's
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Derek Higgins |
Bug Description
If the project which triggered CI is being pulled into an image by source-repositories we end up pulling in an incorrect version.
See https:/
http://
2014-09-02 09:06:11.198 | HEAD is now at 5042399 Merge "Apic drivers enhancements (second approach): Sync"
It should be "Supply missing cisco_cfg_agent.ini file"
Confirmed here (where pip reports the tarball version)
http://
2014-09-02 09:13:15.261 | Requirement already satisfied (use --upgrade to upgrade): pbr>=0.6,!=0.7,<1.0 in /opt/stack/
This is because devstack-gate leaves the git repository in a detached head state,
http://
2014-09-02 08:57:42.208 | + git_fetch_at_ref openstack/neutron refs/zuul/
2014-09-02 08:57:42.210 | + local project=
2014-09-02 08:57:42.211 | + local ref=refs/
2014-09-02 08:57:42.212 | + '[' refs/zuul/
2014-09-02 08:57:42.213 | + git fetch http://
2014-09-02 08:57:42.214 | From http://
2014-09-02 08:57:42.216 | * branch refs/zuul/
2014-09-02 08:57:42.217 | + return 0
2014-09-02 08:57:42.218 | + git_checkout openstack/neutron FETCH_HEAD
2014-09-02 08:57:42.219 | + local project=
2014-09-02 08:57:42.220 | + local branch=FETCH_HEAD
2014-09-02 08:57:42.222 | + local reset_branch=
2014-09-02 08:57:42.223 | + [[ FETCH_HEAD != \F\E\T\
2014-09-02 08:57:42.224 | + git checkout FETCH_HEAD
2014-09-02 08:57:42.226 | Note: checking out 'FETCH_HEAD'.
2014-09-02 08:57:42.227 |
2014-09-02 08:57:42.228 | You are in 'detached HEAD' state. You can look around, make experimental
2014-09-02 08:57:42.229 | changes and commit them, and you can discard any commits you make in this
2014-09-02 08:57:42.230 | state without impacting any branches by performing another checkout.
2014-09-02 08:57:42.232 |
2014-09-02 08:57:42.233 | If you want to create a new branch to retain commits you create, you may
2014-09-02 08:57:42.234 | do so (now or later) by using -b with the checkout command again. Example:
2014-09-02 08:57:42.235 |
2014-09-02 08:57:42.236 | git checkout -b new_branch_name
2014-09-02 08:57:42.238 |
2014-09-02 08:57:42.239 | HEAD is now at 1a31f22... Supply missing cisco_cfg_agent.ini file
2014-09-02 08:57:42.240 | + git reset --hard FETCH_HEAD
2014-09-02 08:57:44.807 | HEAD is now at 1a31f22 Supply missing cisco_cfg_agent.ini file
This effects pretty much all of the repositories that we have in the experimental queue, instead of what was expected we end up testing the git commit that was at master when the nodepool template was built.
Changed in tripleo: | |
assignee: | nobody → Derek Higgins (derekh) |
Can we use set-source-vars to set the DIB_REPOREF_* and DIB_REPOLOCATION_* pointing at the correct repo?