Files
rclone/fstest/testserver/init.d/PORTS.md
T
Daniel BrunthalerandClaude Sonnet 5.5 43cd60e59f fstest: move the Seafile integration test servers to Seafile 13.0
The integration test servers for the seafile backend were still running
Seafile 11. Seafile 12 changed the name of the docker image tags (the
`latest` tag stops at 11.x, newer versions are published as `12.0-latest`,
`13.0-latest`, `14.0-latest`) and replaced the setup variables of the
image, so just bumping the tag was not enough.

- use seafileltd/seafile-mc:13.0-latest, the current stable release
  (can be overridden with SEAFILE_VERSION; 14.0-latest, currently in
  beta, works too)
- update the docker compose file to the Seafile 12+ layout: MariaDB
  10.11, Redis for the cache, SEAFILE_MYSQL_DB_*, INIT_SEAFILE_*,
  JWT_PRIVATE_KEY, SEAFILE_SERVER_PROTOCOL/HOSTNAME and CACHE_PROVIDER
- use `docker compose` (v2) instead of the removed `docker-compose`
  and don't depend on the compose v1 container names
- wait for the Seahub API instead of the web server and retry the
  Seahub restart which raises the API throttle limits, as Seahub is
  not always ready when it is first asked
- replace the fixed 60s sleep in TestSeafileEncrypted with a wait loop
- raise the Seahub API throttle limits in TestSeafileEncrypted too, as
  concurrent test runs exceeded the 60 logins/minute and failed with
  "failed to authenticate"
- report the server as running while any container of the compose
  project is up, so that a crashed seafile container still gets its db
  and cache containers torn down by stop instead of reused on the next
  start
- remove TestSeafileV6: the seafileltd/seafile image for Seafile 6 can
  no longer be downloaded and it wasn't part of test_all

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 10:29:36 +00:00

1.3 KiB

Ports for tests

All these tests need to run on a different port.

They should be bound to localhost so they are not accessible externally.

Port Test
88 TestHdfs
750 TestHdfs
8020 TestHdfs
8087 TestSeafile
8088 TestSeafileEncrypted
9866 TestHdfs
28620 TestWebdavRclone
28621 TestSFTPRclone
28622 TestFTPRclone
28623 TestSFTPRcloneSSH
28624 TestS3Rclone
28625 TestS3Minio
28627 TestSFTPOpenssh
28628 TestSwiftAIO
28629 TestWebdavNextcloud
28630 TestSMB
28631 TestFTPProftpd
28632 TestSwiftAIOsegments
28633 TestSMBKerberos
28634 TestSMBKerberos
28635 TestS3Exaba
28636 TestS3Exaba
28637 TestSMBKerberosCcache
28638 TestSMBKerberosCcache
28639 TestWebdavInfiniteScale
28640 TestSia
28641 TestWebdavOwncloud

Non localhost tests

All these use $(docker_ip) which means they don't work on macOS or Windows. It is proabably possible to make them work with some effort but will require port forwarding a range of ports and configuring the FTP server to only use that range of ports. The FTP server will likely need know it is behind a NAT so it advertises the correct external IP.

  • TestFTPProftpd
  • TestFTPPureftpd
  • TestFTPVsftpd
  • TestFTPVsftpdTLS