Git Product home page Git Product logo

Comments (3)

yeya24 avatar yeya24 commented on July 19, 2024

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.

adibrastegarnia avatar adibrastegarnia commented on July 19, 2024

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

adibrastegarnia avatar adibrastegarnia commented on July 19, 2024

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.