swagger-api / swagger-api/swagger-codegen

[3.0.4] Error in docker

Open
#9,133 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hello, when I try execute ./run-in-docker.sh mvn package I got that errors in test.
Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for swagger-codegen-project 3.0.4:
[INFO]
[INFO] swagger-codegen-project ............................ SUCCESS [ 43.928 s]
[INFO] swagger-codegen (core library) ..................... FAILURE [03:53 min]
[INFO] swagger-codegen (executable) ....................... SKIPPED
[INFO] swagger-codegen (maven-plugin) ..................... SKIPPED
[INFO] swagger-generator .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:47 min
[INFO] Finished at: 2019-01-29T05:48:43Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project swagger-codegen: There are test failures.

So I can't to install packages and run code generator.

Contributor guide

Open the contributing guide

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

Start by rerunning ./run-in-docker.sh mvn package and capture the complete maven-surefire-plugin failure output, since the report only includes the reactor summary. Inspect the Docker build and Maven test setup to identify why the swagger-codegen core library tests fail; done means the package builds successfully and the tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
build-system, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.