Comments (2)
Thanks Alan! The issue is resolved.
from ubpf.
Hi Alan, I moved to another clean Ubuntu 20.04.06 LTS VM, but somehow there is a few tests failed, as attached below.
Note that I was running the same set up as before (which gave me 100% tests passed), it seems to be caused by some minor reason between the two VMs.
611/630 Test #611: invalid_lock ....................................................................... Passed 0.01 sec
Start 612: invalid_lock2
612/630 Test #612: invalid_lock2 ...................................................................... Passed 0.01 sec
Start 613: include_test
613/630 Test #613: include_test .......................................................................***Failed Required regular expression not found. Regex=[PASS
] 0.01 sec
Start 614: exclude_test
614/630 Test #614: exclude_test ....................................................................... Passed 0.02 sec
Start 615: negative_include_test
615/630 Test #615: negative_include_test .............................................................. Passed 0.01 sec
Start 616: negative_exclude_test
616/630 Test #616: negative_exclude_test ..............................................................***Failed 0.01 sec
Start 617: usage
617/630 Test #617: usage .............................................................................. Passed 0.01 sec
Start 618: missing_test_path
618/630 Test #618: missing_test_path .................................................................. Passed 0.01 sec
Start 619: missing_plugin_path
619/630 Test #619: missing_plugin_path ................................................................ Passed 0.01 sec
Start 620: invalid_cpu_version
620/630 Test #620: invalid_cpu_version ................................................................ Passed 0.01 sec
Start 621: invalid_test_directory
621/630 Test #621: invalid_test_directory ............................................................. Passed 0.01 sec
Start 622: fail_with_error
622/630 Test #622: fail_with_error .................................................................... Passed 0.01 sec
Start 623: unknown_directive
623/630 Test #623: unknown_directive .................................................................. Passed 0.01 sec
Start 624: libbpf_program_bytes
624/630 Test #624: libbpf_program_bytes ...............................................................***Failed Required regular expression not found. Regex=[0
] 0.01 sec
Start 625: invalid_option
625/630 Test #625: invalid_option ..................................................................... Passed 0.00 sec
Start 626: list_used_instructions
626/630 Test #626: list_used_instructions ............................................................. Passed 0.29 sec
Start 627: list_unused_instructions
627/630 Test #627: list_unused_instructions ........................................................... Passed 0.28 sec
Start 628: back_compat
628/630 Test #628: back_compat ........................................................................***Failed 0.01 sec
Start 629: map_TEST_INTERPRET
629/630 Test #629: map_TEST_INTERPRET ................................................................. Passed 0.00 sec
Start 630: map_TEST_JIT
630/630 Test #630: map_TEST_JIT ....................................................................... Passed 0.00 sec
99% tests passed, 8 tests failed out of 630
Total Test time (real) = 7.54 sec
The following tests FAILED:
593 - cpu_v1 (Failed)
594 - cpu_v2 (Failed)
595 - cpu_v3 (Failed)
596 - elf_format (Failed)
613 - include_test (Failed)
616 - negative_exclude_test (Failed)
624 - libbpf_program_bytes (Failed)
628 - back_compat (Failed)
Errors while running CTest
make: *** [Makefile:73: test] Error 8
What's odd is that the two VMs have the same exact OS release (20.04.6 LTS (Focal Fossa)), clang version etc.
The only minor difference is that the VM with 100% tests passed has a slightly different kernel verision:
# The one with 100% tests
ubuntu@ip-172-31-80-18:~/ubpf$ uname -a
Linux ip-172-31-80-18 5.15.0-1036-aws #40~20.04.1-Ubuntu SMP Mon Apr 24 00:21:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
# The one with 99% tests
lc@vm1:~/ubpf/programs$ uname -a
Linux rcf-vm1 5.15.0-1038-azure #45~20.04.1-Ubuntu SMP Tue Apr 25 18:45:15 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
from ubpf.
Related Issues (20)
- Missing support for atomic instructions
- ubpf_load fails to validate immediate offset when computing jump targets
- Memory out-of-bound access in the ubpf_fetch_instruction when executing unterminated eBPF program HOT 1
- Incorrect boundary check leading to the out-of-bound memory access HOT 1
- Missing boundary check for load/store in JIT compiler HOT 1
- Incorrect exit implementation in JIT compiler HOT 1
- Incorrect CALL code generation (emit_local_call) in JIT compiler HOT 1
- uBPF interpreter has incorrect behavior for jump with immediate values > 0x7fffffff HOT 2
- uBPF emits wrong instructions for register to register multiplication/division/modulo operations if immediate != 0
- x64 JIT emit wrong jump target when target is at start of byte code
- 32bit ALU operations fail to truncate target register
- Recursive local call causes uBPF JIT to crash HOT 1
- Jump target for PC 0 is wrong
- Crash if call target is not start of a function HOT 1
- Crash on computing required stack size for inner most nested local-call
- Fix code scanning alert - Wrong type of arguments to formatting function
- Fix code scanning alert - Multiplication result converted to larger type
- LE16 fails to truncate register value HOT 2
- Potential dereference of `nullptr` in libfuzzer harness?
- Wrong offset check of relocated function?
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 ubpf.