feat: add smoke test inputs to CI workflow#600
Open
DeepDiver1975 wants to merge 2 commits intomasterfrom
Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6b5facc to
01b96a1
Compare
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.
Summary
docker-build.ymlworkflow (requires feat: add optional smoke test step to docker-build workflow ubuntu#263 merged ✅ and fix: handle curl network errors in smoke test polling loop ubuntu#265 merged first)/status.phpfor HTTP 200.versionstringin the response JSON matches the matrix version for all stable releases11.0.0-prealphaskips version assertion (smoke-version-jq: "") since the daily tarball version is unpredictableBehaviour per matrix entry
.versionstring==10.16.2.versionstring==10.16.1.versionstring==10.15.3Why the smoke test was failing
The smoke-test step runs under
bash -e -o pipefail. Docker's userland proxy binds the host port and accepts TCP connections immediately, before Apache inside the container is ready. ownCloud's first-run SQLite init takes ~60–90 s, so the very firstcurlattempt receives a connection reset (exit code 56 =CURLE_RECV_ERROR). Withset -e, that aborts the script immediately — the EXIT trap then callsdocker stopexplaining the characteristic 10 s gap before the CI error. Fixed in owncloud-docker/ubuntu#265 by adding|| STATUS="000"so curl network errors continue the polling loop rather than aborting.🤖 Generated with Claude Code