You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2012/09/24 09:33:04 UTC

AWS OSGi tests fails with invalid key

Hi

Just ran the osgi tests on trunk. The AWS related tests fails with error like:

-------------------------------------------------------------------------------
Test set: org.apache.camel.itest.osgi.aws.AwsS3Test
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 78.457
sec <<< FAILURE!
sendInOut:org.apache.camel.itest.osgi.aws.AwsS3Test.sendInOut:KarafTestContainer{mvn:org.apache.karaf/apache-karaf/2.2.9/tar.gz}(org.apache.camel.itest.osgi.aws.AwsS3Test)
 Time elapsed: 43.104 sec  <<< ERROR!
Status Code: 403, AWS Service: AmazonSQS, AWS Request ID:
0c1caabf-9245-590d-8d10-e26593f296ff, AWS Error Code:
InvalidClientTokenId, AWS Error Message: The AWS Access Key Id you
provided does not exist in our records.
	at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:556)
	at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:289)
	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:170)
	at com.amazonaws.services.sqs.AmazonSQSClient.invoke(AmazonSQSClient.java:812)
	at com.amazonaws.services.sqs.AmazonSQSClient.listQueues(AmazonSQSClient.java:601)
	at com.amazonaws.services.sqs.AmazonSQSClient.listQueues(AmazonSQSClient.java:769)
	at org.apache.camel.component.aws.sqs.SqsEndpoint.doStart(SqsEndpoint.java:81)


-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: AWS OSGi tests fails with invalid key

Posted by Christian Müller <ch...@gmail.com>.
Fixed:
Committing to https://svn.apache.org/repos/asf/camel/trunk ...
    M
tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/aws/AmazonSQSClientMock.java
Committed r1389632

Best,
Christian

On Mon, Sep 24, 2012 at 1:44 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> OK, Thanks Christian,
>
> keep me posted if you need any help.
>
> Regards
> JB
>
>
> On 09/24/2012 01:19 PM, Christian Müller wrote:
>
>> I will fix this later today. I think I know the reason (not related to the
>> aws bundle).
>>
>> Sent from a mobile device
>> Am 24.09.2012 09:49 schrieb "Jean-Baptiste Onofré" <jb...@nanthrax.net>:
>>
>>  Yeah, it sounds like this.
>>>
>>> Regards
>>> JB
>>>
>>> On 09/24/2012 09:46 AM, Claus Ibsen wrote:
>>>
>>>  On Mon, Sep 24, 2012 at 9:36 AM, Jean-Baptiste Onofré <jb...@nanthrax.net>
>>>> wrote:
>>>>
>>>>  Hi Claus,
>>>>>
>>>>> does it result to an update (for instance update of the ServiceMix AWS
>>>>> bundle) ?
>>>>>
>>>>>
>>>>>  I don't know as the osgi tests dont run on CI servers as they tend to
>>>> cause problems there.
>>>> So we run them manually. And I haven't run it in a while.
>>>>
>>>> My suspecting would be that the test account used is expired or
>>>> something.
>>>>
>>>>
>>>>
>>>>
>>>>   Regards
>>>>
>>>>> JB
>>>>>
>>>>>
>>>>> On 09/24/2012 09:33 AM, Claus Ibsen wrote:
>>>>>
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> Just ran the osgi tests on trunk. The AWS related tests fails with
>>>>>> error
>>>>>> like:
>>>>>>
>>>>>>
>>>>>> ------------------------------****----------------------------**--**
>>>>>> -------------------
>>>>>> Test set: org.apache.camel.itest.osgi.****aws.AwsS3Test
>>>>>>
>>>>>> ------------------------------****----------------------------**--**
>>>>>>
>>>>>> -------------------
>>>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 78.457
>>>>>> sec <<< FAILURE!
>>>>>>
>>>>>> sendInOut:org.apache.camel.****itest.osgi.aws.AwsS3Test.**
>>>>>> sendInOut:KarafTestContainer{****mvn:org.apache.karaf/apache-****
>>>>>> karaf/2.2.9/tar.gz}(org.****apache.camel.itest.osgi.aws.****
>>>>>> AwsS3Test)
>>>>>>
>>>>>>     Time elapsed: 43.104 sec  <<< ERROR!
>>>>>> Status Code: 403, AWS Service: AmazonSQS, AWS Request ID:
>>>>>> 0c1caabf-9245-590d-8d10-****e26593f296ff, AWS Error Code:
>>>>>>
>>>>>> InvalidClientTokenId, AWS Error Message: The AWS Access Key Id you
>>>>>> provided does not exist in our records.
>>>>>>           at
>>>>>> com.amazonaws.http.****AmazonHttpClient.****handleErrorResponse(**
>>>>>> AmazonHttpClient.java:556)
>>>>>>           at
>>>>>> com.amazonaws.http.****AmazonHttpClient.****executeHelper(**
>>>>>> AmazonHttpClient.java:289)
>>>>>>           at
>>>>>> com.amazonaws.http.****AmazonHttpClient.execute(**
>>>>>> AmazonHttpClient.java:170)
>>>>>>           at
>>>>>> com.amazonaws.services.sqs.****AmazonSQSClient.invoke(**
>>>>>> AmazonSQSClient.java:812)
>>>>>>           at
>>>>>> com.amazonaws.services.sqs.****AmazonSQSClient.listQueues(**
>>>>>> AmazonSQSClient.java:601)
>>>>>>           at
>>>>>> com.amazonaws.services.sqs.****AmazonSQSClient.listQueues(**
>>>>>> AmazonSQSClient.java:769)
>>>>>>           at
>>>>>> org.apache.camel.component.****aws.sqs.SqsEndpoint.doStart(**
>>>>>> SqsEndpoint.java:81)
>>>>>>
>>>>>>
>>>>>>
>>>>>>  --
>>>>> Jean-Baptiste Onofré
>>>>> jbonofre@apache.org
>>>>> http://blog.nanthrax.net
>>>>> Talend - http://www.talend.com
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>  --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



--

Re: AWS OSGi tests fails with invalid key

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
OK, Thanks Christian,

keep me posted if you need any help.

Regards
JB

On 09/24/2012 01:19 PM, Christian Müller wrote:
> I will fix this later today. I think I know the reason (not related to the
> aws bundle).
>
> Sent from a mobile device
> Am 24.09.2012 09:49 schrieb "Jean-Baptiste Onofré" <jb...@nanthrax.net>:
>
>> Yeah, it sounds like this.
>>
>> Regards
>> JB
>>
>> On 09/24/2012 09:46 AM, Claus Ibsen wrote:
>>
>>> On Mon, Sep 24, 2012 at 9:36 AM, Jean-Baptiste Onofré <jb...@nanthrax.net>
>>> wrote:
>>>
>>>> Hi Claus,
>>>>
>>>> does it result to an update (for instance update of the ServiceMix AWS
>>>> bundle) ?
>>>>
>>>>
>>> I don't know as the osgi tests dont run on CI servers as they tend to
>>> cause problems there.
>>> So we run them manually. And I haven't run it in a while.
>>>
>>> My suspecting would be that the test account used is expired or something.
>>>
>>>
>>>
>>>
>>>   Regards
>>>> JB
>>>>
>>>>
>>>> On 09/24/2012 09:33 AM, Claus Ibsen wrote:
>>>>
>>>>>
>>>>> Hi
>>>>>
>>>>> Just ran the osgi tests on trunk. The AWS related tests fails with error
>>>>> like:
>>>>>
>>>>>
>>>>> ------------------------------**------------------------------**
>>>>> -------------------
>>>>> Test set: org.apache.camel.itest.osgi.**aws.AwsS3Test
>>>>>
>>>>> ------------------------------**------------------------------**
>>>>> -------------------
>>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 78.457
>>>>> sec <<< FAILURE!
>>>>>
>>>>> sendInOut:org.apache.camel.**itest.osgi.aws.AwsS3Test.**
>>>>> sendInOut:KarafTestContainer{**mvn:org.apache.karaf/apache-**
>>>>> karaf/2.2.9/tar.gz}(org.**apache.camel.itest.osgi.aws.**AwsS3Test)
>>>>>     Time elapsed: 43.104 sec  <<< ERROR!
>>>>> Status Code: 403, AWS Service: AmazonSQS, AWS Request ID:
>>>>> 0c1caabf-9245-590d-8d10-**e26593f296ff, AWS Error Code:
>>>>> InvalidClientTokenId, AWS Error Message: The AWS Access Key Id you
>>>>> provided does not exist in our records.
>>>>>           at
>>>>> com.amazonaws.http.**AmazonHttpClient.**handleErrorResponse(**
>>>>> AmazonHttpClient.java:556)
>>>>>           at
>>>>> com.amazonaws.http.**AmazonHttpClient.**executeHelper(**
>>>>> AmazonHttpClient.java:289)
>>>>>           at
>>>>> com.amazonaws.http.**AmazonHttpClient.execute(**
>>>>> AmazonHttpClient.java:170)
>>>>>           at
>>>>> com.amazonaws.services.sqs.**AmazonSQSClient.invoke(**
>>>>> AmazonSQSClient.java:812)
>>>>>           at
>>>>> com.amazonaws.services.sqs.**AmazonSQSClient.listQueues(**
>>>>> AmazonSQSClient.java:601)
>>>>>           at
>>>>> com.amazonaws.services.sqs.**AmazonSQSClient.listQueues(**
>>>>> AmazonSQSClient.java:769)
>>>>>           at
>>>>> org.apache.camel.component.**aws.sqs.SqsEndpoint.doStart(**
>>>>> SqsEndpoint.java:81)
>>>>>
>>>>>
>>>>>
>>>> --
>>>> Jean-Baptiste Onofré
>>>> jbonofre@apache.org
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>>>
>>>
>>>
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: AWS OSGi tests fails with invalid key

Posted by Christian Müller <ch...@gmail.com>.
I will fix this later today. I think I know the reason (not related to the
aws bundle).

Sent from a mobile device
Am 24.09.2012 09:49 schrieb "Jean-Baptiste Onofré" <jb...@nanthrax.net>:

> Yeah, it sounds like this.
>
> Regards
> JB
>
> On 09/24/2012 09:46 AM, Claus Ibsen wrote:
>
>> On Mon, Sep 24, 2012 at 9:36 AM, Jean-Baptiste Onofré <jb...@nanthrax.net>
>> wrote:
>>
>>> Hi Claus,
>>>
>>> does it result to an update (for instance update of the ServiceMix AWS
>>> bundle) ?
>>>
>>>
>> I don't know as the osgi tests dont run on CI servers as they tend to
>> cause problems there.
>> So we run them manually. And I haven't run it in a while.
>>
>> My suspecting would be that the test account used is expired or something.
>>
>>
>>
>>
>>  Regards
>>> JB
>>>
>>>
>>> On 09/24/2012 09:33 AM, Claus Ibsen wrote:
>>>
>>>>
>>>> Hi
>>>>
>>>> Just ran the osgi tests on trunk. The AWS related tests fails with error
>>>> like:
>>>>
>>>>
>>>> ------------------------------**------------------------------**
>>>> -------------------
>>>> Test set: org.apache.camel.itest.osgi.**aws.AwsS3Test
>>>>
>>>> ------------------------------**------------------------------**
>>>> -------------------
>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 78.457
>>>> sec <<< FAILURE!
>>>>
>>>> sendInOut:org.apache.camel.**itest.osgi.aws.AwsS3Test.**
>>>> sendInOut:KarafTestContainer{**mvn:org.apache.karaf/apache-**
>>>> karaf/2.2.9/tar.gz}(org.**apache.camel.itest.osgi.aws.**AwsS3Test)
>>>>    Time elapsed: 43.104 sec  <<< ERROR!
>>>> Status Code: 403, AWS Service: AmazonSQS, AWS Request ID:
>>>> 0c1caabf-9245-590d-8d10-**e26593f296ff, AWS Error Code:
>>>> InvalidClientTokenId, AWS Error Message: The AWS Access Key Id you
>>>> provided does not exist in our records.
>>>>          at
>>>> com.amazonaws.http.**AmazonHttpClient.**handleErrorResponse(**
>>>> AmazonHttpClient.java:556)
>>>>          at
>>>> com.amazonaws.http.**AmazonHttpClient.**executeHelper(**
>>>> AmazonHttpClient.java:289)
>>>>          at
>>>> com.amazonaws.http.**AmazonHttpClient.execute(**
>>>> AmazonHttpClient.java:170)
>>>>          at
>>>> com.amazonaws.services.sqs.**AmazonSQSClient.invoke(**
>>>> AmazonSQSClient.java:812)
>>>>          at
>>>> com.amazonaws.services.sqs.**AmazonSQSClient.listQueues(**
>>>> AmazonSQSClient.java:601)
>>>>          at
>>>> com.amazonaws.services.sqs.**AmazonSQSClient.listQueues(**
>>>> AmazonSQSClient.java:769)
>>>>          at
>>>> org.apache.camel.component.**aws.sqs.SqsEndpoint.doStart(**
>>>> SqsEndpoint.java:81)
>>>>
>>>>
>>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: AWS OSGi tests fails with invalid key

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Yeah, it sounds like this.

Regards
JB

On 09/24/2012 09:46 AM, Claus Ibsen wrote:
> On Mon, Sep 24, 2012 at 9:36 AM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>> Hi Claus,
>>
>> does it result to an update (for instance update of the ServiceMix AWS
>> bundle) ?
>>
>
> I don't know as the osgi tests dont run on CI servers as they tend to
> cause problems there.
> So we run them manually. And I haven't run it in a while.
>
> My suspecting would be that the test account used is expired or something.
>
>
>
>
>> Regards
>> JB
>>
>>
>> On 09/24/2012 09:33 AM, Claus Ibsen wrote:
>>>
>>> Hi
>>>
>>> Just ran the osgi tests on trunk. The AWS related tests fails with error
>>> like:
>>>
>>>
>>> -------------------------------------------------------------------------------
>>> Test set: org.apache.camel.itest.osgi.aws.AwsS3Test
>>>
>>> -------------------------------------------------------------------------------
>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 78.457
>>> sec <<< FAILURE!
>>>
>>> sendInOut:org.apache.camel.itest.osgi.aws.AwsS3Test.sendInOut:KarafTestContainer{mvn:org.apache.karaf/apache-karaf/2.2.9/tar.gz}(org.apache.camel.itest.osgi.aws.AwsS3Test)
>>>    Time elapsed: 43.104 sec  <<< ERROR!
>>> Status Code: 403, AWS Service: AmazonSQS, AWS Request ID:
>>> 0c1caabf-9245-590d-8d10-e26593f296ff, AWS Error Code:
>>> InvalidClientTokenId, AWS Error Message: The AWS Access Key Id you
>>> provided does not exist in our records.
>>>          at
>>> com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:556)
>>>          at
>>> com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:289)
>>>          at
>>> com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:170)
>>>          at
>>> com.amazonaws.services.sqs.AmazonSQSClient.invoke(AmazonSQSClient.java:812)
>>>          at
>>> com.amazonaws.services.sqs.AmazonSQSClient.listQueues(AmazonSQSClient.java:601)
>>>          at
>>> com.amazonaws.services.sqs.AmazonSQSClient.listQueues(AmazonSQSClient.java:769)
>>>          at
>>> org.apache.camel.component.aws.sqs.SqsEndpoint.doStart(SqsEndpoint.java:81)
>>>
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: AWS OSGi tests fails with invalid key

Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Sep 24, 2012 at 9:36 AM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> Hi Claus,
>
> does it result to an update (for instance update of the ServiceMix AWS
> bundle) ?
>

I don't know as the osgi tests dont run on CI servers as they tend to
cause problems there.
So we run them manually. And I haven't run it in a while.

My suspecting would be that the test account used is expired or something.




> Regards
> JB
>
>
> On 09/24/2012 09:33 AM, Claus Ibsen wrote:
>>
>> Hi
>>
>> Just ran the osgi tests on trunk. The AWS related tests fails with error
>> like:
>>
>>
>> -------------------------------------------------------------------------------
>> Test set: org.apache.camel.itest.osgi.aws.AwsS3Test
>>
>> -------------------------------------------------------------------------------
>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 78.457
>> sec <<< FAILURE!
>>
>> sendInOut:org.apache.camel.itest.osgi.aws.AwsS3Test.sendInOut:KarafTestContainer{mvn:org.apache.karaf/apache-karaf/2.2.9/tar.gz}(org.apache.camel.itest.osgi.aws.AwsS3Test)
>>   Time elapsed: 43.104 sec  <<< ERROR!
>> Status Code: 403, AWS Service: AmazonSQS, AWS Request ID:
>> 0c1caabf-9245-590d-8d10-e26593f296ff, AWS Error Code:
>> InvalidClientTokenId, AWS Error Message: The AWS Access Key Id you
>> provided does not exist in our records.
>>         at
>> com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:556)
>>         at
>> com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:289)
>>         at
>> com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:170)
>>         at
>> com.amazonaws.services.sqs.AmazonSQSClient.invoke(AmazonSQSClient.java:812)
>>         at
>> com.amazonaws.services.sqs.AmazonSQSClient.listQueues(AmazonSQSClient.java:601)
>>         at
>> com.amazonaws.services.sqs.AmazonSQSClient.listQueues(AmazonSQSClient.java:769)
>>         at
>> org.apache.camel.component.aws.sqs.SqsEndpoint.doStart(SqsEndpoint.java:81)
>>
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: AWS OSGi tests fails with invalid key

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Claus,

does it result to an update (for instance update of the ServiceMix AWS 
bundle) ?

Regards
JB

On 09/24/2012 09:33 AM, Claus Ibsen wrote:
> Hi
>
> Just ran the osgi tests on trunk. The AWS related tests fails with error like:
>
> -------------------------------------------------------------------------------
> Test set: org.apache.camel.itest.osgi.aws.AwsS3Test
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 78.457
> sec <<< FAILURE!
> sendInOut:org.apache.camel.itest.osgi.aws.AwsS3Test.sendInOut:KarafTestContainer{mvn:org.apache.karaf/apache-karaf/2.2.9/tar.gz}(org.apache.camel.itest.osgi.aws.AwsS3Test)
>   Time elapsed: 43.104 sec  <<< ERROR!
> Status Code: 403, AWS Service: AmazonSQS, AWS Request ID:
> 0c1caabf-9245-590d-8d10-e26593f296ff, AWS Error Code:
> InvalidClientTokenId, AWS Error Message: The AWS Access Key Id you
> provided does not exist in our records.
> 	at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:556)
> 	at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:289)
> 	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:170)
> 	at com.amazonaws.services.sqs.AmazonSQSClient.invoke(AmazonSQSClient.java:812)
> 	at com.amazonaws.services.sqs.AmazonSQSClient.listQueues(AmazonSQSClient.java:601)
> 	at com.amazonaws.services.sqs.AmazonSQSClient.listQueues(AmazonSQSClient.java:769)
> 	at org.apache.camel.component.aws.sqs.SqsEndpoint.doStart(SqsEndpoint.java:81)
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com