When looking at the console log it's more human friendly to sort this output
then for example all the oslo libraries are togther.
Change-Id: Iefe9184c9746e0c6ad487418ceda578bf7b363ff
OpenStack, with one exception, uses testr to run its tests. That means
that the expected outcome of run_tox.sh is that there is no
nose_results.html - however we emit a warning about it being missing on
every run. For folks less familiar with our systems trying to debug test
failures, it's a line that could confuse them.
Change-Id: I60f6b1f1e49bb8b001d5e9743273830188b150f1
Apache knows .txt files are text/plain by default, but doesn't know
what to make of .log files. Rather than hack encoding overrides into
our logserver vhost, just rename the log files by tox only
in run-tox.sh before uploading so that they can be served properly.
Change-Id: I03cba279037259fcaa5073d67caf23662b3a59d2
This adds the required jobs to jenkins to allow jenkins to call tox with
the 'constraints' factor added. This will allow a reasonable way to
test running unit-tests against a virtual environment installed with
constraints on upper-constraints.txt
Change-Id: I17ac389f78af241917b6da7f049085f2b13d30f2
Implements Blueprint: Requirements-Management
This commit removes the local jenkins slave script copy of
subunit2html and switches to using version packaged in os-testr.
Depends-On: I0e27d9401883edd3e254ef4b598c6a58530f52bb
Change-Id: Ib65c41fc5f137eedb21fccfcee1e96b6990ae30d
Cleanup every use of `` for subshells in the jenkins/scripts
directory, replacing them with $(), and finally making the
scripts consistent.
Change-Id: Id3e45fb873c1ebeae6ab63a0caa4c427a7ccbb62
This commit cleans up the subunit capture section of run-tox to
accomplish 2 things. First make the output naming consistent with
dsvm jobs and call the subunit output testrepository.subunit. The
second is to avoid using subunit-1to2 directly. A subunit v2 stream
can be achieved directly from testr last by using the --subunit
flag.
Change-Id: Ica644535f54e28306f4db97217b77f95d2f5943b
Local scoping should be used within functions, as such lets make these
variables global.
Change-Id: I5499e7ab8baf17bac7c5e11b34cc920e25721040
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This change is the first pass of making run-tox.sh usable by
functional jobs. It moves potentially optional checks into functions
to make it easier for subsequent changes to be able to conditionally
execute them.
Change-Id: I2b47ad8cfcd7d1a6dd9a86fe8dc8c682c433ab63
Running the freeze command as posargs to tox targets is unreliable as
those commands may be interpreted as arguments to other commands rather
than as commands themselves. For example `tox -epy26 -- pbr freeze` is
likely pass 'pbr freeze' as test name filters to the py26 test runner.
Instead what we want is to run pbr/pip freeze directly out of the venv
in question.
Change-Id: Iefb8ae4e82dcd31306d03befdc9766f2c1291571
For the things that use pbr, we no longer have git shas in the version
numbers. So, in order to verify what exact version of things we're
installing, use pbr freeze to collect the information.
Change-Id: I41ff993aa86e6a7ac1beed3cc5a3b94dcadbdd7c
It turns out that we want unittest like things even when not running
unittests. Specifically we need things like subunit logs when running
functional tests. We should remove run-unittests and move to a single
tox runner script wherever possible. This means jobs simpler and results
in fewer surprises.
This change is the first in a few to make this happen. Step one
(implemented here) is to make run-tox.sh cover the use of
run-unittest.sh so that we can replace run-unittests.sh with run-tox.sh.
Once this is done and on all of our slave images we will convert all
jobs that use run-unittests.sh to run-tox.sh. Finally we can delete
run-tox.sh.
At some point we should consider doing similar for pep8 jobs and doc
jobs.
Change-Id: I457182df6a17cd599e528217cd7583212164f346
Also create tools/run-bashate.sh to wrap a find command to search for
files to run bashate on, and use it in tox.
Change-Id: I5ab07425f566a556f158a4b76b00aa35f9fb4385
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.
Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3