Skip to content
This repository was archived by the owner on Dec 13, 2021. It is now read-only.
This repository was archived by the owner on Dec 13, 2021. It is now read-only.

Some problems met when installing the namazu. #189

@maoling

Description

@maoling
docker pull osrg/namazu
docker run -t -i docker.io/osrg/namazu /bin/bash
root@901fd7608294:/gopath/src/github.com/osrg/namazu# ./bin/nmz container run --nmz-autopilot /gopath/src/github.com/osrg/namazu/example/template/config.toml -d --name zk1 -p 2181:2181 -v /data

I saw this error and can't enter into:

[NMZ-DBG] 02:44:52.84: Registering a signal class "ProcSetSchedAction" (at signal.go:48)
[NMZ-DBG] 02:44:52.84: Registering an exploration policy "dumb" (at explorepolicy.go:36)
[NMZ-DBG] 02:44:52.84: Registering an exploration policy "random" (at explorepolicy.go:36)
[NMZ-DBG] 02:44:52.84: Registering an exploration policy "replayable" (at explorepolicy.go:36)
[NMZ-CRT] 02:44:52.84: PANIC: runtime error: index out of range (at coreutil.go:49)
panic: runtime error: index out of range [recovered]
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/osrg/namazu/nmz/util/core.Recoverer()
/gopath/src/github.com/osrg/namazu/nmz/util/core/coreutil.go:51 +0x17a
panic(0xa589a0, 0x11270e0)
/usr/local/go/src/runtime/panic.go:505 +0x229
github.com/osrg/namazu/nmz/cli/container/run.parseRun(0xc4200f8300, 0xc42001e0f0, 0x9, 0x9, 0x0, 0x0, 0x9)
/gopath/src/github.com/osrg/namazu/nmz/cli/container/run/runflag.go:81 +0x13c4
github.com/osrg/namazu/nmz/cli/container/run.prepare(0xc42001e0e0, 0xa, 0xa, 0x0, 0x0, 0x0, 0x0, 0xb6c7e8)
/gopath/src/github.com/osrg/namazu/nmz/cli/container/run/run.go:37 +0xcf
github.com/osrg/namazu/nmz/cli/container/run.Run(0xc42001e0e0, 0xa, 0xa, 0x0)
/gopath/src/github.com/osrg/namazu/nmz/cli/container/run/run.go:84 +0x66
github.com/osrg/namazu/nmz/cli.containerCmd.Run(0xc42001e0e0, 0xa, 0xa, 0xc42001e600)
/gopath/src/github.com/osrg/namazu/nmz/cli/container.go:46 +0x108
github.com/osrg/namazu/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc42001e600, 0xc4211af500, 0xb36ff2, 0x9)
/gopath/src/github.com/osrg/namazu/vendor/github.com/mitchellh/cli/cli.go:153 +0x16a
github.com/osrg/namazu/nmz/cli.CLIMain(0xc42001e0c0, 0xc, 0xc, 0x0)
/gopath/src/github.com/osrg/namazu/nmz/cli/main.go:53 +0x337
main.main()
/gopath/src/github.com/osrg/namazu/nmz/main.go:25 +0x45

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions