Comments (7)
@geyslan we can reproduce it in the ci env:
mozillazg#9
from libbpfgo.
@mozillazg I couldn't reproduce it in the vagrant VM, only got this:
libbpf: object 'main': failed (-22) to create BPF token from '/sys/fs/bpf', skipping optional step...
The unique detected besides that type is libbpf: map 'tester': failed to create: Invalid argument(-22)
in selftest/map-autocreate
: https://github.com/aquasecurity/libbpfgo/actions/runs/8570253314/job/23488218928#step:4:1585
What's your testing env?
from libbpfgo.
@geyslan @mozillazg hi, geyslan, i think it is same issue with 211, and i also add test case again.
from libbpfgo.
@geyslan @mozillazg hi, geyslan, i think it is same cause with #421, and i also add test case for it.
from libbpfgo.
@mozillazg I couldn't reproduce it in the vagrant VM, only got this:我无法在流浪者虚拟机中重现它,只得到这个:
libbpf: object 'main': failed (-22) to create BPF token from '/sys/fs/bpf', skipping optional step...
The unique detected besides that type is
libbpf: map 'tester': failed to create: Invalid argument(-22)
inselftest/map-autocreate
: https://github.com/aquasecurity/libbpfgo/actions/runs/8570253314/job/23488218928#step:4:1585除该类型外,检测到的唯一值libbpf: map 'tester': failed to create: Invalid argument(-22)
为selftest/map-autocreate
: https://github.com/aquasecurity/libbpfgo/actions/runs/8570253314/job/23488218928#step:4:1585What's your testing env?您的测试环境是什么?
@geyslan, it it not the same issue with #420
it may be caused by the ebpf new feature of token
from libbpfgo.
@mozillazg I couldn't reproduce it in the vagrant VM, only got this:我无法在流浪者虚拟机中重现它,只得到这个:
libbpf: object 'main': failed (-22) to create BPF token from '/sys/fs/bpf', skipping optional step...
The unique detected besides that type islibbpf: map 'tester': failed to create: Invalid argument(-22)
inselftest/map-autocreate
: https://github.com/aquasecurity/libbpfgo/actions/runs/8570253314/job/23488218928#step:4:1585除该类型外,检测到的唯一值libbpf: map 'tester': failed to create: Invalid argument(-22)
为selftest/map-autocreate
: https://github.com/aquasecurity/libbpfgo/actions/runs/8570253314/job/23488218928#step:4:1585
What's your testing env?您的测试环境是什么?@geyslan, it it not the same issue with #420 it may be caused by the ebpf new feature of token
It seems that the vm not support ebpf token in kernel, but anyway, the result of test case will not be influenced.
from libbpfgo.
Closed via #422
from libbpfgo.
Related Issues (20)
- Wrap C struct field handling
- Split bpf module and program into own files
- LinkType enum needs to align libbpf values
- attach xdp error
- Check type cast results
- [Error] in running go user space code HOT 1
- OSInfo singleton HOT 3
- LIBBPF_MAJOR_VERSION missing HOT 2
- Compiling a user space application that uses libbpfgo as dependency fails HOT 1
- Error compiling go programme HOT 2
- Incorrect parsing of IoUringRequestFlag
- Incompatability between libbpf and libbpfgo HOT 8
- TcHook.Query() always raises the `failed to query tc hook: invalid argument` error. HOT 3
- cookie support HOT 2
- Some tests fail on ARM64 HOT 1
- can show an interaction example between ebpf c and golang that uses ring buffer? HOT 1
- Static builds with newer libelf require `-l zstd` HOT 3
- Redefine code style .clang-format
- selftest/iter is unstable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libbpfgo.