Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-5047

Doc, new env var required in order to run latency test using cnf-tests container

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • None
    • None
    • None
    • Rejected
    • T&PS 2023 #01
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      After major changed in the latest version of cnf-tests container the new environment variable is required in order to run latency tests: FEATURES=performance. Without this env var we have an failure on AfterSuite step
        
      

      Version-Release number of selected component (if applicable):

      
      

      Relevant documentation is present here: https://docs.openshift.com/container-platform/4.11/scalability_and_performance/cnf-performing-platform-verification-latency-tests.html

      We need to add this env var to all podman commands:

      $ podman run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig \
      -e LATENCY_TEST_RUN=true -e DISCOVERY_MODE=true -e ROLE_WORKER_CNF=worker-cnf \
      -e LATENCY_TEST_CPUS=10 -e LATENCY_TEST_RUNTIME=600 -e MAXIMUM_LATENCY=20 \
      registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 \
      /usr/bin/test-run.sh -ginkgo.v -ginkgo.focus="cyclictest"

      $ podman run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig \
      -e LATENCY_TEST_RUN=true -e DISCOVERY_MODE=true -e ROLE_WORKER_CNF=worker-cnf \
      -e LATENCY_TEST_CPUS=7 -e LATENCY_TEST_RUNTIME=600 -e MAXIMUM_LATENCY=20 \
      registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 \
      /usr/bin/test-run.sh -ginkgo.v -ginkgo.focus="oslat"

      $ podman run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig \
      -e LATENCY_TEST_RUN=true -e DISCOVERY_MODE=true -e ROLE_WORKER_CNF=worker-cnf \
      -e LATENCY_TEST_CPUS=7 -e LATENCY_TEST_RUNTIME=600 -e MAXIMUM_LATENCY=20 \
      registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 \
      /usr/bin/test-run.sh -ginkgo.v -ginkgo.focus="oslat"

      podman run -v $(pwd)/:/kubeconfig:Z

              rhn-support-tradej Tomas 'Sheldon' Radej
              nkononov@redhat.com Nikita Kononov (Inactive)
              None
              None
              Nikita Kononov Nikita Kononov (Inactive)
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: