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

Link to test failure history #95

Open
dpoeschl opened this issue Apr 14, 2016 · 1 comment
Open

Link to test failure history #95

dpoeschl opened this issue Apr 14, 2016 · 1 comment

Comments

@dpoeschl
Copy link
Owner

@jaredpar made this: http://jdash.azurewebsites.net/builds/failure?name=CSharpCodeActions.Invoke%20InvokeDelegateWithConditionalAccess%20multiple%20times&pr=False

When stashpop finds failing tests, we can construct the appropriate url and link to it. Or, we can inline the test failure history...

@jaredpar
Copy link

I added a JSON APIs that you should be able to use here:

This API takes three arguments:

  • name: Required and specifies the failure you want to get information for.
  • startDate: Optional specifies start date for looking at failures. Default is 1 day.
  • pretty: When true formats the returned JSON to be more human readable. Useful for debugging.

Example call for the test case in the issue:

Output of the call:

{
  "name": "CSharpCodeActions.Invoke InvokeDelegateWithConditionalAccess multiple times",
  "totalFailures": 4,
  "pullRequestFailures": 1,
  "commitFailures": 3,
  "builds": [
    {
      "jobName": "roslyn-internal_future_win_dbg_eta",
      "jobShortName": "roslyn-internal_future_win_dbg_eta",
      "jobUri": "https://dotnet-ci.cloudapp.net/job/roslyn-internal_future_win_dbg_eta",
      "dateTime": "2016-04-15T00:00:00Z"
    },
    {
      "jobName": "roslyn-internal_future_win_rel_eta",
      "jobShortName": "roslyn-internal_future_win_rel_eta",
      "jobUri": "https://dotnet-ci.cloudapp.net/job/roslyn-internal_future_win_rel_eta",
      "dateTime": "2016-04-15T00:00:00Z"
    },
    {
      "jobName": "roslyn-internal_future_win_rel_eta",
      "jobShortName": "roslyn-internal_future_win_rel_eta",
      "jobUri": "https://dotnet-ci.cloudapp.net/job/roslyn-internal_future_win_rel_eta",
      "dateTime": "2016-04-15T00:00:00Z"
    },
    {
      "jobName": "roslyn-internal_prtest_win_dbg_eta",
      "jobShortName": "roslyn-internal_prtest_win_dbg_eta",
      "jobUri": "https://dotnet-ci.cloudapp.net/job/roslyn-internal_prtest_win_dbg_eta",
      "dateTime": "2016-04-15T00:00:00Z"
    }
  ]
}

Let me know if there is any extra information I can add here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants