Skip to content

Improve error messages for pip resolution #973

Improve error messages for pip resolution

Improve error messages for pip resolution #973

Triggered via pull request November 27, 2023 07:59
Status Failure
Total duration 2m 23s
Artifacts

test.yml

on: pull_request
Matrix: CLI
Matrix: Docker E2E Resolve
Matrix: Vulnfunc E2E
Fit to window
Zoom out
Zoom in

Annotations

38 errors
Lint: internal/resolution/pm/pm.go#L4
could not import github.com/debricked/cli/internal/resolution/pm/composer (-: # github.com/debricked/cli/internal/resolution/pm/composer
Lint: internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)) (typecheck)
Lint: internal/resolution/pm/composer/cmd_factory.go#L1
: # github.com/debricked/cli/internal/resolution/pm/composer [github.com/debricked/cli/internal/resolution/pm/composer.test]
Lint: internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command) (typecheck)
Lint: internal/resolution/strategy/strategy_factory.go#L7
could not import github.com/debricked/cli/internal/resolution/pm/composer (-: # github.com/debricked/cli/internal/resolution/pm/composer
Lint: internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)) (typecheck)
Lint: internal/resolution/pm/pip/job.go#L104
return with no blank line before (nlreturn)
Lint: internal/resolution/pm/pip/job.go#L164
return with no blank line before (nlreturn)
Lint: internal/resolution/pm/pip/job.go#L123
return with no blank line before (nlreturn)
Lint
issues found
Vulnfunc E2E (ubuntu-latest, 11): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
Vulnfunc E2E (ubuntu-latest, 11)
Process completed with exit code 1.
Vulnfunc E2E (ubuntu-latest, 17): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
Vulnfunc E2E (ubuntu-latest, 17)
Process completed with exit code 1.
CLI (macos-latest): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
CLI (macos-latest)
Process completed with exit code 1.
Vulnfunc E2E (ubuntu-latest, 20): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
Vulnfunc E2E (ubuntu-latest, 20)
Process completed with exit code 1.
CLI (windows-latest)
The job was canceled because "macos-latest" failed.
CLI (windows-latest)
The operation was canceled.
CLI (ubuntu-latest)
The job was canceled because "macos-latest" failed.
CLI (ubuntu-latest): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
CLI (ubuntu-latest)
The operation was canceled.
Vulnfunc E2E (macos-latest, 17): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
Vulnfunc E2E (macos-latest, 17)
Process completed with exit code 1.
Vulnfunc E2E (macos-latest, 11): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
Vulnfunc E2E (macos-latest, 11)
Process completed with exit code 1.
Docker E2E Resolve (alpine)
Process completed with exit code 1.
Vulnfunc E2E (macos-latest, 20): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
Vulnfunc E2E (macos-latest, 20)
Process completed with exit code 1.
Docker E2E Resolve (debian)
The job was canceled because "alpine" failed.
Docker E2E Resolve (debian)
The operation was canceled.
Vulnfunc E2E (windows-latest, 17): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
Vulnfunc E2E (windows-latest, 17)
Process completed with exit code 1.
Vulnfunc E2E (windows-latest, 11): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
Vulnfunc E2E (windows-latest, 11)
Process completed with exit code 1.
Vulnfunc E2E (windows-latest, 20): internal/resolution/pm/composer/job.go#L40
cannot use err (variable of type error) as job.IError value in argument to j.Errors().Critical: error does not implement job.IError (missing method Command)
Vulnfunc E2E (windows-latest, 20)
Process completed with exit code 1.