Skip to content

Resource manager hooks - #788

Draft
PawelPlesniak wants to merge 15 commits into
developfrom
PawelPlesniak/ResourceManagerHooks
Draft

Resource manager hooks#788
PawelPlesniak wants to merge 15 commits into
developfrom
PawelPlesniak/ResourceManagerHooks

Ruff linting

5d62033
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / JUnit Test Report failed May 22, 2026 in 0s

225 tests run, 213 passed, 8 skipped, 4 failed.

Annotations

Check failure on line 1 in nightly/NFD_DEV_260522_A9/sourcecode/drunc/tests/controller/interface/test_controller.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_controller.test_controller_init

failed on setup with "RuntimeError: Unable to open database off of "oksconflibs:one-controller-config.data.xml"; one reason is that it looks like "one-controller-config.data.xml" doesn't exist"
Raw output
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/Configuration.py:64: in __init__
    super(Configuration, self).__init__(connection)
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/proxy.py:89: in initfun
    obj = memberclass(*args, **kwds)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
E   RuntimeError: oksconflibs initialization error

During handling of the above exception, another exception occurred:
tests/conftest.py:205: in one_controller_running
    processes_and_logs, session_dal, session_name = boot_session(
tests/conftest.py:89: in boot_session
    consolidate_db(configuration_file, configuration_consolidated_file)
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/daqconf-NB_DEV_260522_A9-aao5ner7gil6uy2ncitmseuzcjsmglb6/lib64/python/daqconf/consolidate.py:29: in consolidate_db
    db, new_db = create_copy_template(oksfile, output_file)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/daqconf-NB_DEV_260522_A9-aao5ner7gil6uy2ncitmseuzcjsmglb6/lib64/python/daqconf/consolidate.py:49: in create_copy_template
    db = conffwk.Configuration("oksconflibs:" + oksfile)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/Configuration.py:75: in __init__
    raise RuntimeError(f"{preamble}; one reason is that it looks like \"{dbfilename}\" doesn't exist")
E   RuntimeError: Unable to open database off of "oksconflibs:one-controller-config.data.xml"; one reason is that it looks like "one-controller-config.data.xml" doesn't exist

Check failure on line 1 in nightly/NFD_DEV_260522_A9/sourcecode/drunc/tests/controller/interface/test_controller.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_controller.test_controller_registered_on_connectivity_service

failed on setup with "RuntimeError: Unable to open database off of "oksconflibs:one-controller-config.data.xml"; one reason is that it looks like "one-controller-config.data.xml" doesn't exist"
Raw output
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/Configuration.py:64: in __init__
    super(Configuration, self).__init__(connection)
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/proxy.py:89: in initfun
    obj = memberclass(*args, **kwds)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
E   RuntimeError: oksconflibs initialization error

During handling of the above exception, another exception occurred:
tests/conftest.py:205: in one_controller_running
    processes_and_logs, session_dal, session_name = boot_session(
tests/conftest.py:89: in boot_session
    consolidate_db(configuration_file, configuration_consolidated_file)
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/daqconf-NB_DEV_260522_A9-aao5ner7gil6uy2ncitmseuzcjsmglb6/lib64/python/daqconf/consolidate.py:29: in consolidate_db
    db, new_db = create_copy_template(oksfile, output_file)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/daqconf-NB_DEV_260522_A9-aao5ner7gil6uy2ncitmseuzcjsmglb6/lib64/python/daqconf/consolidate.py:49: in create_copy_template
    db = conffwk.Configuration("oksconflibs:" + oksfile)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/Configuration.py:75: in __init__
    raise RuntimeError(f"{preamble}; one reason is that it looks like \"{dbfilename}\" doesn't exist")
E   RuntimeError: Unable to open database off of "oksconflibs:one-controller-config.data.xml"; one reason is that it looks like "one-controller-config.data.xml" doesn't exist

Check failure on line 1 in nightly/NFD_DEV_260522_A9/sourcecode/drunc/tests/controller/test_controller_driver.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_controller_driver.test_controller_driver_init

failed on setup with "RuntimeError: Unable to open database off of "oksconflibs:one-controller-config.data.xml"; one reason is that it looks like "one-controller-config.data.xml" doesn't exist"
Raw output
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/Configuration.py:64: in __init__
    super(Configuration, self).__init__(connection)
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/proxy.py:89: in initfun
    obj = memberclass(*args, **kwds)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
E   RuntimeError: oksconflibs initialization error

During handling of the above exception, another exception occurred:
tests/conftest.py:205: in one_controller_running
    processes_and_logs, session_dal, session_name = boot_session(
tests/conftest.py:89: in boot_session
    consolidate_db(configuration_file, configuration_consolidated_file)
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/daqconf-NB_DEV_260522_A9-aao5ner7gil6uy2ncitmseuzcjsmglb6/lib64/python/daqconf/consolidate.py:29: in consolidate_db
    db, new_db = create_copy_template(oksfile, output_file)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/daqconf-NB_DEV_260522_A9-aao5ner7gil6uy2ncitmseuzcjsmglb6/lib64/python/daqconf/consolidate.py:49: in create_copy_template
    db = conffwk.Configuration("oksconflibs:" + oksfile)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/Configuration.py:75: in __init__
    raise RuntimeError(f"{preamble}; one reason is that it looks like \"{dbfilename}\" doesn't exist")
E   RuntimeError: Unable to open database off of "oksconflibs:one-controller-config.data.xml"; one reason is that it looks like "one-controller-config.data.xml" doesn't exist

Check failure on line 1 in nightly/NFD_DEV_260522_A9/sourcecode/drunc/tests/process_manager/test_oks_parser.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_oks_parser.test_connectivity_service_started

failed on setup with "RuntimeError: Unable to open database off of "oksconflibs:one-controller-config.data.xml"; one reason is that it looks like "one-controller-config.data.xml" doesn't exist"
Raw output
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/Configuration.py:64: in __init__
    super(Configuration, self).__init__(connection)
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/proxy.py:89: in initfun
    obj = memberclass(*args, **kwds)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
E   RuntimeError: oksconflibs initialization error

During handling of the above exception, another exception occurred:
tests/conftest.py:205: in one_controller_running
    processes_and_logs, session_dal, session_name = boot_session(
tests/conftest.py:89: in boot_session
    consolidate_db(configuration_file, configuration_consolidated_file)
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/daqconf-NB_DEV_260522_A9-aao5ner7gil6uy2ncitmseuzcjsmglb6/lib64/python/daqconf/consolidate.py:29: in consolidate_db
    db, new_db = create_copy_template(oksfile, output_file)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/daqconf-NB_DEV_260522_A9-aao5ner7gil6uy2ncitmseuzcjsmglb6/lib64/python/daqconf/consolidate.py:49: in create_copy_template
    db = conffwk.Configuration("oksconflibs:" + oksfile)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/cvmfs/dunedaq-development.opensciencegrid.org/nightly/NB_DEV_260522_A9/spack-0.22.0/opt/spack/linux-almalinux9-x86_64/gcc-14.3.0/conffwk-NB_DEV_260522_A9-y32dsb7eqm5utiqpr4fpymvujmpq6ux6/lib64/python/conffwk/Configuration.py:75: in __init__
    raise RuntimeError(f"{preamble}; one reason is that it looks like \"{dbfilename}\" doesn't exist")
E   RuntimeError: Unable to open database off of "oksconflibs:one-controller-config.data.xml"; one reason is that it looks like "one-controller-config.data.xml" doesn't exist