Skip to content

Conversation

@DanielOsypenko
Copy link
Contributor

pr to resolve issue:

The kubeconfig file ../clusters/dahorak-test/auth/kubeconfig doesn't exist!
/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/config/__init__.py:318: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: helpconfig, Hook: pytest_cmdline_parse
Failed: Cluster is not available!
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
  config = pluginmanager.hook.pytest_cmdline_parse(
Traceback (most recent call last):
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/bin/run-ci", line 8, in <module>
    sys.exit(main())
  File "/home/dahorak/RedHat/OCS/ocs-ci/ocs_ci/framework/main.py", line 30, in main
    return pytest.main(arguments)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/config/__init__.py", line 143, in main
    config = _prepareconfig(args, plugins)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/config/__init__.py", line 318, in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/pluggy/_hooks.py", line 513, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/pluggy/_callers.py", line 156, in _multicall
    teardown[0].send(outcome)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/helpconfig.py", line 100, in pytest_cmdline_parse
    config: Config = outcome.get_result()
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/pluggy/_result.py", line 100, in get_result
    raise exc.with_traceback(exc.__traceback__)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/pluggy/_callers.py", line 103, in _multicall
    res = hook_impl.function(*args)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/config/__init__.py", line 1003, in pytest_cmdline_parse
    self.parse(args)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/config/__init__.py", line 1283, in parse
    self._preparse(args, addopts=addopts)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/config/__init__.py", line 1168, in _preparse
    self.pluginmanager.consider_preparse(args, exclude_only=False)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/config/__init__.py", line 635, in consider_preparse
    self.consider_pluginarg(parg)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/config/__init__.py", line 660, in consider_pluginarg
    self.import_plugin(arg, consider_entry_points=True)
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/config/__init__.py", line 703, in import_plugin
    __import__(importspec)
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module
    exec(co, module.__dict__)
  File "/home/dahorak/RedHat/OCS/ocs-ci/ocs_ci/framework/pytest_customization/marks.py", line 474, in <module>
    run_on_all_clients_push_missing_configs = setup_multicluster_marker(
  File "/home/dahorak/RedHat/OCS/ocs-ci/ocs_ci/framework/pytest_customization/marks.py", line 457, in setup_multicluster_marker
    hypershift_cluster_factory(
  File "/home/dahorak/RedHat/OCS/ocs-ci/ocs_ci/deployment/hosted_cluster.py", line 196, in wrapper
    return func(*args, **kwargs)
  File "/home/dahorak/RedHat/OCS/ocs-ci/ocs_ci/deployment/hosted_cluster.py", line 2066, in hypershift_cluster_factory
    hosted_clients_obj = HostedClients()
  File "/home/dahorak/RedHat/OCS/ocs-ci/ocs_ci/deployment/hosted_cluster.py", line 239, in __init__
    HyperShiftBase.__init__(self)
  File "/home/dahorak/RedHat/OCS/ocs-ci/ocs_ci/deployment/helpers/hypershift_base.py", line 378, in __init__
    BaseOCPDeployment(skip_download_installer=True).test_cluster()
  File "/home/dahorak/RedHat/OCS/ocs-ci/ocs_ci/deployment/ocp.py", line 226, in test_cluster
    pytest.fail("Cluster is not available!")
  File "/home/dahorak/RedHat/OCS/ocs-ci/venv/lib64/python3.9/site-packages/_pytest/outcomes.py", line 153, in fail
    raise Failed(msg=msg, pytrace=pytrace)
Failed: Cluster is not available!

@DanielOsypenko DanielOsypenko self-assigned this Oct 16, 2025
@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines label Oct 16, 2025
@openshift-ci
Copy link

openshift-ci bot commented Oct 16, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: DanielOsypenko

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Labels

do-not-merge/work-in-progress size/L PR that changes 100-499 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant