Skip to content

Commit

Permalink
Leverage xtesting 0.96.0
Browse files Browse the repository at this point in the history
Change-Id: Ica7d7afb041d946dc25e37d736b07a3ad13c1ef7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
  • Loading branch information
collivier committed Mar 4, 2022
1 parent a628780 commit 95206ba
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docker/benchmarking-cntt/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM opnfv/functest-benchmarking

COPY testcases.yaml /usr/lib/python3.9/site-packages/xtesting/ci/testcases.yaml
COPY testcases.yaml /etc/xtesting/testcases.yaml
COPY blacklist.yaml /src/functest/functest/opnfv_tests/openstack/rally/blacklist.yaml
CMD ["run_tests", "-t", "all"]
2 changes: 1 addition & 1 deletion docker/benchmarking/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ RUN apk --no-cache add --update libxml2 libxslt && \
cp /src/neutron/rally-jobs/task-neutron.yaml /home/opnfv/functest/data/rally/neutron/rally-jobs/ && \
rm -r /src/vmtp /src/neutron && \
apk del .build-deps
COPY testcases.yaml /usr/lib/python3.9/site-packages/xtesting/ci/testcases.yaml
COPY testcases.yaml /etc/xtesting/testcases.yaml
CMD ["run_tests", "-t", "all"]
4 changes: 2 additions & 2 deletions docker/core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ RUN apk -U upgrade && \
rm -r /src/requirements/.git /src/functest/.git \
/tmp/Switch-to-threading.Thread-for-Rally-tasks.patch \
/tmp/Create-new-server-in-test_create_backup.patch && \
cp /src/functest/functest/ci/logging.ini /usr/lib/python3.9/site-packages/xtesting/ci/ && \
cp /src/functest/functest/ci/logging.debug.ini /usr/lib/python3.9/site-packages/xtesting/ci/ && \
cp /src/functest/functest/ci/logging.ini /etc/xtesting/ && \
cp /src/functest/functest/ci/logging.debug.ini /etc/xtesting/ && \
bash -c "mkdir -p /var/lib/xtesting /home/opnfv" && \
ln -s /var/lib/xtesting /home/opnfv/functest && \
bash -c "mkdir -p /home/opnfv/functest{/conf,/data,/images,/results} /home/opnfv/repos/vnfs" && \
Expand Down
2 changes: 1 addition & 1 deletion docker/healthcheck/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ RUN apk --no-cache add --virtual .build-deps --update \
git checkout FETCH_HEAD) && \
rm -r /src/odl_test/.git thirdparty-requirements.txt && \
apk del .build-deps
COPY testcases.yaml /usr/lib/python3.9/site-packages/xtesting/ci/testcases.yaml
COPY testcases.yaml /etc/xtesting/testcases.yaml
CMD ["run_tests", "-t", "all"]
2 changes: 1 addition & 1 deletion docker/smoke-cntt/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM opnfv/functest-smoke

COPY testcases.yaml /usr/lib/python3.9/site-packages/xtesting/ci/testcases.yaml
COPY testcases.yaml /etc/xtesting/testcases.yaml
COPY tempest_conf.yaml /src/functest/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml
CMD ["run_tests", "-t", "all"]
2 changes: 1 addition & 1 deletion docker/smoke/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ RUN apk --no-cache add --update libxml2 libxslt && \
COPY compute.txt /home/opnfv/functest/data/refstack/compute.txt
COPY object.txt /home/opnfv/functest/data/refstack/object.txt
COPY platform.txt /home/opnfv/functest/data/refstack/platform.txt
COPY testcases.yaml /usr/lib/python3.9/site-packages/xtesting/ci/testcases.yaml
COPY testcases.yaml /etc/xtesting/testcases.yaml
CMD ["run_tests", "-t", "all"]
2 changes: 1 addition & 1 deletion docker/vnf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ RUN apk --no-cache add --update \
/src/vims-test/build-infra/.git /src/opnfv-vnf-vyos-blueprint/.git \
/tmp/clearwater-heat-singlenet-deps.patch && \
apk del .build-deps
COPY testcases.yaml /usr/lib/python3.9/site-packages/xtesting/ci/testcases.yaml
COPY testcases.yaml /etc/xtesting/testcases.yaml
CMD ["run_tests", "-t", "all"]
2 changes: 1 addition & 1 deletion upper-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ robotframework===4.1.2
robotframework-httplibrary===0.4.2
robotframework-requests===0.9.2
robotframework-sshlibrary===3.8.0
xtesting===0.94.0
xtesting===0.96.0
git+https://github.com/PyCQA/bandit@3d0824676974e7e2e9635c10bc4f12e261f1dbdf#egg=bandit
bandit===1.7.0
ruamel.yaml.jinja2==0.2.2
Expand Down

0 comments on commit 95206ba

Please sign in to comment.