apache / openwhisk-apigateway

Apache OpenWhisk API Gateway service for exposing actions as REST interfaces.
https://openwhisk.apache.org/
Apache License 2.0
64 stars 45 forks source link

current apigateway on master breaks openwhisk tests #216

Closed csantanapr closed 7 years ago

csantanapr commented 7 years ago

The current state of master not passing all openwhisk tests integrations

I enabled all integrations tests on Travis in the following PR #215

Is passing 50 and failing 3

Take a look at the build here: https://travis-ci.org/apache/incubator-openwhisk-apigateway/builds/236531180?utm_source=github_status&utm_medium=notification

And the logs here: https://s3.amazonaws.com/archive.travis-ci.org/jobs/236531181/log.txt?X-Amz-Expires=30&X-Amz-Date=20170527T001009Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20170527/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=7d038d7ed023e2186dd4936351d146381140cd50d7ce97a758896263ec1a61a6

should verify successful creation with complex swagger doc as input FAILED
    org.scalatest.exceptions.TestFailedException: /home/travis/build/apache/openwhisk/ansible/../bin/wsk -i --apihost 172.17.0.1 --apiversion v1 api-experimental list --auth 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP /test1/v1
    error: Unable to obtain the API list: Too many requests in a given amount of time for namespace. (code 153)

@mdeuser you think this might be due to rate limit of 60 action invocations per minute ?

csantanapr commented 7 years ago

I added the following tests

--tests whisk.core.apigw.* --tests whisk.core.cli.test.ApiGwTests

making the full test run the following

TERM=dumb ./gradlew tests:test --tests apigw.healthtests.* --tests whisk.core.apigw.* --tests whisk.core.cli.test.ApiGwTests \
-x :core:swift3Action:distDocker            \
-x :core:pythonAction:distDocker            \
-x :core:javaAction:distDocker              \
-x :core:nodejsAction:distDocker            \
-x :core:actionProxy:distDocker             \
-x :sdk:docker:distDocker                   \
-x :core:python2Action:copyFiles            \
-x :core:python2Action:distDocker           \
-x :tests:dat:blackbox:badaction:distDocker \
-x :tests:dat:blackbox:badproxy:distDocker
mhamann commented 7 years ago

Master branch is passing all Travis tests now. Anything I'm missing? Or can we close this...?

mdeuser commented 7 years ago

OpenWhisk API GW tests now match the tests run during the OpenWhisk builds