| Summary: | Fail to execute unit tests: neutronclient.tests.unit.test_cli20_agents/network | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Arie Bregman <abregman> |
| Component: | python-neutronclient | Assignee: | Nir Magnezi <nmagnezi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Toni Freger <tfreger> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 (Kilo) | CC: | abregman, amuller, chrisw, jruzicka, jschluet, nyechiel, srevivo |
| Target Milestone: | --- | Keywords: | AutomationBlocker, TestOnly, Triaged, ZStream |
| Target Release: | 7.0 (Kilo) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-neutronclient-2.4.0-2.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-19 19:11:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Is this a bug that is for unittests only? or does it impact customers? if only unittests for OSP 7 let's get abregman to add it to the copr repo or pull it in from -overrides and I can tag it to there. this is a testing only bug and will be closed current release once we have packages available for testing. (In reply to Jon Schlueter from comment #4) > Is this a bug that is for unittests only? or does it impact customers? if > only unittests for OSP 7 let's get abregman to add it to the copr repo or > pull it in from -overrides and I can tag it to there. Any developer should be able to clone the osp 7 neutron client repo and run the unit tests successfully, outside the context of CI. I think that's important to keep in mind as we resolve this bug. (In reply to Assaf Muller from comment #7) > (In reply to Jon Schlueter from comment #4) > > Is this a bug that is for unittests only? or does it impact customers? if > > only unittests for OSP 7 let's get abregman to add it to the copr repo or > > pull it in from -overrides and I can tag it to there. > > Any developer should be able to clone the osp 7 neutron client repo and run > the unit tests successfully, outside the context of CI. I think that's > important to keep in mind as we resolve this bug. I second that. Jon, is it possible to just tag python-tablib (which is already in osp8 repositories) with osp7 as well? Fixed +1 :) According to our records, this should be resolved by python-neutronclient-2.4.0-2.el7ost. This build is available now. moving back to verified |
Description of problem: Fail to execute the following unit tests: neutronclient.tests.unit.test_cli20_network.CLITestV20NetworkJSON.test_list_nets_defined_column neutronclient.tests.unit.test_cli20_agents.CLITestV20Agent.test_list_agents_field neutronclient.tests.unit.test_cli20_network.CLITestV20NetworkXML.test_list_nets_with_default_column Version-Release number of selected component (if applicable): 7 How reproducible: 100% Steps to Reproduce: 1. Clone neutron 2. Run tox --sitepackages -e py27 Actual results: Traceback (most recent call last): testtools.testresult.real._StringException: Empty attachments: stdout stderr: {{{ usage: list_agents [-h] [-f {csv,table}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--max-width <integer>] [--request-format {json,xml}] [-D] [-F FIELD] [--sort-key FIELD] [--sort-dir {asc,desc}] list_agents: error: argument -f/--format: invalid choice: 'json' (choose from 'csv', 'table') }}} Traceback (most recent call last): File "neutronclient/tests/unit/test_cli20_agents.py", line 47, in test_list_agents_field self._test_list_columns(cmd, resources, contents, args) File "neutronclient/tests/unit/test_cli20.py", line 299, in _test_list_columns shell.run_command(cmd, cmd_parser, args) File "neutronclient/shell.py", line 99, in run_command known_args, _values_specs = cmd_parser.parse_known_args(_argv) File "/usr/lib64/python2.7/argparse.py", line 1727, in parse_known_args self.error(str(err)) File "/usr/lib64/python2.7/argparse.py", line 2361, in error self.exit(2, _('%s: error: %s\n') % (self.prog, message)) File "/usr/lib64/python2.7/argparse.py", line 2349, in exit _sys.exit(status) SystemExit: 2 Expected results: Tests passed successfully