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

[REGRESSION]: No attachment pushed to results #19815

Open
1 of 7 tasks
ChrystianC opened this issue Apr 25, 2024 · 1 comment
Open
1 of 7 tasks

[REGRESSION]: No attachment pushed to results #19815

ChrystianC opened this issue Apr 25, 2024 · 1 comment
Labels
bug regression This used to work, but a change in the service/tasks broke it. Task: PublishTestResults triage

Comments

@ChrystianC
Copy link

ChrystianC commented Apr 25, 2024

New issue checklist

Task name

PublishTestResults@2

Breaking task version

No response

Last working task version

No response

Regression Description

Publishing with test report Junit since last week doesn't attach a test results. Request is empty. I use visual regression expect(page).toHaveScreenshot();
image

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 20

Relevant log output

Example preview
https://devblogs.microsoft.com/devops/junit-attachments-support-for-publish-test-results/

Full task logs with system.debug enabled

UNSUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 
SUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

- script: 'yarn run test-e2e --reporter=junit'
    displayName: 'Yarn Test (E2E)'
    env:
      APP_DLL_DIR: '$(Build.BinariesDirectory)'
      COMMAND: '$(Agent.ToolsDirectory)/dotnet/dotnet TVMan.Client.dll'
      PLAYWRIGHT_JUNIT_OUTPUT_NAME: '$(Common.TestResultsDirectory)/e2e.xml'

  - task: PublishTestResults@2
    displayName: 'Publish Test Results (E2E)'
    condition: succeededOrFailed()
    inputs:
      searchFolder: '$(Common.TestResultsDirectory)'
      testResultsFiles: 'e2e.xml'
      testRunTitle: 'E2E'
@ChrystianC ChrystianC added bug regression This used to work, but a change in the service/tasks broke it. labels Apr 25, 2024
@sweco-nltbim
Copy link

Following.. I also run into the same issue. One day it stopped adding the attachments and can't figure out why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug regression This used to work, but a change in the service/tasks broke it. Task: PublishTestResults triage
Projects
None yet
Development

No branches or pull requests

3 participants