Git Product home page Git Product logo

Comments (2)

navarrothiago avatar navarrothiago commented on September 18, 2024
[root@76b261f00f83] /workspaces/openair-cn-cups/build/ext/upf-bpf (master) $ make run
cd build/tests && \
sudo ./UPFProgramTests
Running main() from /workspaces/openair-cn-cups/build/ext/upf-bpf/extern/googletest/googletest/src/gtest_main.cc
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from SessionManagerTests
[ RUN      ] SessionManagerTests.manageSession
libbpf: load bpf program failed: Invalid argument
libbpf: -- BEGIN DUMP LOG ---
libbpf: 
back-edge from insn 358 to 359
processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0

libbpf: -- END LOG --
libbpf: failed to load program 'xdp_redirect_map'
libbpf: failed to load object 'upf_xdp_bpf_c'
libbpf: failed to load BPF skeleton 'upf_xdp_bpf_c': -4007
unknown file: Failure
C++ exception with description "Cannot load program - error-4007" thrown in SetUp().
[  FAILED  ] SessionManagerTests.manageSession (123 ms)
...
[----------] 3 tests from SessionManagerTests (463 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (463 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] SessionManagerTests.manageSession
[  FAILED  ] SessionManagerTests.managePDR
[  FAILED  ] SessionManagerTests.manageFAR

 3 FAILED TESTS

from upf-bpf.

navarrothiago avatar navarrothiago commented on September 18, 2024

The problema above was resolved in #18 (commit-id de58f7b).
There was a loop in bpf program. So, the pragma unroll instruction was inserted.

from upf-bpf.

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.