Skip to content

stratis-pre-1 failing on daily-iso and rawhide with "into_dbus_python._errors.IntoDPUnexpectedValueError: expected a list for an array but found something else: frozenset({'/dev/vda1'})" #1762

Description

@rvykydal

https://redhat.atlassian.net/browse/INSTALLER-4935

In daily run since yesterday https://github.com/rhinstaller/kickstart-tests/actions/runs/35806002602
Reproducible running the kstest locally.

The pre-creation of stratis in %pre script fails, log:

stratis encountered an unexpected error during execution. Please report the error and include in your report the stack trace shown below.
Traceback (most recent call last):
  File "/usr/lib/python3.15/site-packages/dbus_python_client_gen/_invokers.py", line 350, in dbus_func
    xformed_args = func(args)
  File "/usr/lib/python3.15/site-packages/into_dbus_python/_xformer.py", line 334, in the_func
    return [f(a) for (f, a) in zip(funcs, objects, strict=True)]
            ~^^^
  File "/usr/lib/python3.15/site-packages/into_dbus_python/_xformer.py", line 56, in the_func
    raise err
  File "/usr/lib/python3.15/site-packages/into_dbus_python/_xformer.py", line 51, in the_func
    return func(expr, variant=variant)
  File "/usr/lib/python3.15/site-packages/into_dbus_python/_xformer.py", line 158, in the_array_func
    raise IntoDPUnexpectedValueError(
    ...<2 lines>...
    )
into_dbus_python._errors.IntoDPUnexpectedValueError: expected a list for an array but found something else: frozenset({'/dev/vda1'})

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.15/site-packages/stratis_cli/_main.py", line 49, in the_func
    namespace.func(namespace)
    ~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.15/site-packages/stratis_cli/_parser/_parser.py", line 148, in wrapped_func
    func(*args)
    ~~~~^^^^^^^
  File "/usr/lib/python3.15/site-packages/stratis_cli/_actions/_pool.py", line 237, in create_pool
    raise err  # pragma: no cover
    ^^^^^^^^^
  File "/usr/lib/python3.15/site-packages/stratis_cli/_actions/_pool.py", line 203, in create_pool
    Manager.Methods.CreatePool(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        proxy,
        ^^^^^^
    ...<22 lines>...
        },
        ^^
    )
    ^
  File "/usr/lib/python3.15/site-packages/stratis_cli/_actions/_data.py", line 134, in new_method
    return orig_method(proxy, args)
  File "/usr/lib/python3.15/site-packages/dbus_python_client_gen/_invokers.py", line 358, in dbus_func
    raise DPClientMarshallingError(
        err_msg, interface_name, signature, args
    ) from err
dbus_python_client_gen._errors.DPClientMarshallingError: Failed to format arguments (fedora, frozenset({'/dev/vda1'}), [], [], (True, 134217728), (True, <IntegrityTagSpec.B512: '512b'>), (True, True)) according to signature "sasa((bu)s)a((bu)ss)(bt)(bs)(bb)" for method "CreatePool" belonging to interface "org.storage.stratis3.Manager.r9"

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/stratis", line 33, in <module>
    main()
    ~~~~^^
  File "/usr/bin/stratis", line 30, in main
    return run()(sys.argv[1:])
           ~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3.15/site-packages/stratis_cli/_main.py", line 70, in the_func
    handle_error(err)
    ~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.15/site-packages/stratis_cli/_error_reporting.py", line 393, in handle_error
    raise err
  File "/usr/lib/python3.15/site-packages/stratis_cli/_main.py", line 65, in the_func
    raise StratisCliActionError(command_line_args, namespace) from err
stratis_cli._errors.StratisCliActionError: Action selected by command-line arguments ['pool', 'create', 'fedora', '/dev/vda1'] which were parsed to Namespace(print_all_help=None, propagate=False, unhyphenated_uuids=False, func=<function add_subcommand.<locals>.wrap_func.<locals>.wrapped_func at 0x7fd2ef265b10>, key_desc=None, post_parser=<class 'stratis_cli._parser._pool.CreateOptions'>, pool_name='fedora', blockdevs=['/dev/vda1'], no_overprovision=False, clevis=None, integrity=<stratis_cli._parser._pool.IntegrityOptions object at 0x7fd2f0611a90>) failed
Execution failed:
Most likely you specified a pool which does not exist.
Execution failed:
Most likely you specified a pool which does not exist.
mount: /mnt/test-home: fsconfig() failed: /dev/stratis/fedora/home: Can't lookup blockdev.
       dmesg(1) may have more information after failed mount system call.
umount: /mnt/test-home: not mounted.

Journal:
jctl.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    failing testThe test is failing. (Not disabled yet - waiting for PR review or because the failure is flaky ...)priority: highIssues with the highest priority.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions