Nil pointer dereference panic in allurectl watch (v2.17.2) in CI environments #3223
Unanswered
KaravaevOleg
asked this question in
Bug Reports
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Allurectl version: 2.17.2 (fails), 2.17.1 (works)
Environment: GitLab CI pipeline (reproducible), local dev (no reproduction)
OS: Linux (GitLab runner)
Steps to Reproduce
Expected: Command completes successfully, processes Allure results
Actual: Panic with nil pointer dereference
Error Log
Root Cause Location
Flags Investigation Needed
Suggested Fixes
Nil check in getUploadFuncs() before dereferencing pointers
Validate flag parsing doesn't produce nil values
Enhanced logging before panic location for debugging
Defensive programming around url.Error and fmt.Sprintf calls
Additional Context
Issue only reproducible in CI, not locally
Rollback to 2.17.1 resolves the problem
Beta Was this translation helpful? Give feedback.
All reactions