Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save dsebastian-arista/277142a95e865f9a92ea21591aa04d2c to your computer and use it in GitHub Desktop.

Select an option

Save dsebastian-arista/277142a95e865f9a92ea21591aa04d2c to your computer and use it in GitHub Desktop.
Test: etcam_exp_actions
Date: Fri Jul 10 11:49:54 AM UTC 2026
FPGA_VERSION: 106.1
Bit: /persist2/releases/hw.pp.rel106.1/hello_pp-vpk180-rel106.1.pdi
========================================
=== FPGA PROGRAMMING (version 106.1)
========================================
# ------------------------------------------------------------------------------
# Maggie testing application
# - FPGA Programming In Progress : /persist2/releases/hw.pp.rel106.1/hello_pp-vpk180-rel106.1.pdi
# - FPGA Programming Complete
# - IIC : Port opened on ftdi://ftdi:4232:P1ABSDE36/2 to DEVICEID 0x58 at 1000.0kHz
# - PCIE : Port opened on 0000:21:00.0
# - QSPI : Detected Micron manufacturer ID: 0x20 Device ID: 0xbb21
# - UART : Port opened on ftdi://ftdi:4232:P1ABSDE36/3 at 115200 baud
FPGA programmed OK (78s)
========================================
=== TEST RUN
========================================
[run_tests] run tmpdir: /tmp/platform-test_gkhj6rqr
[run_tests] cpus=24 sem limits: SEMMSL=32000 SEMMNS=1024000000 SEMOPM=500 SEMMNI=32000
PYTHONPATH=/home/dsebastian/workspace/aif/platform-test/submodules/p4-programs/test:/home/dsebastian/workspace/aif/platform-test/prebuilt:/home/dsebastian/workspace/aif/platform-test:/home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/install/python:/home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Common/testlib:/home/dsebastian/workspace/aif/platform-test/prebuilt/gen-py/aswitch:/home/dsebastian/workspace/aif/platform-test/prebuilt/gen-py/bm_runtime:/home/dsebastian/workspace/aif/platform-test/submodules/p4-programs/submodules/behavioral-model/targets/a1na_switch:/home/dsebastian/workspace/aif/platform-test/submodules/p4-programs/submodules/behavioral-model/tools
LD_LIBRARY_PATH=/home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/install/lib
A1_PLATFORM=fpga
A1_SYS_SW_PATH=/home/dsebastian/workspace/aif/platform-test/submodules/sys-sw
A1NA_SWITCH=/home/dsebastian/workspace/aif/platform-test/submodules/p4-programs/submodules/behavioral-model/build-p4p/targets/a1na_switch/a1na_switch
ASAN_OPTIONS=verify_asan_link_order=0:detect_leaks=0:intercept_throw=0
CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1
[etcam_exp_actions.py] [devicelib] PRISM_SHM_ROOT=/tmp/platform-test_gkhj6rqr/etcam_exp_actions.py/prism pid=1094468
[etcam_exp_actions.py]
[etcam_exp_actions.py] --- SDK version ---
[etcam_exp_actions.py] {"a1-silicon": "a1_main_regr_07_03_26_v1", "p4-programs-build": "a2pp-2026-0619", "platform": "fpga"}
[etcam_exp_actions.py]
[etcam_exp_actions.py]
[etcam_exp_actions.py] --- Kernel module setup ---
[etcam_exp_actions.py] Found FPGA at 0000:21:00.0
[etcam_exp_actions.py] Loading /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/build/paris-driver/src/KernelModule/paris_dev.ko ...
[etcam_exp_actions.py] 0000:21:00.0 already bound
[etcam_exp_actions.py] /dev/paris_main ready
[etcam_exp_actions.py]
[etcam_exp_actions.py] --- Creating HwPcie + Ham ---
[etcam_exp_actions.py] HwPcie + Ham created (BAR size=0x8000000)
[etcam_exp_actions.py]
[etcam_exp_actions.py] --- FPGA version ---
[etcam_exp_actions.py] {"PROJECT": "hello_pp-vpk180", "ARISTA_FDK_VERSION": "3.1.1", "BUILD_VERSION": "106.1", "PP_VERSION": "C41", "PP_FILENAME": "a2pp-2026-0629/ppu_top-0702a.svm", "AIFABRICS_HASH": "c940ed75122742f487e56fbabba6efdf8761432b", "FPGAEMU_HASH": "dfed8809adc05913c2e66fd2ca18176aa840b1bb", "TIMESTAMP": "2026-07-10 01:50:04 UTC"}
[etcam_exp_actions.py] WARNING: FPGA/SDK p4-programs-build version mismatch -- may not work as intended
[etcam_exp_actions.py] FPGA PP_VERSION: C41
[etcam_exp_actions.py] SDK p4-programs-build: a2pp-2026-0619
[etcam_exp_actions.py]
[etcam_exp_actions.py] --- ILDMA channel reset ---
[etcam_exp_actions.py] ctrl=0x00000001 intr=0x00000000 fsm=0x00000000
[etcam_exp_actions.py] [parserValueSetAdd] SwitchIngressParser.tpidCSIGCompact: set compact=0x0901 wide=0x0000 readback rv=0 csig32_valid=1 csig32=0x0901 csig64_valid=0 csig64=0x0000
[etcam_exp_actions.py] [parserValueSetAdd] SwitchEgressParser.tpidDecapCSIGCompact: set compact=0x0901 wide=0x0000 readback rv=0 csig32_valid=1 csig32=0x0901 csig64_valid=0 csig64=0x0000
[etcam_exp_actions.py] [parserValueSetAdd] SwitchEgressParser.tpidCSIGCompact: set compact=0x0901 wide=0x0000 readback rv=0 csig32_valid=1 csig32=0x0901 csig64_valid=0 csig64=0x0000
[etcam_exp_actions.py] [parserValueSetAdd] SwitchIngressParser.tpidCSIGWide: set compact=0x0901 wide=0x0902 readback rv=0 csig32_valid=1 csig32=0x0901 csig64_valid=1 csig64=0x0902
[etcam_exp_actions.py] [parserValueSetAdd] SwitchEgressParser.tpidDecapCSIGWide: set compact=0x0901 wide=0x0902 readback rv=0 csig32_valid=1 csig32=0x0901 csig64_valid=1 csig64=0x0902
[etcam_exp_actions.py] [parserValueSetAdd] SwitchEgressParser.tpidCSIGWide: set compact=0x0901 wide=0x0902 readback rv=0 csig32_valid=1 csig32=0x0901 csig64_valid=1 csig64=0x0902
[etcam_exp_actions.py] ### mgid 1 device 0 rids [[65535, [67]]]
[etcam_exp_actions.py] python3: /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Hal/HalTcamTable.cpp:153: void Paris::Hal::TcamTable::createKeyTcamShadows(): Assertion `!tableInfo_.keyInfo.tcamPages.empty() && "TCAM table must have tcamPages populated"' failed.
[etcam_exp_actions.py] *** Break *** abort
[etcam_exp_actions.py] #0 0x000070a7909107d7 in __GI___wait4 (pid=1094528, stat_loc=stat_loc
[etcam_exp_actions.py] entry=0x7ffdcd363be8, options=options
[etcam_exp_actions.py] entry=0, usage=usage
[etcam_exp_actions.py] entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
[etcam_exp_actions.py] #1 0x000070a79091091b in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc
[etcam_exp_actions.py] entry=0x7ffdcd363be8, options=options
[etcam_exp_actions.py] entry=0) at ./posix/waitpid.c:38
[etcam_exp_actions.py] #2 0x000070a7908585bb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:172
[etcam_exp_actions.py] #3 0x00006ca78ab9bc65 in CppyyLegacy::TUnixSystem::StackTrace() () from /home/dsebastian/.local/lib/python3.12/site-packages/cppyy_backend/lib/libCoreLegacy.so
[etcam_exp_actions.py] #4 0x00006ca78a9d6b23 in (anonymous namespace)::do_trace (sig=5) at src/clingwrapper.cxx:267
[etcam_exp_actions.py] #5 (anonymous namespace)::TExceptionHandlerImp::HandleException (this=<optimized out>, sig=5) at src/clingwrapper.cxx:280
[etcam_exp_actions.py] #6 0x00006ca78ab9a741 in CppyyLegacy::TUnixSystem::DispatchSignals(CppyyLegacy::ESignals) () from /home/dsebastian/.local/lib/python3.12/site-packages/cppyy_backend/lib/libCoreLegacy.so
[etcam_exp_actions.py] #7 <signal handler called>
[etcam_exp_actions.py] #8 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
[etcam_exp_actions.py] #9 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
[etcam_exp_actions.py] #10 __GI___pthread_kill (threadid=<optimized out>, signo=signo
[etcam_exp_actions.py] entry=6) at ./nptl/pthread_kill.c:89
[etcam_exp_actions.py] #11 0x000070a79084527e in __GI_raise (sig=sig
[etcam_exp_actions.py] entry=6) at ../sysdeps/posix/raise.c:26
[etcam_exp_actions.py] #12 0x000070a7908288ff in __GI_abort () at ./stdlib/abort.c:79
[etcam_exp_actions.py] #13 0x000070a79082881b in __assert_fail_base (fmt=0x70a7909d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion
[etcam_exp_actions.py] entry=0x6ca780976e40 "!tableInfo_.keyInfo.tcamPages.empty() && \"TCAM table must have tcamPages populated\"", file=file
[etcam_exp_actions.py] entry=0x6ca780976640 "/home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Hal/HalTcamTable.cpp", line=line
[etcam_exp_actions.py] entry=153, function=function
[etcam_exp_actions.py] entry=0x6ca780976de0 "void Paris::Hal::TcamTable::createKeyTcamShadows()") at ./assert/assert.c:96
[etcam_exp_actions.py] #14 0x000070a79083b517 in __assert_fail (assertion=0x6ca780976e40 "!tableInfo_.keyInfo.tcamPages.empty() && \"TCAM table must have tcamPages populated\"", file=0x6ca780976640 "/home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Hal/HalTcamTable.cpp", line=153, function=0x6ca780976de0 "void Paris::Hal::TcamTable::createKeyTcamShadows()") at ./assert/assert.c:105
[etcam_exp_actions.py] #15 0x00006ca77fb6f8eb in Paris::Hal::TcamTable::createKeyTcamShadows (this=this
[etcam_exp_actions.py] entry=0x6e37a2579a80) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Hal/HalTcamTable.cpp:153
[etcam_exp_actions.py] #16 0x00006ca7808d95a9 in Paris::Hal::A1::WideIngElasticTcamTable::WideIngElasticTcamTable (this=this
[etcam_exp_actions.py] entry=0x6e37a2579a80, deviceId=..., pipeId=..., shadowColl=std::shared_ptr<Paris::ShadowCollection> (empty) = {...}, instanceId=instanceId
[etcam_exp_actions.py] entry=1) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Hal/autogen/HalWideIngElasticTcam.cpp:174
[etcam_exp_actions.py] #17 0x00006ca77cc9694a in std::make_unique<Paris::Hal::A1::WideIngElasticTcamTable, Paris::DeviceId const&, Paris::PipeId const&, std::shared_ptr<Paris::ShadowCollection>&, int&> () at /usr/include/c++/13/bits/unique_ptr.h:1070
[etcam_exp_actions.py] #18 Paris::Table::createTableMgr<Paris::Table::WideIngElasticTcamKey, Paris::Table::WideIngElasticTcamAction, Paris::Hal::A1::WideIngElasticTcamTable> (deviceId=..., pipeId=..., driver=std::shared_ptr<Paris::DriverMgr::ILDriverInterface> (use count 50, weak count 0) = {...}, shadowColl=std::shared_ptr<Paris::ShadowCollection> (use count 142, weak count 0) = {...}, callback=..., tableConfig=..., instanceId=<optimized out>) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/TableMgr/TableMgrImpl.h:100
[etcam_exp_actions.py] #19 0x00006ca77c900638 in Paris::Table::A1TableMgrFactory::create (tableId=tableId
[etcam_exp_actions.py] entry=Paris::Table::TableId::WideIngElasticTcam_multiInstance_1, deviceId=..., pipeId=..., driver=std::shared_ptr<Paris::DriverMgr::ILDriverInterface> (use count 50, weak count 0) = {...}, shadowColl=std::shared_ptr<Paris::ShadowCollection> (use count 142, weak count 0) = {...}, callback=..., tableConfig=...) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/TableMgr/autogen/A1TableMgrFactory.cpp:1720
[etcam_exp_actions.py] #20 0x00006ca77c86cf72 in Paris::TableProgrammingInterface::createTableMgr (this=this
[etcam_exp_actions.py] entry=0x6db7902b6550, tableId=tableId
[etcam_exp_actions.py] entry=Paris::Table::TableId::WideIngElasticTcam_multiInstance_1, devId=..., devRole=<optimized out>, pipeId=..., tableConfig=..., callback=..., cacheTblMgr=<optimized out>) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/TableMgr/TableProgrammingInterface.cpp:157
[etcam_exp_actions.py] #21 0x00006ca77b746674 in Paris::PhysicalDeviceMgr::createTableMgr (this=<optimized out>, tableId=<optimized out>, pipeId=..., tpChannelId=<optimized out>, tableConfig=..., callback=...) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/DeviceMgr/PhysicalDeviceMgr.cpp:35
[etcam_exp_actions.py] #22 0x00006ca78c3ba09b in ?? ()
[etcam_exp_actions.py] #23 0x00007ffdcd36d910 in ?? ()
[etcam_exp_actions.py] #24 0x00006ca780f22650 in ?? ()
[etcam_exp_actions.py] #25 0x00006d17903a07b0 in ?? ()
[etcam_exp_actions.py] #26 0x854aa0c15af42c00 in ?? ()
[etcam_exp_actions.py] #27 0x0000000000000000 in ?? ()
[etcam_exp_actions.py] *** Break *** abort
[etcam_exp_actions.py] #0 0x000070a7909107d7 in __GI___wait4 (pid=1094700, stat_loc=stat_loc
[etcam_exp_actions.py] entry=0x7ffdcd363be8, options=options
[etcam_exp_actions.py] entry=0, usage=usage
[etcam_exp_actions.py] entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
[etcam_exp_actions.py] #1 0x000070a79091091b in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc
[etcam_exp_actions.py] entry=0x7ffdcd363be8, options=options
[etcam_exp_actions.py] entry=0) at ./posix/waitpid.c:38
[etcam_exp_actions.py] #2 0x000070a7908585bb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:172
[etcam_exp_actions.py] #3 0x00006ca78ab9bc65 in CppyyLegacy::TUnixSystem::StackTrace() () from /home/dsebastian/.local/lib/python3.12/site-packages/cppyy_backend/lib/libCoreLegacy.so
[etcam_exp_actions.py] #4 0x00006ca78a9d69a7 in (anonymous namespace)::do_trace (sig=5) at src/clingwrapper.cxx:267
[etcam_exp_actions.py] #5 (anonymous namespace)::TExceptionHandlerImp::HandleException (this=<optimized out>, sig=5) at src/clingwrapper.cxx:286
[etcam_exp_actions.py] #6 0x00006ca78ab9a741 in CppyyLegacy::TUnixSystem::DispatchSignals(CppyyLegacy::ESignals) () from /home/dsebastian/.local/lib/python3.12/site-packages/cppyy_backend/lib/libCoreLegacy.so
[etcam_exp_actions.py] #7 <signal handler called>
[etcam_exp_actions.py] #8 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
[etcam_exp_actions.py] #9 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
[etcam_exp_actions.py] #10 __GI___pthread_kill (threadid=<optimized out>, signo=signo
[etcam_exp_actions.py] entry=6) at ./nptl/pthread_kill.c:89
[etcam_exp_actions.py] #11 0x000070a79084527e in __GI_raise (sig=sig
[etcam_exp_actions.py] entry=6) at ../sysdeps/posix/raise.c:26
[etcam_exp_actions.py] #12 0x000070a7908288ff in __GI_abort () at ./stdlib/abort.c:79
[etcam_exp_actions.py] #13 0x000070a79082881b in __assert_fail_base (fmt=0x70a7909d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion
[etcam_exp_actions.py] entry=0x6ca780976e40 "!tableInfo_.keyInfo.tcamPages.empty() && \"TCAM table must have tcamPages populated\"", file=file
[etcam_exp_actions.py] entry=0x6ca780976640 "/home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Hal/HalTcamTable.cpp", line=line
[etcam_exp_actions.py] entry=153, function=function
[etcam_exp_actions.py] entry=0x6ca780976de0 "void Paris::Hal::TcamTable::createKeyTcamShadows()") at ./assert/assert.c:96
[etcam_exp_actions.py] #14 0x000070a79083b517 in __assert_fail (assertion=0x6ca780976e40 "!tableInfo_.keyInfo.tcamPages.empty() && \"TCAM table must have tcamPages populated\"", file=0x6ca780976640 "/home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Hal/HalTcamTable.cpp", line=153, function=0x6ca780976de0 "void Paris::Hal::TcamTable::createKeyTcamShadows()") at ./assert/assert.c:105
[etcam_exp_actions.py] #15 0x00006ca77fb6f8eb in Paris::Hal::TcamTable::createKeyTcamShadows (this=this
[etcam_exp_actions.py] entry=0x6e37a2579a80) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Hal/HalTcamTable.cpp:153
[etcam_exp_actions.py] #16 0x00006ca7808d95a9 in Paris::Hal::A1::WideIngElasticTcamTable::WideIngElasticTcamTable (this=this
[etcam_exp_actions.py] entry=0x6e37a2579a80, deviceId=..., pipeId=..., shadowColl=std::shared_ptr<Paris::ShadowCollection> (empty) = {...}, instanceId=instanceId
[etcam_exp_actions.py] entry=1) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/Hal/autogen/HalWideIngElasticTcam.cpp:174
[etcam_exp_actions.py] #17 0x00006ca77cc9694a in std::make_unique<Paris::Hal::A1::WideIngElasticTcamTable, Paris::DeviceId const&, Paris::PipeId const&, std::shared_ptr<Paris::ShadowCollection>&, int&> () at /usr/include/c++/13/bits/unique_ptr.h:1070
[etcam_exp_actions.py] #18 Paris::Table::createTableMgr<Paris::Table::WideIngElasticTcamKey, Paris::Table::WideIngElasticTcamAction, Paris::Hal::A1::WideIngElasticTcamTable> (deviceId=..., pipeId=..., driver=std::shared_ptr<Paris::DriverMgr::ILDriverInterface> (use count 50, weak count 0) = {...}, shadowColl=std::shared_ptr<Paris::ShadowCollection> (use count 142, weak count 0) = {...}, callback=..., tableConfig=..., instanceId=<optimized out>) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/TableMgr/TableMgrImpl.h:100
[etcam_exp_actions.py] #19 0x00006ca77c900638 in Paris::Table::A1TableMgrFactory::create (tableId=tableId
[etcam_exp_actions.py] entry=Paris::Table::TableId::WideIngElasticTcam_multiInstance_1, deviceId=..., pipeId=..., driver=std::shared_ptr<Paris::DriverMgr::ILDriverInterface> (use count 50, weak count 0) = {...}, shadowColl=std::shared_ptr<Paris::ShadowCollection> (use count 142, weak count 0) = {...}, callback=..., tableConfig=...) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/TableMgr/autogen/A1TableMgrFactory.cpp:1720
[etcam_exp_actions.py] #20 0x00006ca77c86cf72 in Paris::TableProgrammingInterface::createTableMgr (this=this
[etcam_exp_actions.py] entry=0x6db7902b6550, tableId=tableId
[etcam_exp_actions.py] entry=Paris::Table::TableId::WideIngElasticTcam_multiInstance_1, devId=..., devRole=<optimized out>, pipeId=..., tableConfig=..., callback=..., cacheTblMgr=<optimized out>) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/TableMgr/TableProgrammingInterface.cpp:157
[etcam_exp_actions.py] #21 0x00006ca77b746674 in Paris::PhysicalDeviceMgr::createTableMgr (this=<optimized out>, tableId=<optimized out>, pipeId=..., tpChannelId=<optimized out>, tableConfig=..., callback=...) at /home/dsebastian/workspace/aif/platform-test/submodules/sys-sw/paris-driver/src/DeviceMgr/PhysicalDeviceMgr.cpp:35
[etcam_exp_actions.py] #22 0x00006ca78c3ba09b in ?? ()
[etcam_exp_actions.py] #23 0x00007ffdcd36d910 in ?? ()
[etcam_exp_actions.py] #24 0x00006ca780f22650 in ?? ()
[etcam_exp_actions.py] #25 0x00006d17903a07b0 in ?? ()
[etcam_exp_actions.py] #26 0x854aa0c15af42c00 in ?? ()
[etcam_exp_actions.py] #27 0x0000000000000000 in ?? ()
[etcam_exp_actions.py] Completed in 1m31.7s
============================================================
FAILED:
etcam_exp_actions.py
Results: 1 test(s) — 0 passed, 1 failed
============================================================
RESULT: FAIL (92s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment