Dmitry Sutyagin c8727d1431 Fix: UnicodeDecodeError, broken spec; add SPT
- Only convert outputs/errors to unicode if printing required,
  use 'replace' error handling to avoid errors. Write original
  byte str to output files to avoid double conversion.
- Fix spec broken with 1.26.6.
- Add simplified-performance-testing config & rq files, scripts.
  Can be used after deployment to get a few benchmark values.
  SPT_parser.sh can be used to parse results.

Change-Id: I2aacfdbd9574ff737a6b88a29d87ae56abd03e46
2017-02-23 16:02:58 -08:00

9 lines
180 B
Bash

#!/bin/bash
set -x
. openrc
id=$(glance image-list | grep "spt-test-image" | cut -d' ' -f2)
/usr/bin/time -f%e glance image-download $id 2>&1 > /dev/null
glance image-delete $id