+++ This bug was initially created as a clone of Bug #1889621 +++
Description of problem:
PTP test did not pass because cnf-tests did not detect properly the number of nodes running PTP.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure the ptpOperatorConfig CRD to run only on a subset of nodes. For instance, nodes where the role label is equal to cnf-worker.
2. podman run -v $(pwd)/:/kubeconfig:Z -v $(pwd)/reports:/reports:Z -e KUBECONFIG=/kubeconfig/kubeconfig -e DISCOVERY_MODE=true quay.io/openshift-kni/cnf-tests:latest /usr/bin/test-run.sh /usr/bin/test-run.sh -ginkgo.focus="ptp"
• Failure [0.652 seconds]
PTP configuration verifications
Should check that all nodes are running at least one replica of linuxptp-daemon [It]
should be one instance per node
to be ==
PASS since they are just two nodes selected to run the PTP agent.
The nodes where the PTP agent must run is configured in the ptpOperatorConfig CRD. As an example:
Hi i ran downstream image: v4.7.0-1 of openshift4-cnf-tests.
Client Version: 4.6.0
Kubernetes Version: v1.19.1
Bulk closing of all "CNF Platform Validation" component BZs assigned to CNF Network team members and in VERIFIED status for longer than 1 month.