Repository navigation
ci: run the API smoke acceptance tests on S3 primary storage [10.16] - #41888
Merged
Merged
Conversation
oc-tmueller
force-pushed
the
ci/acceptance-api-smoke-s3-10.16
branch
2 times, most recently
from
October 5, 2026 15:20
ccb08ef to
7fb409e
Compare
oc-tmueller
force-pushed
the
ci/acceptance-10.16
branch
from
October 5, 2026 19:32
c5127d7 to
db64f99
Compare
oc-tmueller
force-pushed
the
ci/acceptance-api-smoke-s3-10.16
branch
from
October 5, 2026 19:32
31ed0c7 to
de37d15
Compare
Nothing ran the acceptance suite against S3 primary storage. The Drone pipelines could, but every S3 switch was off and the capability was not carried over to GitHub Actions, so a files_primary_s3 release that broke every download went unnoticed upstream. acceptance.yml gains a use-scality-s3 input that follows the Drone recipe: check out files_primary_s3 and `make vendor` it (it has no `ci` target), start a Scality server, and after installing the server enable the app, copy its scality.config.php into config/ and create the bucket. The test run gets OC_TEST_ON_OBJECTSTORE=1 so run.sh skips @skip_on_objectstore. ci.yml runs the existing smoke suite with it on every PR and gates it in "API Acceptance Tests". Closes #41881 Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit 9b2292c)
The first S3 smoke run failed on apiVersions/fileVersions.feature:89, which
is tagged @skipOnStorage:scality @files_primary_s3-issue-278: a known
objectstore bug that the scenario is meant to be skipped for. Drone set
S3_TYPE alongside OC_TEST_ON_OBJECTSTORE, but nothing in core ever read
it, so every @skipOnStorage:<type> tag was dead.
run.sh now excludes @skipOnStorage:${S3_TYPE} when S3_TYPE is set, and
acceptance.yml sets S3_TYPE=scality with use-scality-s3.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit abe333a)
Review feedback: the repo prefers case() over the && || idiom. Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit d8161c1)
The app's default branch requires ownCloud 11 and PHP 8.3, so check out v1.6.4, the version in the 10.16.5 bundle. That tag's tests/drone/scality.config.php targets http://scality:8000/, so point the scality hostname at the host-network container. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The S3 job came over from master with master's inputs. On 10.16 that breaks it three ways: it needs the calens job, which 10.16 does not have, so GitHub rejects the whole CI workflow; it checks out the notifications default branch, which requires ownCloud 11; and it drops apiWebdavUploadTUS, which master deleted in #41704 but 10.16 still ships. Use exactly the 10.16 API smoke job's needs and inputs, plus use-scality-s3, the same way the job mirrors the smoke job on master. Co-Authored-By: Claude Opus 5.5 <[email protected]>
files_primary_s3 v1.6.4's scality.config.php targets http://scality:8000/, but Scality rejects any Host it does not list in its restEndpoints, so s3:create-bucket failed with InvalidURI in every S3 job. Set HOST_NAME, as drone's scality service did. Co-Authored-By: Claude Opus 5.5 <[email protected]>
oc-tmueller
force-pushed
the
ci/acceptance-api-smoke-s3-10.16
branch
from
October 6, 2026 07:58
de37d15 to
d92a57c
Compare
v1.6.4 fails every S3 download with 503 "Stream is not seekable" (owncloud/files_primary_s3#738). v1.6.5 fixes it and is the latest release for the 10.16 line. Its Makefile and tests/drone/scality.config.php are unchanged from v1.6.4. Co-Authored-By: Claude Opus 5.5 <[email protected]>
oc-tmueller
marked this pull request as ready for review
October 6, 2026 09:43
phil-davis
approved these changes
Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports #41882 to 10.16: the API smoke tests run against S3 primary storage (files_primary_s3 + Scality), and the result is gated in "API Acceptance Tests". Part of #41881.
The acceptance workflow this builds on came to 10.16 in #41887, after #41890.
Cherry-picked from #41882
9b2292c, abe333a and d8161c1. These include the
S3_TYPE→~@skipOnStorage:${S3_TYPE}handling inrun.sh, and the env values written withcase().Changes needed for 10.16
503 … Stream is not seekable(Downloads from S3 primary storage fail: HeadObject on the streaming client throws "Stream is not seekable" files_primary_s3#738). This job reproduced that, and v1.6.5 fixes it.127.0.0.1 scalityhosts entry is added, and the server runs withHOST_NAME=scality. The 1.6.xtests/drone/scality.config.phptargetshttp://scality:8000/(drone's service name), while master's version targetslocalhost.needsand inputs match 10.16'sacceptance-api-smokejob. That means nocalens, notifications pinned to v0.6.0, andapiWebdavUploadTUSkept, since 10.16 still has the TUS tests.🤖 Generated with Claude Code