My Project build process taking too much time , i am not seeing build success message


How to find root cause error.

This is my project public URL.


To simplify the debugging process, please post the following about the issue you are seeing:

  • The stack you are using
  • The most relevant lines of the error message
  • The expected output / behavior
  • Any changes you have made to your CircleCI setup recently
  • Whether the tests pass locally or not
  • The steps you have tried while attempting to fix the issue
  • A link to the build URL if this is a public project



Thank you for response , here its taking long time.

I have already posted public url of my project.


Running org.apache.commons.csv.CSVFormatTest
Running org.apache.commons.csv.CSVFormatTest…


The error message in this build is:

command ((mvn "integration-test")) took more than 120 minutes to run

We currently don’t allow running build commands that take longer than 120 minutes to execute, for security reasons. Sorry about that!

Are you sure the tests should be taking that long? Would it be possible to divide the tests between multiple build commands?



I believe what you want is

    - mvn clean package

mvn integration-test seems to do a LOT of extra steps and run over that limit

I’m not sure which steps Circle runs by inferred, I know I’ve run onto issues with integration-test the few times I’ve tried java.



HI drazisil,

Thank you so much…its working fine…you are right, its need mvn clean package.


i need one more help… , this url is public.

The build was success , but i am unable to see test results on test results tab.

Please help me on this.




Thank you for your time.


I wonder why I still cant see the “Test Tab Result” still not showing up in my envirnment


Hello i need help with this AS WELL. Did u get the answer please?


This solution is still not working for me.Could you please help.

   - mkdir -p $CIRCLE_TEST_REPORTS/junit/
   - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
    - mvn clean package

You have two test sections. I believe based on that it is running the full test suite. It should look like this:

    - mvn clean package
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;


I am facing the same issue.I tried the above solution.It is in the $ mvn clean package stage.Plz help



I am also facing the same issue.The build is taking a long time.I added mvn clean package also.Still its not working


Can you help with this issue?My project is at


Any solution to this problem, I having the same issue.
my circle.yml is:
- mvn clean package

  • mkdir -p $CIRCLE_TEST_REPORTS/junit/
  • find . -type f -regex “.*/target/surefire-reports/.*xml” -exec cp {} $CIRCLE_TEST_REPORTS/junit/ ;