Newer OpenShift version won't allow you to specify username as `USER`
instruction argument. This commit changes the test container dockerfile
to create the user with `--uid 100` and then use `100` as the argument
instead.
Depends-On: I7ed0ae76108a409bc72bc61ab7c12164e8277257
Change-Id: I7a51b3553a17c21160f76e527a61ef829610a888
This patch adds a new test to check SCTP connectivity from pods.
The 'create_setup_for_service_test' and 'assert_backend_amount_from_pod'
functions were also extended to support SCTP services. The kuryr-sctp
application was also extended to support connection with IPv6 address family.
Partially-Implements: blueprint sctp-support
Change-Id: Ic63a2807238d3d879bb172d74b05bada2399f07f
Adds the sctp-demo server and client application to test_container.
Partially-Implements: blueprint sctp-support
Change-Id: I4b6d3a0e8bff7fdeb23ec8de046ea71dbf690069
Lately, Docker.io started to limit their resources[1], so it started to
be annoying in a cases of usual development, to typical test by CI
systems. Although our image is tiny, but still, we can observe that
limits were hit. Let's move on to the quay.io.
[1] https://www.docker.com/increase-rate-limit
Change-Id: I32af39344cb3e590a13bd07b64227d8acab6ccd0
The test container is failing to execute ping on environments that
do not allow containers to run as root user (e.g. OpenShift 4.6).
This commit fixes the issue by ensuring iputils package from Alpine
is installed. Also, it upgrades packages versions.
Change-Id: I1f429110c888103734ce6657fea729529389eb1f
Seems like rootfs.tar.xz was not updated after upd_client was added to
kuryr/demo container image. This commit updates it.
Change-Id: Id0fa12c3bb240d1d8eae01db78558e7f908f80a9
Related-Bug: 1799239
Update kuryr/demo container to support UDP server.
After this change, the kuryr/demo image runs both HTTP and UDP
servers.
The listeners ports values could be configured using pod's
environment variables.
And in addition, a simple udp client binary tool was added to
image, to use it, you should run :
udp_client <server's_ip> <server's port>
Change-Id: I9f2f2ad3273f947fecb776c0f56f6829df81aa67
It introduces env vars:
* HTTP_PORT: choose a port to serve. If not set, uses 8080
* HTTPS_PORT: choose to serve HTTPS and on which port
* HTTPS_CERT_PATH: Path to the cert to use when serving HTTPS
* HTTPS_KEY_PATH: Path to the ssl key to use when serving HTTPS
Change-Id: I5078ba0345999dadd7d3850f07c538a617c54e46
Signed-off-by: Antoni Segura Puimedon <celebdor@gmail.com>
Without this patch, curl would complain that the path where it expects
the ca certificate bundle is empty.
Change-Id: Iadf0f37118ab1bee2265abfbfab2ab8ce462ac87
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
Often our tests are based on kuryr/demo. That image used to be based on
python and alpine and was taking a very long time to pull for already
slow tests. This change makes this repository have the authoritative
version of the kuryr/demo build.
The way it is built is just by running mkrootfs.sh. But that only needs
to be run if we change the version of curl or modify server.go.
Otherwise, to run test it just needs:
docker build -t kuryr/demo . -f Dockerfile
This build will not need to go to Docker Hub for anything so we also
eliminate one source of flakiness.
Depends-On: https://review.openstack.org/#/c/547390/
Change-Id: Iab5799e22c3b353a4f2adbaa280ab4a9904ecd95
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>