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

tests fail under docker environment #1

Open
shawnlaffan opened this issue Mar 11, 2023 · 0 comments
Open

tests fail under docker environment #1

shawnlaffan opened this issue Mar 11, 2023 · 0 comments

Comments

@shawnlaffan
Copy link

We are seeing test failures in the Strawberry Perl 5.36 builds. Test log below (also reported in StrawberryPerl/Perl-Dist-Strawberry#66).

The first failure is at Line 82, after which the code dies.

while( 0 == $nvals ) {
$ok= RegEnumKeyEx( $hkey, $nkeys-2, $key2, $klen2=2*$zero,
[], $class2, $clen2=1*$zero, $time );
$ok or die "Can't find key with values: ",regLastError(),"\n";

This could be an issue with docker, or the test expectations need to be updated for the docker environment. If I copy the perl stack from docker to my local machine then all Win32API::Registry tests pass.

I don't know the ins and outs of the docker system but I'm happy to run any debugging steps you can suggest.

The docker setup is at https://github.com/StrawberryPerl/spbuild if useful.

Shawn.

t\test.t ..
1..216
Can't find key with values:  No more data is available
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 206/216 subtests

Test Summary Report
-------------------
t\test.t (Wstat: 6400 (exited 25) Tests: 10 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 216 tests but ran 10.
Files=1, Tests=10,  0 wallclock secs ( 0.06 usr +  0.01 sys =  0.08 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant