-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fix issue when VHD file mounted #209
base: main
Are you sure you want to change the base?
Conversation
Build fails due to dsccommunity/DscResource.DocGenerator#131 |
To whoever owns this module, the build will not work on an Ubuntu worker due to this line:
The error that occurs with every test is similar to this one:
Can we use a Windows build worker for this repository? |
@johlju do you know who maintains this module? I am not able to get the build to work. It fails while publishing the test results to codecov.io |
Unfortunatly I don't think there is any active maintainer on this module any longer. |
I have a look see if I can se anything. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Please revert that change above and it should work. If not then we have to look for an issue somewhere else, because that is how all pipelines looks. |
@johlju I've reverted the change to the build worker image and the VHD casing. But even with the correct casing, the original issue remains:
|
Charge the build stage and test stages (unit and integration if it exist) to use |
In azure-pipelines.yml |
Not sure why the build fails now, something is off with the pipeline files. I don't recognize the error. Have no time to find the cause. Ping me in a week or so and I can help dig. |
Thanks for your effort @johlju , I assume the renaming VHD to Vhd was the issue. I can see that all tests were passed, only the code coverage could not be reported. |
This reverts commit 4346d6f.
Codecov Report
@@ Coverage Diff @@
## main #209 +/- ##
===================================
Coverage 83% 83%
===================================
Files 11 11
Lines 1441 1497 +56
===================================
+ Hits 1203 1257 +54
- Misses 238 240 +2
|
Pull Request (PR) description
This PR fixes an issue with Get/Test and the resource VHDFile. If the VHD that files are copied to/from is attached to a running machine, the resource fails and the system is not in the desired state.
This PR skips mounting the VHD if the machine is running. Documentation has been updated to include that change.
This Pull Request (PR) fixes the following issues
Task list
Entry should say what was changed and how that affects users (if applicable), and
reference the issue being resolved (if applicable).
This change is