compose/pkg/e2e/testdata
Nicolas De Loof 2ee07f440a feat: support the umask service attribute
Pass `umask` to the engine as HostConfig.Umask when creating a
container, so that the entrypoint, exec and healthcheck processes run
with the requested file mode creation mask. The attribute is part of the
container specification, so pre_start init containers, created the same
way, get the umask of their service unless they declare their own.

Engines older than API 1.56 (Docker Engine 29.8) silently ignore the
field, which would run the container with the runtime's default umask
without any notice: creating a container with a umask against such an
engine now fails with an explicit error, like interface_name or image
volumes do.

The umask is part of the service configuration hash, so changing it
recreates the container; the hash of every other configuration is
untouched.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-10-21 14:17:44 +02:00
..
TestActiveProfileViaTargetedService test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestBridgeConvertOutputNotEmptyConfirmed fix(bridge): confirm before wiping non-empty convert output dir 2026-09-03 14:38:41 +02:00
TestBridgeConvertOutputNotEmptyDeclined fix(bridge): confirm before wiping non-empty convert output dir 2026-09-03 14:38:41 +02:00
TestBuildAdditionalContextDisabledService test(e2e): reproduce #14223 -- additional_contexts to a disabled service 2026-09-21 18:01:16 +02:00
TestBuildDependentImage test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildDependentImageWithProfile test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildDependsOn test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildEscaped test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildLongOutputLine test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildSecrets test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildSubDependencies test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildSubset test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestBuildTags test(e2e): build scenarios — the 'Built' family inlines its models 2026-08-18 16:49:56 +02:00
TestCascadeFail test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCascadeStop test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCommentsInEnvFile test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestCommit test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestCommitWithReplicas test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestCompatibility test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestComposeModel test(e2e): image-identity, images and model scenarios 2026-08-18 16:49:56 +02:00
TestComposePull test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestComposeRun test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunBuild test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunDeps test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunInheritsAnonymousVolumes fix(run): keep a recreated dependency's anonymous volumes 2026-10-20 11:54:18 +02:00
TestComposeRunNoRecreate feat(run): --no-recreate reuses existing dependencies as-is 2026-10-14 09:34:19 +02:00
TestComposeRunNotRequiredDeps test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunPorts test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunPullAlways test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestComposeRunQuietPull test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestConfig test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestConfigFromEnv test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestConfigInterpolate test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestCopy test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestCreateIdempotentDefaultPlatform
TestCreateIdempotentSharedImageMixedPlatforms
TestCreateLocalMultiPlatformImage
TestCreateRefusesJob fix(start): still refuse a job when COMPOSE_PROJECT_NAME masks the error 2026-09-21 16:35:20 +02:00
TestDependsOnMultipleProviders test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestDotEnvProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestDownRefusesJobWithProjectNameEnv fix(compose): move the job-target refusal into projectOrName itself 2026-09-21 16:35:20 +02:00
TestEnvInterpolation test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestEnvInterpolationDefaultValue test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestEnvPriority test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestEnvPriorityComposeEnvFile test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestEnvPriorityComposeEnvironment test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestExec test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestExplicitProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestExport test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestExportWithReplicas test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestExposeRange test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestGitRemoteBranchSelection e2e: cover git and OCI remote stacks 2026-09-16 16:53:33 +02:00
TestGitRemoteSubdir e2e: cover git and OCI remote stacks 2026-09-16 16:53:33 +02:00
TestGitRemoteUp e2e: cover git and OCI remote stacks 2026-09-16 16:53:33 +02:00
TestImagesAfterImageRemoved test(e2e): image-identity, images and model scenarios 2026-08-18 16:49:56 +02:00
TestImageVolume test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestImageVolumeImageAlreadyLocal
TestImageVolumeRecreateOnRebuild test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestInitContainer test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestInterfaceName test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestIPAMConfig test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestIPC test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeConfig test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeConfigNoConsistency test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeExec test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeExecOneOff test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeLogs test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestLoggingDriver e2e: fix test resource isolation and make standalone parallelism configurable 2026-08-19 17:41:02 +02:00
TestMacAddress test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNetworkAliases test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNetworkConfigChanged test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNetworkLinks test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNetworkModes test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestNoDepsNetworkMode test(e2e): no-deps scenarios — the donor container's absence is the observable 2026-08-18 16:49:56 +02:00
TestNoDepsVolumeFrom test(e2e): no-deps scenarios — the donor container's absence is the observable 2026-08-18 16:49:56 +02:00
TestNoProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestOciRemoteProjectDirectory test(e2e): reproduce --project-directory ignored on an oci:// project 2026-09-23 10:56:23 +02:00
TestOciRemoteTagSelection e2e: cover git and OCI remote stacks 2026-09-16 16:53:33 +02:00
TestOciRemoteUp e2e: cover git and OCI remote stacks 2026-09-16 16:53:33 +02:00
TestPause test(e2e): pause scenarios — paused is a container state, ExitCode locks error paths 2026-08-18 16:49:56 +02:00
TestPauseServiceAlreadyPaused test(e2e): pause scenarios — paused is a container state, ExitCode locks error paths 2026-08-18 16:49:56 +02:00
TestPauseServiceDoesNotExist test(e2e): pause scenarios — paused is a container state, ExitCode locks error paths 2026-08-18 16:49:56 +02:00
TestPauseServiceNotRunning test(e2e): pause scenarios — paused is a container state, ExitCode locks error paths 2026-08-18 16:49:56 +02:00
TestPortRange test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestPostStartAndPreStopHook test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPostStartHookInError test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPostStartHookSuccess test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookBuildInheritance test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookCreateThenStart feat: reconciliation plan creates pre_start hook runners 2026-09-30 12:03:10 +02:00
TestPreStartHookEnvFile test(e2e): pre_start hooks must receive the service's env_file and environment 2026-10-12 18:15:14 +02:00
TestPreStartHookExtraHosts pre_start: inherit the whole container specification generically 2026-09-21 16:35:20 +02:00
TestPreStartHookFailureShowsOutput fix(pre_start): capture a hook's output by opening its log stream once started 2026-10-16 15:11:33 +02:00
TestPreStartHookForceRecreate test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookIdempotentReUp test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookInError test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookMidSequenceFailure test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookNotReRunOnScaleUp test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookReRunOnSpecChange test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookRetryAfterFailureSucceeds fix: address copilot-pull-request-reviewer's 3 findings on the hook-runner plan 2026-09-30 12:03:10 +02:00
TestPreStartHookRunsOnceForScaledService test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookSequentialOrder test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookStopThenStartFails feat: reconciliation plan creates pre_start hook runners 2026-09-30 12:03:10 +02:00
TestPreStartHookSuccess test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStartHookVolumes pre_start: inherit the whole container specification generically 2026-09-21 16:35:20 +02:00
TestPreStartHookVolumesFrom pre_start: consume the load-time-resolved hook specification 2026-09-21 16:35:20 +02:00
TestPreStartHookVolumesMerge pre_start: inherit the whole container specification generically 2026-09-21 16:35:20 +02:00
TestPreStopHookInError test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStopHookSuccess test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestPreStopHookSuccessWithPreviousStop test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
TestProviderControlChannel feat(provider): get-service-config provider request 2026-09-08 14:53:14 +02:00
TestProviderImagePull docs(provider), e2e: image distribution documented and exercised 2026-10-02 17:35:20 +02:00
TestProviderMigration fix: provider migration condemns the service's stale replicas 2026-09-25 15:58:18 +02:00
TestProviderPublishEndpoint feat(provider): publish-endpoint deploys a network relay for provider services 2026-09-16 17:03:23 +02:00
TestProviderRawSetEnv test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestProviderRawSetEnvOverridesInheritedEnv test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestProviderRawSetEnvOverridesInheritedEnvMapForm test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestProviderRawSetEnvOverridesUserEnv test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestProviderStopHook test(e2e): exec and provider scenarios 2026-08-18 16:49:56 +02:00
TestPsHonorsPsFormat fix(ps): honor psFormat from Docker CLI config when no --format flag given 2026-08-20 14:05:34 +02:00
TestPublishBindMount test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishBuildOnly test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishDetectSensitiveData test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishInterpolatedEnv test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishLocalInclude test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishPromptAggregatesFindings test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishPromptEnvFile test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishPromptSuspiciousEnv test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPublishWithExtends test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
TestPullFailure test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestPullIgnoreFailures test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestPullImagePresentLocally test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestPullNoImageNameGiven test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
TestPullRefreshWindowExplicitPull
TestRawEnvFile test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestRecreateWithNoDeps test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestRemoveOrphaned test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestRemoveOrphans test(e2e): TestRemoveOrphans states its real intent — COMPOSE_REMOVE_ORPHANS from .env 2026-08-18 16:49:56 +02:00
TestRestart
TestRm test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestRunBuildOnceDependency test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestRunBuildOnceNestedDependencies test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestRunBuildOnceNoDeps test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestRunEnvFile test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestRunJobDependsOnJob e2e: jobs scenarios — scheduled rejection, manual run, env_file, job chain 2026-09-21 16:35:20 +02:00
TestRunJobDependsOnManualFalseJob fix(run): manual: false also blocks a job pulled in transitively 2026-09-21 16:35:20 +02:00
TestRunJobEnvFile e2e: jobs scenarios — scheduled rejection, manual run, env_file, job chain 2026-09-21 16:35:20 +02:00
TestRunManualJob run: honor the explicit manual: false opt-out on jobs 2026-09-21 16:35:20 +02:00
TestScaleBasicCases test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleDoesntRecreate test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestScaleDownNoRecreate test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleDownRemovesObsolete test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleUpAndDownPreserveContainerNumber test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleWithDepsCases test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestSecretFromEnv test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestSecretFromInclude test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestStartInterval test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestStartRefusesJob fix(start): still refuse a job when COMPOSE_PROJECT_NAME masks the error 2026-09-21 16:35:20 +02:00
TestStartRefusesJobWithProjectNameEnv fix(start): still refuse a job when COMPOSE_PROJECT_NAME masks the error 2026-09-21 16:35:20 +02:00
TestStartSingleServiceAndDependency test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStop test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStopWithDependencies test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStopWithOneOffs test(e2e): one-off vocabulary — service checks skip run containers 2026-08-18 16:49:56 +02:00
TestStdoutStderr test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestStopRefusesJob fix(compose): move the job-target refusal into projectOrName itself 2026-09-21 16:35:20 +02:00
TestStopWithDependenciesAttached test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestUmask feat: support the umask service attribute 2026-10-21 14:17:44 +02:00
TestUnnecessaryResources test(e2e): compose command scenarios — rm, compatibility, config, orphan scoping 2026-08-18 16:49:56 +02:00
TestUnsetEnv test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
TestUnsupportedAttributesWarning feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
TestUpAttachedTerminatesOnExternalStop test(e2e): add attached up regression test for #13985 2026-09-16 07:54:38 +02:00
TestUpBuildUnchangedContext
TestUpContainerNameConflict test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestUpDryRunMissingImage
TestUpExitCodeFrom test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpExitCodeFromContainerKilled test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpIdempotentContainerdStore test(e2e): image-identity, images and model scenarios 2026-08-18 16:49:56 +02:00
TestUpImageID test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpNoDeps test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestUpProfile test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpRecreateVolumes test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestUpRecreateVolumesIgnoreBinds test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestUpRejectsScheduledJobs e2e: jobs scenarios — scheduled rejection, manual run, env_file, job chain 2026-09-21 16:35:20 +02:00
TestUpServiceUnhealthy test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpStopWithLogsMixed test(e2e): batch snapshot inspect with per-container fallback, explicit suite timeout 2026-08-18 16:49:56 +02:00
TestUpSwitchVolumes test(e2e): volume and build-once scenarios 2026-08-18 16:49:56 +02:00
TestUpWait test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpWaitTimeout fix: dependency wait timeout surfaced only by luck 2026-08-20 15:16:57 +02:00
TestUpWaitTimeoutOnDependency test(e2e): lock --wait-timeout on a depends_on service_healthy dependency 2026-10-15 14:52:20 +02:00
TestUpWithAllResources test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpWithBuildDependencies test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpWithDependencyExit test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestUpWithDependencyNotRequired test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
TestWaitAndDrop test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestWaitOnFaster test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestWaitOnSlower test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00