You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2019/11/16 02:26:03 UTC

[GitHub] [incubator-apisix] lewismc opened a new issue #862: request help: No plan found in TAP output

lewismc opened a new issue #862: request help: No plan found in TAP output
URL: https://github.com/apache/incubator-apisix/issues/862
 
 
   ### Issue description
   
   After [installing APISIX manually on macOS](https://github.com/apache/incubator-apisix/blob/master/doc/dev-manual.md) (I was not able to get Docker running) I am successfully able to **run** apisix
   ```
   $ make run
   ```
   ... however when I try to test, I get the following
   ```
   $ make test
   prove -I../test-nginx/lib -I./ -r -s t/
   t/config-center-yaml/route-upstream.t .. Can't locate Test/Nginx/Socket/Lua/Stream.pm in @INC (you may need to install the Test::Nginx::Socket::Lua::Stream module) (@INC contains: lib /Users/lmcgibbn/Downloads/incubator-apisix/../test-nginx/lib /Users/lmcgibbn/Downloads/incubator-apisix /Users/lmcgibbn/perl5/lib/perl5/darwin-thread-multi-2level /Users/lmcgibbn/perl5/lib/perl5 /usr/local/Cellar/perl/5.26.2/lib/perl5/site_perl/5.26.2/darwin-thread-multi-2level /usr/local/Cellar/perl/5.26.2/lib/perl5/site_perl/5.26.2 /usr/local/Cellar/perl/5.26.2/lib/perl5/5.26.2/darwin-thread-multi-2level /usr/local/Cellar/perl/5.26.2/lib/perl5/5.26.2 /usr/local/lib/perl5/site_perl/5.26.2/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.26.2) at /Users/lmcgibbn/Downloads/incubator-apisix/t/APISIX.pm line 21.
   BEGIN failed--compilation aborted at /Users/lmcgibbn/Downloads/incubator-apisix/t/APISIX.pm line 21.
   Compilation failed in require at t/config-center-yaml/route-upstream.t line 17.
   BEGIN failed--compilation aborted at t/config-center-yaml/route-upstream.t line 17.
   t/config-center-yaml/route-upstream.t .. Dubious, test returned 2 (wstat 512, 0x200)
   No subtests run
   ...
   t/node/global-rule.t                 (Wstat: 512 Tests: 0 Failed: 0)
     Non-zero exit status: 2
     Parse errors: No plan found in TAP output
   t/node/remote-addr-ipv6.t            (Wstat: 512 Tests: 0 Failed: 0)
     Non-zero exit status: 2
     Parse errors: No plan found in TAP output
   Files=82, Tests=0,  1 wallclock secs ( 0.15 usr  0.18 sys +  0.72 cusr  0.41 csys =  1.46 CPU)
   Result: FAIL
   make: *** [test] Error 1
   ```
   Does anyone have a suggestion about how I can easily test if APISIX is installed or not? Like what is the Hello World example I can run? Thank you very much.
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 0.9-rc1 master branch
   * OS: macOS Mojave 10.14.6 (18G1012)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services