Bot doesn't understand difference between project and repo checkout path
Bug #870803 reported by
Paul Sokolovsky
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Android Bot Review |
Fix Released
|
Medium
|
Frans Gifford |
Bug Description
https:/
+ eval cd platform/build '&&' git fetch http://
++ cd platform/build
/mnt/jenkins/
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE
That's because checkout path differs from project path, and the mapping is specified in the manifest, for example "platform/build" is checked out to "build".
Related branches
lp:~fgiff/linaro-android-bot-review/870803
- Frans Gifford (community): Approve
-
Diff: 92 lines (+34/-27)2 files modifiedandroidbotreview.py (+16/-12)
tests/testandroidbotreview.py (+18/-15)
Changed in linaro-android-bot-review: | |
assignee: | nobody → Frans Gifford (fgiff) |
importance: | Undecided → Medium |
Changed in linaro-android-bot-review: | |
status: | Confirmed → In Progress |
Changed in linaro-android-bot-review: | |
status: | In Progress → Fix Released |
Changed in linaro-android-bot-review: | |
milestone: | none → 11.11 |
To post a comment you must log in.
The code that causes this is part of a workaround:
# repo download doesn't work from android-build. Use a workaround.
#extra_ config = "repo download %s %s/%s" % ( chSet"] ["number" ])
extra_ config += "CONFIGURATION='%s && %s && %s && %s'" % (
"git fetch http:// %s/p/%s %s" % (self.gc. review_ host,
rev["project" ],
rev["currentPa tchSet" ]["ref" ]),
"git checkout FETCH_HEAD",
# It's probably something to do with the mirroring we do.
# rev["project"],
# rev["number"],
# rev["currentPat
"cd %s" % (rev["project"]),
"cd -")
If we can determine what causes repo download to fail, we can fix this by taking out the workaround.