linux-system-roles-a212-56-cjsww: linux-system-roles/podman: pull #8 (341623f) on fedora-36
===========================================================================================

+ git init --quiet /tmp/tmpczr1g_rs
+ GIT_TERMINAL_PROMPT=0 git -C /tmp/tmpczr1g_rs fetch --quiet --depth=1 https://github.com/linux-system-roles/podman pull/8/head
+ git -C /tmp/tmpczr1g_rs checkout --quiet FETCH_HEAD
Traceback (most recent call last):
  File "/test/run-tests", line 1205, in handle_task
    result = task.run(
  File "/test/run-tests", line 643, in run
    lsr_r2c_module.role2collection()
  File "/test/lsr_role2collection.py", line 1340, in role2collection
    copy_tree_with_replace(
  File "/test/lsr_role2collection.py", line 719, in copy_tree_with_replace
    lsrxfrm.run()
  File "/test/lsr_role2collection.py", line 291, in run
    lsrft = self.file_xfrm_cls(
  File "/test/lsr_role2collection.py", line 160, in __init__
    self.ruamel_data = self.ruamel_yaml.load(buf)
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/main.py", line 341, in load
    return constructor.get_single_data()
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/constructor.py", line 113, in get_single_data
    return self.construct_document(node)
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/constructor.py", line 123, in construct_document
    for _dummy in generator:
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/constructor.py", line 1563, in construct_yaml_map
    self.construct_mapping(node, data, deep=True)
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/constructor.py", line 1468, in construct_mapping
    value = self.construct_object(value_node, deep=deep)
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/constructor.py", line 146, in construct_object
    data = self.construct_non_recursive_object(node)
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/constructor.py", line 188, in construct_non_recursive_object
    for _dummy in generator:
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/constructor.py", line 1563, in construct_yaml_map
    self.construct_mapping(node, data, deep=True)
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/constructor.py", line 1469, in construct_mapping
    if self.check_mapping_key(node, key_node, maptyp, key, value):
  File "/usr/lib/python3.9/site-packages/ruamel/yaml/constructor.py", line 295, in check_mapping_key
    raise DuplicateKeyError(*args)
ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping
  in "<unicode string>", line 6, column 5:
        podman_run_as_user: root
        ^ (line: 6)
found duplicate key "podman_containers_conf" with value "ordereddict([('containers', ordereddict([('annotations', ordereddict([('environment', 'production'), ('status', 'tier2')]))]))])" (original value: "ordereddict([('containers', ordereddict([('annotations', ordereddict([('environment', 'production'), ('status', 'tier2')]))]))])")
  in "<unicode string>", line 85, column 5:
        podman_containers_conf:
        ^ (line: 85)

To suppress this check see:
    http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys

Duplicate keys will become an error in future releases, and are errors
by default when using the new API.


index