Commit Graph

523 Commits

Author SHA1 Message Date
Tianon Gravi 8e76d314f1 Test for zstd in Python 3.14+ 2025-10-08 11:09:17 -07:00
Joseph Ferguson dbdbbffa00 Revert `dist-clean` for ruby-native-ext test
this test is run on different debian bases so doesn't always have `apt-get dist-clean`
2025-10-02 11:16:48 -07:00
J0WI 4a393c9c87 Update tests to Debian Trixie 2025-09-30 00:41:19 +02:00
J0WI 4d49b32f37 Update Nextcloud tests 2025-09-29 23:35:41 +02:00
J0WI 5d3e8126d8 Update fcgi tests to Trixie 2025-08-29 00:16:36 +02:00
Tianon Gravi c8e8d18fd6 Adjust haproxy-basics test to run a local httpd
Hopefully, this will decrease our failure rate (which is admittedly pretty low already, but anecdotally higher than it's been in a long time -- I bet AI scrapers hitting example.com are to blame, just like everyone else's infra).
2025-08-21 11:36:14 -07:00
Tianon Gravi 5818eea554 Remove `opcache` from `php-ext-install`
In 8.5, `opcache` is now built-in (and since pretty recently, it's been enabled-by-default in the PHP images too).
2025-08-07 16:42:05 -07:00
Tianon Gravi be242ba990
Merge pull request #19545 from J0WI/cleanup-legacy-tests
Cleanup legacy test cases
2025-07-28 10:58:45 -07:00
J0WI 556469cfd3 Cleanup legacy test cases 2025-07-27 14:42:53 +02:00
J0WI c2f1eddc01 Update test images 2025-07-27 14:42:20 +02:00
Tianon Gravi 8345c4ef4c Remove `python-hy` test
Originally this was helpful as a deeper test of Python, but I don't think it's caught us any Python bugs, and just puts us at the forefront of Hy integration problems.

"But Tianon," you might say, "isn't that a good thing?" Yes! Yes, it is. HOWEVER, we literally have the https://hub.docker.com/_/hylang image which would run into these same integration issues, but in a more appropriate place (such that they're only affecting updates to the Hy image, not PyPy or Python).

So in short, we should remove that test instead, as much as I love it and find it extremely cute, since we'll keep it anyways on all the variants of the Hy image (but without that hairy if statement for filtering supported versions, because it'll only even run for supported versions, pre-filtered).
2025-02-10 09:51:06 -08:00
Tianon Gravi ce4e54d3f4 Add more fallback Java versions for tests 2025-01-24 11:12:22 -08:00
Rob Bast e069fdc1bb
release 2.8.3
also update test to install latests version, not deprecated/legacy v1
2024-11-18 09:35:25 +01:00
J0WI 1956a2881e MariaDB 10.11 2024-10-07 20:54:54 +02:00
Tianon Gravi b8b3111846 Adjust timeout on cassandra test to be more generous (esp. for slow GHA) 2024-10-01 14:28:52 -07:00
Guillaume Quintard 96c3ac04a6 update varnish 2024-09-17 08:50:29 -07:00
Tianon Gravi 8a8969b7e7 Exclude 3.12 from `python-hy` test for now
See https://github.com/docker-library/python/issues/960
2024-09-09 09:45:30 -07:00
Tianon Gravi 4c92a2d5c5 Update `python-hy` test version numbers/constraints
I've updated the logic a little bit so that this is easier to update correctly in the future (in theory -- I'm sure Python 4 is going to show up shortly *just* to spite me).
2024-08-30 15:35:59 -07:00
Tianon Gravi 9ae8bf1f9a Use keyword arguments in `python-sqlite3` test
/tmp/test-dir/python-sqlite3/./container.py:5: DeprecationWarning: Passing more than 1 positional argument to sqlite3.connect() is deprecated. Parameters 'timeout', 'detect_types', 'isolation_level', 'check_same_thread', 'factory', 'cached_statements' and 'uri' will become keyword-only parameters in Python 3.15.

Tested successfully on Python 3.13rc1, 3.8, and PyPy's Python 2 implementation, for good measure.
2024-08-29 16:18:52 -07:00
Tianon Gravi ffb429eca2 Test that setuptools and wheel are installed (or not)
In Python 3.12+, setuptools and wheel should be removed (but should be present in older versions).

Technically this should be tested on Python 2 as well, but I opted not to because the interfaces for doing so are different and that only exists in a single variant of PyPy (that frankly I don't care too much about verifying the "correctness" of as much).
2024-08-28 13:06:37 -07:00
Ludovic Fernandez ba3bf98e5e
Update config.sh 2024-04-29 20:37:14 +02:00
J0WI 8377361bb5 Fix Nextcloud database name in Postgres test 2024-03-03 12:20:31 +01:00
Tianon Gravi 3d0901f245 Fix issue with newer MongoDB requiring TLS trust chain
Before:

```console
$ ./test/run.sh -t mongo-tls-basics -t mongo-tls-auth mongo:4.4.29
testing mongo:4.4.29
	'mongo-tls-basics' [1/2]...librarytest/mongo-tls:mongo-4.4.29 stopped unexpectedly!
++ docker logs c6b35d558bcd95eeb36932e02b289b1d9e62283aa05e143a1cda20b6fbcf476f
{"t":{"$date":"2024-02-28T22:56:30.628Z"},"s":"F",  "c":"CONTROL",  "id":20574,   "ctx":"main","msg":"Error during global initialization","attr":{"error":{"code":72,"codeName":"InvalidOptions","errmsg":"The use of TLS without specifying a chain of trust is no longer supported. See https://jira.mongodb.org/browse/SERVER-72839 for details."}}}
failed
	'mongo-tls-auth' [2/2]...librarytest/mongo-tls:mongo-4.4.29 stopped unexpectedly!
++ docker logs 0417420c857d936cbd80e34f43450b624ada55e543de3fa42325d7a7fe7876fc
{"t":{"$date":"2024-02-28T22:56:32.344Z"},"s":"F",  "c":"CONTROL",  "id":20574,   "ctx":"main","msg":"Error during global initialization","attr":{"error":{"code":72,"codeName":"InvalidOptions","errmsg":"The use of TLS without specifying a chain of trust is no longer supported. See https://jira.mongodb.org/browse/SERVER-72839 for details."}}}
failed
```

After:

```console
$ ./test/run.sh -t mongo-tls-basics -t mongo-tls-auth mongo:4.4.29
testing mongo:4.4.29
	'mongo-tls-basics' [1/2]....passed
	'mongo-tls-auth' [2/2]....passed
```
2024-02-28 15:22:15 -08:00
Tianon Gravi ada5d3b226 Fix typo in `python-pip-requests-ssl` test
In 44b79e2186, we removed `--root-user-action` from our `pip install` invocation, but missed the `ignore` value, so we've been installing https://pypi.org/project/ignore/ in this test ever since. 😂
2024-02-23 11:20:02 -08:00
Daniel Black 949c7dfd2e test: mysql-log-bin - add password
MariaDB-11.4 added a default self-signed TLS cert. With this
in the cases where there is no secure password there will be a TLS
error. By setting the password, the connection can continue.

Adding the password is compatible with MySQL and equivalents.
2024-02-21 10:26:28 +11:00
Tianon Gravi d6eb6d8f06
Merge pull request #16127 from J0WI/tests-bookworm
[Tests] Update fcgi tests to Bookworm
2024-01-24 15:39:07 -08:00
J0WI 83c1525819 Update fcgi tests to Bookworm 2024-01-24 22:57:04 +01:00
J0WI c09008f70f Update Alpine to 3.19 2024-01-24 22:51:59 +01:00
John Steel 9feec4a630 Add basic auth to test 2024-01-13 08:13:39 -05:00
Tianon Gravi 9817db5de7 Pin `ruby-binstubs` test gems to fix `brakeman` breakage
For posterity, this pins to 5.4.1 instead of 6.x because 6.0.0+ requires Ruby 3+ and the `jruby` image has older Ruby versions.
2024-01-02 14:22:47 -08:00
Tianon Gravi 76136ef440
Merge pull request #15930 from JanWielemaker/swipl-9.1.21
Updated swipl devel to 9.1.21
2023-12-19 09:15:33 -08:00
Jan Wielemaker b39f9c32d6 Updated swipl devel to 9.1.21
Also updated the base image from Debian bullseye to Debian bookworm and
makes test.sh + test.pl test all plugins and dynamically adjust to the
available ones.
2023-12-19 09:41:11 +01:00
Tianon Gravi b61afe4afd Remove tests for deprecated/removed "rapidoid" image 2023-12-18 13:54:32 -08:00
J0WI 830dd9308c Update tests to Debian Bookworm 2023-12-18 13:29:52 -08:00
Tianon Gravi b91efd8f68 Fix Hy tests on hylang image
```console
$ ./test/run.sh -t python-hy -t python-pip-requests-ssl -t hylang-sh python:3.10{-slim,} pypy:3.10{-slim,} hylang:latest
testing python:3.10-slim
	'python-hy' [1/2]...passed
	'python-pip-requests-ssl' [2/2]...passed
testing python:3.10
	'python-hy' [1/2]...passed
	'python-pip-requests-ssl' [2/2]...passed
testing pypy:3.10-slim
	'python-hy' [1/2].../opt/pypy/lib/pypy3.10/site-packages/pip/_vendor/certifi/cacert.pem None
/opt/pypy/lib/pypy3.10/site-packages/pip/_vendor/certifi/cacert.pem None
passed
	'python-pip-requests-ssl' [2/2]...passed
testing pypy:3.10
	'python-hy' [1/2].../opt/pypy/lib/pypy3.10/site-packages/pip/_vendor/certifi/cacert.pem None
/opt/pypy/lib/pypy3.10/site-packages/pip/_vendor/certifi/cacert.pem None
passed
	'python-pip-requests-ssl' [2/2]...passed
testing hylang:latest
	'hylang-sh' [1/1]...passed
```
2023-12-13 10:57:48 -08:00
Joseph Ferguson 83d6a98ffe Update swift test to work in windows image
update swift windows commit: 3fc609343f
2023-11-09 11:51:01 -08:00
Alexis Saettler 70ddc80238
Update monica (v4.0.0) 2023-10-31 15:05:56 +01:00
Laurent Goderre 44b79e2186 Fix python tests in 2.7 by converting pip option to an env var 2023-10-23 10:16:19 -04:00
Laurent Goderre bbd32fd9b3 Fix Windows test failures in Pypy 2023-10-20 11:47:10 -04:00
Laurent Goderre 2265f35d16 Fix test failures in Pypy 2023-10-18 20:37:44 -04:00
Lachlan 5cac99e3f9
Add images for Jetty 12.0 (#15161)
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-15 11:54:44 -07:00
Luke Bakken e3a18575e3 Set CN to container DNS name
Related to https://github.com/docker-library/rabbitmq/pull/652

Give a TLS dist optfile a try

Remove `fail_if_no_peer_cert` option for client. It does not seem to be supported by OTP 26 🤔
2023-07-19 12:38:11 -07:00
Tianon Gravi 43f3c15ad3
Revert "Remove Ghost test (moving to docker-library/ghost)" 2023-06-12 12:55:06 -07:00
Tianon Gravi 36c55a5075 Remove Ghost test (moving to docker-library/ghost) 2023-05-30 17:04:12 -07:00
Joseph Ferguson 3366dd58d7 Add test for postgres llvm 2023-05-12 13:39:27 -07:00
J0WI 16a40da971 Try less and wait longer 2023-03-21 22:02:19 +01:00
J0WI dd3d95a315 Update MariaDB 2023-03-21 22:00:26 +01:00
Tianon Gravi f35b27c982 Add "import dbm.ndbm" to "python-imports" test 2023-03-16 11:34:14 -07:00
Daniel Black dc2faa0974 mysql tests for MariaDB-11.0+ compatibility
Due to MariaDB diverging from MySQL, MariaDB-11.0+ containers
don't include mysql compatibility links and use mariadb as the
CLI. This has been there since MariaDB-10.4.

Co-authored-by: Tianon Gravi <admwiggin@gmail.com>
2023-02-25 10:22:28 +11:00
asbiin c7359d35fc
Update Monica to v4.0.0 2023-01-30 15:41:16 +01:00