Team Build Errors when there aren't any - tfs

I have a nightly team build that is reporting errors from the test step but zero errors in the summary. This results in a partial success.
alt text http://jonesie.net.nz/content/binary/buildsnip.jpg
I cant see any errors in the full build log but maybe it's just the quantity of warnings??
Anyone got any ideas?
Thanks

The Running tests task failed....if any non-essential task fails, this results in a Partially Succeeded status. Can you post the MSBuild file being used, specifically the Running tests section?
That being said, you should always pay attention to the warnings and resolve them whenever possible...they are warnings for a reason. They often alert you to unintended behavior in your code (e.g. a property that doesn't override properly).

Try searching for the string "error :" in the log file.
MSBuild will automatically generate an error if it sees this string in the output anywhere.
So even if the string happens to be "error : 0" (as in everything is just peachy), MSBuild will still exit with an error!
This issue has also been documented here:
http://social.msdn.microsoft.com/forums/en-US/msbuild/thread/77eb8b02-8cd7-4d32-acad-3ab0dc308d78/

Related

Can not extract resource from com.android.aaptcompiler.ParsedResource#d5789c4

Can not extract resource from com.android.aaptcompiler.ParsedResource#d5789c4.,Can not extract resource from com.android.aaptcompiler.ParsedResource#57808e1e.
i had the same message of error and it resulted to be this annoying litle mistake in the color resource file: the double angle bracket, which by the way the compliler doesn't highlights
>#color/gris_oscuro
This is likely a problem in some resource file. I think it's very frustrating, the error message says "Check logs for more details" but I am not sure how to get the logs.
I had a similar problem and after many attempts I exited Studio, manually removed the build directory, and tried again. This time I did see a log, and they pointed at my strings.xml file, which I was able to fix.
By the way, I realized that if you run "Compile some_file.xml" from the Build menu, you'll get the error even if the error is somewhere else. So this is not helpful.
(FWIW, my error had to do with a single quote inside a [[CDATA]] block. I thought that Xml allows any text inside CDATA, but maybe Studio is less forgiving. Anyway, your error is probably something else, you'll just have to find it.)
I see here that people discuss how to get grade logs. I was not able to run gradlew from the terminal (I am on macOS) but that seems to be the official way to get lgs.
Check colors.xml and strings.xml file. I had error in colors.xml. I had written wrong color code of two colors. That is why I was getting this error.

Failing Unit-Test. Detailes not displayed

I am using TFS2018.3 and the recent build Agent.
if Tests fail, I don't get the Details displayed any more.
Instead I see error message:
We can't reach the server to fetch test results. Please refresh the page to try again.
Following the advise to refresh the page does not help.
What is the cause for this Issue?
I think I've found the cause. If I switch the Locale Language Settings back to German in my user profile the test results are shown correctly.
It's probably a TFS bug. Reported here: https://developercommunity.visualstudio.com/content/problem/556349/tests-tab-does-not-show-test-results.html

PhpStorm and Jira integration

Due to Atlassian IDE Connector is outdated, trying to use build in Task management system.
Adding server:
And then trying to browse tasks but getting error:
Cannot connect to https://*.atlassian.net Request failed. Reason: "Field 'summary' does not exist or this field cannot be viewed by anonymous users." "Field 'assignee' does not exist or this field cannot be viewed by anonymous users." "Field 'resolution' does not exist or this field cannot be viewed by anonymous users."
Maybe someone faced similar problem?
I had the same issue today. It started occurring when i tried to mark Update issue state to "In Progress"
From that point on every time i tried to work with this task or add new ones i got similar error messages.
The only solution that i could find was to remove the already affected tasks first.
And after that uncheck "Update issue state" in "Open Task" options.
Unfortunately now there is no way to influence task status from PHPStorm.
It's a temporary solution at best, hopefully Atlassian does something about this soon.
I've found a workaround for such an issue. It's working for me, however it's not perfect or handy in any way. phpStorm is collecting JIRA issue data somehow (it allows you to search thru the issue acronyms and lets you pick up one issue to time tracking). However with the problem which is occuring right now it's not possible for phpStorm to gather/update new issue data from connected projects to your account.
The workaround is to open the Atlassian Connector settings, JIRA Server section, when you have your credentials entered, just press "Test Connection". Probably it will report an error, but, surprisingly for me, task list in phpStorm is updated, new tasks appear...
Please try it, maybe this will work for you too?
Thought I would put a solution on this page found it in Chinese and it's really quite embarrassing I missed this as well.
The below is the ending point for working on a task which will give you the option to commit changes, merge branches, and yep Update Issue State.
Tools > Tasks & Context > Close Active Task... (Alt + Shift + W)
Just checked today, no errors and everything working fine.

Why is my Dataflow pipeline not showing steps?

When I run the examples I get a pretty picture showing the flow and I can monitor as it executes. With my application it doesn't show the diagram and if I click on "Step" it displays nothing.
Adding screenshot of Job log. No warnings or errors. BTW, I assumed the icon on the log entry with an "i" stands for Info level, but when I change the level from BASIC to ALL many more entries are added and they all have the same icon. That is confusing. Icons should be more clear and should have hover tips, IMO.
I'm on the Dataflow team. I'm sorry that you are encountering this issue.
I believe this is occurring because of the custom step names you're code is using.
From your screenshot of the job logs, it appears that some of these steps have been given names that represent a GCS storage path location.
I noticed this from this message in the logs:
Executing operation "gs://datalake/landing/...."
This fails to render in the monitoring UI and likely hits an assertion because slashes are disallowed characters.
In order to work around this issue would you please try removing the custom step names used in your code. Which seems to be set to gs:// style paths. You could also try specifying names for each step, without using special characters.
Please try running the job again after that change and see if the graph renders properly in the dataflow UI.
I have created a github issue to track this bug and prevent these slash characters from sent in the future in the dataflow SDK code.
Please let me know if you encounter any more issues.

Build Failure Analyzer plugin for Jenkins: Match Text returns Invalid Url

I am working with the Build Failure Analyzer plugin for Jenkins. It works fine when I use Plain Text as the Text Source, but when I select Build Log I get an Invalid Url error after clicking Match Text.
The pattern I am using is :
.*no JMeter files matching .* for a Jmeter Project
And the text which I am matching is :
http://localhost:8080/job/Project%20Jmeter/4/
Am I missing something?
Remove %20 in the URL and replace it with blankspace
There are a couple of things that you have to check for this. I'm leaving this for anyone else who might have ran into the same thing that I did. First, you need to ensure that any %20 is a blankspace as previously mentioned, but another one that caught me up is that it is not the URL to the console logs, even through the drop down mentions build log. You are providing a link to the build itself.
You do not seem to have this problem, but it has tripped me up multiple times.

Resources