@@ -78,20 +78,6 @@ WORKDIR /app
7878COPY . .
7979RUN make test-bin
8080
81- # Build latency-test binaries
82- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-4.22 as builder-latency-test-tools
83-
84- ENV RT_TESTS_URL=https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot
85- ENV RT_TESTS_PKG=rt-tests-2.0
86-
87- RUN yum install -y numactl-devel make gcc && \
88- curl -O $RT_TESTS_URL/$RT_TESTS_PKG.tar.gz && \
89- tar -xvf $RT_TESTS_PKG.tar.gz && \
90- cd $RT_TESTS_PKG && \
91- make oslat hwlatdetect cyclictest && \
92- cp oslat /oslat && \
93- cp hwlatdetect /hwlatdetect && \
94- cp cyclictest /cyclictest
9581
9682FROM registry.ci.openshift.org/ocp/4.22:oc-rpms AS oc
9783
@@ -104,7 +90,7 @@ ENV CNF_TESTS_IMAGE=cnf-tests:${OCP_VERSION}
10490ENV DPDK_TESTS_IMAGE=dpdk:${OCP_VERSION}
10591
10692# python3 is needed for hwlatdetect
107- RUN yum install -y lksctp-tools iproute tmux ethtool iputils numactl-libs iptables kmod linuxptp iperf3 python3 nc nftables findutils && \
93+ RUN yum install -y lksctp-tools iproute tmux ethtool iputils numactl-libs iptables kmod linuxptp iperf3 python3 nc nftables findutils realtime-tests && \
10894 yum clean all
10995
11096RUN mkdir -p /usr/local/etc/cnf
@@ -113,13 +99,10 @@ COPY --from=builder-stresser /stresser /usr/bin/stresser
11399COPY --from=builder-sctptester /sctptest /usr/bin/sctptest
114100
115101COPY --from=builder-latency-test-runners /oslat-runner /usr/bin/oslat-runner
116- COPY --from=builder-latency-test-tools /oslat /usr/bin/oslat
117102
118103COPY --from=builder-latency-test-runners /cyclictest-runner /usr/bin/cyclictest-runner
119- COPY --from=builder-latency-test-tools /cyclictest /usr/bin/cyclictest
120104
121105COPY --from=builder-latency-test-runners /hwlatdetect-runner /usr/bin/hwlatdetect-runner
122- COPY --from=builder-latency-test-tools /hwlatdetect /usr/bin/hwlatdetect
123106
124107COPY --from=oc /go/src/github.com/openshift/oc/oc /usr/bin/oc
125108
0 commit comments