Skip to content

Acceptance tests never run against S3 primary storage on any branch #41881

Closed

Description

@oc-tmueller

Summary

The acceptance suite is never run against S3 primary storage, on any branch. Core has the
tests and (in .drone.star) the plumbing, but the two never meet, so a whole storage backend
has no end-to-end coverage upstream.

A concrete consequence: files_primary_s3 shipped a broken download path in v1.6.3 and
v1.6.4
, and the 10.16.5 server bundle inherited it (owncloud/files_primary_s3#738). Every
download from S3 primary storage returned HTTP 503. The test that detects it already exists
here — tests/acceptance/features/apiMain/checksums.feature:28, "Uploading a file with checksum
should return the checksum in the download header":

When user "Alice" downloads file "/myChecksumFile.txt" using the WebDAV API
Then the HTTP status code should be "200"

It was caught by a downstream product image running this very suite against S3, not by any
upstream pipeline.

Measured state

state
.drone.star S3 switches (master and 10.16) 0 enabled, 6 False
S3 plumbing in .drone.star present — ceph + scality services, installs files_primary_s3 as primary object store (~100 references)
master Actions acceptance jobs 10 (acceptance-api-smoke, acceptance-api, -previews, -federation, -cli*, …)
scality / ceph / files_primary_s3 in any of master's 11 workflow files none
10.16 Actions CI Commits, PHP Unit, PHP Unit (Oracle) — no acceptance at all

So the S3 acceptance capability was built for Drone, switched off, and not carried across the
migration to GitHub Actions.

Why this gap is load-bearing

files_primary_s3 is the storage backend for object-store deployments, and its own CI runs
core's unit suite against real Scality and Ceph — but it has no acceptance job, and its own
feature files are an empty stub plus two unrelated scenarios. Meanwhile dependabot bumps
aws/aws-sdk-php on that app routinely. The SDK is exactly where this breakage came from: a
newer SDK started rewinding response bodies, which fails on the non-seekable bodies that a
streamed download produces. Nothing in either repo gates an SDK bump on a download actually
working.

Proposal

Add one S3-primary-storage variant of the smoke acceptance suite. This is cheap because the
pieces are already wired:

  • tests/drone/install-server.sh — already invoked by .github/workflows/* — supports
    PRIMARY_OBJECTSTORE=files_primary_s3 (see line 68).
  • .drone.star already contains the scality/ceph service definitions and the app-install step
    to copy from.

That is: a scality service container, PRIMARY_OBJECTSTORE=files_primary_s3, and the existing
acceptance-api-smoke suite. A single run of apiMain smoke against scality would have caught
the above before v1.6.3 shipped.

Running the full matrix against S3 is not necessary; smoke is enough to catch "downloads are
completely broken".

Happy to prepare the workflow change if this is wanted.

Activity

  1. phil-davis commented on Oct 5, 2026

    @phil-davis
    Contributor

    Note: core acceptance tests used to be run in drone https://github.com/owncloud/files_primary_s3/blob/master/.drone.star with ceph and/or scality in place. Those drone pipelines have not been converted to GitHub workflows.

  2. added 3 commits that reference this issue on Oct 5, 2026
    7a6df12
    d6ecdfa
    1b3814d
  3. added 2 commits that reference this issue on Oct 6, 2026
    452cfb1
    ec45586
  4. added a commit that references this issue on Oct 8, 2026
    21a908b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions