Skip Menu |

This queue is for tickets about the Win32-NetAdmin CPAN distribution.

Report information
The Basics
Id: 127508
Status: new
Priority: 0/
Queue: Win32-NetAdmin

People
Owner: Nobody in particular
Requestors: manschwetus [...] cs-software-gmbh.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: tests fail the strangeway
Date: Mon, 29 Oct 2018 13:24:28 +0000
To: "bug-Win32-NetAdmin [...] rt.cpan.org" <bug-Win32-NetAdmin [...] rt.cpan.org>
From: Florian Manschwetus <manschwetus [...] cs-software-gmbh.de>
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: manschwetus@cs-software-gmbh.de<mailto:manschwetus@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

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Subject: AW: [rt.cpan.org #127508] AutoReply: tests fail the strangeway
Date: Tue, 30 Oct 2018 08:11:44 +0000
To: "bug-Win32-NetAdmin [...] rt.cpan.org" <bug-Win32-NetAdmin [...] rt.cpan.org>
From: Florian Manschwetus <manschwetus [...] cs-software-gmbh.de>
I altered the test to get the error code, was 2245, pointing to insufficient password quality. So I changed the used password from "password" to " pa55w0r&", now all 15 tests pass. Mit freundlichen Grüßen / With kind regards Florian Manschwetus Show quoted text
-----Ursprüngliche Nachricht----- Von: Bugs in Win32-NetAdmin via RT <bug-Win32-NetAdmin@rt.cpan.org> Gesendet: Montag, 29. Oktober 2018 14:26 An: Florian Manschwetus <manschwetus@cs-software-gmbh.de> Betreff: [rt.cpan.org #127508] AutoReply: tests fail the strangeway Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding: "tests fail the strangeway", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [rt.cpan.org #127508]. Your ticket is accessible on the web at: https://rt.cpan.org/Ticket/Display.html?id=127508 Please include the string: [rt.cpan.org #127508] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, bug-Win32-NetAdmin@rt.cpan.org ------------------------------------------------------------------------- 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: manschwetus@cs-software-gmbh.de<mailto:manschwetus@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