openresty / openresty/test-nginx

Installing Fails

Open
#94 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
455
Forks
112
PR merge metrics
No merged PRs in 30d

Description

I am using openresty:alpine docker image and get following error when trying to install test-nginx.

Test Summary Report
-------------------
t/apply_moves.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/check_response_body.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/get_req_from_block.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/parse_request.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/resp_body_filters.t  (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/syntax.t             (Wstat: 1280 Tests: 5 Failed: 5)
  Failed tests:  1-5
  Non-zero exit status: 5
Files=8, Tests=5,  0 wallclock secs ( 0.05 usr  0.01 sys +  0.53 cusr  0.10 csys =  0.69 CPU)
Result: FAIL
Failed 6/8 test programs. 5/5 subtests failed.
make: *** [Makefile:801: test_dynamic] Error 5
  AGENT/Test-Nginx-0.26.tar.gz
2 dependencies missing (LWP::UserAgent,List::MoreUtils); additionally test harness failed
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports AGENT/Test-Nginx-0.26.tar.gz

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the test-nginx installation in the openresty:alpine image, then inspect the Makefile:801 test_dynamic target and the failing tests under t/. Check the reported missing LWP::UserAgent and List::MoreUtils dependencies first. Done means the installation completes and the test harness reports no failed test programs.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx, perl
Domain
devops, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.