GithubHelp home page GithubHelp logo

Running the tests failed about ubpf HOT 2 CLOSED

liangcheng-yu avatar liangcheng-yu commented on July 30, 2024
Running the tests failed

from ubpf.

Comments (2)

liangcheng-yu avatar liangcheng-yu commented on July 30, 2024

Thanks Alan! The issue is resolved.

from ubpf.

liangcheng-yu avatar liangcheng-yu commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.