Consensys / tessera

Tessera - Enterprise Implementation of Quorum's transaction manager
https://docs.tessera.consensys.net/
Apache License 2.0
175 stars 105 forks source link

Fail during mvn install #449

Closed alexsplashex closed 5 years ago

alexsplashex commented 5 years ago

Hello. I was trying install and compile tessera.

  1. $ java -version java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

  2. $ mvn --version Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 1.8.0_181, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-1022-azure", arch: "amd64", family: "unix"

  3. Apache Tomcat/9.0.11

I cloned this repo, switch folder and tried run mvn install but got error:

screen shot 2018-09-10 at 15 28 41

I used basic config.json

screen shot 2018-09-10 at 15 29 43

What did I do wrong?

prd-fox commented 5 years ago

Hi Alexsplashex,

The steps you performed were correct - just checkout the code and perform mvn install.

Are you able to post which tests failed?

These should be listed on the lines just before the first screenshot.

alexsplashex commented 5 years ago

Sure Code was cloned from this repo and didn't modified Now it fails on acceptance-test step

screen shot 2018-09-10 at 16 30 18
prd-fox commented 5 years ago

Strange. Usually the acceptance tests fail because there are left-over Java processes from a previous build, or the app is already running on the test ports (8080 - 8083).

Can you post the tests that are failing? They should appear above the reactor summary which you have shown here.

alexsplashex commented 5 years ago

Of course

`[INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.quorum.tessera.config.KeyDataTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.752 s - in com.quorum.tessera.config.KeyDataTest [INFO] Running com.quorum.tessera.config.SslAuthenticationModeTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 s - in com.quorum.tessera.config.SslAuthenticationModeTest [INFO] Running com.quorum.tessera.config.ValidationTest 15:01:40.476 [main] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.0.2.Final [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.547 s - in com.quorum.tessera.config.ValidationTest [INFO] Running com.quorum.tessera.config.keys.KeyEncryptorTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.26 s - in com.quorum.tessera.config.keys.KeyEncryptorTest [INFO] Running com.quorum.tessera.config.keys.KeyGeneratorTest Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm Passwords did not match, try again... Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm [ERROR] Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 3.125 s <<< FAILURE! - in com.quorum.tessera.config.keys.KeyGeneratorTest [ERROR] providingPathThatExistsThrowsError(com.quorum.tessera.config.keys.KeyGeneratorTest) Time elapsed: 0.131 s <<< FAILURE! java.lang.AssertionError:

Expecting actual not to be null at com.quorum.tessera.config.keys.KeyGeneratorTest.providingPathThatExistsThrowsError(KeyGeneratorTest.java:171)

[ERROR] providingPathThatExistsThrowsError(com.quorum.tessera.config.keys.KeyGeneratorTest) Time elapsed: 0.137 s <<< FAILURE! org.mockito.exceptions.verification.NoInteractionsWanted:

No interactions wanted here: -> at com.quorum.tessera.config.keys.KeyGeneratorTest.onTearDown(KeyGeneratorTest.java:63) But found this interaction on mock 'naclFacade': -> at com.quorum.tessera.config.keys.KeyGeneratorImpl.generate(KeyGeneratorImpl.java:47) Actually, above is the only interaction with this mock. at com.quorum.tessera.config.keys.KeyGeneratorTest.onTearDown(KeyGeneratorTest.java:63)

[INFO] Running com.quorum.tessera.config.keys.KeysConverterTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in com.quorum.tessera.config.keys.KeysConverterTest [INFO] Running com.quorum.tessera.config.keys.KeyEncryptorFactoryTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in com.quorum.tessera.config.keys.KeyEncryptorFactoryTest [INFO] Running com.quorum.tessera.config.keys.KeyGeneratorFactoryTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in com.quorum.tessera.config.keys.KeyGeneratorFactoryTest [INFO] Running com.quorum.tessera.config.SslTrustModeTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.quorum.tessera.config.SslTrustModeTest [INFO] Running com.quorum.tessera.config.ConfigFactoryTest Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm 15:01:45.961 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generating new keypair... 15:01:46.011 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generated public key ytWs7hUcq1+Hfhjm/IGvCWB0lal206pqJMySVOeEbDE= and private key REDACTED [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.75 s - in com.quorum.tessera.config.ConfigFactoryTest [INFO] Running com.quorum.tessera.config.JaxbCreateFactoryTest [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s - in com.quorum.tessera.config.JaxbCreateFactoryTest [INFO] Running com.quorum.tessera.config.KeyReadingTest 15:02:28.066 [main] WARN com.quorum.tessera.nacl.jnacl.Jnacl - Could not open sealed payload using shared key pxZqgru0uvhne0v/aj1IspGdUNiNEb3ZwQjQpGFfSB4= [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.853 s - in com.quorum.tessera.config.KeyReadingTest [INFO] Running com.quorum.tessera.config.ServerConfigTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in com.quorum.tessera.config.ServerConfigTest [INFO] Running com.quorum.tessera.config.ConfigExceptionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.quorum.tessera.config.ConfigExceptionTest [INFO] Running com.quorum.tessera.config.OpenPojoTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.749 s - in com.quorum.tessera.config.OpenPojoTest [INFO] Running com.quorum.tessera.config.adapters.PathAdapterTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in com.quorum.tessera.config.adapters.PathAdapterTest [INFO] Running com.quorum.tessera.config.adapters.KeyConfigurationAdapterTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.127 s - in com.quorum.tessera.config.adapters.KeyConfigurationAdapterTest [INFO] Running com.quorum.tessera.config.adapters.KeyDataAdapterTest 15:03:35.760 [main] WARN com.quorum.tessera.nacl.jnacl.Jnacl - Could not open sealed payload using shared key JI8l9hrBqQETAt3TrxkbmqxRL+4XwvcJAH5LIS03i7Q= [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.558 s - in com.quorum.tessera.config.adapters.KeyDataAdapterTest [INFO] Running com.quorum.tessera.config.adapters.PrivateKeyTypeAdapterTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in com.quorum.tessera.config.adapters.PrivateKeyTypeAdapterTest [INFO] Running com.quorum.tessera.config.PrivateKeyTypeTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in com.quorum.tessera.config.PrivateKeyTypeTest [INFO] Running com.quorum.tessera.config.ObjectFactoryTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 s - in com.quorum.tessera.config.ObjectFactoryTest [INFO] Running com.quorum.tessera.config.constraints.SslConfigValidatorTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.244 s - in com.quorum.tessera.config.constraints.SslConfigValidatorTest [INFO] Running com.quorum.tessera.config.constraints.Base64ValidatorTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 s - in com.quorum.tessera.config.constraints.Base64ValidatorTest [INFO] Running com.quorum.tessera.config.constraints.KeyDataConfigValidatorTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 s - in com.quorum.tessera.config.constraints.KeyDataConfigValidatorTest [INFO] Running com.quorum.tessera.config.constraints.KeyDataValidatorTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 s - in com.quorum.tessera.config.constraints.KeyDataValidatorTest [INFO] Running com.quorum.tessera.config.constraints.KeyConfigurationValidatorTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in com.quorum.tessera.config.constraints.KeyConfigurationValidatorTest [INFO] Running com.quorum.tessera.config.constraints.PathValidatorTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 s - in com.quorum.tessera.config.constraints.PathValidatorTest [INFO] Running com.quorum.tessera.config.JaxbConfigFactoryTest Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm 15:03:49.832 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generating new keypair... 15:03:49.886 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generated public key yAiZugeYmYD1F3yoTBr/TusHtEof0kzTKStl54F84nY= and private key REDACTED Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm 15:04:04.148 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generating new keypair... 15:04:04.157 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generated public key rAZXXLHX7daHNTtDGCeeBZsl8oiYyzltonSpLxrG4XU= and private key REDACTED Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm 15:04:17.658 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generating new keypair... 15:04:17.666 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generated public key Vl0WX8EKEDS4CBsnk9BRQpXCB0pOizjp3BWmCbXAHkI= and private key REDACTED Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm 15:04:31.239 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generating new keypair... 15:04:31.247 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generated public key 6I/IovDDMDcHxQU5PJtlSu8SP0e5iW5lR2aN2rKgQkc= and private key REDACTED Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm 15:04:44.808 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generating new keypair... 15:04:44.812 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generated public key n2Mb0mVvswi67/FJganqrtukbcLgSOZcBZVFleQlCnY= and private key REDACTED Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm 15:04:58.364 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generating new keypair... 15:04:58.370 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generated public key gs4J6EBIPom6V8Utlpbv/fxoCbUu296bML78VL+54yI= and private key REDACTED Could not read the password file Enter a password if you want to lock the private key or leave blank Please re-enter the password (or lack of) to confirm 15:05:11.915 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generating new keypair... 15:05:11.924 [main] INFO com.quorum.tessera.nacl.jnacl.Jnacl - Generated public key DPrAvp4vyDYKD40KB/FcpYzejPuu+MJu/CWocXVjPj0= and private key REDACTED [ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 82.188 s <<< FAILURE! - in com.quorum.tessera.config.JaxbConfigFactoryTest [ERROR] cantAppendToPasswordFileThrowsError(com.quorum.tessera.config.JaxbConfigFactoryTest) Time elapsed: 14.233 s <<< FAILURE! java.lang.AssertionError:

Expecting actual not to be null at com.quorum.tessera.config.JaxbConfigFactoryTest.cantAppendToPasswordFileThrowsError(JaxbConfigFactoryTest.java:102)

[INFO] Running com.quorum.tessera.config.util.PasswordReaderTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.quorum.tessera.config.util.PasswordReaderTest [INFO] Running com.quorum.tessera.config.util.JaxbUtilTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.501 s - in com.quorum.tessera.config.util.JaxbUtilTest [INFO] Running com.quorum.tessera.config.util.XmlProcessingCallbackTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in com.quorum.tessera.config.util.XmlProcessingCallbackTest [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] JaxbConfigFactoryTest.cantAppendToPasswordFileThrowsError:102 Expecting actual not to be null [ERROR] com.quorum.tessera.config.keys.KeyGeneratorTest.providingPathThatExistsThrowsError(com.quorum.tessera.config.keys.KeyGeneratorTest) [ERROR] Run 1: KeyGeneratorTest.providingPathThatExistsThrowsError:171 Expecting actual not to be null [ERROR] Run 2: KeyGeneratorTest.onTearDown:63 No interactions wanted here: -> at com.quorum.tessera.config.keys.KeyGeneratorTest.onTearDown(KeyGeneratorTest.java:63) But found this interaction on mock 'naclFacade': -> at com.quorum.tessera.config.keys.KeyGeneratorImpl.generate(KeyGeneratorImpl.java:47) Actually, above is the only interaction with this mock. [INFO] [INFO] [ERROR] Tests run: 165, Failures: 2, Errors: 0, Skipped: 0`

prd-fox commented 5 years ago

I believe the is a file permission issue with regards to some of the files creating during the tests.

Did you checkout the code and run mvn install as the same user, or can you check the the user running mvn install has full read/write permissions on the "tessera" folder and all subfolders? If in doubt, run chown -R <username> tessera/.

If this still fails, can you post the exact OS you are using? I see it is Linux, and running on Azure (judging from the maven version output). We created an Ubuntu Azure box to recreate the issue but it compiled fine.

alexsplashex commented 5 years ago

I run mvn install as root root@Tessera-vm1:~/tessera# mvn install

alexsplashex commented 5 years ago

If this still fails, can you post the exact OS you are using? I see it is Linux, and running on Azure (judging from the maven version output). We created an Ubuntu Azure box to recreate the issue but it compiled fine.

root@Tessera-vm1:~/tessera# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial

prd-fox commented 5 years ago

Running as the root user is likely what is causing the issue. The failing tests are testing that certain files cannot be overwritten, but the root user always has the ability to write to whichever file it pleases.

Can you try cloning the repo and running mvn install as another user?

aroommen commented 5 years ago

Thanks @prd-fox I had run into the same issue. I was able to get it built after running as a non-root user

alexsplashex commented 5 years ago

Trying run mvn install like non root user ops@Tessera-vm1:~/tessera$ mvn install

ops@Tessera-vm1:~/tessera$ ls -la total 792 drwxrwxr-x 18 ops ops 4096 Sep 11 07:40 . drwxr-xr-x 6 ops ops 4096 Sep 11 07:40 .. drwxrwxr-x 4 ops ops 4096 Sep 11 07:40 argon2 -rw-rw-r-- 1 ops ops 282 Sep 11 07:39 checkstyle-suppressions.xml -rw-rw-r-- 1 ops ops 2018 Sep 11 07:39 checkstyle.xml -rw-rw-r-- 1 ops ops 78 Sep 11 07:39 .codecov.yml -rw-rw-r-- 1 ops ops 56 Sep 11 07:39 CODEOWNERS drwxrwxr-x 4 ops ops 4096 Sep 11 07:48 config drwxrwxr-x 4 ops ops 4096 Sep 11 07:49 config-cli -rw-rw-r-- 1 ops ops 2182 Sep 11 07:40 config.json drwxrwxr-x 3 ops ops 4096 Sep 11 07:39 config-migration drwxrwxr-x 3 ops ops 4096 Sep 11 07:39 data-migration drwxrwxr-x 2 ops ops 4096 Sep 11 07:39 ddls -rw-rw-r-- 1 ops ops 156 Sep 11 07:39 .editorconfig drwxrwxr-x 6 ops ops 4096 Sep 11 07:41 encryption drwxrwxr-x 8 ops ops 4096 Sep 11 07:39 .git -rw-rw-r-- 1 ops ops 217 Sep 11 07:39 .gitignore -rw-rw-r-- 1 ops ops 577 Sep 11 07:39 LICENSE -rw-rw-r-- 1 ops ops 31795 Sep 11 07:39 pom.xml -rw-rw-r-- 1 ops ops 4642 Sep 11 07:39 README.md drwxrwxr-x 4 ops ops 4096 Sep 11 07:49 security drwxrwxr-x 6 ops ops 4096 Sep 11 07:49 server drwxrwxr-x 5 ops ops 4096 Sep 11 07:49 service-locator drwxrwxr-x 4 ops ops 4096 Sep 11 07:43 shared drwxrwxr-x 5 ops ops 4096 Sep 11 07:49 socket -rw-rw-r-- 1 ops ops 12481 Sep 11 07:39 swagger.html -rw-rw-r-- 1 ops ops 12304 Sep 11 07:39 swagger.md drwxrwxr-x 3 ops ops 4096 Sep 11 07:50 target drwxrwxr-x 4 ops ops 4096 Sep 11 07:49 tessera-app -rw-rw-r-- 1 ops ops 29138 Sep 11 07:39 TesseraLogo.png -rw-rw-r-- 1 ops ops 591784 Sep 11 07:39 Tessera Privacy flow.jpeg drwxrwxr-x 6 ops ops 4096 Sep 11 07:41 tests -rw-rw-r-- 1 ops ops 1093 Sep 11 07:39 .travis.yml

But no luck:

`[INFO] Running com.quorum.tessera.test.TesseraIT
07:51:05.405 [main] INFO  com.quorum.tessera.test.TesseraIT - Begin test: requestVersion
07:51:05.466 [main] INFO  com.quorum.tessera.test.TesseraIT - After test: requestVersion
07:51:05.474 [main] INFO  com.quorum.tessera.test.TesseraIT - Begin test: requestOpenApiSchema
07:51:05.553 [main] INFO  com.quorum.tessera.test.TesseraIT - After test: requestOpenApiSchema
07:51:05.559 [main] INFO  com.quorum.tessera.test.TesseraIT - Begin test: upcheck
07:51:05.624 [main] INFO  com.quorum.tessera.test.TesseraIT - After test: upcheck
07:51:05.631 [main] INFO  com.quorum.tessera.test.TesseraIT - Begin test: requestOpenApiSchemaDocument
07:51:05.694 [main] INFO  com.quorum.tessera.test.TesseraIT - After test: requestOpenApiSchemaDocument
[ERROR] Tests run: 5, Failures: 4, Errors: 0, Skipped: 1, Time elapsed: 0.307 s <<< FAILURE! - in com.quorum.tessera.test.TesseraIT
[ERROR] requestVersion(com.quorum.tessera.test.TesseraIT)  Time elapsed: 0.066 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<"[No version defined yet!]"> but was:<"[<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> &#47;version</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/9.0.11</h3></body></html>]">
    at com.quorum.tessera.test.TesseraIT.requestVersion(TesseraIT.java:79)

[ERROR] requestOpenApiSchema(com.quorum.tessera.test.TesseraIT)  Time elapsed: 0.08 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[application/json]> but was:<[text/html;charset=utf-8]>
    at com.quorum.tessera.test.TesseraIT.requestOpenApiSchema(TesseraIT.java:99)

[ERROR] upcheck(com.quorum.tessera.test.TesseraIT)  Time elapsed: 0.072 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<"[I'm up!]"> but was:<"[<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> &#47;upcheck</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/9.0.11</h3></body></html>]">
    at com.quorum.tessera.test.TesseraIT.upcheck(TesseraIT.java:65)

[ERROR] requestOpenApiSchemaDocument(com.quorum.tessera.test.TesseraIT)  Time elapsed: 0.065 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<text/html[]> but was:<text/html[;charset=utf-8]>
    at com.quorum.tessera.test.TesseraIT.requestOpenApiSchemaDocument(TesseraIT.java:125)

[INFO] Running com.quorum.tessera.test.ResendIndividualIT
[ERROR] Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.064 s <<< FAILURE! - in com.quorum.tessera.test.ResendIndividualIT
[ERROR] resendTransactionsForGivenKey(com.quorum.tessera.test.ResendIndividualIT)  Time elapsed: 0.048 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
    at com.quorum.tessera.test.ResendIndividualIT.init(ResendIndividualIT.java:49)

[ERROR] resendTransactionForIncorrectKey(com.quorum.tessera.test.ResendIndividualIT)  Time elapsed: 0.002 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
    at com.quorum.tessera.test.ResendIndividualIT.init(ResendIndividualIT.java:49)

[ERROR] resendTransactionThatDoesntExist(com.quorum.tessera.test.ResendIndividualIT)  Time elapsed: 0.006 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
    at com.quorum.tessera.test.ResendIndividualIT.init(ResendIndividualIT.java:49)

[INFO] Running com.quorum.tessera.test.cli.KeyGenIT
HERE Enter a password if you want to lock the private key or leave blank
HERE Please re-enter the password (or lack of) to confirm
HERE 07:51:06.955 [main] INFO  com.quorum.tessera.nacl.jnacl.Jnacl - Generating new keypair...
HERE 07:51:06.994 [main] INFO  com.quorum.tessera.nacl.jnacl.Jnacl - Generated public key naY+MXXgYIBgc2VQWCA7wfvBVGT3zyukxSNkvLk4/Dk= and private key REDACTED
HERE 07:51:07.641 [main] INFO  c.q.t.config.keys.KeyGeneratorImpl - Saved public key to /home/ops/tessera/tests/acceptance-test/target/.pub
HERE 07:51:07.642 [main] INFO  c.q.t.config.keys.KeyGeneratorImpl - Saved private key to /home/ops/tessera/tests/acceptance-test/target/.key
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.876 s - in com.quorum.tessera.test.cli.KeyGenIT
[INFO] Running com.quorum.tessera.test.ResendAllIT
[ERROR] Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.873 s <<< FAILURE! - in com.quorum.tessera.test.ResendAllIT
[ERROR] resendTransactionsForGivenKey(com.quorum.tessera.test.ResendAllIT)  Time elapsed: 0.098 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[204]> but was:<[400]>
    at com.quorum.tessera.test.ResendAllIT.resendTransactionsForGivenKey(ResendAllIT.java:54)

[ERROR] resendForInvalidKeyErrors(com.quorum.tessera.test.ResendAllIT)  Time elapsed: 1.762 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<40[0]> but was:<40[4]>
    at com.quorum.tessera.test.ResendAllIT.resendForInvalidKeyErrors(ResendAllIT.java:124)

[ERROR] resendForKeyWithNoTransactions(com.quorum.tessera.test.ResendAllIT)  Time elapsed: 0.007 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
    at com.quorum.tessera.test.ResendAllIT.resendForKeyWithNoTransactions(ResendAllIT.java:107)

[INFO] Running com.quorum.tessera.test.SendRawIT
[ERROR] Tests run: 7, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 0.372 s <<< FAILURE! - in com.quorum.tessera.test.SendRawIT
[ERROR] sendSingleTransactionToMultipleParties(com.quorum.tessera.test.SendRawIT)  Time elapsed: 0.049 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
    at com.quorum.tessera.test.SendRawIT.sendSingleTransactionToMultipleParties(SendRawIT.java:69)

[ERROR] sendToSingleRecipient(com.quorum.tessera.test.SendRawIT)  Time elapsed: 0.056 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
    at com.quorum.tessera.test.SendRawIT.sendToSingleRecipient(SendRawIT.java:49)

[ERROR] sendUnknownPublicKey(com.quorum.tessera.test.SendRawIT)  Time elapsed: 0.049 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<40[0]> but was:<40[4]>
    at com.quorum.tessera.test.SendRawIT.sendUnknownPublicKey(SendRawIT.java:154)

[ERROR] sendTransactionWithEmptyRecipients(com.quorum.tessera.test.SendRawIT)  Time elapsed: 0.047 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
    at com.quorum.tessera.test.SendRawIT.sendTransactionWithEmptyRecipients(SendRawIT.java:103)

[ERROR] missingPayloadFails(com.quorum.tessera.test.SendRawIT)  Time elapsed: 0.042 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<40[0]> but was:<40[4]>
    at com.quorum.tessera.test.SendRawIT.missingPayloadFails(SendRawIT.java:137)

[ERROR] sendTransactionWithoutASender(com.quorum.tessera.test.SendRawIT)  Time elapsed: 0.043 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
    at com.quorum.tessera.test.SendRawIT.sendTransactionWithoutASender(SendRawIT.java:85)

[ERROR] sendTransactionWithMissingRecipients(com.quorum.tessera.test.SendRawIT)  Time elapsed: 0.066 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
    at com.quorum.tessera.test.SendRawIT.sendTransactionWithMissingRecipients(SendRawIT.java:119)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   DeleteIT.deleteTransactionThatDoesntExist:67 expected:<40[4]> but was:<40[5]>
[ERROR]   DeleteIT.deleteTransactionThatExists:49 expected:<[204]> but was:<[400]>
[ERROR]   PushIT.storeCorruptedPayloadFails:112 expected:<[500]> but was:<[404]>
[ERROR]   PushIT.storeExistingPayloadThrowsError:86 expected:<[201]> but was:<[404]>
[ERROR]   PushIT.storePayloadFromAnotherNode:57 expected:<[201]> but was:<[404]>
[ERROR]   ResendAllIT.resendForInvalidKeyErrors:124 expected:<40[0]> but was:<40[4]>
[ERROR]   ResendAllIT.resendForKeyWithNoTransactions:107 expected:<[200]> but was:<[404]>
[ERROR]   ResendAllIT.resendTransactionsForGivenKey:54 expected:<[204]> but was:<[400]>
[ERROR]   ResendIndividualIT.init:49 expected:<[200]> but was:<[404]>
[ERROR]   ResendIndividualIT.init:49 expected:<[200]> but was:<[404]>
[ERROR]   ResendIndividualIT.init:49 expected:<[200]> but was:<[404]>
[ERROR]   SendIT.garbageMessageFails:228 expected:<40[0]> but was:<40[4]>
[ERROR]   SendIT.missingPayloadFails:210 expected:<40[0]> but was:<40[4]>
[ERROR]   SendIT.sendSingleTransactionToMultipleParties:97 expected:<[200]> but was:<[404]>
[ERROR]   SendIT.sendToDeadNode:272 expected:<[500]> but was:<[404]>
[ERROR]   SendIT.sendTransactionWithEmptyRecipients:154 expected:<[200]> but was:<[404]>
[ERROR]   SendIT.sendTransactionWithMissingRecipients:181 expected:<[200]> but was:<[404]>
[ERROR]   SendIT.sendTransactionWithoutASender:122 expected:<[200]> but was:<[404]>
[ERROR]   SendIT.sendUnknownPublicKey:250 expected:<40[0]> but was:<40[4]>
[ERROR]   SendRawIT.missingPayloadFails:137 expected:<40[0]> but was:<40[4]>
[ERROR]   SendRawIT.sendSingleTransactionToMultipleParties:69 expected:<[200]> but was:<[404]>
[ERROR]   SendRawIT.sendToSingleRecipient:49 expected:<[200]> but was:<[404]>
[ERROR]   SendRawIT.sendTransactionWithEmptyRecipients:103 expected:<[200]> but was:<[404]>
[ERROR]   SendRawIT.sendTransactionWithMissingRecipients:119 expected:<[200]> but was:<[404]>
[ERROR]   SendRawIT.sendTransactionWithoutASender:85 expected:<[200]> but was:<[404]>
[ERROR]   SendRawIT.sendUnknownPublicKey:154 expected:<40[0]> but was:<40[4]>
[ERROR]   TesseraIT.requestOpenApiSchema:99 expected:<[application/json]> but was:<[text/html;charset=utf-8]>
[ERROR]   TesseraIT.requestOpenApiSchemaDocument:125 expected:<text/html[]> but was:<text/html[;charset=utf-8]>
[ERROR]   TesseraIT.requestVersion:79 expected:<"[No version defined yet!]"> but was:<"[<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> &#47;version</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/9.0.11</h3></body></html>]">
[ERROR]   TesseraIT.upcheck:65 expected:<"[I'm up!]"> but was:<"[<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> &#47;upcheck</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/9.0.11</h3></body></html>]">
[ERROR]   TransactionForwardingIT.sendTransactionToNode2DoesNotAddNode1AsRecipient:81 expected:<40[4]> but was:<40[0]>
[ERROR]   TransactionForwardingIT.sendTransactionToNode3AddsNode1AsRecipient:43->sendNewTransaction:130 expected:<[2]00> but was:<[4]00>
[ERROR]   TransactionForwardingIT.sendTransactionToNode3DoesNotAddNode2AsRecipient:88->sendNewTransaction:130 expected:<[2]00> but was:<[4]00>
[ERROR] Errors:
[ERROR]   MultipleKeyNodeIT.storePayloadOnFirstKey:38->sendNewPayload:99 » JsonParsing U...
[ERROR]   MultipleKeyNodeIT.storePayloadOnSecondKey:63->sendNewPayload:99 » JsonParsing ...
[ERROR]   ReceiveIT.init:65 » JsonParsing Unexpected char 60 at (line no=1, column no=1,...
[ERROR]   ReceiveIT.init:65 » JsonParsing Unexpected char 60 at (line no=1, column no=1,...
[ERROR]   ReceiveIT.init:65 » JsonParsing Unexpected char 60 at (line no=1, column no=1,...
[ERROR]   ReceiveIT.init:65 » JsonParsing Unexpected char 60 at (line no=1, column no=1,...
[ERROR]   ReceiveRawIT.init:61 » JsonParsing Unexpected char 60 at (line no=1, column no...
[ERROR]   ReceiveRawIT.init:61 » JsonParsing Unexpected char 60 at (line no=1, column no...
[ERROR]   ReceiveRawIT.init:61 » JsonParsing Unexpected char 60 at (line no=1, column no...
[ERROR]   ReceiveRawIT.init:61 » JsonParsing Unexpected char 60 at (line no=1, column no...
[ERROR]   ReceiveRawIT.init:61 » JsonParsing Unexpected char 60 at (line no=1, column no...
[ERROR]   SendIT.sendToSingleRecipient:66 » JsonParsing Unexpected char 60 at (line no=1...
[INFO]
[ERROR] Tests run: 47, Failures: 33, Errors: 12, Skipped: 1
[INFO]
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.1:report (post-integration-test) @ acceptance-test ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- groovy-maven-plugin:2.0:execute (kill-node1) @ acceptance-test ---
[INFO] Found Pid file :/home/ops/tessera/tests/acceptance-test/target/node1.pid
[INFO] Executing: kill 22149
[INFO] Executed: kill 22149 with exit code: 1
[INFO]
[INFO]
[INFO] --- groovy-maven-plugin:2.0:execute (kill-node2) @ acceptance-test ---
[INFO] Found Pid file :/home/ops/tessera/tests/acceptance-test/target/node2.pid
[INFO] Executing: kill 22182
[INFO] Executed: kill 22182 with exit code: 0
[INFO]
[INFO]
[INFO] --- groovy-maven-plugin:2.0:execute (kill-node3) @ acceptance-test ---
[INFO] Found Pid file :/home/ops/tessera/tests/acceptance-test/target/node3.pid
[INFO] Executing: kill 22223
[INFO] Executed: kill 22223 with exit code: 0
[INFO]
[INFO]
[INFO] --- maven-failsafe-plugin:2.21.0:verify (verify) @ acceptance-test ---`
.....
`[INFO] acceptance-test .................................... FAILURE [ 57.911 s]
[INFO] resteasy-server .................................... SKIPPED
[INFO] encryption-kalium .................................. SKIPPED
[INFO] data-migration ..................................... SKIPPED
[INFO] config-migration ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:24 min
[INFO] Finished at: 2018-09-11T07:51:10+00:00
[INFO] Final Memory: 76M/201M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.21.0:verify (verify) on project acceptance-test: There are test failures.
[ERROR]
[ERROR] Please refer to /home/ops/tessera/tests/acceptance-test/target/failsafe-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[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 <goals> -rf :acceptance-test`
prd-fox commented 5 years ago

Ok, at least it confirms the earlier issue that some of the tests won't run as the root user.

When the above errors occur it's because Tessera had a problem starting the web server.

Can you confirm there are no other services running on port 8080 - 8083? Also, are you able to run the application from a pre-built jar using the config you posted earlier?

alexsplashex commented 5 years ago
screen shot 2018-09-11 at 13 12 13
namtruong commented 5 years ago

@alexsplashex could you please send us some log message which would help with the diagnose? The log files could be found under target folder - there should be node1.log, node2.log files there

namtruong commented 5 years ago

@alexsplashex are you still getting the issue?

alexsplashex commented 5 years ago

@alexsplashex are you still getting the issue?

Yes, but now I have more priority tasks

zhangjie123 commented 5 years ago

I encountered the same problem, Can anyone help? I am also run mvn install with non root user.

~/tessera$ java -version java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

mvn --version Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 1.8.0_181, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-1065-aws", arch: "amd64", family: "unix"

lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project security: There are test failures. [ERROR] [ERROR] Please refer to /home/ubuntu/tessera/security/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream. [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 -rf :security

namtruong commented 5 years ago

hi @zhangjie123 , would you mind putting up here the tests that failed? Thanks

pohzipohzi commented 5 years ago

I am also running into the same error as a non-root user on ubuntu 18.04 LTS

Java version:

$ java --version
openjdk 10.0.2 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.2)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.2, mixed mode)

Maven version:

$ mvn --version
Apache Maven 3.5.2
Maven home: /usr/share/maven
Java version: 10.0.2, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-34-generic", arch: "amd64", family: "unix"

Output from mvn install -e:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project shared: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/poh/go/src/github.com/jpmorganchase/tessera/shared/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] There was an error in the forked process
[ERROR] javax/xml/bind/DataBindingException
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
[ERROR] javax/xml/bind/DataBindingException
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:658)
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)
[ERROR]     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)
[ERROR]     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1194)
[ERROR]     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1022)
[ERROR]     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:868)
[ERROR]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
[ERROR]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
[ERROR]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
[ERROR]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
[ERROR]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
[ERROR]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
[ERROR]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
[ERROR]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
[ERROR]     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:955)
[ERROR]     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
[ERROR]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
[ERROR]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
[ERROR]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
[ERROR]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
[ERROR]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
[ERROR]     at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR] 
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project shared: There are test failures.

Please refer to /home/poh/go/src/github.com/jpmorganchase/tessera/shared/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
There was an error in the forked process
javax/xml/bind/DataBindingException
org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
javax/xml/bind/DataBindingException
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:658)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1194)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1022)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:868)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: There are test failures.

Please refer to /home/poh/go/src/github.com/jpmorganchase/tessera/shared/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
There was an error in the forked process
javax/xml/bind/DataBindingException
org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
javax/xml/bind/DataBindingException
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:658)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1194)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1022)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:868)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

    at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:235)
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:112)
    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:364)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1052)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:868)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
javax/xml/bind/DataBindingException
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork (ForkStarter.java:658)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork (ForkStarter.java:533)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:278)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:244)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1194)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1022)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:868)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR] 
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :shared
prd-fox commented 5 years ago

@pohzipohzi currently you need to build and run with Java 8

Krish1979 commented 5 years ago

closing this issue. Please reopen if it is still an issue

andreataglia commented 5 years ago

I get the same issue, even with Java 8: Java Version

openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

Maven Verion

Java version: 1.8.0_111, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "4.2.0-27-generic", arch: "amd64", family: "unix"

`[INFO] [ERROR] Tests run: 18, Failures: 1, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] tessera ............................................ SUCCESS [ 1.323 s] [INFO] argon2 ............................................. SUCCESS [ 4.613 s] [INFO] tests .............................................. SUCCESS [ 0.121 s] [INFO] test-util .......................................... SUCCESS [ 0.119 s] [INFO] shared ............................................. SUCCESS [ 1.733 s] [INFO] encryption ......................................... SUCCESS [ 0.119 s] [INFO] encryption-api ..................................... SUCCESS [ 1.807 s] [INFO] encryption-jnacl ................................... SUCCESS [ 1.728 s] [INFO] key-vault .......................................... SUCCESS [ 0.110 s] [INFO] key-vault-api ...................................... SUCCESS [ 0.887 s] [INFO] config ............................................. SUCCESS [ 24.734 s] [INFO] security ........................................... SUCCESS [ 6.849 s] [INFO] server ............................................. SUCCESS [ 0.103 s] [INFO] server-api ......................................... SUCCESS [ 0.102 s] [INFO] jersey-server ...................................... SUCCESS [ 1.179 s] [INFO] jaxrs-client ....................................... SUCCESS [ 1.829 s] [INFO] azure-key-vault .................................... SUCCESS [ 2.531 s] [INFO] key-generation ..................................... FAILURE [ 3.359 s] [INFO] config-cli ......................................... SKIPPED [INFO] tessera-core ....................................... SKIPPED [INFO] service-locator .................................... SKIPPED [INFO] service-locator-api ................................ SKIPPED [INFO] jaxrs-service ...................................... SKIPPED [INFO] grpc ............................................... SKIPPED [INFO] grpc-api ........................................... SKIPPED [INFO] grpc-service ....................................... SKIPPED [INFO] grpc-server ........................................ SKIPPED [INFO] unix-socket-server ................................. SKIPPED [INFO] service-locator-spring ............................. SKIPPED [INFO] tessera-app ........................................ SKIPPED [INFO] acceptance-test .................................... SKIPPED [INFO] resteasy-server .................................... SKIPPED [INFO] encryption-kalium .................................. SKIPPED [INFO] data-migration ..................................... SKIPPED [INFO] config-migration ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 53.713 s [INFO] Finished at: 2018-11-15T12:57:29+08:00 [INFO] Final Memory: 78M/2601M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project key-generation: There are test failures. [ERROR] [ERROR] Please refer to /users/yuecong/blockbench/benchmark/quorum_pbft/tessera/key-generation/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project key-generation: There are test failures.

Please refer to /users/yuecong/blockbench/benchmark/quorum_pbft/tessera/key-generation/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /users/yuecong/blockbench/benchmark/quorum_pbft/tessera/key-generation/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:271) at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:362) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1007) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:837) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [ERROR] [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 -rf :key-generation `

namtruong commented 5 years ago

@andreataglia @shiba The failed test you observed above will happen with linux filesystem. I have raised a different issue to track this #525

For the time being you can try build with -DskipTests

a10000005588 commented 5 years ago

@namtruong Thanks a lot. Now I can successfully build tessera.

NRajTheGeek commented 5 years ago

Hi i am facing the same issue:

OS: ubuntu 16.04 java version: openjdk version "1.8.0_191" OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.16.04.1-b12) OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)

maven version: Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 1.8.0_144, vendor: Oracle Corporation Java home: /usr/local/java/jdk1.8.0_144/jre Default locale: en_IN, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-140-generic", arch: "amd64", family: "unix"


BUILD FAILURE Stack Trace:

neeraj@NeerajKumar:~/tessera$ mvn install -X Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 1.8.0_144, vendor: Oracle Corporation Java home: /usr/local/java/jdk1.8.0_144/jre Default locale: en_IN, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-140-generic", arch: "amd64", family: "unix" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.enterprise.inject. < plexus.core [DEBUG] Imported: javax.enterprise.util. < plexus.core [DEBUG] Imported: javax.inject. < plexus.core [DEBUG] Imported: org.apache.maven. < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon. < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus. < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether. < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.slf4j. < plexus.core [DEBUG] Imported: org.slf4j.helpers. < plexus.core [DEBUG] Imported: org.slf4j.spi. < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml [DEBUG] Reading user settings from /home/neeraj/.m2/settings.xml [DEBUG] Reading global toolchains from /usr/share/maven/conf/toolchains.xml [DEBUG] Reading user toolchains from /home/neeraj/.m2/toolchains.xml [DEBUG] Using local repository at /home/neeraj/.m2/repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /home/neeraj/.m2/repository [INFO] Scanning for projects... [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=1, ConflictMarker.nodeCount=12, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=8, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=5, ConflictResolver.conflictItemCount=12, DefaultDependencyCollector.collectTime=154, DefaultDependencyCollector.transformTime=12} [DEBUG] ar.com.synergian:wagon-git:jar:0.2.5: [DEBUG] org.apache.maven.scm:maven-scm-provider-gitexe:jar:1.9.2:compile [DEBUG] commons-io:commons-io:jar:2.2:compile [DEBUG] commons-lang:commons-lang:jar:2.6:compile [DEBUG] org.apache.maven.scm:maven-scm-provider-git-commons:jar:1.9.2:compile [DEBUG] org.apache.maven.scm:maven-scm-api:jar:1.9.2:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.15:compile [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:2.8:compile [DEBUG] Created new class realm extension>ar.com.synergian:wagon-git:0.2.5 [DEBUG] Importing foreign packages into class realm extension>ar.com.synergian:wagon-git:0.2.5 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm extension>ar.com.synergian:wagon-git:0.2.5 [DEBUG] Included: ar.com.synergian:wagon-git:jar:0.2.5 [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-gitexe:jar:1.9.2 [DEBUG] Included: commons-io:commons-io:jar:2.2 [DEBUG] Included: commons-lang:commons-lang:jar:2.6 [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-git-commons:jar:1.9.2 [DEBUG] Included: org.apache.maven.scm:maven-scm-api:jar:1.9.2 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.15 [DEBUG] Extension realms for project com.quorum.tessera:tessera:pom:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Created new class realm project>com.quorum.tessera:tessera:0.8-SNAPSHOT [DEBUG] Populating class realm project>com.quorum.tessera:tessera:0.8-SNAPSHOT [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:tessera-app:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:argon2:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:config:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:config-cli:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:tests:pom:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:acceptance-test:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:test-util:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:security:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:service-locator:pom:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:service-locator-api:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:service-locator-spring:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:server:pom:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:jersey-server:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:grpc-server:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:server-api:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:unix-socket-server:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:encryption:pom:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:encryption-api:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:encryption-jnacl:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:encryption-kalium:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:data-migration:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:config-migration:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:shared:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=20, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=16, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2, ConflictResolver.conflictItemCount=20, DefaultDependencyCollector.collectTime=146, DefaultDependencyCollector.transformTime=2} [DEBUG] kr.motd.maven:os-maven-plugin:jar:1.5.0.Final: [DEBUG] org.apache.maven:maven-plugin-api:jar:3.2.1:compile [DEBUG] org.apache.maven:maven-model:jar:3.2.1:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.2.1:compile [DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M5:compile [DEBUG] javax.enterprise:cdi-api:jar:1.0:compile [DEBUG] javax.annotation:jsr250-api:jar:1.0:compile [DEBUG] javax.inject:javax.inject:jar:1:compile [DEBUG] com.google.guava:guava:jar:10.0.1:compile [DEBUG] com.google.code.findbugs:jsr305:jar:1.3.9:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile [DEBUG] aopalliance:aopalliance:jar:1.0:compile [DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M5:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.17:compile [DEBUG] Created new class realm extension>kr.motd.maven:os-maven-plugin:1.5.0.Final [DEBUG] Importing foreign packages into class realm extension>kr.motd.maven:os-maven-plugin:1.5.0.Final [DEBUG] Imported: < maven.api [DEBUG] Populating class realm extension>kr.motd.maven:os-maven-plugin:1.5.0.Final [DEBUG] Included: kr.motd.maven:os-maven-plugin:jar:1.5.0.Final [DEBUG] Included: javax.enterprise:cdi-api:jar:1.0 [DEBUG] Included: javax.annotation:jsr250-api:jar:1.0 [DEBUG] Included: com.google.guava:guava:jar:10.0.1 [DEBUG] Included: com.google.code.findbugs:jsr305:jar:1.3.9 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0 [DEBUG] Included: aopalliance:aopalliance:jar:1.0 [DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M5 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.17 [DEBUG] Extension realms for project com.quorum.tessera:grpc:jar:0.8-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.5.0.Final, parent: sun.misc.Launcher$AppClassLoader@5c647e05], ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Created new class realm project>com.quorum.tessera:grpc:0.8-SNAPSHOT [DEBUG] Populating class realm project>com.quorum.tessera:grpc:0.8-SNAPSHOT [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:grpc:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:grpc-api:jar:0.8-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.5.0.Final, parent: sun.misc.Launcher$AppClassLoader@5c647e05], ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:grpc:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:grpc-service:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:jaxrs-service:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:tessera-core:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:jaxrs-client:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:key-vault:pom:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:azure-key-vault:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:key-vault-api:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:hashicorp-key-vault:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:key-generation:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:key-pair-converter:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project com.quorum.tessera:ddls:jar:0.8-SNAPSHOT: [ClassRealm[extension>ar.com.synergian:wagon-git:0.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>com.quorum.tessera:tessera:0.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [WARNING] [WARNING] Some problems were encountered while building the effective model for com.quorum.tessera:ddls:jar:0.8-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ com.quorum.tessera:ddls:[unknown-version], /home/neeraj/tessera/ddls/pom.xml, line 30, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: linux [INFO] os.detected.arch: x86_64 [INFO] os.detected.version: 4.4 [INFO] os.detected.version.major: 4 [INFO] os.detected.version.minor: 4 [INFO] os.detected.release: ubuntu [INFO] os.detected.release.version: 16.04 [INFO] os.detected.release.like.ubuntu: true [INFO] os.detected.release.like.debian: true [INFO] os.detected.classifier: linux-x86_64 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] tessera [INFO] argon2 [INFO] tests [INFO] test-util [INFO] shared [INFO] encryption [INFO] encryption-api [INFO] encryption-jnacl [INFO] config [INFO] security [INFO] server [INFO] server-api [INFO] jersey-server [INFO] jaxrs-client [INFO] key-vault [INFO] key-vault-api [INFO] key-generation [INFO] config-cli [INFO] key-pair-converter [INFO] azure-key-vault [INFO] hashicorp-key-vault [INFO] tessera-core [INFO] service-locator [INFO] service-locator-api [INFO] jaxrs-service [INFO] grpc [INFO] grpc-api [INFO] grpc-service [INFO] grpc-server [INFO] unix-socket-server [INFO] service-locator-spring [INFO] tessera-app [INFO] acceptance-test [INFO] encryption-kalium [INFO] data-migration [INFO] config-migration [INFO] ddls [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: com.quorum.tessera:tessera:pom:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:argon2:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:tests:pom:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:test-util:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:shared:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:encryption:pom:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:encryption-api:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:encryption-jnacl:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:config:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:security:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:server:pom:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:server-api:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:jersey-server:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:jaxrs-client:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:key-vault:pom:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:key-vault-api:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:key-generation:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:config-cli:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:key-pair-converter:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:azure-key-vault:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:hashicorp-key-vault:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:tessera-core:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:service-locator:pom:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:service-locator-api:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:jaxrs-service:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:grpc:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:grpc-api:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:grpc-service:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:grpc-server:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:unix-socket-server:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:service-locator-spring:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:tessera-app:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:acceptance-test:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:encryption-kalium:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:data-migration:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:config-migration:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: com.quorum.tessera:ddls:jar:0.8-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ======================================================================= [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building tessera 0.8-SNAPSHOT [INFO] ------------------------------------------------------------------------ [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: com.quorum.tessera:tessera:0.8-SNAPSHOT [DEBUG] Dependencies (collect): [test] [DEBUG] Dependencies (resolve): [runtime, test] [DEBUG] Repositories (dependencies): [tessera-repo (https://raw.github.com/jpmorganchase/tessera/releases, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Repositories (plugins) : [synergian-repo (https://raw.github.com/synergian/wagon-git/releases, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${enforcer.fail} ${enforcer.failFast} ${enforcer.ignoreCache} 3.5 ${enforcer.skip}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.jacoco:jacoco-maven-plugin:0.8.2:prepare-agent (default) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${jacoco.address}
${jacoco.append} ${jacoco.classDumpDir} ${jacoco.destFile} ${jacoco.dumpOnExit} ${jacoco.exclClassLoaders} ${jacoco.inclBootstrapClasses} ${jacoco.inclNoLocationClasses} ${jacoco.jmx} ${jacoco.output} ${plugin.artifactMap} ${jacoco.port} ${project} ${jacoco.propertyName} ${jacoco.sessionId} ${jacoco.skip}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (verify-style) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

checkstyle.xml ${checkstyle.consoleOutput} ${encoding} ${checkstyle.excludes} ${checkstyle.failOnViolation} ${checkstyle.header.file} ${checkstyle.includeResources} ${checkstyle.includeTestResources} true ${checkstyle.includes} true ${checkstyle.maxAllowedViolations} ${checkstyle.output.file} ${checkstyle.output.format} ${checkstyle.properties.location} ${checkstyle.resourceExcludes} ${checkstyle.resourceIncludes} ${checkstyle.output.rules.file} ${checkstyle.skip} ${checkstyle.skipExec} checkstyle.suppressions.file checkstyle-suppressions.xml ${checkstyle.violation.ignore} ${checkstyle.violationSeverity}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.jacoco:jacoco-maven-plugin:0.8.2:report (report) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${jacoco.dataFile} ${project.reporting.outputEncoding} ${project} ${jacoco.skip} ${project.build.sourceEncoding} </configuration> <p>[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.jacoco:jacoco-maven-plugin:0.8.2:check (check) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?></p> <configuration> <dataFile default-value="${project.build.directory}/jacoco.exec"/> <excludes> <exclude>com/quorum/tessera/Launcher*</exclude> <exclude>com/quorum/tessera/data/migration/Main*</exclude> <exclude>com/quorum/tessera/config/migration/Main*</exclude> <exclude>com/quorum/tessera/config/util/ConsolePasswordReader*</exclude> <exclude>com/quorum/tessera/config/util/PasswordReaderFactory*</exclude> <exclude>com/quorum/tessera/key/vault/azure/AzureKeyVaultClientDelegate*</exclude> <exclude>com/quorum/tessera/key/vault/hashicorp/KeyValueOperationsDelegateFactory*</exclude> </excludes> <haltOnFailure default-value="true">${jacoco.haltOnFailure}</haltOnFailure> <project>${project}</project> <rules> <rule> <element>CLASS</element> <limits> <limit> <counter>LINE</counter> <value>COVEREDRATIO</value> <minimum>1.00</minimum> </limit> <limit> <counter>INSTRUCTION</counter> <value>COVEREDRATIO</value> <minimum>1.00</minimum> </limit> </limits> </rule> </rules> <skip default-value="false">${jacoco.skip}</skip> </configuration> <p>[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.jacoco:jacoco-maven-plugin:0.8.2:prepare-agent (pre-integration-test) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?></p> <configuration> <address>${jacoco.address}</address> <append>${jacoco.append}</append> <classDumpDir>${jacoco.classDumpDir}</classDumpDir> <destFile default-value="${project.build.directory}/jacoco.exec">/home/neeraj/tessera/target/jacoco-it.exec</destFile> <dumpOnExit>${jacoco.dumpOnExit}</dumpOnExit> <exclClassLoaders>${jacoco.exclClassLoaders}</exclClassLoaders> <inclBootstrapClasses>${jacoco.inclBootstrapClasses}</inclBootstrapClasses> <inclNoLocationClasses>${jacoco.inclNoLocationClasses}</inclNoLocationClasses> <jmx>${jacoco.jmx}</jmx> <output>${jacoco.output}</output> <pluginArtifactMap>${plugin.artifactMap}</pluginArtifactMap> <port>${jacoco.port}</port> <project>${project}</project> <propertyName>failsafeArgLine</propertyName> <sessionId>${jacoco.sessionId}</sessionId> <skip default-value="false">${jacoco.skip}</skip> </configuration> <p>[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.jacoco:jacoco-maven-plugin:0.8.2:report (post-integration-test) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?></p> <configuration> <dataFile default-value="${project.build.directory}/jacoco.exec">/home/neeraj/tessera/target/jacoco-it.exec</dataFile> <outputDirectory default-value="${project.reporting.outputDirectory}/jacoco">/home/neeraj/tessera/target/site/jacoco-it</outputDirectory> <outputEncoding default-value="UTF-8">${project.reporting.outputEncoding}</outputEncoding> <project>${project}</project> <skip default-value="false">${jacoco.skip}</skip> <sourceEncoding default-value="UTF-8">${project.build.sourceEncoding}</sourceEncoding> <title default-value="${project.name}"/> </configuration> <p>[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.ec4j.maven:editorconfig-maven-plugin:0.0.8:check (check) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?></p> <configuration> <addLintersFromClassPath default-value="true">${editorconfig.addLintersFromClassPath}</addLintersFromClassPath> <basedir default-value="${project.basedir}"/> <encoding default-value="${project.build.sourceEncoding}">${editorconfig.encoding}</encoding> <excludeNonSourceFiles default-value="true">${editorconfig.excludeNonSourceFiles}</excludeNonSourceFiles> <excludeSubmodules default-value="true">${editorconfig.excludeSubmodules}</excludeSubmodules> <excludes>${editorconfig.excludes}</excludes> <failOnFormatViolation default-value="true">${editorconfig.failOnFormatViolation}</failOnFormatViolation> <failOnNoMatchingProperties default-value="true">${editorconfig.failOnNoMatchingProperties}</failOnNoMatchingProperties> <includes default-value="**">${editorconfig.includes}</includes> <skip default-value="false">${editorconfig.skip}</skip> </configuration> <p>[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?></p> <configuration> <artifact default-value="${project.artifact}"/> <attachedArtifacts default-value="${project.attachedArtifacts}"/> <createChecksum default-value="false">${createChecksum}</createChecksum> <installAtEnd default-value="false">${installAtEnd}</installAtEnd> <localRepository>${localRepository}</localRepository> <packaging default-value="${project.packaging}"/> <pomFile default-value="${project.file}"/> <project default-value="${project}"/> <reactorProjects default-value="${reactorProjects}"/> <skip default-value="false">${maven.install.skip}</skip> <updateReleaseInfo default-value="false">${updateReleaseInfo}</updateReleaseInfo> </configuration> <p>[DEBUG] ======================================================================= [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=0, ConflictMarker.nodeCount=20, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=16, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1, ConflictResolver.conflictItemCount=19, DefaultDependencyCollector.collectTime=69, DefaultDependencyCollector.transformTime=2} [DEBUG] com.quorum.tessera:tessera:pom:0.8-SNAPSHOT [DEBUG] junit:junit:jar:4.12:test [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:test [DEBUG] org.assertj:assertj-core:jar:3.9.1:test [DEBUG] org.mockito:mockito-core:jar:2.23.0:test [DEBUG] net.bytebuddy:byte-buddy:jar:1.9.0:test [DEBUG] net.bytebuddy:byte-buddy-agent:jar:1.9.0:test [DEBUG] org.objenesis:objenesis:jar:2.6:test [DEBUG] com.openpojo:openpojo:jar:0.8.10:test [DEBUG] ch.qos.logback:logback-classic:jar:1.0.13:runtime [DEBUG] ch.qos.logback:logback-core:jar:1.0.13:runtime [DEBUG] org.slf4j:slf4j-api:jar:1.7.5:compile [DEBUG] org.eclipse.persistence:org.eclipse.persistence.moxy:jar:2.7.3:runtime [DEBUG] org.eclipse.persistence:org.eclipse.persistence.core:jar:2.7.3:runtime (scope managed from compile by com.quorum.tessera:tessera:0.8-SNAPSHOT) [DEBUG] org.eclipse.persistence:org.eclipse.persistence.asm:jar:2.7.3:runtime [DEBUG] javax.validation:validation-api:jar:2.0.1.Final:runtime [DEBUG] javax.json:javax.json-api:jar:1.1.2:runtime [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ tessera --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=1, ConflictMarker.nodeCount=96, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=39, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=5, ConflictResolver.conflictItemCount=95, DefaultDependencyCollector.collectTime=185, DefaultDependencyCollector.transformTime=6} [DEBUG] org.apache.maven.plugins:maven-enforcer-plugin:jar:3.0.0-M2: [DEBUG] org.apache.maven:maven-artifact:jar:3.0:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:3.0:compile [DEBUG] org.apache.maven:maven-model:jar:3.0:compile [DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile [DEBUG] org.apache.maven:maven-core:jar:3.0:compile [DEBUG] org.apache.maven:maven-settings:jar:3.0:compile [DEBUG] org.apache.maven:maven-settings-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.0:runtime [DEBUG] org.sonatype.aether:aether-impl:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-spi:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-api:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-util:jar:1.7:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.1.0:compile [DEBUG] org.apache.maven.enforcer:enforcer-api:jar:3.0.0-M2:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile [DEBUG] junit:junit:jar:4.11:compile [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:compile [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile [DEBUG] org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-M2:compile [DEBUG] org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1:compile [DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile [DEBUG] commons-io:commons-io:jar:2.5:compile [DEBUG] org.apache.commons:commons-lang3:jar:3.5:compile [DEBUG] commons-codec:commons-codec:jar:1.6:compile [DEBUG] org.beanshell:bsh:jar:2.0b4:compile [DEBUG] org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile [DEBUG] org.eclipse.aether:aether-util:jar:0.9.0.M2:compile [DEBUG] org.apache.maven:maven-compat:jar:3.0:compile [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2 [DEBUG] Imported: < project>com.quorum.tessera:tessera:0.8-SNAPSHOT [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2 [DEBUG] Included: org.apache.maven.plugins:maven-enforcer-plugin:jar:3.0.0-M2 [DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7 [DEBUG] Included: org.sonatype.aether:aether-util:jar:1.7 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.1.0 [DEBUG] Included: org.apache.maven.enforcer:enforcer-api:jar:3.0.0-M2 [DEBUG] Included: junit:junit:jar:4.11 [DEBUG] Included: org.hamcrest:hamcrest-core:jar:1.3 [DEBUG] Included: org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-M2 [DEBUG] Included: org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1 [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.1.0 [DEBUG] Included: commons-io:commons-io:jar:2.5 [DEBUG] Included: org.apache.commons:commons-lang3:jar:3.5 [DEBUG] Included: commons-codec:commons-codec:jar:1.6 [DEBUG] Included: org.beanshell:bsh:jar:2.0b4 [DEBUG] Included: org.apache.maven.shared:maven-dependency-tree:jar:2.2 [DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M2 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2, parent: sun.misc.Launcher$AppClassLoader@5c647e05] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce' with basic configurator --> [DEBUG] (s) fail = true [DEBUG] (s) failFast = false [DEBUG] (f) ignoreCache = false [DEBUG] (f) mojoExecution = org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce {execution: enforce-versions} [DEBUG] (s) project = MavenProject: com.quorum.tessera:tessera:0.8-SNAPSHOT @ /home/neeraj/tessera/pom.xml [DEBUG] (s) version = 3.5 [DEBUG] (s) rules = [org.apache.maven.plugins.enforcer.RequireMavenVersion@420745d7] [DEBUG] (s) session = org.apache.maven.execution.MavenSession@7e11ab3d [DEBUG] (s) skip = false [DEBUG] -- end configuration -- [DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireMavenVersion [DEBUG] Rule org.apache.maven.plugins.enforcer.RequireMavenVersion is cacheable. [DEBUG] Detected Maven Version: 3.3.9 [DEBUG] Adding failure due to exception org.apache.maven.enforcer.rule.api.EnforcerRuleException: Detected Maven Version: 3.3.9 is not in the allowed range 3.5. at org.apache.maven.plugins.enforcer.AbstractVersionEnforcer.enforceVersion(AbstractVersionEnforcer.java:106) at org.apache.maven.plugins.enforcer.RequireMavenVersion.execute(RequireMavenVersion.java:47) at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:194) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message: Detected Maven Version: 3.3.9 is not in the allowed range 3.5. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] tessera ............................................ FAILURE [ 0.533 s] [INFO] argon2 ............................................. SKIPPED [INFO] tests .............................................. SKIPPED [INFO] test-util .......................................... SKIPPED [INFO] shared ............................................. SKIPPED [INFO] encryption ......................................... SKIPPED [INFO] encryption-api ..................................... SKIPPED [INFO] encryption-jnacl ................................... SKIPPED [INFO] config ............................................. SKIPPED [INFO] security ........................................... SKIPPED [INFO] server ............................................. SKIPPED [INFO] server-api ......................................... SKIPPED [INFO] jersey-server ...................................... SKIPPED [INFO] jaxrs-client ....................................... SKIPPED [INFO] key-vault .......................................... SKIPPED [INFO] key-vault-api ...................................... SKIPPED [INFO] key-generation ..................................... SKIPPED [INFO] config-cli ......................................... SKIPPED [INFO] key-pair-converter ................................. SKIPPED [INFO] azure-key-vault .................................... SKIPPED [INFO] hashicorp-key-vault ................................ SKIPPED [INFO] tessera-core ....................................... SKIPPED [INFO] service-locator .................................... SKIPPED [INFO] service-locator-api ................................ SKIPPED [INFO] jaxrs-service ...................................... SKIPPED [INFO] grpc ............................................... SKIPPED [INFO] grpc-api ........................................... SKIPPED [INFO] grpc-service ....................................... SKIPPED [INFO] grpc-server ........................................ SKIPPED [INFO] unix-socket-server ................................. SKIPPED [INFO] service-locator-spring ............................. SKIPPED [INFO] tessera-app ........................................ SKIPPED [INFO] acceptance-test .................................... SKIPPED [INFO] encryption-kalium .................................. SKIPPED [INFO] data-migration ..................................... SKIPPED [INFO] config-migration ................................... SKIPPED [INFO] ddls ............................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.516 s [INFO] Finished at: 2018-12-22T17:09:01+05:30 [INFO] Final Memory: 23M/228M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) on project tessera: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) on project tessera: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:235) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/zscole"><img src="https://avatars.githubusercontent.com/u/20308948?v=4" />zscole</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Build failure on Ubuntu 18.04/Java 8.</p> <p><code>[INFO] shared ............................................. FAILURE [ 1.679 s]</code></p> <p><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project shared: There are test failures.</code></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/zscole"><img src="https://avatars.githubusercontent.com/u/20308948?v=4" />zscole</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>add <code>-DskipTests</code> flag to <code>mvn install</code>. no tests, no problems.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Mohammed-alzuharey"><img src="https://avatars.githubusercontent.com/u/62842470?v=4" />Mohammed-alzuharey</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>Hi for everyone when i run mvn install . show this error BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:57 min [INFO] Finished at: 2020-07-17T12:28:09+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.8.3:check (check) on project jaxrs-client-unixsocket: Coverage checks have not been met. See log for details. -> [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] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a> [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :jaxrs-client-unixsocket</p> <p>by using root user and non root user show same error ... Can any one help me ?</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>