You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/08/10 18:35:19 UTC

[GitHub] StrayCat1 opened a new issue #963: Unable to deploy tests/usecases/triggerrule

StrayCat1 opened a new issue #963: Unable to deploy tests/usecases/triggerrule
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/963
 
 
   I installed the `wskdeploy` version 0.9.7 from the zip, configured the client to point to my local openwhisk instance, cloned and navigated to this git repo, and then ran `wskdeploy -m tests/usecases/triggerrule/manifest.yml -d tests/usecases/triggerrule/deployment.yml`
   
   I expected that package to be created, instead I got this error- 
   
   ```bash
   $ wskdeploy -m tests/usecases/triggerrule/manifest.yml -d tests/usecases/triggerrule/deployment.yml
   Info: The API host is [localhost:31001], from .wskprops.
   Info: The auth key is set, from .wskprops.
   Info: The namespace is [_], from .wskprops.
   panic: runtime error: invalid memory address or nil pointer dereference
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x4 pc=0x28b4fc]
   
   goroutine 1 [running]:
   github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/apache/incubator-openwhisk-client-go/whisk.GetUrlBase(0x10ae0088, 0x12, 0xffff, 0x0, 0x0)
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/apache/incubator-openwhisk-client-go/whisk/wskprops.go:72 +0xac
   github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/apache/incubator-openwhisk-client-go/whisk.NewClient(0x10ae0200, 0x10aa8f50, 0x59cd10, 0x10aa8f50, 0x0)
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/apache/incubator-openwhisk-client-go/whisk/client.go:129 +0x6a7
   github.com/apache/incubator-openwhisk-wskdeploy/deployers.glob..func5(0x10aa8f50, 0x16, 0xbffff690, 0x29)
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/whiskclient.go:80 +0x3f
   github.com/apache/incubator-openwhisk-wskdeploy/cmd.Deploy(0x589ec0, 0x1, 0x109fa294)
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/cmd/root.go:231 +0x430
   github.com/apache/incubator-openwhisk-wskdeploy/cmd.RootCmdImp(0x589ec0, 0x109f9020, 0x0, 0x4, 0x0, 0x0)
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/cmd/root.go:51 +0x1b
   github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/spf13/cobra.(*Command).execute(0x589ec0, 0x10940248, 0x4, 0x5, 0x589ec0, 0x10940248)
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/spf13/cobra/command.go:632 +0x2df
   github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x589ec0, 0x1, 0x0, 0x589f01)
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/spf13/cobra/command.go:722 +0x285
   github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/spf13/cobra.(*Command).Execute(0x589ec0, 0x5, 0x6)
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/vendor/github.com/spf13/cobra/command.go:681 +0x1b
   github.com/apache/incubator-openwhisk-wskdeploy/cmd.Execute()
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/cmd/root.go:65 +0xbb
   main.main()
   	/home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/main.go:26 +0x11
   ```
   
   

----------------------------------------------------------------
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