Andrew, thanks for sharing how you run integration tests.

In what availability zones do the integration tests work? I'm running it from us-west-1

(I will add the answers to the wiki.)

When I run the integration tests (it also runs the unit tests each time) from us-west-1, I get the errors (literal values sanitized):

testNoRemoteExecutionOverlap(org.apache.whirr.actions.integration.PhaseExecutionBarrierTest): POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 -> HTTP/1.1 401 Unauthorized testFirewallAuthorizationIsIdempotent(org.apache.whirr.service.jclouds.integration.FirewallManagerTest): POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 -> HTTP/1.1 401 Unauthorized testUploadSmallFileToBlobCache(org.apache.whirr.util.integration.BlobCacheTest): request PUT https://7dafunky.s3.amazonaws.com/ HTTP/1.1 failed with code 400, error: AWSError{requestId='FFFFFFFF', requestToken='59/blahblahblahblahblahblah', code='InvalidArgument', message='AWS authorization header is invalid. Expected AwsAccessKeyId:signature', context='{ArgumentValue=AWS ${sys:whirr.test.identity}:Kblahblahblahblahblah=, ArgumentName=Authorization, HostId=59/blahblahblahblahblahblah}'}


Paul

On 20130320 9:06 , Andrew Bayer wrote:
I just run the integration tests directly - i.e., mvn clean verify
-Pintegration "-DargLine=-Dwhirr.test.provider=whatever
-Dwhirr.test.identity=$IDENTITY -Dwhirr.test.credential=$CREDENTIAL
-Dconfig=/some/config/file.properties" - the last bit for things like
private key, hardware id, etc, other provider-specific stuff I want to keep
in one place when running tests.

A.

On Tue, Mar 19, 2013 at 7:42 PM, Paul Baclace <[email protected]>wrote:

Hmmm, so the answer is RTFS?

Paul


On 20130315 15:08 , Paul Baclace wrote:

I thought I would try out integration testing, and used the command from
the wiki:

  mvn deploy -Ppackage -Pdeploy -Pjavadoc -DaltDeploymentRepository=id::**
default::file:target/deploy

I thought this was for local testing, but this makes assumptions about
gpg and signing so it does nothing for me. Perhaps the wiki needs to
clarify that.

Instead, I will use:

  mvn  install package assembly:assembly

to build and then scp target/whirr-*-SNAPSHOT.tar.gz to my test env,
expand it, and I will try the integration tests.

Q: When running integration tests, what can I expect for machine usage
and duration?

Paul




Reply via email to