You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2022/04/02 04:06:00 UTC

[GitHub] [bookkeeper] hangc0276 opened a new issue #3174: Build BookKeeper failed when use multi cores

hangc0276 opened a new issue #3174:
URL: https://github.com/apache/bookkeeper/issues/3174


   **BUG REPORT**
   
   ***Describe the bug***
   When I build BookKeeper source code using multi cores, it failed occasionally. 
   The build command:
   ```
   mvn -T 8C clean package -DskipTests
   ```
   
   The build failed message:
   ```
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project hostname-bookieid: Compilation failure: Compilation failure: 
   [ERROR] /Users/hangc/Workspace/sourcecode/PR/bookkeeper/tests/backward-compat/hostname-bookieid/src/test/groovy/org/apache/bookkeeper/tests/backwardcompat/TestCompatUpgradeWithHostnameBookieId.groovy:[1,1] 
   [ERROR] 1. ERROR in /Users/hangc/Workspace/sourcecode/PR/bookkeeper/tests/backward-compat/hostname-bookieid/src/test/groovy/org/apache/bookkeeper/tests/backwardcompat/TestCompatUpgradeWithHostnameBookieId.groovy (at line 1)
   [ERROR]         /*
   [ERROR]         ^
   [ERROR] Groovy: compiler error: exception in phase 'semantic analysis' in source unit '/Users/hangc/Workspace/sourcecode/PR/bookkeeper/tests/backward-compat/hostname-bookieid/src/test/groovy/org/apache/bookkeeper/tests/backwardcompat/TestCompatUpgradeWithHostnameBookieId.groovy' Failed to initialize members for type org.jboss.arquillian.junit.Arquillian
   [ERROR] Found 1 error and 0 warnings.
   [ERROR] -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the command
   [ERROR]   mvn <args> -rf :hostname-bookieid
   
   ```
   
   ***To Reproduce***
   
   Steps to reproduce the behavior:
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   ***Expected behavior***
   
   A clear and concise description of what you expected to happen.
   
   ***Screenshots***
   
   If applicable, add screenshots to help explain your problem.
   
   ***Additional context***
   
   Add any other context about the problem here.
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org