test: add Fabric-X e2e test script and CI integration - #816
Open
HarK-github wants to merge 8 commits into
Open
Conversation
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
HarK-github
force-pushed
the
fabx-test-dup
branch
from
August 27, 2026 16:44
8217af9 to
204a679
Compare
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
umegbewe
reviewed
Sep 1, 2026
umegbewe
reviewed
Sep 1, 2026
umegbewe
reviewed
Sep 1, 2026
umegbewe
reviewed
Sep 1, 2026
| image: ghcr.io/hyperledger/fabric-x-committer:1.0.3 | ||
| pull_policy: missing | ||
| restart: unless-stopped | ||
| user: "${UID:-1000}:${GID:-1000}" |
Contributor
There was a problem hiding this comment.
what's the reason for this change?
Contributor
Author
There was a problem hiding this comment.
Currently UID fallback fails in ci because the runner operates on UID 1001, causing permission panics on host bind-mounts. The official postgres image crashes when forced to run as an arbitrary host UID, as its entrypoint script must boot as root to run internal initialization steps before dropping privileges to postres's UID.
To resolve this, i removed the forced uid from the postgres container in favour of docker named volume ,which resolved the host permission conflicts.
Contributor
Author
umegbewe
reviewed
Sep 1, 2026
umegbewe
reviewed
Sep 1, 2026
umegbewe
reviewed
Sep 1, 2026
umegbewe
reviewed
Sep 1, 2026
umegbewe
reviewed
Sep 1, 2026
umegbewe
reviewed
Sep 1, 2026
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
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.

Closes #812
This PR adds a new E2E test suite (
test-08-fabric-x) for the Fabric-X network profile and integrates it into the CI pipeline.1. Test Harness
e2e-network/docker/test-08-fabric-x.shwith isolated workspace,set -euo pipefail, trap-based cleanup, artifact assertions, container health checks, and fullnamespacelifecycle regression suite (zero state → init → idempotency → cached up → stop/start → reset).2. CI Integration
test-08-fabric-xjob to.github/workflows/test-on-push.ymlwith artifact upload of logs and tmpdir on failure. Removed redundantmkdir/chmodlogic frombase-functions.shand addedmax_connections=500to Postgres for connection-pool exhaustion.3. UID/GID Resolution Failure
unhealthydue to LevelDB permission panics. The existinguser: "${UID:-1000}:${GID:-1000}"didn't work because bash'sUID/GIDare shell built-ins, not exported environment variables. Compose fell back to1000:1000while CI runners use UID1001, causing a mismatch on bind-mounted directories.user: "${FABRIC_X_UID:-1000}:${FABRIC_X_GID:-1000}"across all orderer services andcommitter-org1-sidecar. These variables are exported inbase-functions.sh, ensuring container UID matches host UID.Status