Skip to contentSkip to conversation

cr-try-bisect-adhoc: Set laundered_testid so graph URL is correct

PATCH In review Ian Campbell 2 participants 3 messages Dec 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cr-try-bisect-adhoc: Set laundered_testid so graph URL is correct

Otherwise the testid is missing from the filename, resulting in e.g.
http://osstest.test-lab.xenproject.org/~osstest/pub/results-adhoc/bisect/xen-unstable/test-amd64-amd64-qemuu-nested-intel..svg

Instead of test-amd64-amd64-qemuu-nested-intel.debian-hvm-install-l1-l2.svg

---
Untested...

---
 cr-try-bisect-adhoc | 2 ++
 1 file changed, 2 insertions(+)
cr-try-bisect-adhoc +2 -0
index f451324..6d5d7c4 100755
@@ -36,6 +36,8 @@ mkdir -p tmp
 #   testid=
 #   bisect= list of args to cs-bisection-step, eg  '--fail-flight=<mumble>'
 
+laundered_testid=${testid//\//--}
+
 . ./cri-bisect
 . ./cri-args-hostlists
 select_branch
Signature · 1 line
2.6.1
#2 lore raw
Quoted 9 lines · Ian Jackson

Ian Campbell writes ("[PATCH OSSTEST] cr-try-bisect-adhoc: Set laundered_testid so graph URL is correct"):

Quoted 3 lines

Otherwise the testid is missing from the filename, resulting in e.g.
http://osstest.test-lab.xenproject.org/~osstest/pub/results-adhoc/bisec
t/xen-unstable/test-amd64-amd64-qemuu-nested-intel..svg

Looks plausible.

FYI I've cowboyed it into ~osstest/bisects/adhoc.git so we ought to find out on the next step of the current adhoc bisect.

Ian.