[FOLIO-1055] test-data-loader unit test hangs Created: 06/Feb/18  Updated: 12/Nov/18  Resolved: 06/Feb/18

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Julian Ladisch Assignee: shale99
Resolution: Done Votes: 0
Labels: for-next-sprint
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: Text File test-data-loader-docker-hangs.txt     Text File test-data-loader-hangs.txt    
Issue links:
Relates
relates to FOLIO-986 set up FOLIO installation with import... Closed
Sprint:

 Description   

How to reproduce:

git clone https://github.com/folio-org/test-data-loader.git
cd test-data-loader/
git submodule update --init
docker run -it --rm --name my-maven-project -v "$PWD":/usr/src/mymaven -v "$HOME/.m2":/root/.m2 -w /usr/src/mymaven maven:latest mvn clean install

Expected result: The build is successful.

Actual result: The build hangs during the unit test phase. This is the last line:
INFO LogUtil org.folio.rest.RestVerticle start Documentation available at: http://localhost:59635/apidocs/



 Comments   
Comment by shale99 [ 06/Feb/18 ]

please run maven clean install without docker and paste entire output

Comment by shale99 [ 06/Feb/18 ]

i am waiting....

Comment by Julian Ladisch [ 06/Feb/18 ]

Complete output is in test-data-loader-hangs.txt. It hangs on my Windows and my Ubuntu machine, and also in Docker.

Comment by shale99 [ 06/Feb/18 ]

i can not reproduce this, i have deleted my local repo - followed your steps and everything works

Comment by shale99 [ 06/Feb/18 ]

i am currently setting up an ubuntu vm to check again

Comment by Julian Ladisch [ 06/Feb/18 ]

I've attached the output of this docker based build:

$ docker run -it maven:latest /bin/bash
root@8a76d0029f0b:/# git clone https://github.com/folio-org/test-data-loader.git
root@8a76d0029f0b:/# cd test-data-loader/
root@8a76d0029f0b:/test-data-loader# git submodule update --init
root@8a76d0029f0b:/test-data-loader# mvn clean install
Comment by Alfons Seelen [ 06/Feb/18 ]

I can confirm that mvn test hangs at this line:
INFO LogUtil org.folio.rest.RestVerticle start Documentation available at: http://localhost:56229/apidocs/

Comment by Alfons Seelen [ 06/Feb/18 ]

Thanks, it now works

Generated at Thu Feb 08 23:10:29 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.