Project

General

Profile

Actions

Fix #9842

closed

deep_merge failure should display more information

Added by Loïc Dachary over 9 years ago. Updated over 9 years ago.

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

100%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

It is quite difficult to figure what could be wrong from the following stack trace when a deep_merge fails:

loic@fold:~/software/ceph/teuthology$ ./virtualenv/bin/teuthology-suite --limit 1 --suite-dir ~/software/ceph/ceph-qa-suite --machine-type vps --suite upgrade/firefly-x/stress-split-erasure-code --email loic@dachary.org
2014-10-20 17:42:26,399.399 INFO:teuthology.suite:kernel sha1: d92fe4704c41fb6ebd320c40647de7098a69bc99
2014-10-20 17:42:26,407.407 INFO:teuthology.suite:ceph sha1: dbe11d1e9b7b007dbe8d4a0fc91c00eac350733b
2014-10-20 17:42:26,414.414 INFO:teuthology.suite:ceph version: 0.86-427-gdbe11d1-1precise
2014-10-20 17:42:26,704.704 INFO:teuthology.suite:teuthology branch: master
2014-10-20 17:42:26,979.979 INFO:teuthology.suite:ceph-qa-suite branch: master
2014-10-20 17:42:27,016.016 INFO:teuthology.suite:Suite upgrade:firefly-x:stress-split-erasure-code in /home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code generated 4 jobs (not yet filtered)
2014-10-20 17:42:27,045.045 INFO:teuthology.suite:Scheduling upgrade:firefly-x:stress-split-erasure-code/{0-cluster/start.yaml 1-firefly-install/firefly.yaml 2-partial-upgrade/firsthalf.yaml 3-thrash/default.yaml 4-mon/mona.yaml 5-workload/ec-rados-default.yaml 6-next-mon/monb.yaml 8-next-mon/monc.yaml 9-workload/ec-no-lrc.yaml distros/rhel_7.0.yaml}
Traceback (most recent call last):
  File "./virtualenv/bin/teuthology-schedule", line 9, in <module>
    load_entry_point('teuthology==0.1.0', 'console_scripts', 'teuthology-schedule')()
  File "/home/loic/software/ceph/teuthology/scripts/schedule.py", line 44, in main
    teuthology.schedule.main(args)
  File "/home/loic/software/ceph/teuthology/teuthology/schedule.py", line 21, in main
    job_config = build_config(args)
  File "/home/loic/software/ceph/teuthology/teuthology/schedule.py", line 37, in build_config
    conf_dict = deep_merge(conf_dict, partial_dict)
  File "/home/loic/software/ceph/teuthology/teuthology/misc.py", line 1021, in deep_merge
    assert isinstance(b, dict)
AssertionError
Traceback (most recent call last):
  File "./virtualenv/bin/teuthology-suite", line 9, in <module>
    load_entry_point('teuthology==0.1.0', 'console_scripts', 'teuthology-suite')()
  File "/home/loic/software/ceph/teuthology/scripts/suite.py", line 76, in main
    teuthology.suite.main(args)
  File "/home/loic/software/ceph/teuthology/teuthology/suite.py", line 97, in main
    filter_out=filter_out,
  File "/home/loic/software/ceph/teuthology/teuthology/suite.py", line 270, in prepare_and_schedule
    filter_out=filter_out,
  File "/home/loic/software/ceph/teuthology/teuthology/suite.py", line 500, in schedule_suite
    args=arg,
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./virtualenv/bin/teuthology-schedule', '--name', 'loic-2014-10-20_17:42:26-upgrade:firefly-x:stress-split-erasure-code-master-testing-basic-vps', '--num', '1', '--worker', 'vps', '--priority', '1000', '--description', 'upgrade:firefly-x:stress-split-erasure-code/{0-cluster/start.yaml 1-firefly-install/firefly.yaml 2-partial-upgrade/firsthalf.yaml 3-thrash/default.yaml 4-mon/mona.yaml 5-workload/ec-rados-default.yaml 6-next-mon/monb.yaml 8-next-mon/monc.yaml 9-workload/ec-no-lrc.yaml distros/rhel_7.0.yaml}', '--', '/tmp/schedule_suite_xpEl09', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/0-cluster/start.yaml', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/1-firefly-install/firefly.yaml', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/2-partial-upgrade/firsthalf.yaml', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/3-thrash/default.yaml', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/4-mon/mona.yaml', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/5-workload/ec-rados-default.yaml', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/6-next-mon/monb.yaml', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/8-next-mon/monc.yaml', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/9-workload/ec-no-lrc.yaml', '/home/loic/software/ceph/ceph-qa-suite/suites/upgrade/firefly-x/stress-split-erasure-code/distros/rhel_7.0.yaml']' returned non-zero exit status 1
loic@fold:~/software/ceph/teuthology$ 
<pre>

Actions #1

Updated by Loïc Dachary over 9 years ago

  • Status changed from In Progress to Fix Under Review
  • % Done changed from 0 to 80
Actions #2

Updated by Loïc Dachary over 9 years ago

  • Status changed from Fix Under Review to Resolved
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF