[00:00:00] Build started [00:00:00] git clone -q --branch=master https://github.com/jbruett/dsc-domain.git C:\projects\dsc-domain [00:00:01] git checkout -qf 4f6596b259ca8b645b0e2534af9182c513336851 [00:00:01] Running Install scripts [00:00:01] .\Appveyor\Install.ps1 [00:00:05] [00:00:05] Name Version Source Summary [00:00:05] ---- ------- ------ ------- [00:00:05] nuget 2.8.5.208 https://onege... NuGet provider for the OneGet meta-package manager [00:00:32] [00:00:32] [00:00:32] . .\Tests\appveyor.pester.ps1 -Test [00:00:32] [00:00:32] STATUS: Testing with PowerShell 5 [00:00:32] [00:00:34] Executing all tests in C:\projects\dsc-domain\Tests [00:00:34] Tests completed in 0ms [00:00:34] Tests Passed: 0, Failed: 0, Skipped: 0, Pending: 0, Inconclusive: 0 [00:00:35] . .\Tests\appveyor.pester.ps1 -Finalize [00:00:35] [00:00:35] STATUS: Finalizing results [00:00:35] [00:00:35] COLLATING FILES: [00:00:35] C:\projects\dsc-domain\PesterResults_PS5_20170516-204338.xml [00:00:35] [00:00:35] .\Appveyor\AfterTests.ps1 [00:00:35] The 'Microsoft.PowerShell.Management' module was not imported because the 'Microsoft.PowerShell.Management' snap-in was already imported. [00:00:44] It is not recommended to use domain credential for node 'localhost'. In order to suppress the warning, you can add a property named 'PSDscAllowDomainUser' with a value of $true to your DSC configuration data for node 'localhost'. [00:00:44] [00:00:44] [00:00:44] Directory: C:\projects\dsc-domain\NewDomain [00:00:44] [00:00:44] [00:00:44] Mode LastWriteTime Length Name [00:00:44] ---- ------------- ------ ---- [00:00:44] -a---- 5/16/2017 8:43 PM 5020 localhost.mof [00:00:44] -a---- 5/16/2017 8:43 PM 1162 localhost.meta.mof [00:00:44] VERBOSE: Performing the operation "Start-DscConfiguration: SendMetaConfigurationApply" on target "MSFT_DSCLocalConfigurationManager". [00:00:44] VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendMetaConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'. [00:00:44] VERBOSE: An LCM method call arrived from computer APPVEYOR-VM with user sid S-1-5-21-1113041070-401883997-2146908610-1001. [00:00:44] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Set ] [00:00:44] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Resource ] [MSFT_DSCMetaConfiguration] [00:00:44] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Set ] [MSFT_DSCMetaConfiguration] [00:00:44] VERBOSE: [APPVEYOR-VM]: LCM: [ End Set ] [MSFT_DSCMetaConfiguration] in 0.0310 seconds. [00:00:44] VERBOSE: [APPVEYOR-VM]: LCM: [ End Resource ] [MSFT_DSCMetaConfiguration] [00:00:45] VERBOSE: [APPVEYOR-VM]: LCM: [ End Set ] [00:00:45] VERBOSE: [APPVEYOR-VM]: LCM: [ End Set ] in 0.0930 seconds. [00:00:45] VERBOSE: Operation 'Invoke CimMethod' complete. [00:00:45] VERBOSE: Set-DscLocalConfigurationManager finished in 0.285 seconds. [00:00:45] VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'. [00:00:45] VERBOSE: An LCM method call arrived from computer APPVEYOR-VM with user sid S-1-5-21-1113041070-401883997-2146908610-1001. [00:00:45] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Set ] [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Resource ] [[File]ADFiles] [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Test ] [[File]ADFiles] [00:00:46] VERBOSE: [APPVEYOR-VM]: [[File]ADFiles] The system cannot find the file specified. [00:00:46] VERBOSE: [APPVEYOR-VM]: [[File]ADFiles] The related file/directory is: C:\NTDS. [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ End Test ] [[File]ADFiles] in 0.0310 seconds. [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Set ] [[File]ADFiles] [00:00:46] VERBOSE: [APPVEYOR-VM]: [[File]ADFiles] The system cannot find the file specified. [00:00:46] VERBOSE: [APPVEYOR-VM]: [[File]ADFiles] The related file/directory is: C:\NTDS. [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ End Set ] [[File]ADFiles] in 0.0000 seconds. [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ End Resource ] [[File]ADFiles] [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Resource ] [[WindowsFeature]ADDSInstall] [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Test ] [[WindowsFeature]ADDSInstall] [00:00:46] VERBOSE: [APPVEYOR-VM]: [[WindowsFeature]ADDSInstall] The operation 'Get-WindowsFeature' started: AD-Domain-Services [00:00:46] VERBOSE: [APPVEYOR-VM]: [[WindowsFeature]ADDSInstall] The operation 'Get-WindowsFeature' succeeded: AD-Domain-Services [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ End Test ] [[WindowsFeature]ADDSInstall] in 0.8750 seconds. [00:00:46] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Set ] [[WindowsFeature]ADDSInstall] [00:00:46] VERBOSE: [APPVEYOR-VM]: [[WindowsFeature]ADDSInstall] Installation started... [00:00:47] VERBOSE: [APPVEYOR-VM]: [[WindowsFeature]ADDSInstall] Continue with installation? [00:00:47] VERBOSE: [APPVEYOR-VM]: [[WindowsFeature]ADDSInstall] Prerequisite processing started... [00:00:51] VERBOSE: [APPVEYOR-VM]: [[WindowsFeature]ADDSInstall] Prerequisite processing succeeded. [00:01:43] [APPVEYOR-VM]: [[WindowsFeature]ADDSInstall] Failed to start automatic updating for installed components. Error: 0x80070422 [00:01:43] VERBOSE: [APPVEYOR-VM]: [[WindowsFeature]ADDSInstall] Installation succeeded. [00:01:43] VERBOSE: [APPVEYOR-VM]: [[WindowsFeature]ADDSInstall] Successfully installed the feature AD-Domain-Services. [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ End Set ] [[WindowsFeature]ADDSInstall] in 56.2990 seconds. [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ End Resource ] [[WindowsFeature]ADDSInstall] [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Resource ] [[xTimeZone]East] [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Test ] [[xTimeZone]East] [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ End Test ] [[xTimeZone]East] in 0.1560 seconds. [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Set ] [[xTimeZone]East] [00:01:43] VERBOSE: [APPVEYOR-VM]: [[xTimeZone]East] Performing the operation "Replace the System Time Zone" on target "'Eastern Standard Time'". [00:01:43] VERBOSE: [APPVEYOR-VM]: [[xTimeZone]East] Setting the TimeZone. [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ End Set ] [[xTimeZone]East] in 0.1250 seconds. [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ End Resource ] [[xTimeZone]East] [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Resource ] [[xADDomain]FirstDS] [00:01:43] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Test ] [[xADDomain]FirstDS] [00:01:44] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Computer is a workgroup member; querying for domain 'contoso.com' using supplied credential ... [00:01:44] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Active Directory domain 'contoso.com' cannot be found. [00:01:44] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Property 'DomainName' value is incorrect; expected 'contoso.com', actual ''. [00:01:44] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Resource 'contoso.com' is NOT in the desired state. [00:01:44] VERBOSE: [APPVEYOR-VM]: LCM: [ End Test ] [[xADDomain]FirstDS] in 0.8280 seconds. [00:01:44] VERBOSE: [APPVEYOR-VM]: LCM: [ Start Set ] [[xADDomain]FirstDS] [00:01:44] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Computer is a workgroup member; querying for domain 'contoso.com' using supplied credential ... [00:01:44] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Active Directory domain 'contoso.com' cannot be found. [00:01:44] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Creating AD forest 'contoso.com' ... [00:01:44] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Active Directory Domain Services Setup [00:01:44] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Validating environment and parameters... [00:01:45] [APPVEYOR-VM]: [[xADDomain]FirstDS] Windows Server 2012 R2 domain controllers have a default for the security setting named "Allow cryptography algorithms compatible with Windows NT 4.0" that prevents weaker cryptography algorithms when establishing security channel sessions. [00:01:45] [00:01:45] For more information about this setting, see Knowledge Base article 942564 (http://go.microsoft.com/fwlink/?LinkId=104751). [00:02:04] [APPVEYOR-VM]: [[xADDomain]FirstDS] This computer has at least one physical network adapter that does not have static IP address(es) assigned to its IP Properties. If both IPv4 and IPv6 are enabled for a network adapter, both IPv4 and IPv6 static IP addresses should be assigned to both IPv4 and IPv6 Properties of the physical network adapter. Such static IP address(es) assignment should be done to all the physical network adapters for reliable Domain Name System (DNS) operation. [00:03:14] [APPVEYOR-VM]: [[xADDomain]FirstDS] A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the parent zone to ensure reliable name resolution from outside the domain "contoso.com". Otherwise, no action is required. [00:03:14] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] ---------------------------------------- [00:03:14] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] The following actions will be performed: [00:03:14] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Configure this server as the first Active Directory domain controller in a new forest. [00:03:14] [00:03:14] The new domain name is "contoso.com". This is also the name of the new forest. [00:03:14] [00:03:14] The NetBIOS name of the domain is "CONTOSO". [00:03:14] [00:03:14] Forest Functional Level: Windows Server 2012 R2 [00:03:14] [00:03:14] Domain Functional Level: Windows Server 2012 R2 [00:03:14] [00:03:14] Site: Default-First-Site-Name [00:03:14] [00:03:14] Additional Options: [00:03:14] Read-only domain controller: "No" [00:03:14] Global catalog: Yes [00:03:14] DNS Server: Yes [00:03:14] [00:03:14] Create DNS Delegation: No [00:03:14] [00:03:14] Database folder: C:\NTDS [00:03:14] Log file folder: C:\NTDS [00:03:14] SYSVOL folder: C:\windows\SYSVOL [00:03:14] [00:03:14] The DNS Server service will be installed on this computer. [00:03:14] The DNS Server service will be configured on this computer. [00:03:14] This computer will be configured to use this DNS server as its preferred DNS server. [00:03:14] [00:03:14] The password of the new domain Administrator will be the same as the password of the local Administrator of this computer. [00:03:14] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] ---------------------------------------- [00:03:14] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Active Directory Domain Services Setup [00:03:14] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Validating environment and parameters... [00:03:15] [APPVEYOR-VM]: [[xADDomain]FirstDS] Windows Server 2012 R2 domain controllers have a default for the security setting named "Allow cryptography algorithms compatible with Windows NT 4.0" that prevents weaker cryptography algorithms when establishing security channel sessions. [00:03:15] [00:03:15] For more information about this setting, see Knowledge Base article 942564 (http://go.microsoft.com/fwlink/?LinkId=104751). [00:03:29] [APPVEYOR-VM]: [[xADDomain]FirstDS] This computer has at least one physical network adapter that does not have static IP address(es) assigned to its IP Properties. If both IPv4 and IPv6 are enabled for a network adapter, both IPv4 and IPv6 static IP addresses should be assigned to both IPv4 and IPv6 Properties of the physical network adapter. Such static IP address(es) assignment should be done to all the physical network adapters for reliable Domain Name System (DNS) operation. [00:04:39] [APPVEYOR-VM]: [[xADDomain]FirstDS] A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the parent zone to ensure reliable name resolution from outside the domain "contoso.com". Otherwise, no action is required. [00:04:39] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] ---------------------------------------- [00:04:39] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] The following actions will be performed: [00:04:39] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Configure this server as the first Active Directory domain controller in a new forest. [00:04:39] [00:04:39] The new domain name is "contoso.com". This is also the name of the new forest. [00:04:39] [00:04:39] The NetBIOS name of the domain is "CONTOSO". [00:04:39] [00:04:39] Forest Functional Level: Windows Server 2012 R2 [00:04:39] [00:04:39] Domain Functional Level: Windows Server 2012 R2 [00:04:39] [00:04:39] Site: Default-First-Site-Name [00:04:39] [00:04:39] Additional Options: [00:04:39] Read-only domain controller: "No" [00:04:39] Global catalog: Yes [00:04:39] DNS Server: Yes [00:04:39] [00:04:39] Create DNS Delegation: No [00:04:39] [00:04:39] Database folder: C:\NTDS [00:04:39] Log file folder: C:\NTDS [00:04:39] SYSVOL folder: C:\windows\SYSVOL [00:04:39] [00:04:39] The DNS Server service will be installed on this computer. [00:04:39] The DNS Server service will be configured on this computer. [00:04:39] This computer will be configured to use this DNS server as its preferred DNS server. [00:04:39] [00:04:39] The password of the new domain Administrator will be the same as the password of the local Administrator of this computer. [00:04:39] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] ---------------------------------------- [00:04:39] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Press CTRL-C to: Cancel [00:07:10] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] Active Directory Domain Services is now installed on this computer for the domain "contoso.com". [00:07:10] [00:07:10] This Active Directory domain controller is assigned to the site "Default-First-Site-Name". You can manage sites with the Active Directory Sites and Services administrative tool. [00:07:10] VERBOSE: [APPVEYOR-VM]: [[xADDomain]FirstDS] AD forest 'contoso.com' created. [00:07:10] VERBOSE: [APPVEYOR-VM]: LCM: [ End Set ] [[xADDomain]FirstDS] in 326.1690 seconds. [00:07:10] VERBOSE: [APPVEYOR-VM]: LCM: [ End Resource ] [[xADDomain]FirstDS] [00:07:10] VERBOSE: [APPVEYOR-VM]: [] A reboot is scheduled to progress further. Configuration will be continued after the reboot. [00:07:10] [APPVEYOR-VM]: [] A reboot is scheduled to progress further. Configuration will be continued after the reboot. [00:07:10] VERBOSE: [APPVEYOR-VM]: LCM: [ End Set ] [00:07:10] VERBOSE: [APPVEYOR-VM]: LCM: [ End Set ] in 385.4830 seconds. [00:07:10] VERBOSE: Operation 'Invoke CimMethod' complete. [00:07:10] VERBOSE: Time taken for configuration job to complete is 385.515 seconds [00:07:13] [00:07:13] Uploading artifact DomainMof.zip (623,197 bytes)...11% [00:07:13] Uploading artifact DomainMof.zip (623,197 bytes)...100% [00:07:14] [00:07:14] [00:07:14] Collecting artifacts... [00:07:14] Found artifact 'DomainMof.zip' matching 'DomainMof.zip' path [00:07:14] Uploading artifacts... [00:07:14] [00:07:14] [1/1] DomainMof.zip (623,197 bytes)...11% [00:07:14] [1/1] DomainMof.zip (623,197 bytes)...100% [00:00:00] Deploying using S3 provider [00:00:00] Build success