Open nagendra202 opened 12 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs.
@nagendra202 Did you observe this issue in recent runs?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs.
Message: ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc --kubeconfig /home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig -n myjenkins-1 get Build jax-rs-build-1 -n myjenkins-1 -o yaml. Error is Error from server (ServiceUnavailable): the server is currently unable to handle the request (get builds.build.openshift.io jax-rs-build-1) Type: None
Text: self = <tests.e2e.workloads.app.jenkins.test_jenkins_node_reboot.TestJenkinsNodeReboot object at 0x7f71c17b7100> jenkins = <ocs_ci.ocs.jenkins.Jenkins object at 0x7f724e616ee0> nodes = <ocs_ci.ocs.platform_nodes.VMWareUPINodes object at 0x7f724e616fa0> node_type = 'master', num_projects = 2, num_of_builds = 15
@pytest.mark.parametrize( argnames=["node_type", "num_projects", "num_of_builds"], argvalues=[ pytest.param( [MASTER_MACHINE, 2, 15], marks=pytest.mark.polarion_id("OCS-2202") ), pytest.param( [WORKER_MACHINE, 2, 15], marks=pytest.mark.polarion_id("OCS-2178") ), ], ) @pytest.mark.usefixtures(jenkins_setup.name) def test_run_jenkins_node_reboot( self, jenkins, nodes, node_type, num_projects, num_of_builds ): """
jenkins.wait_for_build_to_complete()
tests/e2e/workloads/app/jenkins/test_jenkins_node_reboot.py:99:
ocs_ci/ocs/jenkins.py:150: in wait_for_build_to_complete jenkins_builds = self.get_builds_sorted_by_number(project=project) ocs_ci/ocs/jenkins.py:185: in get_builds_sorted_by_number jenkins_builds_unsorted = self.get_builds_obj(namespace=project) ocs_ci/ocs/jenkins.py:222: in get_builds_obj ocp_dict = ocp_obj.get(resource_name=build_name) ocs_ci/ocs/ocp.py:291: in get return self.exec_oc_cmd( ocs_ci/ocs/ocp.py:178: in exec_oc_cmd out = run_cmd( ocs_ci/utility/utils.py:481: in run_cmd completed_process = exec_cmd(
cmd = ['oc', '--kubeconfig', '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig', '-n', 'myjenkins-1', 'get', ...] secrets = None, timeout = 600, ignore_error = False, threading_lock = None silent = False, use_shell = False cluster_config = <ocs_ci.framework.MultiClusterConfig object at 0x7f726111e6a0> kwargs = {} masked_cmd = 'oc --kubeconfig /home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig -n myjenkins-1 get Build jax-rs-build-1 -n myjenkins-1 -o yaml' completed_process = CompletedProcess(args=['oc', '--kubeconfig', '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig'...ceUnavailable): the server is currently unable to handle the request (get builds.build.openshift.io jax-rs-build-1)\n') masked_stdout = '' masked_stderr = 'Error from server (ServiceUnavailable): the server is currently unable to handle the request (get builds.build.openshift.io jax-rs-build-1)\n'
def exec_cmd( cmd, secrets=None, timeout=600, ignore_error=False, threading_lock=None, silent=False, use_shell=False, cluster_config=None, **kwargs, ): """ Run an arbitrary command locally
E ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc --kubeconfig /home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig -n myjenkins-1 get Build jax-rs-build-1 -n myjenkins-1 -o yaml. E Error is Error from server (ServiceUnavailable): the server is currently unable to handle the request (get builds.build.openshift.io jax-rs-build-1)
ocs_ci/utility/utils.py:661: CommandFailed
RP: https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/557/17069/828575/828603/828605/log?logParams=history%3D619487%26page.page%3D1