-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add MNTR aggregated failure logs to artifacts #4100
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
Add MNTR aggregated failure logs to artifacts #4100
Conversation
…' into add-mntr-aggregated-to-artifacts
|
@IgorFedchenko well look at that... finally looks like Azure DevOps is running properly. |
@Aaronontheweb Indeed - so you did not change anything? |
|
@Aaronontheweb Also, please check out artifacts for failed MNTR here. Does it look good, or any ideas about how to make it even better? |
Nope, I did not - just filed a bug report and a support ticket with Azure DevOps. |
|
@Aaronontheweb Now MNTR output per each node and aggregated per spec can be found on Attachments tab in test view: Do you have any ideas to make it even better, or this looks good in current state? |
| artifactName: 'net_core_tests_linux-$(Build.BuildId)' | ||
|
|
||
| - template: azure-pipeline.template.yaml | ||
| - template: azure-pipeline.mntr-template.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have to use different template here to add build artifacts that are not used for non-mntr tests. There is some conditional execution support, but it does not seem to be flexible enough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
| outputDirectory: 'TestResults' | ||
| artifactName: 'net_core_mntr_windows-$(Build.BuildId)' | ||
| mntrFailuresDir: 'TestResults\\multinode\\FAILED_SPECS_LOGS' | ||
| mntrFailuresArtifactName: 'net_core_mntr_FAILED_windows-$(Build.BuildId)' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So here is where all failed spec aggregated logs can be downloaded at once
Aaronontheweb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of changes (un-breaking the test mostly) needed.
I also noticed this issue on a different PR but it's showing up here as well:
Looks like it might be a race condition - this bug isn't related to this PR as it's already happening with the current code that we have in-place for reporting MNTR results.
| artifactName: 'net_core_tests_linux-$(Build.BuildId)' | ||
|
|
||
| - template: azure-pipeline.template.yaml | ||
| - template: azure-pipeline.mntr-template.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
...contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/ClusterShardingGracefulShutdownSpec.cs
Outdated
Show resolved
Hide resolved
|
Since I didn't mention this anywhere: the MNTR output looks great. Much easier to be able to access the node-specific logs from the Azure DevOps UI - that should help improve contributor productivity. Nicely done @IgorFedchenko |
|
Hah, one small issue before I approve this - the build step fails if there are no failed MNTR specs |
Yup, seems like |
|
All right, now did not failed on that step. |
|
Thanks @IgorFedchenko! Looking forward to using this in the rest of our build pipeline. |
Related to #4059
The goal of this PR is to add separate artifact containing only aggregated timeline logs for only failed specs. So that when MNTR tests are failing on CI, we could just download single small zip file and get all we need to know.
In draft state since need to debug Azure Pipelines templates update for artifacts publishing.