pritidesai commented on issue #388: Deleting setting of env. variable
URL: 
https://github.com/apache/incubator-openwhisk-wskdeploy/pull/388#issuecomment-325066915
 
 
   I have added some action invocation instances. Also, the dependency test is 
failing as its not able to find `wsk` CLI,  It will be great if you any of you 
know and can tell me how to set path for `wsk` CLI in Travis?
   
   ```
   === RUN   TestDependency
   ==> Executing: wskdeploy -m 
/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/dependency/manifest.yaml
 -d 
/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/dependency/deployment.yaml
   ==> Output: 2017/08/26 00:19:39 Warning: Unable to read whisk properties 
file '/home/travis/.wskprops' (file open error: open /home/travis/.wskprops: no 
such file or directory)
   2017/08/26 00:19:40 Deploying package TestGitHubDependency ... 
   2017/08/26 00:19:40 Done!
   Deploying dependency openwhisk-app ... 
   2017/08/26 00:19:40 Deploying package openwhisk-app ... 
   2017/08/26 00:19:40 Done!
   2017/08/26 00:19:40 Deploying action openwhisk-app/hello ... 
   2017/08/26 00:19:40 Done!
   2017/08/26 00:19:40 Deploying action openwhisk-app/helloworld ... 
   2017/08/26 00:19:40 Done!
   Done!
   Done!
   Done!
   Deploying rule rule1 ... Done!
   Deploying rule rule2 ... Done!
   2017/08/26 00:19:41 
   Deployment completed successfully.
   ==> Executing: wsk action invoke --result openwhisk-app/hello
   ==> Error: exec: "wsk": executable file not found in $PATH
   ==> Executing: wsk action invoke --result openwhisk-app/hello --param name 
Amy
   ==> Error: exec: "wsk": executable file not found in $PATH
   ==> Executing: wsk action invoke --result openwhisk-app/hello --param name 
Amy --param place California
   ==> Error: exec: "wsk": executable file not found in $PATH
   ==> Executing: wsk action invoke --result openwhisk-app/helloworld --param 
name Bob --param place New York
   ==> Error: exec: "wsk": executable file not found in $PATH
   ==> Executing: wskdeploy undeploy -m 
/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/dependency/manifest.yaml
 -d 
/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/dependency/deployment.yaml
   ==> Output: 2017/08/26 00:19:41 Warning: Unable to read whisk properties 
file '/home/travis/.wskprops' (file open error: open /home/travis/.wskprops: no 
such file or directory)
   Removing trigger trigger1 ... Done!
   Removing trigger trigger2 ... Done!
   Removing rule rule2 ... Done!
   Removing rule rule1 ... Done!
   Removing package TestGitHubDependency ... Done!
   Undeploying dependency openwhisk-app ... 
   Removing action openwhisk-app/helloworld ... Done!
   Removing action openwhisk-app/hello ... Done!
   Removing package openwhisk-app ... Done!
   Done!
   Deployment removed successfully.
   --- FAIL: TestDependency (3.54s)
        Error Trace:    dependency_test.go:40
        Error:          Not equal: 
                        expected: <nil>(<nil>)
                        actual: *exec.Error(&exec.Error{Name:"wsk", 
Err:(*errors.errorString)(0xc420016f50)})
        Messages:       Failed to invoke openwhisk-app/hello
        Error Trace:    dependency_test.go:42
        Error:          Not equal: 
                        expected: <nil>(<nil>)
                        actual: *exec.Error(&exec.Error{Name:"wsk", 
Err:(*errors.errorString)(0xc420016f50)})
        Messages:       Failed to invoke openwhisk-app/hello
        Error Trace:    dependency_test.go:44
        Error:          Not equal: 
                        expected: <nil>(<nil>)
                        actual: *exec.Error(&exec.Error{Name:"wsk", 
Err:(*errors.errorString)(0xc420016f50)})
        Messages:       Failed to invoke openwhisk-app/hello
        Error Trace:    dependency_test.go:46
        Error:          Not equal: 
                        expected: <nil>(<nil>)
                        actual: *exec.Error(&exec.Error{Name:"wsk", 
Err:(*errors.errorString)(0xc420016f50)})
        Messages:       Failed to invoke openwhisk-app/helloworld
   FAIL
   FAIL 
github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/dependency
        3.555s
   ```
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to