You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Will Stevens <ws...@cloudops.com> on 2016/12/08 18:33:42 UTC

Master Skip Tests

Hey Guys,
I am not able to build master right now.  I can build it if I specify "",
but if I let the tests run, I get the following error.

Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
2016-12-08 13:29:28,099 INFO  [backoff.impl.ConstantTimeBackoff]
(Thread-0:) Thread Thread-0 interrupted while waiting for retry
2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
(main:) thread started
2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
(Thread-1:) before
2016-12-08 13:29:28,306 DEBUG [backoff.impl.ConstantTimeBackoffTest]
(main:) testing wakeup
2016-12-08 13:29:28,307 INFO  [backoff.impl.ConstantTimeBackoff]
(Thread-1:) Thread Thread-1 interrupted while waiting for retry
2016-12-08 13:29:28,307 DEBUG [backoff.impl.ConstantTimeBackoffTest]
(Thread-1:) after
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524 sec -
in com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
2016-12-08 13:29:28,317 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
(main:) Encryption Type: null
2016-12-08 13:29:28,320 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
(main:) Encryption Type: file
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec -
in com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
Running com.cloud.utils.crypto.RSAHelperTest
2016-12-08 13:29:28,639 INFO  [utils.crypt.RSAHelper] (main:)
[ignored]error during public key encryption: Unsupported format
2016-12-08 13:29:29,196 INFO  [utils.crypt.RSAHelper] (main:)
[ignored]error during public key encryption: JCE cannot authenticate the
provider BC
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.871 sec
<<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
0.561 sec  <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:712)
at org.junit.Assert.assertNotNull(Assert.java:722)
at
com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(RSAHelperTest.java:38)
...
Failed tests:
  RSAHelperTest.testEncryptWithRSA:38 null

Is this a known issue?

Thanks,

*Will STEVENS*
Lead Developer

<https://goo.gl/NYZ8KK>

Re: Master Skip Tests

Posted by Patrick Dube <pa...@gmail.com>.
Same error on 4.9

On Thu, Dec 8, 2016 at 1:33 PM, Will Stevens <ws...@cloudops.com> wrote:

> Hey Guys,
> I am not able to build master right now.  I can build it if I specify "",
> but if I let the tests run, I get the following error.
>
> Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> 2016-12-08 13:29:28,099 INFO  [backoff.impl.ConstantTimeBackoff]
> (Thread-0:) Thread Thread-0 interrupted while waiting for retry
> 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> (main:) thread started
> 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> (Thread-1:) before
> 2016-12-08 13:29:28,306 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> (main:) testing wakeup
> 2016-12-08 13:29:28,307 INFO  [backoff.impl.ConstantTimeBackoff]
> (Thread-1:) Thread Thread-1 interrupted while waiting for retry
> 2016-12-08 13:29:28,307 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> (Thread-1:) after
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524 sec -
> in com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> 2016-12-08 13:29:28,317 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
> (main:) Encryption Type: null
> 2016-12-08 13:29:28,320 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
> (main:) Encryption Type: file
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec -
> in com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> Running com.cloud.utils.crypto.RSAHelperTest
> 2016-12-08 13:29:28,639 INFO  [utils.crypt.RSAHelper] (main:)
> [ignored]error during public key encryption: Unsupported format
> 2016-12-08 13:29:29,196 INFO  [utils.crypt.RSAHelper] (main:)
> [ignored]error during public key encryption: JCE cannot authenticate the
> provider BC
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.871 sec
> <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
> testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
> 0.561 sec  <<< FAILURE!
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertNotNull(Assert.java:712)
> at org.junit.Assert.assertNotNull(Assert.java:722)
> at
> com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
> RSAHelperTest.java:38)
> ...
> Failed tests:
>   RSAHelperTest.testEncryptWithRSA:38 null
>
> Is this a known issue?
>
> Thanks,
>
> *Will STEVENS*
> Lead Developer
>
> <https://goo.gl/NYZ8KK>
>

Re: Master Skip Tests

Posted by Patrick Dube <pa...@gmail.com>.
To be clear, I applied the patch you provided as well.

On Thu, Dec 8, 2016 at 3:29 PM, Patrick Dube <pa...@gmail.com>
wrote:

> Hey Rohit,
>
> I upgraded to mvn 3.3.9 and it worked
>
> On Thu, Dec 8, 2016 at 3:20 PM, Patrick Dube <pa...@gmail.com>
> wrote:
>
>> Hey,
>>
>> I tried adding those lines without success.
>> Still getting:
>>
>> Running com.cloud.utils.crypto.RSAHelperTest
>>
>> 2016-12-08 15:16:13,276 INFO  [utils.crypt.RSAHelper] (main:)
>> [ignored]error during public key encryption: Unsupported format
>>
>> 2016-12-08 15:16:13,618 INFO  [utils.crypt.RSAHelper] (main:)
>> [ignored]error during public key encryption: JCE cannot authenticate the
>> provider BC
>>
>> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.721 sec
>> <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
>>
>> testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
>> 0.34 sec  <<< FAILURE!
>>
>> java.lang.AssertionError: null
>>
>> at org.junit.Assert.fail(Assert.java:86)
>>
>> at org.junit.Assert.assertTrue(Assert.java:41)
>>
>> at org.junit.Assert.assertNotNull(Assert.java:712)
>>
>> at org.junit.Assert.assertNotNull(Assert.java:722)
>>
>> at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(RSAH
>> elperTest.java:45)
>>
>>
>> I checked my mvn version. I am running mvn 3.2.1 and JDK 1.7.0_55. I also
>> tried updating the dependencies (-U)
>>
>> On Thu, Dec 8, 2016 at 2:20 PM, Rohit Yadav <bh...@apache.org> wrote:
>>
>>> Hi Will and Patrick,
>>>
>>> I'm not able to reproduce the issue, we've recently upgraded the
>>> bountycastle dependency to v1.55 on both 4.9 and master branch.
>>> Travis too appears to pass and along with that Trillian/blueorangutan
>>> based
>>> packaging: https://travis-ci.org/apache/cloudstack/builds/182254749
>>>
>>> Can you check if you're using JDK 1.7? Is your JDK/dependencies able to
>>> provide for BC. In the failing test, can you try and see if with
>>> following
>>> changes your unit test pass:
>>>
>>> --- a/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
>>> +++ b/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
>>> @@ -22,11 +22,18 @@ package com.cloud.utils.crypto;
>>>  import static org.junit.Assert.assertNotNull;
>>>  import static org.junit.Assert.assertNull;
>>>
>>> +import org.bouncycastle.jce.provider.BouncyCastleProvider;
>>>  import org.junit.Test;
>>>
>>>  import com.cloud.utils.crypt.RSAHelper;
>>> +import java.security.Security;
>>>
>>>  public class RSAHelperTest {
>>> +
>>> +    public RSAHelperTest() {
>>> +        Security.addProvider(new BouncyCastleProvider());
>>> +    }
>>> +
>>>
>>> For reference, here is my Maven/JDK/env details:
>>>
>>> $ mvn -version
>>> Apache Maven 3.3.9
>>> Maven home: /usr/share/maven
>>> Java version: 1.7.0_80, vendor: Oracle Corporation
>>> Java home: /usr/lib/jvm/java-7-oracle/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "4.4.0-45-generic", arch: "amd64", family:
>>> "unix"
>>>
>>> Regards.
>>>
>>> On Fri, Dec 9, 2016 at 12:03 AM, Will Stevens <ws...@cloudops.com>
>>> wrote:
>>>
>>> > Hey Guys,
>>> > I am not able to build master right now.  I can build it if I specify
>>> "",
>>> > but if I let the tests run, I get the following error.
>>> >
>>> > Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
>>> > 2016-12-08 13:29:28,099 INFO  [backoff.impl.ConstantTimeBackoff]
>>> > (Thread-0:) Thread Thread-0 interrupted while waiting for retry
>>> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
>>> > (main:) thread started
>>> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
>>> > (Thread-1:) before
>>> > 2016-12-08 13:29:28,306 DEBUG [backoff.impl.ConstantTimeBackoffTest]
>>> > (main:) testing wakeup
>>> > 2016-12-08 13:29:28,307 INFO  [backoff.impl.ConstantTimeBackoff]
>>> > (Thread-1:) Thread Thread-1 interrupted while waiting for retry
>>> > 2016-12-08 13:29:28,307 DEBUG [backoff.impl.ConstantTimeBackoffTest]
>>> > (Thread-1:) after
>>> > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524
>>> sec
>>> > - in com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
>>> > Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
>>> > 2016-12-08 13:29:28,317 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
>>> > (main:) Encryption Type: null
>>> > 2016-12-08 13:29:28,320 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
>>> > (main:) Encryption Type: file
>>> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
>>> sec
>>> > - in com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
>>> > Running com.cloud.utils.crypto.RSAHelperTest
>>> > 2016-12-08 13:29:28,639 INFO  [utils.crypt.RSAHelper] (main:)
>>> > [ignored]error during public key encryption: Unsupported format
>>> > 2016-12-08 13:29:29,196 INFO  [utils.crypt.RSAHelper] (main:)
>>> > [ignored]error during public key encryption: JCE cannot authenticate
>>> the
>>> > provider BC
>>> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.871
>>> sec
>>> > <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
>>> > testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time
>>> elapsed:
>>> > 0.561 sec  <<< FAILURE!
>>> > java.lang.AssertionError: null
>>> > at org.junit.Assert.fail(Assert.java:86)
>>> > at org.junit.Assert.assertTrue(Assert.java:41)
>>> > at org.junit.Assert.assertNotNull(Assert.java:712)
>>> > at org.junit.Assert.assertNotNull(Assert.java:722)
>>> > at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
>>> > RSAHelperTest.java:38)
>>> > ...
>>> > Failed tests:
>>> >   RSAHelperTest.testEncryptWithRSA:38 null
>>> >
>>> > Is this a known issue?
>>> >
>>> > Thanks,
>>> >
>>> > *Will STEVENS*
>>> > Lead Developer
>>> >
>>> > <https://goo.gl/NYZ8KK>
>>> >
>>> >
>>>
>>
>>
>

Re: Master Skip Tests

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Will and Patrick,


Thanks for sharing, I think upgrading bountycastle was a much needed security effort. I think applying the patch that I shared on 4.9/master should not be required now so I'll skip that, unless you tell me otherwise.


At some point, we can update the wiki about the build tool versions. Ideally, you would want to use the latest JDK/JRE 1.7.x release as generally the minor releases have security fixes etc.


Generally, Travis is a good place to find tool versions, build scripts/commands etc, we currently have it configured to use a Ubuntu 14.04 based boxes. The before_script output starts by printing env details, for example: https://travis-ci.org/apache/cloudstack/jobs/182371318


Regards.

________________________________
From: williamstevens@gmail.com <wi...@gmail.com> on behalf of Will Stevens <ws...@cloudops.com>
Sent: 09 December 2016 03:37:26
To: dev@cloudstack.apache.org
Subject: Re: Master Skip Tests

Here are the versions I was running:

$ mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
11:22:22-0400)
Maven home: /path/to/my/apache-maven-3.1.1
Java version: 1.7.0_40, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_
40.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"

I have upgraded to:
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T11:41:47-05:00)

I ran:
mvn clean install -U

But I still have the issue.

I apply the patch, but still get the same error (just a different line
number).

I upgrade Java from 1.7.0_40 to 1.7.0_80, now I have it working.

We will want to make sure we specify minimum requirements at some point for
this, but glad to see it is just a requirements thing.  :)

Is the patch for the test going to be added to master at some point?

Keep up the good work. +1

Cheers,

*Will STEVENS*
Lead Developer

<https://goo.gl/NYZ8KK>

On Thu, Dec 8, 2016 at 3:29 PM, Patrick Dube <pa...@gmail.com>
wrote:

> Hey Rohit,
>
> I upgraded to mvn 3.3.9 and it worked
>
> On Thu, Dec 8, 2016 at 3:20 PM, Patrick Dube <pa...@gmail.com>
> wrote:
>
> > Hey,
> >
> > I tried adding those lines without success.
> > Still getting:
> >
> > Running com.cloud.utils.crypto.RSAHelperTest
> >
> > 2016-12-08 15:16:13,276 INFO  [utils.crypt.RSAHelper] (main:)
> > [ignored]error during public key encryption: Unsupported format
> >
> > 2016-12-08 15:16:13,618 INFO  [utils.crypt.RSAHelper] (main:)
> > [ignored]error during public key encryption: JCE cannot authenticate the
> > provider BC
> >
> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.721 sec
> > <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
> >
> > testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
> > 0.34 sec  <<< FAILURE!
> >
> > java.lang.AssertionError: null
> >
> > at org.junit.Assert.fail(Assert.java:86)
> >
> > at org.junit.Assert.assertTrue(Assert.java:41)
> >
> > at org.junit.Assert.assertNotNull(Assert.java:712)
> >
> > at org.junit.Assert.assertNotNull(Assert.java:722)
> >
> > at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
> > RSAHelperTest.java:45)
> >
> >
> > I checked my mvn version. I am running mvn 3.2.1 and JDK 1.7.0_55. I also
> > tried updating the dependencies (-U)
> >
> > On Thu, Dec 8, 2016 at 2:20 PM, Rohit Yadav <bh...@apache.org> wrote:
> >
> >> Hi Will and Patrick,
> >>
> >> I'm not able to reproduce the issue, we've recently upgraded the
> >> bountycastle dependency to v1.55 on both 4.9 and master branch.
> >> Travis too appears to pass and along with that Trillian/blueorangutan
> >> based
> >> packaging: https://travis-ci.org/apache/cloudstack/builds/182254749
> >>
> >> Can you check if you're using JDK 1.7? Is your JDK/dependencies able to
> >> provide for BC. In the failing test, can you try and see if with
> following
> >> changes your unit test pass:
> >>
> >> --- a/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
> >> +++ b/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
> >> @@ -22,11 +22,18 @@ package com.cloud.utils.crypto;
> >>  import static org.junit.Assert.assertNotNull;
> >>  import static org.junit.Assert.assertNull;
> >>
> >> +import org.bouncycastle.jce.provider.BouncyCastleProvider;
> >>  import org.junit.Test;
> >>
> >>  import com.cloud.utils.crypt.RSAHelper;
> >> +import java.security.Security;
> >>
> >>  public class RSAHelperTest {
> >> +
> >> +    public RSAHelperTest() {
> >> +        Security.addProvider(new BouncyCastleProvider());
> >> +    }
> >> +
> >>
> >> For reference, here is my Maven/JDK/env details:
> >>
> >> $ mvn -version
> >> Apache Maven 3.3.9
> >> Maven home: /usr/share/maven
> >> Java version: 1.7.0_80, vendor: Oracle Corporation
> >> Java home: /usr/lib/jvm/java-7-oracle/jre
> >> Default locale: en_US, platform encoding: UTF-8
> >> OS name: "linux", version: "4.4.0-45-generic", arch: "amd64", family:
> >> "unix"
> >>
> >> Regards.
> >>
> >> On Fri, Dec 9, 2016 at 12:03 AM, Will Stevens <ws...@cloudops.com>
> >> wrote:
> >>
> >> > Hey Guys,
> >> > I am not able to build master right now.  I can build it if I specify
> >> "",
> >> > but if I let the tests run, I get the following error.
> >> >
> >> > Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> >> > 2016-12-08 13:29:28,099 INFO  [backoff.impl.ConstantTimeBackoff]
> >> > (Thread-0:) Thread Thread-0 interrupted while waiting for retry
> >> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> >> > (main:) thread started
> >> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> >> > (Thread-1:) before
> >> > 2016-12-08 13:29:28,306 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> >> > (main:) testing wakeup
> >> > 2016-12-08 13:29:28,307 INFO  [backoff.impl.ConstantTimeBackoff]
> >> > (Thread-1:) Thread Thread-1 interrupted while waiting for retry
> >> > 2016-12-08 13:29:28,307 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> >> > (Thread-1:) after
> >> > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524
> >> sec
> >> > - in com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> >> > Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> >> > 2016-12-08 13:29:28,317 DEBUG [utils.crypt.EncryptionSecretK
> eyChecker]
> >> > (main:) Encryption Type: null
> >> > 2016-12-08 13:29:28,320 DEBUG [utils.crypt.EncryptionSecretK
> eyChecker]
> >> > (main:) Encryption Type: file
> >> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
> >> sec
> >> > - in com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> >> > Running com.cloud.utils.crypto.RSAHelperTest
> >> > 2016-12-08 13:29:28,639 INFO  [utils.crypt.RSAHelper] (main:)
> >> > [ignored]error during public key encryption: Unsupported format
> >> > 2016-12-08 13:29:29,196 INFO  [utils.crypt.RSAHelper] (main:)
> >> > [ignored]error during public key encryption: JCE cannot authenticate
> the
> >> > provider BC
> >> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.871
> >> sec
> >> > <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
> >> > testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time
> elapsed:
> >> > 0.561 sec  <<< FAILURE!
> >> > java.lang.AssertionError: null
> >> > at org.junit.Assert.fail(Assert.java:86)
> >> > at org.junit.Assert.assertTrue(Assert.java:41)
> >> > at org.junit.Assert.assertNotNull(Assert.java:712)
> >> > at org.junit.Assert.assertNotNull(Assert.java:722)
> >> > at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
> >> > RSAHelperTest.java:38)
> >> > ...
> >> > Failed tests:
> >> >   RSAHelperTest.testEncryptWithRSA:38 null
> >> >
> >> > Is this a known issue?
> >> >
> >> > Thanks,
> >> >
> >> > *Will STEVENS*
> >> > Lead Developer
> >> >
> >> > <https://goo.gl/NYZ8KK>
> >> >
> >> >
> >>
> >
> >
>

rohit.yadav@shapeblue.comĀ 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


Re: Master Skip Tests

Posted by Will Stevens <ws...@cloudops.com>.
Here are the versions I was running:

$ mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
11:22:22-0400)
Maven home: /path/to/my/apache-maven-3.1.1
Java version: 1.7.0_40, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_
40.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"

I have upgraded to:
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T11:41:47-05:00)

I ran:
mvn clean install -U

But I still have the issue.

I apply the patch, but still get the same error (just a different line
number).

I upgrade Java from 1.7.0_40 to 1.7.0_80, now I have it working.

We will want to make sure we specify minimum requirements at some point for
this, but glad to see it is just a requirements thing.  :)

Is the patch for the test going to be added to master at some point?

Keep up the good work. +1

Cheers,

*Will STEVENS*
Lead Developer

<https://goo.gl/NYZ8KK>

On Thu, Dec 8, 2016 at 3:29 PM, Patrick Dube <pa...@gmail.com>
wrote:

> Hey Rohit,
>
> I upgraded to mvn 3.3.9 and it worked
>
> On Thu, Dec 8, 2016 at 3:20 PM, Patrick Dube <pa...@gmail.com>
> wrote:
>
> > Hey,
> >
> > I tried adding those lines without success.
> > Still getting:
> >
> > Running com.cloud.utils.crypto.RSAHelperTest
> >
> > 2016-12-08 15:16:13,276 INFO  [utils.crypt.RSAHelper] (main:)
> > [ignored]error during public key encryption: Unsupported format
> >
> > 2016-12-08 15:16:13,618 INFO  [utils.crypt.RSAHelper] (main:)
> > [ignored]error during public key encryption: JCE cannot authenticate the
> > provider BC
> >
> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.721 sec
> > <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
> >
> > testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
> > 0.34 sec  <<< FAILURE!
> >
> > java.lang.AssertionError: null
> >
> > at org.junit.Assert.fail(Assert.java:86)
> >
> > at org.junit.Assert.assertTrue(Assert.java:41)
> >
> > at org.junit.Assert.assertNotNull(Assert.java:712)
> >
> > at org.junit.Assert.assertNotNull(Assert.java:722)
> >
> > at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
> > RSAHelperTest.java:45)
> >
> >
> > I checked my mvn version. I am running mvn 3.2.1 and JDK 1.7.0_55. I also
> > tried updating the dependencies (-U)
> >
> > On Thu, Dec 8, 2016 at 2:20 PM, Rohit Yadav <bh...@apache.org> wrote:
> >
> >> Hi Will and Patrick,
> >>
> >> I'm not able to reproduce the issue, we've recently upgraded the
> >> bountycastle dependency to v1.55 on both 4.9 and master branch.
> >> Travis too appears to pass and along with that Trillian/blueorangutan
> >> based
> >> packaging: https://travis-ci.org/apache/cloudstack/builds/182254749
> >>
> >> Can you check if you're using JDK 1.7? Is your JDK/dependencies able to
> >> provide for BC. In the failing test, can you try and see if with
> following
> >> changes your unit test pass:
> >>
> >> --- a/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
> >> +++ b/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
> >> @@ -22,11 +22,18 @@ package com.cloud.utils.crypto;
> >>  import static org.junit.Assert.assertNotNull;
> >>  import static org.junit.Assert.assertNull;
> >>
> >> +import org.bouncycastle.jce.provider.BouncyCastleProvider;
> >>  import org.junit.Test;
> >>
> >>  import com.cloud.utils.crypt.RSAHelper;
> >> +import java.security.Security;
> >>
> >>  public class RSAHelperTest {
> >> +
> >> +    public RSAHelperTest() {
> >> +        Security.addProvider(new BouncyCastleProvider());
> >> +    }
> >> +
> >>
> >> For reference, here is my Maven/JDK/env details:
> >>
> >> $ mvn -version
> >> Apache Maven 3.3.9
> >> Maven home: /usr/share/maven
> >> Java version: 1.7.0_80, vendor: Oracle Corporation
> >> Java home: /usr/lib/jvm/java-7-oracle/jre
> >> Default locale: en_US, platform encoding: UTF-8
> >> OS name: "linux", version: "4.4.0-45-generic", arch: "amd64", family:
> >> "unix"
> >>
> >> Regards.
> >>
> >> On Fri, Dec 9, 2016 at 12:03 AM, Will Stevens <ws...@cloudops.com>
> >> wrote:
> >>
> >> > Hey Guys,
> >> > I am not able to build master right now.  I can build it if I specify
> >> "",
> >> > but if I let the tests run, I get the following error.
> >> >
> >> > Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> >> > 2016-12-08 13:29:28,099 INFO  [backoff.impl.ConstantTimeBackoff]
> >> > (Thread-0:) Thread Thread-0 interrupted while waiting for retry
> >> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> >> > (main:) thread started
> >> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> >> > (Thread-1:) before
> >> > 2016-12-08 13:29:28,306 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> >> > (main:) testing wakeup
> >> > 2016-12-08 13:29:28,307 INFO  [backoff.impl.ConstantTimeBackoff]
> >> > (Thread-1:) Thread Thread-1 interrupted while waiting for retry
> >> > 2016-12-08 13:29:28,307 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> >> > (Thread-1:) after
> >> > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524
> >> sec
> >> > - in com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> >> > Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> >> > 2016-12-08 13:29:28,317 DEBUG [utils.crypt.EncryptionSecretK
> eyChecker]
> >> > (main:) Encryption Type: null
> >> > 2016-12-08 13:29:28,320 DEBUG [utils.crypt.EncryptionSecretK
> eyChecker]
> >> > (main:) Encryption Type: file
> >> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
> >> sec
> >> > - in com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> >> > Running com.cloud.utils.crypto.RSAHelperTest
> >> > 2016-12-08 13:29:28,639 INFO  [utils.crypt.RSAHelper] (main:)
> >> > [ignored]error during public key encryption: Unsupported format
> >> > 2016-12-08 13:29:29,196 INFO  [utils.crypt.RSAHelper] (main:)
> >> > [ignored]error during public key encryption: JCE cannot authenticate
> the
> >> > provider BC
> >> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.871
> >> sec
> >> > <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
> >> > testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time
> elapsed:
> >> > 0.561 sec  <<< FAILURE!
> >> > java.lang.AssertionError: null
> >> > at org.junit.Assert.fail(Assert.java:86)
> >> > at org.junit.Assert.assertTrue(Assert.java:41)
> >> > at org.junit.Assert.assertNotNull(Assert.java:712)
> >> > at org.junit.Assert.assertNotNull(Assert.java:722)
> >> > at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
> >> > RSAHelperTest.java:38)
> >> > ...
> >> > Failed tests:
> >> >   RSAHelperTest.testEncryptWithRSA:38 null
> >> >
> >> > Is this a known issue?
> >> >
> >> > Thanks,
> >> >
> >> > *Will STEVENS*
> >> > Lead Developer
> >> >
> >> > <https://goo.gl/NYZ8KK>
> >> >
> >> >
> >>
> >
> >
>

Re: Master Skip Tests

Posted by Patrick Dube <pa...@gmail.com>.
Hey Rohit,

I upgraded to mvn 3.3.9 and it worked

On Thu, Dec 8, 2016 at 3:20 PM, Patrick Dube <pa...@gmail.com>
wrote:

> Hey,
>
> I tried adding those lines without success.
> Still getting:
>
> Running com.cloud.utils.crypto.RSAHelperTest
>
> 2016-12-08 15:16:13,276 INFO  [utils.crypt.RSAHelper] (main:)
> [ignored]error during public key encryption: Unsupported format
>
> 2016-12-08 15:16:13,618 INFO  [utils.crypt.RSAHelper] (main:)
> [ignored]error during public key encryption: JCE cannot authenticate the
> provider BC
>
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.721 sec
> <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
>
> testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
> 0.34 sec  <<< FAILURE!
>
> java.lang.AssertionError: null
>
> at org.junit.Assert.fail(Assert.java:86)
>
> at org.junit.Assert.assertTrue(Assert.java:41)
>
> at org.junit.Assert.assertNotNull(Assert.java:712)
>
> at org.junit.Assert.assertNotNull(Assert.java:722)
>
> at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
> RSAHelperTest.java:45)
>
>
> I checked my mvn version. I am running mvn 3.2.1 and JDK 1.7.0_55. I also
> tried updating the dependencies (-U)
>
> On Thu, Dec 8, 2016 at 2:20 PM, Rohit Yadav <bh...@apache.org> wrote:
>
>> Hi Will and Patrick,
>>
>> I'm not able to reproduce the issue, we've recently upgraded the
>> bountycastle dependency to v1.55 on both 4.9 and master branch.
>> Travis too appears to pass and along with that Trillian/blueorangutan
>> based
>> packaging: https://travis-ci.org/apache/cloudstack/builds/182254749
>>
>> Can you check if you're using JDK 1.7? Is your JDK/dependencies able to
>> provide for BC. In the failing test, can you try and see if with following
>> changes your unit test pass:
>>
>> --- a/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
>> +++ b/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
>> @@ -22,11 +22,18 @@ package com.cloud.utils.crypto;
>>  import static org.junit.Assert.assertNotNull;
>>  import static org.junit.Assert.assertNull;
>>
>> +import org.bouncycastle.jce.provider.BouncyCastleProvider;
>>  import org.junit.Test;
>>
>>  import com.cloud.utils.crypt.RSAHelper;
>> +import java.security.Security;
>>
>>  public class RSAHelperTest {
>> +
>> +    public RSAHelperTest() {
>> +        Security.addProvider(new BouncyCastleProvider());
>> +    }
>> +
>>
>> For reference, here is my Maven/JDK/env details:
>>
>> $ mvn -version
>> Apache Maven 3.3.9
>> Maven home: /usr/share/maven
>> Java version: 1.7.0_80, vendor: Oracle Corporation
>> Java home: /usr/lib/jvm/java-7-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "4.4.0-45-generic", arch: "amd64", family:
>> "unix"
>>
>> Regards.
>>
>> On Fri, Dec 9, 2016 at 12:03 AM, Will Stevens <ws...@cloudops.com>
>> wrote:
>>
>> > Hey Guys,
>> > I am not able to build master right now.  I can build it if I specify
>> "",
>> > but if I let the tests run, I get the following error.
>> >
>> > Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
>> > 2016-12-08 13:29:28,099 INFO  [backoff.impl.ConstantTimeBackoff]
>> > (Thread-0:) Thread Thread-0 interrupted while waiting for retry
>> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
>> > (main:) thread started
>> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
>> > (Thread-1:) before
>> > 2016-12-08 13:29:28,306 DEBUG [backoff.impl.ConstantTimeBackoffTest]
>> > (main:) testing wakeup
>> > 2016-12-08 13:29:28,307 INFO  [backoff.impl.ConstantTimeBackoff]
>> > (Thread-1:) Thread Thread-1 interrupted while waiting for retry
>> > 2016-12-08 13:29:28,307 DEBUG [backoff.impl.ConstantTimeBackoffTest]
>> > (Thread-1:) after
>> > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524
>> sec
>> > - in com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
>> > Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
>> > 2016-12-08 13:29:28,317 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
>> > (main:) Encryption Type: null
>> > 2016-12-08 13:29:28,320 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
>> > (main:) Encryption Type: file
>> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
>> sec
>> > - in com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
>> > Running com.cloud.utils.crypto.RSAHelperTest
>> > 2016-12-08 13:29:28,639 INFO  [utils.crypt.RSAHelper] (main:)
>> > [ignored]error during public key encryption: Unsupported format
>> > 2016-12-08 13:29:29,196 INFO  [utils.crypt.RSAHelper] (main:)
>> > [ignored]error during public key encryption: JCE cannot authenticate the
>> > provider BC
>> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.871
>> sec
>> > <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
>> > testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
>> > 0.561 sec  <<< FAILURE!
>> > java.lang.AssertionError: null
>> > at org.junit.Assert.fail(Assert.java:86)
>> > at org.junit.Assert.assertTrue(Assert.java:41)
>> > at org.junit.Assert.assertNotNull(Assert.java:712)
>> > at org.junit.Assert.assertNotNull(Assert.java:722)
>> > at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
>> > RSAHelperTest.java:38)
>> > ...
>> > Failed tests:
>> >   RSAHelperTest.testEncryptWithRSA:38 null
>> >
>> > Is this a known issue?
>> >
>> > Thanks,
>> >
>> > *Will STEVENS*
>> > Lead Developer
>> >
>> > <https://goo.gl/NYZ8KK>
>> >
>> >
>>
>
>

Re: Master Skip Tests

Posted by Patrick Dube <pa...@gmail.com>.
Hey,

I tried adding those lines without success.
Still getting:

Running com.cloud.utils.crypto.RSAHelperTest

2016-12-08 15:16:13,276 INFO  [utils.crypt.RSAHelper] (main:)
[ignored]error during public key encryption: Unsupported format

2016-12-08 15:16:13,618 INFO  [utils.crypt.RSAHelper] (main:)
[ignored]error during public key encryption: JCE cannot authenticate the
provider BC

Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.721 sec
<<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest

testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
0.34 sec  <<< FAILURE!

java.lang.AssertionError: null

at org.junit.Assert.fail(Assert.java:86)

at org.junit.Assert.assertTrue(Assert.java:41)

at org.junit.Assert.assertNotNull(Assert.java:712)

at org.junit.Assert.assertNotNull(Assert.java:722)

at
com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(RSAHelperTest.java:45)


I checked my mvn version. I am running mvn 3.2.1 and JDK 1.7.0_55. I also
tried updating the dependencies (-U)

On Thu, Dec 8, 2016 at 2:20 PM, Rohit Yadav <bh...@apache.org> wrote:

> Hi Will and Patrick,
>
> I'm not able to reproduce the issue, we've recently upgraded the
> bountycastle dependency to v1.55 on both 4.9 and master branch.
> Travis too appears to pass and along with that Trillian/blueorangutan based
> packaging: https://travis-ci.org/apache/cloudstack/builds/182254749
>
> Can you check if you're using JDK 1.7? Is your JDK/dependencies able to
> provide for BC. In the failing test, can you try and see if with following
> changes your unit test pass:
>
> --- a/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
> +++ b/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
> @@ -22,11 +22,18 @@ package com.cloud.utils.crypto;
>  import static org.junit.Assert.assertNotNull;
>  import static org.junit.Assert.assertNull;
>
> +import org.bouncycastle.jce.provider.BouncyCastleProvider;
>  import org.junit.Test;
>
>  import com.cloud.utils.crypt.RSAHelper;
> +import java.security.Security;
>
>  public class RSAHelperTest {
> +
> +    public RSAHelperTest() {
> +        Security.addProvider(new BouncyCastleProvider());
> +    }
> +
>
> For reference, here is my Maven/JDK/env details:
>
> $ mvn -version
> Apache Maven 3.3.9
> Maven home: /usr/share/maven
> Java version: 1.7.0_80, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.4.0-45-generic", arch: "amd64", family:
> "unix"
>
> Regards.
>
> On Fri, Dec 9, 2016 at 12:03 AM, Will Stevens <ws...@cloudops.com>
> wrote:
>
> > Hey Guys,
> > I am not able to build master right now.  I can build it if I specify "",
> > but if I let the tests run, I get the following error.
> >
> > Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> > 2016-12-08 13:29:28,099 INFO  [backoff.impl.ConstantTimeBackoff]
> > (Thread-0:) Thread Thread-0 interrupted while waiting for retry
> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> > (main:) thread started
> > 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> > (Thread-1:) before
> > 2016-12-08 13:29:28,306 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> > (main:) testing wakeup
> > 2016-12-08 13:29:28,307 INFO  [backoff.impl.ConstantTimeBackoff]
> > (Thread-1:) Thread Thread-1 interrupted while waiting for retry
> > 2016-12-08 13:29:28,307 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> > (Thread-1:) after
> > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524 sec
> > - in com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> > Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> > 2016-12-08 13:29:28,317 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
> > (main:) Encryption Type: null
> > 2016-12-08 13:29:28,320 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
> > (main:) Encryption Type: file
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> > - in com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> > Running com.cloud.utils.crypto.RSAHelperTest
> > 2016-12-08 13:29:28,639 INFO  [utils.crypt.RSAHelper] (main:)
> > [ignored]error during public key encryption: Unsupported format
> > 2016-12-08 13:29:29,196 INFO  [utils.crypt.RSAHelper] (main:)
> > [ignored]error during public key encryption: JCE cannot authenticate the
> > provider BC
> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.871 sec
> > <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
> > testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
> > 0.561 sec  <<< FAILURE!
> > java.lang.AssertionError: null
> > at org.junit.Assert.fail(Assert.java:86)
> > at org.junit.Assert.assertTrue(Assert.java:41)
> > at org.junit.Assert.assertNotNull(Assert.java:712)
> > at org.junit.Assert.assertNotNull(Assert.java:722)
> > at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
> > RSAHelperTest.java:38)
> > ...
> > Failed tests:
> >   RSAHelperTest.testEncryptWithRSA:38 null
> >
> > Is this a known issue?
> >
> > Thanks,
> >
> > *Will STEVENS*
> > Lead Developer
> >
> > <https://goo.gl/NYZ8KK>
> >
> >
>

Re: Master Skip Tests

Posted by Rohit Yadav <bh...@apache.org>.
Hi Will and Patrick,

I'm not able to reproduce the issue, we've recently upgraded the
bountycastle dependency to v1.55 on both 4.9 and master branch.
Travis too appears to pass and along with that Trillian/blueorangutan based
packaging: https://travis-ci.org/apache/cloudstack/builds/182254749

Can you check if you're using JDK 1.7? Is your JDK/dependencies able to
provide for BC. In the failing test, can you try and see if with following
changes your unit test pass:

--- a/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
+++ b/utils/src/test/java/com/cloud/utils/crypto/RSAHelperTest.java
@@ -22,11 +22,18 @@ package com.cloud.utils.crypto;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;

+import org.bouncycastle.jce.provider.BouncyCastleProvider;
 import org.junit.Test;

 import com.cloud.utils.crypt.RSAHelper;
+import java.security.Security;

 public class RSAHelperTest {
+
+    public RSAHelperTest() {
+        Security.addProvider(new BouncyCastleProvider());
+    }
+

For reference, here is my Maven/JDK/env details:

$ mvn -version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-45-generic", arch: "amd64", family: "unix"

Regards.

On Fri, Dec 9, 2016 at 12:03 AM, Will Stevens <ws...@cloudops.com> wrote:

> Hey Guys,
> I am not able to build master right now.  I can build it if I specify "",
> but if I let the tests run, I get the following error.
>
> Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> 2016-12-08 13:29:28,099 INFO  [backoff.impl.ConstantTimeBackoff]
> (Thread-0:) Thread Thread-0 interrupted while waiting for retry
> 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> (main:) thread started
> 2016-12-08 13:29:28,202 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> (Thread-1:) before
> 2016-12-08 13:29:28,306 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> (main:) testing wakeup
> 2016-12-08 13:29:28,307 INFO  [backoff.impl.ConstantTimeBackoff]
> (Thread-1:) Thread Thread-1 interrupted while waiting for retry
> 2016-12-08 13:29:28,307 DEBUG [backoff.impl.ConstantTimeBackoffTest]
> (Thread-1:) after
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524 sec
> - in com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> 2016-12-08 13:29:28,317 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
> (main:) Encryption Type: null
> 2016-12-08 13:29:28,320 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
> (main:) Encryption Type: file
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> - in com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
> Running com.cloud.utils.crypto.RSAHelperTest
> 2016-12-08 13:29:28,639 INFO  [utils.crypt.RSAHelper] (main:)
> [ignored]error during public key encryption: Unsupported format
> 2016-12-08 13:29:29,196 INFO  [utils.crypt.RSAHelper] (main:)
> [ignored]error during public key encryption: JCE cannot authenticate the
> provider BC
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.871 sec
> <<< FAILURE! - in com.cloud.utils.crypto.RSAHelperTest
> testEncryptWithRSA(com.cloud.utils.crypto.RSAHelperTest)  Time elapsed:
> 0.561 sec  <<< FAILURE!
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertNotNull(Assert.java:712)
> at org.junit.Assert.assertNotNull(Assert.java:722)
> at com.cloud.utils.crypto.RSAHelperTest.testEncryptWithRSA(
> RSAHelperTest.java:38)
> ...
> Failed tests:
>   RSAHelperTest.testEncryptWithRSA:38 null
>
> Is this a known issue?
>
> Thanks,
>
> *Will STEVENS*
> Lead Developer
>
> <https://goo.gl/NYZ8KK>
>
>