Publisher Pipeline getting failed at Run publisher for Dev environment Task

Open
#711 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
azure, csharp
Domain
api, devops

Research direction

Read tools/code/publisher/App.cs at line 165, then common/Hosting.cs at line 89 and tools/code/publisher/Program.cs at line 10; reproduce the v6.0.1.4 Dev pipeline failure if possible. Compare the publisher exception with the Run publisher for Dev environment task logs; done means the task completes successfully, but the issue provides no reliable reproduction steps.

Written by the indexing model from the issue text.

Description

Release version

v6.0.1.4

Describe the bug

Hello Team,

Good Day!

I am facing issue on Publisher pipeline at Run publisher for Dev environment Task. please find the below error to see.

--- End of stack trace from previous location ---
at publisher.AppModule.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /home/runner/work/apiops/apiops/tools/code/publisher/App.cs:line 165
--- End of stack trace from previous location ---
at common.HostingModule.RunApplication(IHost host) in /home/runner/work/apiops/apiops/tools/code/common/Hosting.cs:line 89
at common.HostingModule.RunHost(String[] arguments, String applicationName, Action`1 configureRunApplication) in /home/runner/work/apiops/apiops/tools/code/common/Hosting.cs:line 24
at publisher.Program.Main(String[] arguments) in /home/runner/work/apiops/apiops/tools/code/publisher/Program.cs:line 10
at publisher.Program.

(String[] arguments)

##[error]Exception: /home/vsts/work/_temp/e246080a-fc84-403a-88b3-b63b83ecd9bf.ps1:9

##[debug]Processed: ##vso[task.issue type=error;source=CustomerScript;correlationId=50fc34f1-fc8c-4a23-9a38-708b6facd10d;]Exception: /home/vsts/work/_temp/e246080a-fc84-403a-88b3-b63b83ecd9bf.ps1:9

##[error]Line |
9 | if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Running publisher failed.

##[debug]Processed: ##vso[task.issue type=error;source=CustomerScript;correlationId=50fc34f1-fc8c-4a23-9a38-708b6facd10d;]Line |
9 | if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Running publisher failed.

Finishing: Run publisher for Dev environment.

Expected behavior

The Publisher pipeline should run

Actual behavior

The Publisher pipeline should run

Reproduction Steps

i am not sure

Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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 Azure/apiops

All issues in Azure/apiops

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.