TFS2015 Build failed email notifications are missing errors - email

In 2013 XAML Builds, email notifications about failed builds used to have a nice overview of the errors occurred in the Summary.
For example, when there was a compilation error in one file, this file and the error were displayed.
In 2015 Update 1, there were only red "():" in place of the errors and since Update 2 they are lacking completely, saying 0 Errors in the Build summary but "Build failed" in the subject.
If you open the builds in Web Access the errors are displayed as they should.
Is there any way to restore the Build Error Messages?

I could reproduce your issue on my side. Email alerts can generate the error messages for XAML build, but only shows 0 error(s), 0 warning(s) for a fail vNext build:
As we can't modify email alerts' content. You need to submit a feedback at website http://connect.microsoft.com/visualstudio.

Related

Click once application Deployment - Installation Error

I have created winform application using .Net Framework 4.5
I have created click once deployment package for it. But when i install it on server it gives me error as below
and the error upon clicking Details buttons shown as
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users******\Downloads\Publish******.application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Users/******/Downloads/Publish/Application Files/********_1_0_0_3/*******.dll.deploy did not succeed.
+ Access to the path 'C:\Users**********\AppData\Local\Temp\2\Deployment\********.dll' is denied.
I have a similar problem on occasion. ...\Temp\2... seems to be a default folder for doing stuff. My clickonce deployment was getting blocked by a test run in Selenium using the same location to store its test logs.
Check if the location is being used by other processes to store files while they are working or see if you can clear the folder before starting the update (if you do an update in code vs just clicking the *.appref-ms file).
Also note that ...\Temp\2 can show up as a file instead of a folder thereby blocking any use of it as a folder.

"Last Build Status: Failed" after uploading a build for analysis

We use Coverity's free scanning service for free and open source projects. We have not been able to utilize the service for the last two months or so. Prior to the service failures, we had half-a-dozen or so good analysis.
Submitting a scan results in:
Last Build Status: Failed. Your build has failed due to the following reason. Please fix the error and upload the build again.
Error details: :Failed to retrieve tar file
Coverity is very good about providing copy/paste directions, and we have copied/pasted them religiously. We verified there are no build errors, and we verified the build ends with "131 C/C++ compilation units (100%) are ready for analysis" and "The cov-build utility completed successfully".
We've tried to resolve the issue by verifying things from this generic solution provided in a "failed email" response from the service. We verified or performed all of them except number four.
We did not perform number four because Coverity's documentation is horrible (its the exact opposite of their awesome scanning service). Because there's no instructions or RTFM to read, we have no idea which knobs should be turned for bin/cov-configure. We don't want to mess with it since it worked in the past.
We also tried the following:
using the web submission form and browser
using curl from the command line
packaging cov-int/ in a tarball
packaging cov-int/ in a zip file
using all lowercase for the project name
capitalizing the first letter of the project name
We always get the same message ("Failed to retrieve tar file"), even with a ZIP file. Recall that prior to about 6 weeks ago, everything was working fine.
What is the secret to uploading a file to the service? What has changed in the last six weeks or two months?
After contacting the coverity support we just received the following answer and we could successfully submit a build. Seems there was some hickup on the coverity side.
"This was due to some behind the
scenes issues on our end – nothing interesting,, but it is back up and
running now. Thanks for your patience".

Coverity OpenSource Scan: Failed to retrieve tar file

We are trying to use the Coverity OpenSource service but have problems submitting our project files for analyses.
Whenever submitting the project.tgz to the coverity (no matter whether this is done via the automation instruction or via the website directly),
we see that the build is being queued for a short time:
Last Build Status: Running. Your build is currently being analyzed
But after a few second the build fails as it cannot find the archive:
Last Build Status: Failed. Your build has failed due to the following reason. Please fix the error and upload the build again.
Error details: :Failed to retrieve tar file ...more
The build log seems fine:
2015-12-18T12:30:44.458433Z|cov-build|5752|info|> Build time (cov-build overall): 00:34:26.499117
2015-12-18T12:30:44.458433Z|cov-build|5752|info|>
2015-12-18T12:30:44.462750Z|cov-build|5752|info|> Build time (C/C++/Java emits total): 00:49:03.604351
2015-12-18T12:30:44.462750Z|cov-build|5752|info|>
2015-12-18T12:30:44.462750Z|cov-build|5752|info|>
2015-12-18T12:30:44.462794Z|cov-build|5752|info|> 397 C/C++ compilation units (100%) are ready for analysis
2015-12-18T12:30:44.462794Z|cov-build|5752|info|> 19 Java compilation units (100%) have been captured and are ready for analysis
The issue seems to be consistent with Error details: :Failed to download tar file from . Unfortunately, there is no solution.
Is there any naming convention/and or size restriction for the archive?
Thanks for your help!
After contacting the coverity support we just received the following answer and we could successfully submit a build. Seems there was some hickup on the coverity side.
"This was due to some behind the
scenes issues on our end – nothing interesting,, but it is back up and
running now. Thanks for your patience".

Jenkins email notification for build failure due to compile error

I have continuous integration setup using jenkins and also integrated selenium scripts for nightly build. I also have editable email notification for sending emails in case of any build failure.
The default content for editable email notification is
$DEFAULT_CONTENT
${JELLY_SCRIPT,template="text"}
${FAILED_TESTS}
This content give me clear picture if there is any fail in the selenium script with full stacktrace.
The problem is that, if the jenkins build got failed due to compile error or any other failure reasons, the email notification is not providing any reason about the failure. It simply says No tests ran.
How to make jenkins to send mail notification with the failure reason, if the build got failed due to compile time error ?
You can attach build logs and any reports that your selenium has producing with the editable email notification.Below is a screenshot of what you can do:
Attached Logs can give you Info on build failure and other details And reports can be customized as you need.
More links:
Can Jenkins send mail notify with attachment?
Display HTML page inside mail body with Email-ext plugin in Jenkins
How to include git changelog in Jenkins emails?
You can create two jobs , one is for triggering build for every check and one for running automation suite.
It may resolve your problem
You can try using this plugin
https://wiki.jenkins-ci.org/display/JENKINS/Build+Failure+Analyzer

OpsHub-012010: Processing blocked - earlier event(s) for entity 11888 have to be processed first

I am getting the following error when running a migration from TFS on-premise to Visual Studio Online
OpsHub-012010: Processing blocked - earlier event(s) for entity 11888 have to be processed first.
This is the second time i am trying to run the 'source control' migration on the same project.
I got the same error the first time after 3700 changesets. This time it happened after 5300 changesets.
I also tried to flag the Failure item for a retry and rerun the process, but I keep getting the same error.
use latest version 1.0.1.005
Also Can you please zip up and send us the log files from location :\Program Files\OpsHub Visual Studio Online Migration Utility\logs and email them to ovsmu#opshub.com
Please include a reference to this request in your email
so we will provide proper resolution to this thread.