Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Aug 30, 2021

Backport of #58391 to release/6.0

/cc @jozkee

Customer Impact

Guarding condition in ResolveLinkTarget(returnFinalTarget:true) was wrong and was letting unsupported reparse points (e.g: AppExecLinks) to slip through and throw an exception while ResolveLinkTarget(returnFinalTarget:false) was correctly returning null.

Testing

Added offending scenario and assert that both code paths return correctly in such case.

Risk

Low but this was an overlook of #57996.

@ghost ghost added the area-System.IO label Aug 30, 2021
@ghost
Copy link

ghost commented Aug 30, 2021

Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #58391 to release/6.0

/cc @jozkee

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-System.IO

Milestone: -

@danmoseley
Copy link
Member

danmoseley commented Aug 30, 2021

Approved for release/6.0 : localized bug fix, self evidently incorrect, to a new API.

@jozkee
Copy link
Member

jozkee commented Aug 31, 2021

Pending leg (Build OSX x64 Debug AllSubsets_Mono_LLVMAOT) shows the following error in dev.azure:

##[error]An error occurred while provisioning resources (Error Type: Disconnect).

https://dev.azure.com/dnceng/public/_build/results?buildId=1329546&view=logs&jobId=6980fdfd-5ae4-5ece-1d43-cc87a990074b&j=6980fdfd-5ae4-5ece-1d43-cc87a990074b

@danmoseley all other legs already finished, can we merge?

@danmoseley
Copy link
Member

I clicked rerun as there's no harm and I can merge tomorrow.

@danmoseley
Copy link
Member

@dotnet/dnceng what do you make of this:

##[error]An error occurred while provisioning resources (Error Type: Disconnect).
https://dev.azure.com/dnceng/public/_build/results?buildId=1329546&view=logs&jobId=6980fdfd-5ae4-5ece-1d43-cc87a990074b&j=6980fdfd-5ae4-5ece-1d43-cc87a990074b

@MattGal
Copy link
Member

MattGal commented Aug 31, 2021

@dotnet/dnceng what do you make of this:

##[error]An error occurred while provisioning resources (Error Type: Disconnect).
https://dev.azure.com/dnceng/public/_build/results?buildId=1329546&view=logs&jobId=6980fdfd-5ae4-5ece-1d43-cc87a990074b&j=6980fdfd-5ae4-5ece-1d43-cc87a990074b

This is one-to-two-years-ago's version of a long term persistent challenge with Azure DevOps. Basically, a hosted macOS agent started your job, and somewhere after starting the build step that has no logs (but absolutely any time from 0s to all the time) died completely... some kind of sudden catastrophic crash of the agent process, hang or destruction of the virtual machine it's running on, who knows. In recent times, the incidence has been such a low percentage that we're not actively pursuing the matter, but it's known to never be a statistic with 0% failure, since the build itself could choose to rapidly eat all the memory/disk space, or even accidentally kill or impact the agent process on the agent, leading to the termination.

If that changes (like if we see enough of these to be as big of a problem as the package feed issue has been), we should raise the matter via the typical manner (ping dnceng, get FR team to make an IcM with the Hosted Mac folks).

@danmoseley
Copy link
Member

Couldn't figure out how to stop the zombie OSX job so rerunning it all.

@danmoseley danmoseley added the Servicing-approved Approved for servicing release label Sep 7, 2021
@danmoseley
Copy link
Member

A few random test jobs failed on tvOSSimulator. None of them IO tests, all simliar to anothre PR right now where we discussed them. Merging.

@danmoseley danmoseley merged commit c7e5075 into release/6.0 Sep 8, 2021
@danmoseley danmoseley deleted the backport/pr-58391-to-release/6.0 branch September 8, 2021 04:45
@ghost ghost locked as resolved and limited conversation to collaborators Oct 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.IO Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants