Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

sporadic sourcelink test http request errors #322

@ryangribble

Description

@ryangribble

On TravisCI OSX image builds, have been getting An error occurred while sending the request. error when running sourcelink test against the nupkg

Windows (AppVeyor) and Linux (TravisCI) builds do not seem to be affected, however about 50% of OSX builds seem to be running into this.

Is there any way to get more debug output, for example a stack trace or the Inner Exception (presumably from the http request being made to github to get the hash)?

The command being run by our Cake build is essentially dotnet sourcelink test <path to nupkg>

The task output:

========================================
TestSourceLink
========================================
Executing task: TestSourceLink
Testing sourcelink info in packaging/Octokit.0.30.0-PullRequest1738.nupkg
An error occurred while sending the request.
An error occurred when executing task 'TestSourceLink'.
Error: Sourcelink test failed!

I can't provide TravisCI logs because when you tell it to retry, it doesnt seem possible to get the earlier log anymore. But so far the OSX build will fail initially, then succeeded on the first retry... so 50%

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions