Skip to content
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

AzDevOpsProject: Missing descriptive messages when run in verbose mode #19

Open
johlju opened this issue Jan 24, 2021 · 0 comments
Open
Labels
Backlog - Mid Term Backlog - Mid Term enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.

Comments

@johlju
Copy link
Member

johlju commented Jan 24, 2021

Details of the scenario you tried and the problem that is occurring

When running the resource in verbose mode there are no descriptive messages what actions are taken by the resource. There are only a lot of non-descriptive api calls.

Verbose logs showing the problem

VERBOSE: [WIN-2TKBNCAMUG8]: LCM:  [ Start  Test     ]  [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1]
VERBOSE: [WIN-2TKBNCAMUG8]:                            [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1] GET 
https://dev.azure.com/azuredevopsdsc/_apis/projects?includeCapabilities=true&api-version=6.0 with 0-byte payload
VERBOSE: [WIN-2TKBNCAMUG8]:                            [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1] 
received 22-byte response of content type application/json; charset=utf-8; api-version=6.0
VERBOSE: [WIN-2TKBNCAMUG8]:                            [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1] 
DscActionRequired='None'
VERBOSE: [WIN-2TKBNCAMUG8]: LCM:  [ End    Test     ]  [[AzDevOpsProject]Integration_Test_EnsureGitProjectAbsent1]  in 
5.3240 seconds.

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

AzDevOpsProject Integration_Test_EnsureGitProjectAbsent1
{
    ApiUri      = $Node.ApiUri
    Pat         = $Node.Pat
    ProjectName = 'TestGitProjectName'
    Ensure      = 'Absent'
}

Azure DevOps Server version the target node is running

Azure DevOps Services

VSTeam PowerShell modules present on the target node

n/a

The operating system the target node is running

Azure Pipelines - Microsoft Hosted Agent

Version and build of PowerShell the target node is running

n/a

Version of the DSC module that was used

Latest in main branch

@johlju johlju added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Jan 24, 2021
@kilasuit kilasuit added the Backlog - Mid Term Backlog - Mid Term label Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog - Mid Term Backlog - Mid Term enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

2 participants