Mon Oct 29 09:25:56 2018: Request 127508 was acted upon. Transaction: Ticket created by manschwe...@cs-software-gmbh.de Queue: Win32-NetAdmin Subject: tests fail the strangeway Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: manschwe...@cs-software-gmbh.de Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=127508 >
Hi, I tried to setup strawberry perl in docker C:\Strawberry\cpan\build\Win32-NetAdmin-0.13-2>gmake test TEST_VERBOSE=1 "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- NetAdmin.bs blib\arch\auto\Win32\NetAdmin\NetAdmin.bs 644 "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t t/netadmin.t .. 1..15 # Running under perl version 5.028000 for MSWin32 # Current time local: Mon Oct 29 14:19:54 2018 # Current time GMT: Mon Oct 29 13:19:54 2018 # Using Test.pm version 1.31 # Failed test 1 in t/netadmin.t at line 36 not ok 1# t/netadmin.t line 36 is: ok(UserCreate($serverName, $userName, $password, $passwordAge, $privilege, # Failed test 2 in t/netadmin.t at line 39 # t/netadmin.t line 39 is: ok(UserGetAttributes($serverName, $userName, Use of uninitialized value $GetpasswordAge in numeric le (<=) at t/netadmin.t line 43. Use of uninitialized value $GetpasswordAge in numeric ge (>=) at t/netadmin.t line 43. not ok 2Use of uninitialized value $Getprivilege in numeric eq (==) at t/netadmin.t line 47. # Test 5 got: "c:\\" (t/netadmin.t at line 53) # Expected: <UNDEF> ok 3# t/netadmin.t line 53 is: ok($homeDir, $GethomeDir); # Test 6 got: "This is a test user" (t/netadmin.t at line 54) # Expected: <UNDEF> ok 4# t/netadmin.t line 54 is: ok($comment, $Getcomment); Use of uninitialized value $Getflags in bitwise and (&) at t/netadmin.t line 55. # Failed test 7 in t/netadmin.t at line 55 not ok 5# t/netadmin.t line 55 is: ok($flags == ($Getflags&USER_PRIV_MASK)); # Test 8 got: "C:\\" (t/netadmin.t at line 56) # Expected: <UNDEF> # t/netadmin.t line 56 is: ok($scriptpath, $Getscriptpath); not ok 6 not ok 7 not ok 8 ok 9 ok 10 ok 11 # Failed test 12 in t/netadmin.t at line 63 # t/netadmin.t line 63 is: ok(LocalGroupAddUsers($serverName, $groupName, $userName)); not ok 12 # Failed test 13 in t/netadmin.t at line 65 # t/netadmin.t line 65 is: ok(LocalGroupIsMember($serverName, $groupName, $userName)); not ok 13 ok 14 # Failed test 15 in t/netadmin.t at line 69 # t/netadmin.t line 69 is: ok(UserDelete($serverName, $userName)); not ok 15 Failed 9/15 subtests Test Summary Report ------------------- t/netadmin.t (Wstat: 0 Tests: 15 Failed: 9) Failed tests: 1-2, 5-8, 12-13, 15 Files=1, Tests=15, 1 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Result: FAIL Failed 1/1 test programs. 9/15 subtests failed. gmake: *** [Makefile:957: test_dynamic] Error 255 Mit freundlichen Grüßen / With kind regards Florian Manschwetus E-Mail: manschwe...@cs-software-gmbh.de<mailto:manschwe...@cs-software-gmbh.de> Tel.: +49-(0)611-8908534 CS Software Concepts and Solutions GmbH Geschäftsführer / Managing director: Dr. Werner Alexi Amtsgericht Wiesbaden HRB 10004 (Commercial registry) Schiersteiner Straße 31 D-65187 Wiesbaden Germany Tel.: 0611/8908555
FROM microsoft/windowsservercore # $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN Write-Host 'Downloading strawberry-perl' ;\ $MsiFile = $env:Temp + '\strawberry-perl-5.28.0.1-32bit.msi' ;\ (New-Object Net.WebClient).DownloadFile('http://strawberryperl.com/download/5.28.0.1/strawberry-perl-5.28.0.1-32bit.msi', $MsiFile) ;\ Write-Host 'Installing strawberry-perl' ;\ Start-Process msiexec.exe -ArgumentList '/i', $MsiFile, '/quiet', '/norestart' -NoNewWindow -Wait RUN Write-Host 'Installing perl modules using CPAN...' ;\ cpan install \ Win32 \ Win32::Registry \ Win32::TieRegistry \ Win32::NetAdmin
PS C:\> Get-EventLog -LogName Security -Newest 7 | Format-List Index : 412 EntryType : SuccessAudit InstanceId : 4734 Message : A security-enabled local group was deleted. Subject: Security ID: S-1-5-93-2-1 Account Name: ContainerAdministrator Account Domain: User Manager Logon ID: 0x11c8b Group: Security ID: S-1-5-21-1517628986-758924901-4283499267-1021 Group Name: TestGroup Group Domain: 80E4D9CA16CA Additional Information: Privileges: - Category : (13826) CategoryNumber : 13826 ReplacementStrings : {TestGroup, 80E4D9CA16CA, S-1-5-21-1517628986-758924901-4283499267-1021, S-1-5-93-2-1...} Source : Microsoft-Windows-Security-Auditing TimeGenerated : 10/29/2018 2:19:54 PM TimeWritten : 10/29/2018 2:19:54 PM UserName : Index : 411 EntryType : SuccessAudit InstanceId : 4735 Message : A security-enabled local group was changed. Subject: Security ID: S-1-5-93-2-1 Account Name: ContainerAdministrator Account Domain: User Manager Logon ID: 0x11c8b Group: Security ID: S-1-5-21-1517628986-758924901-4283499267-1021 Group Name: TestGroup Group Domain: 80E4D9CA16CA Changed Attributes: SAM Account Name: - SID History: - Additional Information: Privileges: - Category : (13826) CategoryNumber : 13826 ReplacementStrings : {TestGroup, 80E4D9CA16CA, S-1-5-21-1517628986-758924901-4283499267-1021, S-1-5-93-2-1...} Source : Microsoft-Windows-Security-Auditing TimeGenerated : 10/29/2018 2:19:54 PM TimeWritten : 10/29/2018 2:19:54 PM UserName : Index : 410 EntryType : SuccessAudit InstanceId : 4731 Message : A security-enabled local group was created. Subject: Security ID: S-1-5-93-2-1 Account Name: ContainerAdministrator Account Domain: User Manager Logon ID: 0x11c8b New Group: Security ID: S-1-5-21-1517628986-758924901-4283499267-1021 Group Name: TestGroup Group Domain: 80E4D9CA16CA Attributes: SAM Account Name: TestGroup SID History: - Additional Information: Privileges: - Category : (13826) CategoryNumber : 13826 ReplacementStrings : {TestGroup, 80E4D9CA16CA, S-1-5-21-1517628986-758924901-4283499267-1021, S-1-5-93-2-1...} Source : Microsoft-Windows-Security-Auditing TimeGenerated : 10/29/2018 2:19:54 PM TimeWritten : 10/29/2018 2:19:54 PM UserName : Index : 409 EntryType : SuccessAudit InstanceId : 4726 Message : A user account was deleted. Subject: Security ID: S-1-5-93-2-1 Account Name: ContainerAdministrator Account Domain: User Manager Logon ID: 0x11c8b Target Account: Security ID: S-1-5-21-1517628986-758924901-4283499267-1020 Account Name: TestUser Account Domain: 80E4D9CA16CA Additional Information: Privileges - Category : (13824) CategoryNumber : 13824 ReplacementStrings : {TestUser, 80E4D9CA16CA, S-1-5-21-1517628986-758924901-4283499267-1020, S-1-5-93-2-1...} Source : Microsoft-Windows-Security-Auditing TimeGenerated : 10/29/2018 2:19:54 PM TimeWritten : 10/29/2018 2:19:54 PM UserName : Index : 408 EntryType : SuccessAudit InstanceId : 4729 Message : A member was removed from a security-enabled global group. Subject: Security ID: S-1-5-93-2-1 Account Name: ContainerAdministrator Account Domain: User Manager Logon ID: 0x11c8b Member: Security ID: S-1-5-21-1517628986-758924901-4283499267-1020 Account Name: - Group: Security ID: S-1-5-21-1517628986-758924901-4283499267-513 Group Name: None Group Domain: 80E4D9CA16CA Additional Information: Privileges: - Category : (13826) CategoryNumber : 13826 ReplacementStrings : {-, S-1-5-21-1517628986-758924901-4283499267-1020, None, 80E4D9CA16CA...} Source : Microsoft-Windows-Security-Auditing TimeGenerated : 10/29/2018 2:19:54 PM TimeWritten : 10/29/2018 2:19:54 PM UserName : Index : 407 EntryType : SuccessAudit InstanceId : 4720 Message : A user account was created. Subject: Security ID: S-1-5-93-2-1 Account Name: ContainerAdministrator Account Domain: User Manager Logon ID: 0x11c8b New Account: Security ID: S-1-5-21-1517628986-758924901-4283499267-1020 Account Name: TestUser Account Domain: 80E4D9CA16CA Attributes: SAM Account Name: TestUser Display Name: %%1793 User Principal Name: - Home Directory: %%1793 Home Drive: %%1793 Script Path: %%1793 Profile Path: %%1793 User Workstations: %%1793 Password Last Set: %%1794 Account Expires: %%1794 Primary Group ID: 513 Allowed To Delegate To: - Old UAC Value: 0x0 New UAC Value: 0x15 User Account Control: %%2080 %%2082 %%2084 User Parameters: %%1793 SID History: - Logon Hours: %%1797 Additional Information: Privileges - Category : (13824) CategoryNumber : 13824 ReplacementStrings : {TestUser, 80E4D9CA16CA, S-1-5-21-1517628986-758924901-4283499267-1020, S-1-5-93-2-1...} Source : Microsoft-Windows-Security-Auditing TimeGenerated : 10/29/2018 2:19:54 PM TimeWritten : 10/29/2018 2:19:54 PM UserName : Index : 406 EntryType : SuccessAudit InstanceId : 4728 Message : A member was added to a security-enabled global group. Subject: Security ID: S-1-5-93-2-1 Account Name: ContainerAdministrator Account Domain: User Manager Logon ID: 0x11c8b Member: Security ID: S-1-5-21-1517628986-758924901-4283499267-1020 Account Name: - Group: Security ID: S-1-5-21-1517628986-758924901-4283499267-513 Group Name: None Group Domain: 80E4D9CA16CA Additional Information: Privileges: - Expiration time: %11 Category : (13826) CategoryNumber : 13826 ReplacementStrings : {-, S-1-5-21-1517628986-758924901-4283499267-1020, None, 80E4D9CA16CA...} Source : Microsoft-Windows-Security-Auditing TimeGenerated : 10/29/2018 2:19:54 PM TimeWritten : 10/29/2018 2:19:54 PM UserName :