Skip to content

Build VM error #12518

Open
Open
@Kockieee

Description

@Kockieee

Description

After the update from today I'm running into this error:

Image

Any help would be appreciated.

Best regards,
Charles

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Azure DevOps:

Starting: Initialize job
Agent name: 'name here'
Agent machine name: 'name here'
Current agent version: '4.258.1'
Current image version: 'dev'
Agent running as: 'AzDevOps'
Prepare build directory.
Set build variables.
Download all required tasks.
Downloading task: PublishBuildArtifacts (1.247.1)
Checking job knob settings.
Knob: DockerActionRetries = true Source: $(VSTSAGENT_DOCKER_ACTION_RETRIES)
Knob: AgentToolsDirectory = /opt/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY}
Knob: UseGitLongPaths = true Source: $(USE_GIT_LONG_PATHS)
Knob: EnableIssueSourceValidation = true Source: $(ENABLE_ISSUE_SOURCE_VALIDATION)
Knob: AgentEnablePipelineArtifactLargeChunkSize = true Source: $(AGENT_ENABLE_PIPELINEARTIFACT_LARGE_CHUNK_SIZE)
Knob: ContinueAfterCancelProcessTreeKillAttempt = true Source: $(VSTSAGENT_CONTINUE_AFTER_CANCEL_PROCESSTREEKILL_ATTEMPT)
Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC)
Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC_LOG)
Knob: ProcessHandlerTelemetry = true Source: $(AZP_75787_ENABLE_COLLECT)
Knob: UseNewNodeHandlerTelemetry = True Source: $(DistributedTask.Agent.USENEWNODEHANDLERTELEMETRY)
Knob: ProcessHandlerEnableNewLogic = true Source: $(AZP_75787_ENABLE_NEW_PH_LOGIC)
Knob: EnableResourceMonitorDebugOutput = true Source: $(AZP_ENABLE_RESOURCE_MONITOR_DEBUG_OUTPUT)
Knob: EnableResourceUtilizationWarnings = true Source: $(AZP_ENABLE_RESOURCE_UTILIZATION_WARNINGS)
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: CheckIfTaskNodeRunnerIsDeprecated246 = False Source: $(DistributedTask.Agent.CheckIfTaskNodeRunnerIsDeprecated246)
Knob: UseNode20ToStartContainer = True Source: $(DistributedTask.Agent.UseNode20ToStartContainer)
Knob: LogTaskNameInUserAgent = true Source: $(AZP_AGENT_LOG_TASKNAME_IN_USERAGENT)
Knob: UseFetchFilterInCheckoutTask = true Source: $(AGENT_USE_FETCH_FILTER_IN_CHECKOUT_TASK)
Knob: Rosetta2Warning = true Source: $(ROSETTA2_WARNING)
Knob: AddForceCredentialsToGitCheckout = True Source: $(DistributedTask.Agent.AddForceCredentialsToGitCheckout)
Knob: UseSparseCheckoutInCheckoutTask = true Source: $(AGENT_USE_SPARSE_CHECKOUT_IN_CHECKOUT_TASK)
Finished checking job knob settings.
Start tracking orphan processes.
Finishing: Initialize job

Is it regression?

worked this morning as i was troubleshooting issues with our VMSS

Expected behavior

Build VM stage completes successfully

Actual behavior

Image

Repro steps

Running the deploy VMSS from YannickRE, which references this .ps1 file, this is the link: https://github.com/YannickRe/azuredevops-buildagents

      - task: PowerShell@2
        name: buildVm
        displayName: "Build VM"
        inputs:
          targetType: filePath
          filePath: ./runner-images/images.CI/linux-and-win/build-image.ps1
          arguments: -ClientId $(CLIENT_ID) `
            -ClientSecret $(CLIENT_SECRET) `
            -TemplatePath $(TemplatePath) `
            -ImageName "$(ManagedImageName)" `
            -ImageResourceGroupName $(AZURE_RESOURCE_GROUP) `
            -TempResourceGroupName "$(TempResourceGroupName)" `
            -SubscriptionId $(AZURE_SUBSCRIPTION) `
            -TenantId $(AZURE_TENANT) `
            -Location $(AZURE_LOCATION) `
            -VirtualNetworkName $(BUILD_AGENT_VNET_NAME) `
            -VirtualNetworkRG $(BUILD_AGENT_VNET_RESOURCE_GROUP) `
            -VirtualNetworkSubnet $(BUILD_AGENT_SUBNET_NAME)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions