Skip to content

[ci] Azure Mariner CI jobs regularly failing: "File not found: 'docker'" #6316

@jameslamb

Description

@jameslamb

Description

Since switching the Linux CI jobs at Azure DevOps to Mariner Linux in #6222, we've seen an increased rate of Azure DevOps jobs failing.

Typically with an error like this in the "initialize job" stage:

##[error]File not found: 'docker'

Creating this issue to track those cases.

Reproducible example

A few recent cases:

All had similar logs, like this:

Starting: Initialize job
Agent name: 'lgbub6c540001AS'
Agent machine name: 'lgbub6c540001AS'
Current agent version: '3.234.0'
Agent running as: 'AzDevOps'
Prepare build directory.
Set build variables.
Download all required tasks.
Downloading task: 1ESHostedPoolValidation (1.0.26350327)
Downloading task: CmdLine (2.231.1)
Downloading task: Bash (3.231.5)
Downloading task: PublishBuildArtifacts (1.231.1)
Downloading task: ComponentGovernanceComponentDetection (0.2420208.1)
Checking job knob settings.
   Knob: DockerActionRetries = true Source: $(VSTSAGENT_DOCKER_ACTION_RETRIES) 
   Knob: AgentEnablePipelineArtifactLargeChunkSize = true Source: $(AGENT_ENABLE_PIPELINEARTIFACT_LARGE_CHUNK_SIZE) 
   Knob: ContinueAfterCancelProcessTreeKillAttempt = true Source: $(VSTSAGENT_CONTINUE_AFTER_CANCEL_PROCESSTREEKILL_ATTEMPT) 
   Knob: ProcessHandlerTelemetry = true Source: $(AZP_75787_ENABLE_COLLECT) 
   Knob: IgnoreVSTSTaskLib = true Source: $(AZP_AGENT_IGNORE_VSTSTASKLIB) 
   Knob: FailJobWhenAgentDies = true Source: $(FAIL_JOB_WHEN_AGENT_DIES) 
   Knob: CheckForTaskDeprecation = true Source: $(AZP_AGENT_CHECK_FOR_TASK_DEPRECATION) 
   Knob: MountWorkspace = true Source: $(AZP_AGENT_MOUNT_WORKSPACE) 
Finished checking job knob settings.
##[error]File not found: 'docker'
Finishing: Initialize job

Environment info

N/A

Additional Comments

Pulling this into its own issue (original conversation started in #6307 (comment)).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions