135 Commits

Author SHA1 Message Date
Corey Bryant
f65f51e2db d/control: Align (Build-)Depends with upstream. 2016-06-06 09:46:00 -04:00
Corey Bryant
efaa80e632 d/gbp.conf: Update branch for Newton. 2016-06-06 09:43:31 -04:00
Corey Bryant
10b5386b44 New upstream release. 2016-06-06 09:43:08 -04:00
Corey Bryant
0fc12e210e Release 0.7.0
This release includes:
  * Documentation improvements
  * ostestr: unrecognized arguemnts are passedthrough to testr
  * ostestr: bugfix to always treat xfail as success
  * add a --version flag to all commands
  * subunit-trace: split out functionality from main() to be directly callable
  * regex builder logic from ostestr is broken out into a new command
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
 iQIcBAABCgAGBQJXR1EtAAoJEP0SoPIUyeF3lQkP/13BYqHLeEulyoMCT9s3k8RF
 U3zUDSHp3WfH6+iyqaDAB8fREaIu7BzS0SN7DRkAb4vloQdI+ZlhMehUM5myVvuz
 1ui1rXS3Wf+115gF8jPO/IO9RGvhpbf8ooibH65A8Hh/F2OrypSZMHEtpwF/UK3J
 87DQWNP7RIje3Vfo/GeWp6PeZ7i07nvOQsGUInimvaAwACkVHvvfO5a1CK4wk3Ag
 nqVtt2NyrChW4dZfPzSfNqG6Ioo7S90KQni+62qBef4VdS4H8TPN1rj3itQwLYCL
 6tFpPxFjbauYxLPDk5zI3Gq0gOX8iOBWPFemk0IONl8Rckmv3RXdcjN88k3mbuhg
 O+jFxc8h2zMTQ7JjdYcN5tc5tho2FKlQZR8T1RHln9fCWO3UWAdvAjk5EG4gj9Ed
 27wvbL7ZppfpNJF8Xee3PJzy1Vm24NJqx4ASc4Lixg0NYViyw4rQ5ip4ecEHYSS0
 KruzeV+3mgi/tgLpkyIf2CoQrJFTdGASV7jR1+whMjvPPg/ocuEuiiboU5DsmEXi
 k4vq2u7Ju2CBKMqLwrqGw1LagnIAI0ixzSOCW3XUOPUXiwUyK3WQ4vyUWhUoiCGr
 TZJJSNcNflMJj+fX5c3WjQHibsZwY+FPvbwM45VbPJyzid6STj7e1BjiIcdyIE4+
 Ar39hjarGwjFdPWsop9z
 =qWLS
 -----END PGP SIGNATURE-----

Merge tag '0.7.0' into debian/newton

Release 0.7.0

This release includes:
 * Documentation improvements
 * ostestr: unrecognized arguemnts are passedthrough to testr
 * ostestr: bugfix to always treat xfail as success
 * add a --version flag to all commands
 * subunit-trace: split out functionality from main() to be directly callable
 * regex builder logic from ostestr is broken out into a new command
2016-06-06 09:42:29 -04:00
Jenkins
e5e11dca2e Merge "Add whitelist file to ostestr docs" 0.7.0 2016-05-26 02:00:46 +00:00
Matthew Treinish
74999a5dcc
Add whitelist file to ostestr docs
This commit adds the missing details for the whitelist file to the
ostestr docs.

Change-Id: I863dcad9b1a77a083f7007ab76760e77295c610d
2016-05-24 15:58:41 -04:00
Jenkins
a04c851f35 Merge "Split functionality out of main" 2016-05-24 19:25:41 +00:00
Jenkins
0cf7a786d3 Merge "Seperate regex builder logic into a seperate module" 2016-05-24 19:22:44 +00:00
Jenkins
1afd5e916d Merge "Fix coverage option and execution" 2016-05-23 23:15:00 +00:00
Matthew Treinish
73bf72c71b
Seperate regex builder logic into a seperate module
The regex building logic is independently useful and will likely start
to be used in other places. This commits splits it out from the ostestr
cli and makes it an independent module that just contains the pieces
necessary for building a selection regex.

