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

[BUG] panicked at src/policy/labeler.rs:72:27:\nattempt to shift left with overflow #8700

Open
3 tasks done
qingwadefox opened this issue Dec 13, 2024 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@qingwadefox
Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

DeepFlow Component

Agent

What you expected to happen

当我拉取代码编译agent的时候会出现(我是用WINDOWS11 WSL虚拟的Ubuntu)
panicked at src/policy/labeler.rs:72:27:\nattempt to shift left with overflow
的错误,但是我使用成品包的时候不会出现这样的错误,我编译的环境是Ubuntu执行环境是centos,但是我发现我在Ubuntu启动不会出现问题,我将日志文件上传了 麻烦看下
PS:之前我使用6.5版本也会出现这种问题,后续升级成 6.6.4版本 还是有同样的问题没有得到解决
deepflow-agent.log

How to reproduce

执行编译的指令是docker run --privileged --rm -it -e http_proxy="http://192.168.56.127:7890" -e https_proxy="http://192.168.56.127:7890" -v $(pwd):/deepflow -v /home/zhengwei3/tools/.cargo/registry:/usr/local/cargo/registry hub.deepflow.yunshan.net/public/rust-build bash -c "cd /deepflow/agent && cargo build --verbose"

DeepFlow version

[bill@ccse-node-1 ~]$ ./deepflow-ctl -v
Name: deepflow-ctl community edition
Branch: v6.6.4
CommitID: 958a449
RevCount: 11092
Compiler: go version go1.21.13 linux/amd64
CompileTime: 2024-08-30 02:45:24

[root@hn-xc-paas04 sbin]# deepflow-agent -v
11092-958a449602f6892b494ad32be3867ff1f3b77823
Name: deepflow-agent community edition
Branch: HEAD
CommitId: 958a449
RevCount: 11092
Compiler: rustc 1.77.1 (7cf61ebde 2024-03-27)
CompileTime: 2024-12-13 01:04:49

DeepFlow agent list

[bill@ccse-node-1 ~]$ ./deepflow-ctl agent list
ID NAME TYPE CTRL_IP CTRL_MAC STATE GROUP EXCEPTIONS REVISION UPGRADE_REVISION
1 10.11.4.168-V3 K8S_VM 10.11.4.168 fa:16:3e:a4:be:c1 NORMAL default v6.5 10862
2 10.11.4.149-V1 K8S_VM 10.11.4.149 fa:16:3e:04:02:a1 NORMAL default v6.5 10862
3 10.11.4.166-V2 K8S_VM 10.11.4.166 fa:16:3e:cb:48:95 NORMAL default v6.5 10862
6 ctg-node-3.novalocal-W6 CHOST_VM 10.11.4.153 fa:16:3e:20:68:cd NORMAL legacy-host v6.5 10891
7 ctg-node-2.novalocal-W7 CHOST_VM 10.11.4.154 fa:16:3e:54:e2:a2 NORMAL legacy-host v6.5 10891
8 ctg-node-1.novalocal-W8 CHOST_VM 10.11.4.157 fa:16:3e:57:13:59 NORMAL legacy-host v6.5 10891
10 ctg-node-4.novalocal-W9 CHOST_VM 10.11.4.164 fa:16:3e:ac:af:25 NORMAL legacy-host v6.5 10891
11 ctg-node-5.novalocal-W10 CHOST_VM 10.11.4.167 fa:16:3e:31:3b:65 NORMAL legacy-host v6.5 10891
12 ctg-node-6.novalocal-W11 CHOST_VM 10.11.4.170 fa:16:3e:a9:94:75 NORMAL legacy-host v6.5 10891
14 fj-aipoc-1.novalocal-W4 CHOST_VM 192.168.87.41 fa:16:3e:b8:e6:2c NORMAL legacy-host v6.5 10891
15 hn-xc-paas02.novalocal-W13 CHOST_VM 10.11.5.13 fa:16:3e:b1:ec:62 NORMAL legacy-host v6.5 10891
16 hn-xc-paas04.novalocal-W12 CHOST_VM 10.11.5.10 fa:16:3e:19:ac:c4 NORMAL legacy-host HEAD 11092

Kubernetes CNI

No response

Operation-System/Kernel version

[root@hn-xc-paas04 sbin]# uname -r
3.10.0-957.1.3.el7.x86_64

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@qingwadefox qingwadefox added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant