Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vstest is failing in sonic-swss repo in recent runs due to "generate coverage" step failing #20787

Open
anilkpan opened this issue Nov 13, 2024 · 2 comments
Assignees
Labels
ci MSFT Triaged this issue has been triaged

Comments

@anilkpan
Copy link

Description

vstest is failing in sonic-swss repo in recent runs for several PRs due to "Generate coverage" step failing. Here is the error log:

##[debug] /agent/_work/_temp/b5d76725-58f5-4bb8-838f-a57eb555625e.sh
/usr/bin/bash --noprofile --norc /agent/_work/_temp/b5d76725-58f5-4bb8-838f-a57eb555625e.sh

reportgenerator -reporttypes:Cobertura '-reports:tests/*coverage.xml' -targetdir:.
/agent/_work/_temp/b5d76725-58f5-4bb8-838f-a57eb555625e.sh: line 2: reportgenerator: command not found
##[debug]Exit code 127 received from tool '/usr/bin/bash'
##[debug]STDIO streams have closed for tool '/usr/bin/bash'
##[error]Bash exited with code '127'.
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;]Bash exited with code '127'.
##[debug]task result: Failed
##[debug]Processed: ##vso[task.complete result=Failed;done=true;]
Finishing: Generate coverage.xml

For example, the following PRs have this failure:
sonic-net/sonic-swss#3313
sonic-net/sonic-swss#3143
sonic-net/sonic-swss#3329

Steps to reproduce the issue:

Describe the results you received:

vstest failed

Describe the results you expected:

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

@adyeung
Copy link
Collaborator

adyeung commented Nov 13, 2024

@yxieca @qiluo-msft any idea how to fix this?

@adyeung adyeung added ci Triaged this issue has been triaged MSFT labels Nov 13, 2024
@liushilongbuaa
Copy link
Contributor

Fix PR: sonic-net/sonic-swss#3369

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci MSFT Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

3 participants