-
Type: Task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Won't Do
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.12
-
Labels:
-
Story Points:0
https://jenkins.opencord.org/job/verify_bbsim_unit-test/1284/console
Aside from the obvious, not clear why failure was reported.
All linter activity is labeled 'WARN' in log output.
/app/api/bbsim/bbsim.pb.go:3227:1: illegal character U+0023 '#' /app/api/bbsim/bbsim.pb.gw.go:2000:1: illegal character U+0023 '#' /app/api/bbsim/bbsim_dmi.pb.go:535:1: illegal character U+0023 '#'
[runner] Can't run linter goanalysis_metalinter: assign: failed prerequisites: inspect@github.com/opencord/bbsim/api/bbsim
Running error: assign: failed prerequisites: inspect@github.com/opencord/bbsim/api/bbsim
02:35:30 Status: Downloaded newer image for voltha/voltha-ci-tools:2.3.1-golangci-lint 02:35:34 [36mINFO[0m [config_reader] Config search paths: [./ /app /] 02:35:34 [36mINFO[0m [config_reader] Used config file .golangci.yml 02:35:34 [36mINFO[0m [lintersdb] Active 11 linters: [deadcode errcheck gofmt gosimple govet ineffassign staticcheck structcheck typecheck unused varcheck] 02:35:34 [36mINFO[0m [lintersdb] Active 11 linters: [deadcode errcheck gofmt gosimple govet ineffassign staticcheck structcheck typecheck unused varcheck] 02:35:46 [36mINFO[0m [loader] Go packages loading at mode 575 (types_sizes|compiled_files|deps|exports_file|files|name|imports) took 12.263164749s 02:35:46 [36mINFO[0m [runner/filename_unadjuster] Pre-built 0 adjustments in 31.996708ms 02:35:47 [36mINFO[0m [runner/unused/goanalysis] analyzers took 1.204289ms with top 10 stages: buildssa: 735.307µs, U1000: 468.982µs 02:35:47 [33mWARN[0m [runner] Can't run linter unused: buildssa: analysis skipped: errors in package: [/app/api/bbsim/bbsim.pb.go:3227:1: illegal character U+0023 '#' /app/api/bbsim/bbsim.pb.gw.go:2000:1: illegal character U+0023 '#' /app/api/bbsim/bbsim_dmi.pb.go:535:1: illegal character U+0023 '#'] 02:35:53 [36mINFO[0m [runner/goanalysis_metalinter/goanalysis] analyzers took 13.756396305s with top 10 stages: buildssa: 10.396178284s, fact_purity: 1.228072576s, inspect: 990.266735ms, printf: 387.509273ms, fact_deprecated: 361.749453ms, ctrlflow: 360.657287ms, SA9005: 419.282µs, isgenerated: 376.459µs, tests: 363.269µs, buildtag: 362.924µs 02:35:53 [33mWARN[0m [runner] Can't run linter goanalysis_metalinter: assign: failed prerequisites: inspect@github.com/opencord/bbsim/api/bbsim 02:35:53 [36mINFO[0m [runner] processing took 15.458µs with stages: max_same_issues: 1.287µs, skip_dirs: 1.11µs, max_from_linter: 1.07µs, nolint: 1.058µs, source_code: 884ns, skip_files: 878ns, path_shortener: 877ns, filename_unadjuster: 877ns, diff: 874ns, cgo: 869ns, autogenerated_exclude: 860ns, path_prettifier: 854ns, identifier_marker: 851ns, exclude-rules: 793ns, exclude: 777ns, max_per_file_from_linter: 772ns, uniq_by_line: 767ns 02:35:53 [36mINFO[0m [runner] linters took 6.495129511s with stages: goanalysis_metalinter: 5.978653783s, unused: 516.374073ms 02:35:53 [31mERRO[0m Running error: assign: failed prerequisites: inspect@github.com/opencord/bbsim/api/bbsim 02:35:53 [36mINFO[0m Memory: 186 samples, avg is 170.8MB, max is 606.3MB 02:35:53 [36mINFO[0m Execution took 18.796562402s 02:35:53 Makefile:124: recipe for target 'sca' failed 02:35:53 make: *** [sca] Error 3 02:35:53 Build step 'Execute shell' marked build as failure