I tried to build a dock image containing Barefoot SDE and Stratum, including BSP mode, and to run the docker container on the switch. However, the following error occurred when trying to run the container.
SAI default initialize: 1
bf_switchd: library /usr/local/lib/libpltfm_mgr.so loaded
bf_switchd: agent[0] initialized
Tcl server started..
Tcl server: listen socket created
Tcl server: bind done on port 8008, listening...
Tcl server: waiting for incoming connections...
2020-05-08 08:16:37.333978 BF_PLTFM ERROR - Error getting ipv6 address for interface usb0
CHSS MGMT ERROR: Failed to configure cdc_eth ipv6
2020-05-08 08:20:27.707726 BF_PLTFM ERROR - Error Getting the Board info from BMC. Hence exiting ****
cat /etc/onl/platform : x86-64-accton-wedge100bf-32x-r0
uname -a : Linux Leaf04 4.14.49-OpenNetworkLinux #1 SMP Thu Apr 16 10:17:48 UTC 2020 x86_64 GNU/Linux
lsmod :
Module Size Used by
bf_kdrv 28672 0
x86_pkg_temp_thermal 16384 0
gpio_ich 16384 0
optoe 20480 0
**To Reproduce**
Steps to reproduce the behavior:
1. The docker build script has been modified. (/stratum/hal/bin/barefoot/docker)
- [build-stratum-bf-container.sh](https://github.com/stratum/stratum/blob/30b7793f1a8571e3fcc5818e9cca6238a3fc53e1/stratum/hal/bin/barefoot/docker/build-stratum-bf-container.sh)
- Line 39:
Run this command 'sudo ./build-stratum-bf-container.sh ~/bf-sde-9.0.0.tar ~/linux-4.14.49-mbuild.tar.gz bf-reference-bsp-9.0.0.tar' for building docker imag
The built docker image has been moved to the switch.
Tcl server started..
Tcl server: listen socket created
Tcl server: bind done on port 8008, listening...
Tcl server: waiting for incoming connections...
2020-05-11 01:41:51.134000 BF_PLTFM ERROR - Error getting ipv6 address for interface usb0
CHSS MGMT ERROR: Failed to configure cdc_eth ipv6
Expected behavior
A clear and concise description of what you expected to happen.
Tcl server started..
Tcl server: listen socket created
Tcl server: bind done on port 8008, listening...
Tcl server: waiting for incoming connections...
Health monitor started
Skip diag lib deinit
|E0511 00:27:50.588335 5539 hal.cc:234] Stratum external facing services are listening to 0.0.0.0:28000, localhost:28000...
E0511 00:29:07.589924 5539 hal.cc:376] StratumErrorSpace::ERR_INTERNAL: Failed to check in with procmon: failed to connect to all addresses
E0511 00:29:07.591130 5539 hal.cc:244] Error when checking in with procmon: Failed to check in with procmon: failed to connect to all addresses.
Describe the bug Hello, Developer.
I tried to build a dock image containing Barefoot SDE and Stratum, including BSP mode, and to run the docker container on the switch. However, the following error occurred when trying to run the container.
Environment
Building on Desktop:
Launch on Switch:
lsmod :
Module Size Used by bf_kdrv 28672 0 x86_pkg_temp_thermal 16384 0 gpio_ich 16384 0 optoe 20480 0
Expected behavior A clear and concise description of what you expected to happen.
Additional context Nothing.