You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/29 03:11:58 UTC

[GitHub] daisy-ycguo opened a new issue #574: Cloudant test case failed in travis CI

daisy-ycguo opened a new issue #574: Cloudant test case failed in travis CI
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/574
 
 
   I guess it might be caused by the credential. Need to look into it.
   
   ```
   === RUN   TestCloudant
   ==> Executing: wskdeploy -m /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/cloudant/manifest.yaml -d  --auth [secure] --namespace [secure] --apihost openwhisk.ng.bluemix.net --apiversion v1
   ==> Error: Error: /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [460]: OpenWhisk Client Error =====> Concurrent modification to resource detected. (code 1195124) Error code: 153.
   Usage:
     wskdeploy [flags]
     wskdeploy [command]
   Available Commands:
     add         Add an action, feed, trigger or rule to the manifest
     help        Help about any command
     init        Init helps you create a manifest file on OpenWhisk
     publish     Publish a package to a registry
     report      Returns summary of what's been deployed on OpenWhisk in specific namespace
     undeploy    Undeploy assets from OpenWhisk
     version     Print the version number of openwhisk-wskdeploy
   Flags:
     -a, --allow-defaults       allow defaults
     -i, --allow-interactive    allow interactive prompts
         --apihost string       whisk API HOST
         --apiversion VERSION   whisk API VERSION
     -u, --auth KEY             authorization KEY
         --config string        config file (default is $HOME/.wskprops)
     -d, --deployment string    path to deployment file
     -h, --help                 help for wskdeploy
     -m, --manifest string      path to manifest file
     -n, --namespace string     namespace
     -p, --project string       path to serverless project (default ".")
     -s, --strict               allow user defined runtime version
     -t, --toggle               Help message for toggle
     -v, --verbose              verbose output
   Use "wskdeploy [command] --help" for more information about a command.
   Error: /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [460]: OpenWhisk Client Error =====> Concurrent modification to resource detected. (code 1195124) Error code: 153.
   .
   ==> Executing: wskdeploy undeploy -m /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/cloudant/manifest.yaml -d  --auth [secure] --namespace [secure] --apihost openwhisk.ng.bluemix.net --apiversion v1
   ==> Error: Error: /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [906]: OpenWhisk Client Error =====> map[error:could not find the trigger in the database] Error code: 246.
   Usage:
     wskdeploy undeploy [flags]
   Flags:
     -d, --deployment string   path to deployment file
     -h, --help                help for undeploy
     -m, --manifest string     path to manifest file
     -p, --pathpath string     path to serverless project (default ".")
     -t, --toggle              Help message for toggle
   Global Flags:
     -a, --allow-defaults       allow defaults
     -i, --allow-interactive    allow interactive prompts
         --apihost string       whisk API HOST
         --apiversion VERSION   whisk API VERSION
     -u, --auth KEY             authorization KEY
         --config string        config file (default is $HOME/.wskprops)
     -n, --namespace string     namespace
     -s, --strict               allow user defined runtime version
     -v, --verbose              verbose output
   Error: /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [906]: OpenWhisk Client Error =====> map[error:could not find the trigger in the database] Error code: 246.
   .
   --- FAIL: TestCloudant (0.81s)
   	Error Trace:	cloudant_test.go:40
   	Error:      	Not equal: 
   	            	expected: <nil>(<nil>)
   	            	actual: *utils.TestCaseError(&utils.TestCaseError{errorMessage:"Error: /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [460]: OpenWhisk Client Error =====> Concurrent modification to resource detected. (code 1195124) Error code: 153.\n\nUsage:\n  wskdeploy [flags]\n  wskdeploy [command]\n\nAvailable Commands:\n  add         Add an action, feed, trigger or rule to the manifest\n  help        Help about any command\n  init        Init helps you create a manifest file on OpenWhisk\n  publish     Publish a package to a registry\n  report      Returns summary of what's been deployed on OpenWhisk in specific namespace\n  undeploy    Undeploy assets from OpenWhisk\n  version     Print the version number of openwhisk-wskdeploy\n\nFlags:\n  -a, --allow-defaults       allow defaults\n  -i, --allow-interactive    allow interactive prompts\n      --apihost string       whisk API HOST\n      --apiversion VERSION   whisk API VER
 SION\n  -u, --auth KEY             authorization KEY\n      --config string        config file (default is $HOME/.wskprops)\n  -d, --deployment string    path to deployment file\n  -h, --help                 help for wskdeploy\n  -m, --manifest string      path to manifest file\n  -n, --namespace string     namespace\n  -p, --project string       path to serverless project (default \".\")\n  -s, --strict               allow user defined runtime version\n  -t, --toggle               Help message for toggle\n  -v, --verbose              verbose output\n\nUse \"wskdeploy [command] --help\" for more information about a command.\n\nError: /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [460]: OpenWhisk Client Error =====> Concurrent modification to resource detected. (code 1195124) Error code: 153.\n\n"})
   	Messages:   	Failed to deploy the manifest file.
   	Error Trace:	cloudant_test.go:42
   	Error:      	Not equal: 
   	            	expected: <nil>(<nil>)
   	            	actual: *utils.TestCaseError(&utils.TestCaseError{errorMessage:"Error: /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [906]: OpenWhisk Client Error =====> map[error:could not find the trigger in the database] Error code: 246.\n\nUsage:\n  wskdeploy undeploy [flags]\n\nFlags:\n  -d, --deployment string   path to deployment file\n  -h, --help                help for undeploy\n  -m, --manifest string     path to manifest file\n  -p, --pathpath string     path to serverless project (default \".\")\n  -t, --toggle              Help message for toggle\n\nGlobal Flags:\n  -a, --allow-defaults       allow defaults\n  -i, --allow-interactive    allow interactive prompts\n      --apihost string       whisk API HOST\n      --apiversion VERSION   whisk API VERSION\n  -u, --auth KEY             authorization KEY\n      --config string        config file (default is $HOME/.wskprops)\n  -n, --namespace string     namespace\n  -s
 , --strict               allow user defined runtime version\n  -v, --verbose              verbose output\n\nError: /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [906]: OpenWhisk Client Error =====> map[error:could not find the trigger in the database] Error code: 246.\n\n"})
   	Messages:   	Failed to undeploy the manifest file.
   FAIL
   FAIL	github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/cloudant	0.826s
   ?   	github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/common	[no test files]
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services