Skip to content

Fix CodeQL failure due to missing sonic-mgmt-common. #1496

Fix CodeQL failure due to missing sonic-mgmt-common.

Fix CodeQL failure due to missing sonic-mgmt-common. #1496

Triggered via pull request December 18, 2024 03:12
@hdwhdwhdwhdw
synchronize #331
Status Failure
Total duration 51s
Artifacts

codeql-analysis.yml

on: pull_request_target
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
Analyze (go)
Failure invoking /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/go/tools/autobuild.sh with arguments . Exit code 1 and error was: 2024/12/18 03:12:55 Autobuilder was built with go1.23.1, environment has go1.23.4 2024/12/18 03:12:55 LGTM_SRC is /home/runner/work/sonic-gnmi/sonic-gnmi 2024/12/18 03:12:55 Found no go.work files in the workspace; looking for go.mod files... 2024/12/18 03:12:55 Found 1 go.mod file(s). 2024/12/18 03:12:55 Import path is 'github.com/sonic-net/sonic-gnmi' go: downloading github.com/golang/glog v1.2.0 go: downloading github.com/openconfig/gnmi v0.0.0-20200617225440-d2b4e6a45802 go: downloading github.com/Workiva/go-datastructures v1.0.50 go: downloading golang.org/x/net v0.26.0 go: downloading github.com/google/gnxi v0.0.0-20191016182648-6697a080bc2d go: downloading github.com/go-redis/redis v6.15.6+incompatible go: downloading google.golang.org/grpc v1.64.1 go: downloading github.com/openconfig/ygot v0.7.1 go: downloading github.com/openconfig/gnoi v0.0.0-20211029052138-349b3dcd04ec go: downloading github.com/golang/protobuf v1.5.4 go: downloading google.golang.org/protobuf v1.34.1 go: downloading github.com/dgrijalva/jwt-go v3.2.1-0.20210802184156-9742bd7fca1c+incompatible go: downloading github.com/msteinert/pam v0.0.0-20201130170657-e61372126161 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/c9s/goprocinfo v0.0.0-20191125144613-4acdd056c72d go: downloading golang.org/x/crypto v0.24.0 go: downloading gopkg.in/yaml.v2 v2.2.8 go: downloading google.golang.org/grpc/security/advancedtls v1.0.0 go: downloading github.com/agiledragon/gomonkey/v2 v2.8.0 go: downloading github.com/godbus/dbus/v5 v5.1.0 go: downloading github.com/jipanyang/gnxi v0.0.0-20181221084354-f0a90cca6fd0 go: downloading github.com/fsnotify/fsnotify v1.4.7 go: downloading github.com/jipanyang/gnmi v0.0.0-20180820232453-cb4d464fa018 go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/stretchr/testify v1.9.0 go: downloading github.com/onsi/ginkgo v1.10.3 go: downloading github.com/onsi/gomega v1.7.1 go: downloading github.com/google/go-cmp v0.6.0 go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 go: downloading github.com/openconfig/goyang v0.0.0-20200309174518-a00bece872fc go: downloading github.com/bgentry/speakeasy v0.1.0 go: downloading golang.org/x/sys v0.26.0 go: downloading github.com/cenkalti/backoff/v4 v4.0.0 go: downloading golang.org/x/text v0.16.0 go: github.com/Azure/[email protected] (replaced by ../sonic-mgmt-common): reading ../sonic-mgmt-common/go.mod: open /home/runner/work/sonic-gnmi/sonic-mgmt-common/go.mod: no such file or directory go: github.com/sonic-net/sonic-gnmi/gnmi_server imports github.com/Azure/sonic-mgmt-common/translib: github.com/Azure/[email protected]: replacement directory ../sonic-mgmt-common does not exist go: github.com/sonic-net/sonic-gnmi/gnmi_server imports github.com/Azure/sonic-mgmt-common/translib/path: github.com/Azure/[email protected]: replacement directory ../sonic-mgmt-common does not exist go: github.com/sonic-net/sonic-gnmi/gnmi_server imports github.com/sonic-net/sonic-gnmi/swsscommon: github.com/Azure/[email protected] (replaced by ../sonic-mgmt-common): reading ../sonic-mgmt-common/go.mod: open /home/runner/work/sonic-gnmi/sonic-mgmt-common/go.mod: no such file or directory go: github.com/sonic-net/sonic-gnmi/transl_utils imports github.com/Azure/sonic-mgmt-common/translib/ocbinds: github.com/Azure/[email protected]: replacement directory ../sonic-mgmt-common does not exist go: github.com/sonic-net/sonic-gnmi/transl_utils imports github.com/Azure/sonic-mgmt-common/translib/tlerr: github.com/Azure/[email protected]: replacement directory ../sonic-mgmt-common does not exist go: github.com/sonic-net/sonic-gnmi/gnmi_server imports google.golang.org/grpc/security/advancedtl
Analyze (go)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636