-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Publish VSTest: Skipping attachment as it exceeded the maximum allowed size or not available on disk #4666
Comments
Hi GuofuZhong, ##[warning]Skipping attachment as it exceeded the maximum allowed size or not available on disk: C:\BuildAgents\A_work\21\s\TestResults\buildAgent_BUILD-VM_2017-06-30_10_00_30\In\BUILD-VM\buildAgent_BUILD-VM 2017-06-30 10_00_24.coverage When we dug into it, we found that there is a bug in the path construction of this file . VSTS tryed to get the file from the directory [...\buildAgent_BUILD-VM**2017-06-30**10_00_30...] but the real directory name is [...\buildAgent_BUILD-VM 2017-06-30 10_00_30...] I don't know how or why but VSTS added 2 extra underscores "_" to this directory name :SS We still following this issue to figure ou. To be continued... |
@SadagopanRajaram's team is looking into it. |
Posting on behalf of Sudipta. _The attachment path for results assume certain elements in the path. Once Guofu fixed those paths, the files got uploaded properly. We are internally checking if we need to support a wider array of path variations. The key xpaths to check in trx file for paths are:
If the trx file is shared, we can provide more insight._ |
@dpksinghal Hi dpksinghal, Sudipta already got my trx file and atttachment zip packages.
|
This is still present in U2 for webtests |
Update from Sudipta: "The behavior is unchanged in U2. We are looking at fixing the issue for future releases" |
Why this big is closed though if it's still not fixed? |
Is there a workaround for this? |
I run following powershell script at the end of execution run to fix the issue
|
@artisticcheese I am running my tests and reporting testresults&code coverage all in one |
I run tests manually in script like below
|
FYI, looks like they fixed it here https://github.com/Microsoft/vsts-agent/pull/1149/files |
Not sure how to install it on TFS 2017 U2 on premises |
they'll update hosted agents as well (hopefully) so I don't think you need to install it on premise. |
I'm writing a script to merge multiple trx and publish to vsts.
But we meet this error
https://msasg.visualstudio.com/Bing_Ads/_build/index?buildId=523744&_a=summary
In Publish UI Test Result step.
we want to upload a lot of attachment of selenium screen snapshots to VSTS. How to avoid this warning?
I checked on agent. our test merged directory just 25MB
The text was updated successfully, but these errors were encountered: