-
Notifications
You must be signed in to change notification settings - Fork 30
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
DSC on Azure Pipelines Ubuntu #588
Comments
The same is on |
@Gijsreyn can you confirm this is still an issue with latest release? |
@SteveL-MSFT if your talking about preview.11, it was tested on that one. I can see preview.11 being the latest. |
Thanks, I'll try to investigate this later this week |
I suspect the problem is that ADO Pipelines always has STDIN, STDOUT, STDERR pipes redirected to send input and read output. |
That's not later Steve because your suspicion is right :) When changing the line and adding input to it as such: |
Use that as a workaround for now, working on a fix. |
So I wrote a test that repros the problem by simply redirecting stdin and never sending input. The problem is that I don't see a way to not block on attempting to read stdin. Let me think about this more, but I think what I might have to do is add an explicit |
Thanks Steve for the follow up and diving right into it. I guess there are some rough edge cases still to be uncovered as |
I don't like the explicit The good news is that even with the |
After doing a bit of research on this, it appears |
Prerequisites
Summary
I am experiencing issues when installing
dsc.exe
onubuntu-latest
agent pool in Azure Pipelines. I'm running the following script:The
dsc --version
is properly called, but when doing the resource list, I can observe:This hangs for an infinity time.
Steps to reproduce
See description
Expected behavior
Able to run `dsc resource list` on ubuntu-latest agent
Actual behavior
Hangs
Error details
No response
Environment data
Version
dsc 3.0.0-preview.11
Visuals
No response
The text was updated successfully, but these errors were encountered: