Project

General

Profile

Bug #14625

yaml fragment errors result in very unhelpful assertion failures

Added by Greg Farnum about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

gregf@teuthology:~$ teuthology-suite -s fs -c master --suite-branch greg-dir-rstats -m mira -e gfarnum@redhat.com -p 101 --dry-run
2016-02-03 02:16:40,769.769 INFO:teuthology.suite:ceph sha1: 06cecb4b907a38b8131e6a12f01d9b5e22c19cf4
2016-02-03 02:16:40,773.773 INFO:teuthology.suite:ceph version: v10.0.2-1625.g06cecb4
2016-02-03 02:16:40,773.773 INFO:teuthology.suite:teuthology branch: master
2016-02-03 02:16:41,829.829 INFO:teuthology.suite:ceph-qa-suite branch: greg-dir-rstats b09e1929734b883f0a230665d6fee60c421a2f11
2016-02-03 02:16:41,831.831 INFO:teuthology.repo_utils:Cloning git://git.ceph.com/git/ceph-qa-suite.git greg-dir-rstats from upstream
2016-02-03 02:16:49,136.136 INFO:teuthology.repo_utils:Resetting repo at /home/gregf/src/ceph-qa-suite_greg-dir-rstats to branch greg-dir-rstats
2016-02-03 02:16:49,252.252 INFO:teuthology.suite:Suite fs in /home/gregf/src/ceph-qa-suite_greg-dir-rstats/suites/fs generated 83 jobs (not yet filtered)
Traceback (most recent call last):
  File "/home/gregf/teuthology/virtualenv/bin/teuthology-suite", line 9, in <module>
    load_entry_point('teuthology==0.1.0', 'console_scripts', 'teuthology-suite')()
  File "/home/gregf/teuthology/scripts/suite.py", line 94, in main
    teuthology.suite.main(args)
  File "/home/gregf/teuthology/teuthology/suite.py", line 121, in main
    throttle=throttle,
  File "/home/gregf/teuthology/teuthology/suite.py", line 324, in prepare_and_schedule
    throttle=throttle
  File "/home/gregf/teuthology/teuthology/suite.py", line 619, in schedule_suite
    deep_merge(full_job_config, parsed_yaml)
  File "/home/gregf/teuthology/teuthology/misc.py", line 1061, in deep_merge
    a[k] = deep_merge(a[k], v)
  File "/home/gregf/teuthology/teuthology/misc.py", line 1061, in deep_merge
    a[k] = deep_merge(a[k], v)
  File "/home/gregf/teuthology/teuthology/misc.py", line 1061, in deep_merge
    a[k] = deep_merge(a[k], v)
  File "/home/gregf/teuthology/teuthology/misc.py", line 1061, in deep_merge
    a[k] = deep_merge(a[k], v)
  File "/home/gregf/teuthology/teuthology/misc.py", line 1058, in deep_merge
    assert isinstance(b, dict)
AssertionError

History

#1 Updated by Greg Farnum about 8 years ago

I presume I broke my yaml somehow. Given that I copied another file, I'm not sure how — will update when I figure out the real issue.

#2 Updated by Greg Farnum about 8 years ago

Oh yeah, I used an equals sign instead of a colon for setting a config value. :)

#3 Updated by Zack Cerza about 8 years ago

  • Status changed from New to Closed

Also available in: Atom PDF