Closed pintojoy closed 1 month 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.
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.
def setup(self): """ Setting up test parameters """ log.info("Starting the test setup") self.benchmark_name = "FIO" self.client_pod_name = "fio-client"
super(TestFIOBenchmark, self).setup()
tests/e2e/performance/io_workload/test_fio_benchmark.py:147:
ocs_ci/ocs/perftests.py:99: in setup self.get_node_info(node_type="worker") ocs_ci/ocs/perftests.py:256: in get_node_info self.environment[f"{node_type}_nodes_cpu_num"] = oc_cmd.exec_oc_debug_cmd( ocs_ci/ocs/ocp.py:226: in exec_oc_debug_cmd self.exec_oc_cmd(command=debug_cmd, out_yaml_format=False, timeout=timeout) ocs_ci/ocs/ocp.py:178: in exec_oc_cmd out = run_cmd( ocs_ci/utility/utils.py:482: in run_cmd completed_process = exec_cmd(
cmd = ['oc', '--kubeconfig', '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig', '-n', 'openshift-storage', 'debug', ...] secrets = None, timeout = 300, ignore_error = False, threading_lock = None silent = False, use_shell = False cluster_config = <ocs_ci.framework.MultiClusterConfig object at 0x7f4b3a9e1220> kwargs = {} masked_cmd = 'oc -n openshift-storage debug nodes/10.243.128.48 --to-namespace=openshift-storage -- chroot /host /bin/bash -c "lscpu | grep '^CPU(s):' | awk '{print $NF}' || echo 'CMD FAILED'; "' kubepath = '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig' completed_process = CompletedProcess(args=['oc', '--kubeconfig', '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig'...from server (BadRequest): container "container-00" in pod "1024312848-debug" is waiting to start: ContainerCreating\n') masked_stdout = '' masked_stderr = 'Starting pod/1024312848-debug ...\nTo use host binaries, run chroot /host\n\nRemoving debug pod ...\nError from server (BadRequest): container "container-00" in pod "1024312848-debug" is waiting to start: ContainerCreating\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 -n openshift-storage debug nodes/10.243.128.48 --to-namespace=openshift-storage -- chroot /host /bin/bash -c "lscpu | grep '^CPU(s):' | awk '{print $NF}' || echo 'CMD FAILED'; ". E Error is Starting pod/1024312848-debug ... E To use host binaries, run chroot /host E E Removing debug pod ... E Error from server (BadRequest): container "container-00" in pod "1024312848-debug" is waiting to start: ContainerCreating