CI failure: "Blazor Wasm" `command docker build... returned exit code 1`

Open
#1,991 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, wasm

Research direction

Start with the linked Azure DevOps build log to find the Docker build error beyond the reported exit code. Inspect src/Components/benchmarkapps/Wasm.Performance/dockerfile and reproduce the command against that directory; done means the Blazor Wasm benchmark job completes successfully in CI.

Written by the indexing model from the issue text.

Description

/cc @sebastienros

https://dev.azure.com/dnceng/internal/_build/results?buildId=2459132&view=logs&j=be45ae0c-e5f9-5926-cd13-a9746b805159&t=8ef997d4-7551-5830-d88e-cb2e393a8930

============================================================================== 
Task         : Blazor Wasm
Description  : Sends a message to Azure Service Bus using a service connection (no agent is required)
Version      : 1.221.0
Author       : Microsoft Corporation
Help URL     : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/publish-to-azure-service-bus
============================================================================== 
[04:01:36.789] Running session '20240523.1' with description ''
[04:01:36.806] Starting job 'application' ...
[04:01:36.807] Submitted job: http://asp-perf-lin:5001/jobs/203
[04:01:37.816] 'application' has been selected by the server ...
[04:01:37.816] 'application' is now building ... http://asp-perf-lin:5001/jobs/203/buildlog
[04:05:59.971] 'application' failed on agent, stopping...
An unexpected error occurred while building the job: One or more errors occurred. (Command docker build --pull --build-arg gitBranch=main  -t benchmarks_dockerfile -f src/Components/benchmarkapps/Wasm.Performance/dockerfile /tmp/benchmarks-agent/benchmarks-server-1/4jjb4rom.sqp/src/Components/benchmarkapps/Wasm.Performance returned exit code 1)
[04:05:59.973] Stopping job 'application' ...
An unexpected error occurred while building the job: One or more errors occurred. (Command docker build --pull --build-arg gitBranch=main  -t benchmarks_dockerfile -f src/Components/benchmarkapps/Wasm.Performance/dockerfile /tmp/benchmarks-agent/benchmarks-server-1/4jjb4rom.sqp/src/Components/benchmarkapps/Wasm.Performance returned exit code 1)
[04:06:00.978] Deleting job 'application' ...

| application |   |   |
| ----------- | - | - |
Dominant language
C#
Stars
1.2k
Forks
244
Avg merge
4d 4h
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aspnet/Benchmarks

All issues in aspnet/Benchmarks

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.