dotnet test from Ubuntu1804 started failing to post results to appveyor api

maldworth's Avatar

maldworth

17 Aug, 2019 12:34 AM

I am using the technique here with the nuget reference of Appveyor.TestLogger: https://stackoverflow.com/a/48235499

We are using `dotnet test` on both the VS2017 image and ubunt1804. It's been working great, showing both test results as seen here:
https://ci.appveyor.com/project/phatboyg/masstransit/builds/26414149

Then, the next commit (no changes to build yml or cake), the ubuntu1804 started getting this error for each test.
```
System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Microsoft.VisualStudio.TestPlatform.Extensions.Appveyor.TestLogger.
```
you can see it on this build, and all since then have had this error (https://ci.appveyor.com/project/phatboyg/masstransit/builds/26478420/job/hi8rsdcpk9dm6sum#L311).

  1. Support Staff 1 Posted by Owen McDonnell on 17 Aug, 2019 03:02 PM

    Owen McDonnell's Avatar

    Can you try building on previous images (i.e. Previous Ubuntu1804) and let us know if this issue is still present.

  2. 2 Posted by maldworth on 17 Aug, 2019 07:05 PM

    maldworth's Avatar

    Yep that did the trick. Do you want any more info or the test results files to help debug why the new ubuntu1804 has this problem?

  3. Support Staff 3 Posted by Ilya Finkelshte... on 20 Aug, 2019 01:17 AM

    Ilya Finkelshteyn's Avatar

    Confirmed and was able to repro with direct call to build worker API. Please watch this GitHub issue: https://github.com/appveyor/ci/issues/3061

  4. Support Staff 4 Posted by Wasa Pleshakov on 02 Sep, 2019 08:28 PM

    Wasa Pleshakov's Avatar

    This bug fixed in recent update of Linux images.
    @maldworth, please check your build with image Ubuntu1804

  5. 5 Posted by maldworth on 08 Sep, 2019 03:05 AM

    maldworth's Avatar

    Verified, worked. Thanks for fix!

  6. Support Staff 6 Posted by Wasa Pleshakov on 09 Sep, 2019 03:42 AM

    Wasa Pleshakov's Avatar

    Great!

  7. Wasa Pleshakov closed this discussion on 09 Sep, 2019 03:42 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac