Skip to content

Instantly share code, notes, and snippets.

@pintsized
Created January 24, 2020 16:41
Show Gist options
  • Save pintsized/bff6c6beaa4799762788a32fcd1a8884 to your computer and use it in GitHub Desktop.
Save pintsized/bff6c6beaa4799762788a32fcd1a8884 to your computer and use it in GitHub Desktop.
t/config.t ..... ok
t/connector.t .. 6/?
# Failed test 'TEST 6: password - pattern "ERR Client sent AUTH, but no password is set" should match a line in error.log (req 0)'
# at /usr/share/perl5/site_perl/Test/Nginx/Socket.pm line 1146.
WARNING: TEST 7: Bad unix domain socket path should fail - 2020/01/24 16:37:39 [crit] 48085#0: *1 connect() to unix://GARBAGE_PATH_AKFDKAJSFKJSAFLKJSADFLKJSANCKAJSNCKJSANCLKAJS failed
(2: No such file or directory), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\" at /usr/share/perl5/site_perl/Test/Nginx/Socket.pm line 1236.
t/connector.t .. 17/? # Looks like you failed 1 test of 22.
t/connector.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/22 subtests
t/proxy.t ...... ok
t/sentinel.t ... 1/?
# Failed test 'TEST 1: Get the master - status code ok'
# at /usr/share/perl5/site_perl/Test/Nginx/Socket.pm line 935.
# got: '500'
# expected: '200'
# Failed test 'TEST 1: Get the master - pattern "[error]" should not match any line in error.log but matches line "2020/01/24 16:37:41 [error] 48229#0: *1 lua entry thread aborted:
runtime error: content_by_lua(nginx.conf:63):5: sentinel should connect without errors" (req 0)'
# at /usr/share/perl5/site_perl/Test/Nginx/Socket.pm line 1201.
# Failed test 'TEST 2: Get slaves - status code ok'
# at /usr/share/perl5/site_perl/Test/Nginx/Socket.pm line 935.
# got: '500'
# expected: '200'
# Failed test 'TEST 2: Get slaves - pattern "[error]" should not match any line in error.log but matches line "2020/01/24 16:37:41 [error] 48257#0: *1 lua entry thread aborted: runt
ime error: content_by_lua(nginx.conf:69):5: sentinel should connect without error" (req 0)'
# at /usr/share/perl5/site_perl/Test/Nginx/Socket.pm line 1201.
# Failed test 'TEST 3: Get only healthy slaves - status code ok'
# at /usr/share/perl5/site_perl/Test/Nginx/Socket.pm line 935.
# got: '500'
# expected: '200'
# Failed test 'TEST 3: Get only healthy slaves - pattern "[error]" should not match any line in error.log but matches line "2020/01/24 16:37:41 [error] 48271#0: *1 lua entry thread
aborted: runtime error: content_by_lua(nginx.conf:95):5: sentinel should connect without error" (req 0)'
# at /usr/share/perl5/site_perl/Test/Nginx/Socket.pm line 1201.
t/sentinel.t ... 10/? # Looks like you failed 6 tests of 12.
t/sentinel.t ... Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/12 subtests
Test Summary Report
-------------------
t/connector.t (Wstat: 256 Tests: 22 Failed: 1)
Failed test: 12
Non-zero exit status: 1
t/sentinel.t (Wstat: 1536 Tests: 12 Failed: 6)
Failed tests: 1-2, 5-8
Non-zero exit status: 6
Files=4, Tests=58, 5 wallclock secs ( 0.04 usr 0.01 sys + 1.57 cusr 0.65 csys = 2.27 CPU)
Result: FAIL
make: *** [Makefile:149: test_redis] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment