Comments (3)
Same panic for onos fetch as well
./onit fetch logs
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x5230916]
goroutine 1 [running]:
github.com/onosproject/onos-test/pkg/onit/setup.(*TestSetup).FetchLogs(0xc00052bbd8)
/Users/yeya24/hub/gowork/onos-test/pkg/onit/setup/cluster.go:269 +0x5b6
github.com/onosproject/onos-test/pkg/onit/cli.getFetchLogsCommand.func1(0xc0003d1680, 0x6869388, 0x0, 0x0)
/Users/yeya24/hub/gowork/onos-test/pkg/onit/cli/fetch.go:66 +0x229
github.com/spf13/cobra.(*Command).execute(0xc0003d1680, 0x6869388, 0x0, 0x0, 0xc0003d1680, 0x6869388)
/Users/yeya24/go/pkg/mod/github.com/spf13/[email protected]/command.go:830 +0x2ae
github.com/spf13/cobra.(*Command).ExecuteC(0xc00013ec80, 0xc00013ec80, 0xc000129f88, 0x400769f)
/Users/yeya24/go/pkg/mod/github.com/spf13/[email protected]/command.go:914 +0x2fc
github.com/spf13/cobra.(*Command).Execute(...)
/Users/yeya24/go/pkg/mod/github.com/spf13/[email protected]/command.go:864
main.main()
/Users/yeya24/hub/gowork/onos-test/cmd/onit/main.go:33 +0x40
from onos-test.
@yeya24
In the new version of onit, it is likely this error already handled because we use an API to create the cluster but it is still a work in progress and not fully tested but you are right we need to make sure if creating of cluster is not successful because of any reasons (i.e. by stopping the process), we should delete the current cluster if it is possible (i.e. the one which we are creating) to release the resources that are created so far or handle the above error properly.
from onos-test.
@yeya24
will be closed this issue since it is already resolved in the new version of onit. Feel free to open it again if you still have problems.
from onos-test.
Related Issues (20)
- Document usage of the test setup API for dictating the network architecture in tests
- Support traefik ingress controller for k3d local cluster
- Give More flexiblity in replacting onos subsystems HOT 1
- Using a fixed name for simulators like `devicesim-1` can break `integration-tests` HOT 2
- Avoid Using String in atomix config map HOT 3
- onit v2.0: "onit create cluster" command does not accept a name HOT 2
- onit install not completing due to error HOT 5
- Provide means of deleting a device via onit cli HOT 2
- Persist test application logs prior to cluster tear down HOT 1
- Document test and benchmark APIs
- Add commands to retrieve test history HOT 3
- Add support for running multiple test iterations
- Make resource requirements configurable
- Detect non-crash errors
- Use slice flags for --suite and --test arguments
- --verbose does not work for onit test command
- onit with no --suite option crashes
- Add authentication import for google cloud HOT 1
- onit --test option with a non-existent test name hangs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onos-test.