Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci view --follow panics #854

Open
sding3 opened this issue Mar 3, 2023 · 1 comment
Open

ci view --follow panics #854

sding3 opened this issue Mar 3, 2023 · 1 comment

Comments

@sding3
Copy link
Contributor

sding3 commented Mar 3, 2023

lab ci view --follow panics before downstream pipelines are created/running:

$ lab ci view --follow
2023/03/01 09:58:15 ERROR: ci_view.go:487: runtime error: invalid memory address or nil pointer dereference
goroutine 101 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
github.com/zaquestion/lab/cmd.recoverPanic(0x0?)
        /tmp/lab/cmd/ci_view.go:487 +0x4c
panic({0xce4ea0, 0x14ab880})
        /usr/local/go/src/runtime/panic.go:838 +0x207
github.com/zaquestion/lab/internal/gitlab.CIJobs({0xcb5040?, 0xc00012a0a0}, 0x0?, 0x1, {0x0, 0x0})
        /tmp/lab/internal/gitlab/gitlab.go:1278 +0x54f
github.com/zaquestion/lab/cmd.updateJobs(0xc0002a4000, 0x1?)
        /tmp/lab/cmd/ci_view.go:498 +0xe5
created by github.com/zaquestion/lab/cmd.glob..func7
        /tmp/lab/cmd/ci_view.go:97 +0x59b
@prarit
Copy link
Collaborator

prarit commented Mar 19, 2023

My apologies for the late reply @sding3 . I'm trying to reproduce this but so far have been unsuccessful. Is it possible that you could point me to an MR where you can reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants