Archive the raw testrepository log
We are seeing "ValueError: Length too long: 7341892" from subunit-1to2 but I cannot reproduce it locally by testing 457 testr runs. This patch will archive the original testrepository file so that we can debug this issue. Change-Id: Ic85f8d659bb71c464ab9ccccc9a49bb3ca471b13
This commit is contained in:
parent
2a7a3cd5c4
commit
23e24905de
|
@ -51,6 +51,10 @@ function generate_testr_results {
|
|||
$SCRIPTS_DIR/subunit2html ./testrepository.subunit testr_results.html
|
||||
gzip -9 ./testrepository.subunit
|
||||
gzip -9 ./testr_results.html
|
||||
# Archive the raw testrepository file to debug subunit-1to2
|
||||
# ValueError: Length too long: 7341892 errors
|
||||
cp .testrepository/0 ./testrepository.0
|
||||
gzip -9 ./testrepository.0
|
||||
sudo mv ./*.gz /opt/stack/logs/
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue