-
Notifications
You must be signed in to change notification settings - Fork 225
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
SqlRs: The helper function Restart-ReportingServicesService timeouts #1114
Comments
- The helper function Restart-ReportingServicesService should no longer timeout when restarting the service (issue dsccommunity#1114).
- Sometimes the integration tests failed to start services in the AppVeyor build worker. Now the value 'ServicesPipeTimeout' is set to the max of two minutes (default 30 seconds) in appveyor.yml (issue dsccommunity#1114).
Seems this wasn't what I thought it was. The event log in the AppVeyor build worker is reporting
|
It seems the services is restarted to quickly, so something isn't quite ready to service the startup request. If I add a timeout of 60 seconds the service is started properly. Maybe that time can be shortened. |
- The helper function `Restart-ReportingServicesService` should no longer timeout when restarting the service (issue dsccommunity#1114).
- The helper function `Restart-ReportingServicesService` should no longer timeout when restarting the service (issue dsccommunity#1114).
Many hits on a search suggest to add a registry key Only solution was to wait between stopping the services and starting the service. If anyone knows anything more around this, please enlighten me 😃 I will send in a PR shortly that will wait 30 seconds before starting the service after it has been configured. |
- Changes to SqlAlwaysOnService - Minor code cleanup in integration test, fixed the scope on variable. - Changes to SqlSetup - Updated the integration tests to stop some services after each integration test. This is to save memory on the AppVeyor build worker. - Updated the integration tests to use a SQL Server 2016 Service Pack 1. - Changes to SqlRS - Updated the integration tests to stop the Reporting Services service after the integration test. This is to save memory on the AppVeyor build worker. - The helper function `Restart-ReportingServicesService` should no longer timeout when restarting the service ([issue #1114](#1114)). - Changes to SqlServiceAccount - Updated the integration tests to stop some services after each integration test. This is to save memory on the AppVeyor build worker.
Details of the scenario you tried and the problem that is occurring
When restarting the Reporting Services service with the helper function
Restart-ReportingServicesService
is is usingRestart-Service
. The problem seems thatRestart-Service
timeouts on the build worker sometimes probably because it takes to long to start the service.This is show here: https://ci.appveyor.com/project/johlju/sqlserverdsc?fullLog=true#L8294
The DSC configuration that is using the resource (as detailed as possible)
The configuration for the integration test for SqlRs.
Version of the operating system and PowerShell the target node is running
Windows Server 2016, WMF 5.1
SQL Server edition and version the target node is running
SQL Server 2016 SP1
What SQL Server PowerShell modules, and which version, are present on the target node.
n/a
Version of the DSC module you're using, or write 'dev' if you're using current dev branch
Dev
The text was updated successfully, but these errors were encountered: