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 on AIX platform fail - issue with not defined Socket macro MSG_DONTWAIT #148

Open
jrtaisto opened this issue Sep 4, 2020 · 0 comments

Comments

@jrtaisto
Copy link

jrtaisto commented Sep 4, 2020

Perl version 5.32.0
AIX 7.2
No redis-server installed on host.

make test

    PERL_DL_NONLAZY=1 "/opt/custom/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/00-compile.t ........... ok
t/01-basic.t ............. skipped: Could not find binary redis-server
t/02-responses.t ......... skipped: Could not find binary redis-server
t/03-pubsub.t ............ skipped: Could not find binary redis-server
t/04-pipeline.t .......... skipped: Could not find binary redis-server
t/05-nonblock.t .......... skipped: Could not find binary redis-server
t/06-on-connect.t ........ skipped: Could not find binary redis-server
t/07-reconnect.t ......... skipped: Could not find binary redis-server
t/08-unix-socket.t ....... skipped: Could not find binary redis-server
t/10-tie-list.t .......... skipped: Could not find binary redis-server
t/11-timeout.t ........... 1/? Your vendor has not defined Socket macro MSG_DONTWAIT, used at /var/tmp/perl_modules/Redis-1.998/blib/lib/Redis.pm line 867

Tests were run but no plan was declared and done_testing() was not seen.

Looks like your test exited with 255 just after 1.

t/11-timeout.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
All 1 subtests passed
t/20-tie-hash.t .......... skipped: Could not find binary redis-server
t/30-scripts.t ........... skipped: Could not find binary redis-server
t/42-client_cmds.t ....... skipped: Could not find binary redis-server
t/44-no-unicode-bug.t .... skipped: Could not find binary redis-server
t/50-fork_safe.t ......... skipped: Could not find binary redis-server
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/release-distmeta.t ..... skipped: these tests are for release candidate testing

Test Summary Report

t/11-timeout.t (Wstat: 65280 Tests: 1 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=18, Tests=5, 5 wallclock secs ( 0.11 usr 0.03 sys + 3.00 cusr 0.40 csys = 3.54 CPU)
Result: FAIL
Failed 1/18 test programs. 0/5 subtests failed.
make: 1254-004 The error code from the last command is 255.

If the perl module is pure perl, should be able to test without redis-server binary using REDIS_SERVER environment variable to allow connecting to host with a redis server.

Installing module and trying simple connect set operation I see the following:

[SEND] SET $VAR1 = [
'qadb:test',
'134'
];
Your vendor has not defined Socket macro MSG_DONTWAIT, used at /opt/custom/lib/site_perl/5.32.0/Redis.pm line 867

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