Change-Id: Ic8494d0f54357fdafd650b40219e6ad7fd5a65ad
2016-05-23 19:10:16 -04:00
Jenkins
a5bd26aaa8 Merge "Fix docs typos" 2016-05-23 23:04:17 +00:00
step6829
7c2bb825c4
Split functionality out of main
This commit splits out the actual output generation functionality from
the main function. It also adds parameters for specifying a stdin and
stdout file object. This enables external access to the output
generation within python, which could be useful for integrating
subunit-trace output with your own test runner.

Change-Id: Id9fc13b9b70c5b2cc47b48eee6426e7e312eff7f
2016-05-23 16:09:58 -04:00
Ondřej Nový
525caa283e d/copyright: Changed source URL to https protocol 2016-05-19 21:26:58 +02:00
Ondřej Nový
a2c69f376a d/rules: Changed UPSTREAM_GIT protocol to https 2016-05-19 21:26:54 +02:00
OpenStack Proposal Bot
24a0b840b5 Updated from global requirements
Change-Id: Ie11baaa6281b9879a469ebf5bae1e17f80325c9a
2016-05-06 22:21:28 +00:00
Jenkins
e92c5e8b37 Merge "Add version option for ostestr and subunit-trace" 2016-04-22 23:11:07 +00:00
Masayuki Igawa
deaabb5fb7 Fix docs typos
This commit fixes docs typos.

Change-Id: I7f2369e2aad82f2883e408f56204c89e723cc376
2016-04-18 16:21:30 +09:00
OpenStack Proposal Bot
23557a0bf8 Updated from global requirements
Change-Id: I12ace2aa7553d892e4325f59dcaeb43271af0eaa
2016-04-13 12:47:16 +00:00
Yushiro FURUKAWA
6e908db6df Fix coverage option and execution
--coverage-package-name option was no longer supported by 'testr'[1].
This commit replaces from 'testr' to 'test' as coverage option.

[1] https://review.openstack.org/#/c/217847/

Change-Id: I0430fd696752c1cd8e33bb2d146e08e442ebc3f8
2016-04-13 07:43:58 +09:00
Masayuki Igawa
0bb53cdfcc Add version option for ostestr and subunit-trace
This commit adds a version option to os-testr commands. Users would like
to confirm the version when then face unexpected behavior of the command
like a bug.

Change-Id: I30ee9623c25f2ce2da0fab0b5e0a2795b46a2cd6
2016-04-12 13:08:32 +09:00
Ondřej Nový
324c49e5f4 Standards-Version is 3.9.8 now (no change) 2016-04-09 19:30:37 +02:00
Thomas Goirand
9b74c1971a * Added generate-subunit to the pool of update-alternatives managed command
line programs.
debian/0.6.0-1
2016-04-04 09:06:25 +00:00
Thomas Goirand
a083b8dd6a Fixed debian/copyright ordering. 2016-04-04 09:03:32 +00:00
Thomas Goirand
0dc3d9e308 Standards-Version: 3.9.7 2016-04-04 09:02:47 +00:00
Thomas Goirand
3271ccd7b5 Release 0.6.0
This release of os-testr includes:
  * ostestr: support for comments in whitelist files
  * A new utility to create subunit streams
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
 iQIcBAABCgAGBQJWi/9XAAoJEP0SoPIUyeF3rTIQAO0yW7eQ98HDwLTbTbz1V6zZ
 S9Gz6EMZC9Ps70mmJZ1i/vm7YmPoinCloPCFIjtt4EZKnQDG5Qf3XjHZsOjjyFHM
 H625DQJaRAOuD2q3TGCp35qPl4tqujq0GlJjlCIGozUhfXIpRAtLv865TpCaUE+g
 Ot4TK937lYE70yavqWas694AMqPuLRIp+rJrV9se0obFuKNyz3OyfiZrshOVmpwC
 kLuOv+b8TKF4GBEF/Nblc/50xE0UmlxSGybv+Qb8T7ednSPCIOF3pKzlWUd+RTZh
 a1ChFTX4epMqdPO99DkfYD8Bw0auk0Ax4On5iXXsryOBnl9DFmkKJHs8B91RgJB2
 D3mqB8gUDJBlx6uRLv9L071GDvc16jn8xTSNC0EEwFuJHp1nx8Hv6bLtfKyrmkNc
 8iBo2anCBXg/+rk9W1X8K21ZV+avwjUaSSjBUUPrQ1L+OAQl1buhIxCZqN979idB
 GBCJPGn1w8j6GtJF2b1J5xin4n+G7b81qvKyaJtezk0LdtG2N4rqMgWJyTxnCeMV
 A23nJ9xxvfZ7hb4w1zas82SxxTyjXZGzACYExThkt6lh20Jl5nwl1eGQLckyqfBN
 hB+TKcCiKoCPfHOG5GahtBNSd6nfVFYbP36JC35FkdD1DISooH16fsSMsz4OZDEm
 llSUiPP4Bii28cUhGier
 =eiEu
 -----END PGP SIGNATURE-----

Merge tag '0.6.0' into debian/mitaka

Release 0.6.0

This release of os-testr includes:
 * ostestr: support for comments in whitelist files
 * A new utility to create subunit streams
2016-04-04 09:01:00 +00:00
Thomas Goirand
c935d97f75 Uploading 0.6.0 to unstable. 2016-04-04 09:00:49 +00:00
Masayuki Igawa
9a6f4c9653 Remove openstack-common.conf
This commit removes openstack-common.conf file. It was introduced by the
cookiecutter when the os-testr repository was created. However, this
file isn't used anymore, and it was already removed from the
cookiecutter repository as a cleanup[1].

[1] I2b5377391a4422caa395f62fbd5df3049f01fdec

Change-Id: Id33e4c7c4bd8cebded08f5dad55a60cf0be7cd0f
2016-04-04 14:46:55 +09:00
Jenkins
7010f0d921 Merge "remove python 3.3 trove classifier" 2016-03-29 19:04:14 +00:00
Jenkins
52ed42c483 Merge "py26/py33 are no longer supported by Infra's CI" 2016-03-29 19:04:09 +00:00
Masayuki Igawa
28a9f32ec7 Add pypi download + version badges into README.rst
This commit adds pypi download and version badges into README.rst.
With these badges, users can know the latest version and download
statistics.

Change-Id: I16eed1cf4acf84df728ba9c9dcf7706d14a484fe
2016-03-28 13:50:58 +09:00
Ondřej Nový
2e5d353f8c Revert 860d0c20fc6bf2980aa05c20a7d1911fcf4d1978 2016-03-02 19:06:52 +01:00
Ondřej Nový
860d0c20fc Removed XS-Testsuite field from d/control (not needed anymore). 2016-03-02 18:46:24 +01:00
Ondřej Nový
76223ee521 Fixed VCS URLs (https). 2016-02-28 15:45:39 +01:00
Ondřej Nový
c7a279b53f Fixed homepage (https). 2016-02-28 15:45:35 +01:00
Shu Muto
7ac7fc457b remove python 3.3 trove classifier
OpenStack projects are no longer being tested under Python 3.3, so
remove the trove classifier implying that this project supports 3.3.

Change-Id: Ic189fc1f4159459457bf9ca0e55969f6b17b2d8e
Closes-Bug: #1526170
2016-02-23 00:19:34 +00:00
Matthew Treinish
8502e72356
Treat xfail output like success
This commit updates one edge case where output from xfail was treated
like a failure instead of like a success.

