Actions
Bug #16335
closedValueError: too many values to unpack
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
[~/teuthology] (master) dzafman$ git log -1 commit 30ddb815ca0fadb706534a63c1e8e8979f569c91 Merge: 715a642 7f0ea0f Author: Yuri Weinstein <yuri.weinstein@gmail.com> Date: Wed Jun 15 08:22:10 2016 -0700 Merge pull request #877 from ceph/wip-suite-fix get_gitbuilder_hash: use default distro if needed [~/teuthology] (master) dzafman$ ./bootstrap New python executable in virtualenv/bin/python .... Successfully installed argparse-1.2.1 teuthology-0.1.0 [~/teuthology] (master) dzafman$ teuthology-suite -d ubuntu -s rados -t master -c wip-zafman-testing --machine-type smithi -p 85 --subset 19/100 --dry-run 2016-06-14 22:31:55,114.114 INFO:teuthology.suite:Passed subset=19/100 2016-06-14 22:31:56,274.274 INFO:teuthology.suite.run:ceph sha1: 18cf3c36d8be8ea4d0de3d0d73874c3ab6d37034 2016-06-14 22:31:56,274.274 INFO:teuthology.packaging:Looking for package version: http://gitbuilder.ceph.com/ceph-deb-trusty-x86_64-basic/sha1/18cf3c36d8be8ea4d0de3d0d73874c3ab6d37034/version 2016-06-14 22:31:56,688.688 INFO:teuthology.packaging:Package found... 2016-06-14 22:31:56,697.697 INFO:teuthology.packaging:Found version: 10.2.0-2336-g18cf3c3-1trusty 2016-06-14 22:31:56,697.697 INFO:teuthology.suite.run:ceph version: 10.2.0-2336-g18cf3c3-1trusty 2016-06-14 22:31:56,697.697 INFO:teuthology.suite.run:teuthology branch: master 2016-06-14 22:31:57,512.512 INFO:teuthology.suite.run:branch wip-zafman-testing not in ceph-qa-suite.git; will use master for ceph-qa-suite 2016-06-14 22:31:58,399.399 INFO:teuthology.suite.run:ceph-qa-suite branch: master bf46e20aa25c18d2dc29683e4418fe0a54fc8a28 2016-06-14 22:31:58,405.405 INFO:teuthology.repo_utils:Fetching from upstream into /home/dzafman/src/ceph-qa-suite_master 2016-06-14 22:32:09,277.277 INFO:teuthology.repo_utils:Resetting repo at /home/dzafman/src/ceph-qa-suite_master to branch master Traceback (most recent call last): File "/home/dzafman/teuthology/virtualenv/bin/teuthology-suite", line 9, in <module> load_entry_point('teuthology==0.1.0', 'console_scripts', 'teuthology-suite')() File "/home/dzafman/src/teuthology/scripts/suite.py", line 100, in main return teuthology.suite.main(args) File "/home/dzafman/src/teuthology/teuthology/suite/__init__.py", line 87, in main run.prepare_and_schedule() File "/home/dzafman/src/teuthology/teuthology/suite/run.py", line 240, in prepare_and_schedule num_jobs = self.schedule_suite() File "/home/dzafman/src/teuthology/teuthology/suite/run.py", line 271, in schedule_suite build_matrix(suite_path, subset=self.args.subset) File "/home/dzafman/src/teuthology/teuthology/suite/build_matrix.py", line 42, in build_matrix mat, first, matlimit = _get_matrix(path, subset) File "/home/dzafman/src/teuthology/teuthology/suite/build_matrix.py", line 51, in _get_matrix (index, outof) = subset ValueError: too many values to unpack
Updated by Dan Mick almost 8 years ago
- Assignee set to Zack Cerza
- Source changed from other to Development
subset is parsed to a tuple as a local in suite.__init__.main but not passed to Run. A fix would be to put it back in args['--subset'] as a tuple; I think that's what the original code used it as from then on
Updated by Zack Cerza almost 8 years ago
- Status changed from New to Fix Under Review
- Priority changed from Normal to Immediate
Updated by Zack Cerza almost 8 years ago
- Status changed from Fix Under Review to Resolved
Actions