Change-Id: I073302bc9aea6751906cb4955055c55b7c5dc3fc
2016-02-22 16:30:26 -05:00
Jenkins
c0e03d3e31 Merge "Enable testr run passthrough arguments" 2016-02-11 21:12:50 +00:00
OpenStack Proposal Bot
08b5418f73 Updated from global requirements
Change-Id: I2246ce4ec35e0d60ca68dc6920d6d558a43fde7d
2016-02-10 21:57:50 +00:00
Jenkins
747dce792e Merge "remove python 2.6 trove classifier" 2016-02-04 05:00:51 +00:00
Jake Yip
7980dde165 correct typo
Change-Id: I39e4eacadca8caa5c249de5a2105b4674a54a27b
2016-02-02 15:59:27 +11:00
Jenkins
6f599a2735 Merge "Add unit test for colorizer" 2016-01-28 10:58:40 +00:00
Matthew Treinish
bef89fc8f8
Enable testr run passthrough arguments
This commit enables passing through any unknown arguments to testr run.
There are several features in testr's run cli which aren't exposed in
ostestr. Instead of adding a duplicate argument for each of these this
commit will capture any unidentified arguments and will pass them
through to the testr run subprocess call.

Change-Id: I26eb5c6a5908258c3035b93d72924646bb834d40
2016-01-26 04:40:06 -05:00
Masayuki Igawa
87ec944a0c Updated from global requirements
This commit updates *requirements.txt that comes from global
requirements.

Change-Id: I19df7b5d7ce54d5a793018e8158d985775fb7007
2016-01-26 14:25:59 +09:00
Masayuki Igawa
8f71069bc8 Add unit test for colorizer
This commit adds unit-test cases for colorizer module.

Change-Id: I329a808bbed3240e6fa41ac21d3e5558a0704d6a
2016-01-12 13:58:24 +09:00
Jenkins
2366c8c170 Merge "Add subunit_trace --color option's doc" 2016-01-07 01:20:33 +00:00
Jenkins
29c64b1287 Merge "Support comments in whitelist files" 0.6.0 2016-01-05 17:24:51 +00:00
Davanum Srinivas
b46734734b Support comments in whitelist files
We already support comments in blacklist files. we should
do the same for whitelist files as well.

Change-Id: I5ad0c113cdb04dd1bdaa4d8bfdd1a3ab169fb0af
2016-01-05 11:45:02 -05:00
Matthew Treinish
cc64a3a585
Add tool to create a subunit stream
This commit adds a generate_subunit.py script which is used to
generate a subunit stream with a single result for a period of time.
It takes 2 mandatory args and 2 optional to specify the start time,
stop time, and optionally the status (it defaults to success) and an
id for test (if one isn't provided 'devstack' is used) The resulting
stream is written to STDOUT. There is some overlap with subunit-output
from tool from python-subunit, but this is a much smaller scope to just
just do a test_id, status, and timestamps. subunit-output doesn't support
timestamps. Eventually it'll be good to add the missing pieces to
subunit-output at which point we can likely deprecate and remove this.

The intent here is to leverage this to inject 'test results' into the
subunit2sql db to reflect failures that occur before tempest (or any
other test suite) is run. This is necessary for the openstack-health
dashboard. (otherwise it makes our failure rate look much better than
it is) This is only needed until we get a zuul mysql reporter in place
which can give us the higher level run information.

Change-Id: Icc7df33e4d73ba6322af38fbdf3aea230f2fcf4d
2016-01-04 17:30:47 -05:00
janonymous
6f3958fb35 py26/py33 are no longer supported by Infra's CI
Python 3.3/2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it also.

Change-Id: Ib4c347038aa894ef808c0ab731d9b38982a47b40
2015-12-26 14:22:24 +05:30
Doug Hellmann
5ca66b4680 remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: Iac614c24ba33b169ffcb83680556adf0b550f2c3
2015-12-23 01:31:14 +00:00