Skip to content

runtime: swss SIGABRTs; likely causing us to get no Ethernet devices? #6

@wdoekes

Description

@wdoekes

On SONiC-OS-202405-osso.0-dirty-20241102.171738 we see this:

2024-11-05 15:52:36,774 WARN exited: orchagent (terminated by SIGABRT (core dumped); not expected)

Starting manually:

# sonic_asic_platform=broadcom bash -x /usr/bin/swss.sh start
...
+ . /etc/sonic/sonic-environment
++ SONIC_VERSION=202405-osso.0-dirty-20241102.171738
++ PLATFORM=x86_64-accton_as7326_56x-r0
++ HWSKU=Accton-AS7326-56X
++ DEVICE_TYPE=not-provisioned
++ ASIC_TYPE=broadcom
...
+ ASIC_CONF=/usr/share/sonic/device/x86_64-accton_as7326_56x-r0/asic.conf
+ PLATFORM_ENV_CONF=/usr/share/sonic/device/x86_64-accton_as7326_56x-r0/platform_env.conf
...
++ docker inspect --type container swss
...
        "HostConfig": {
            "Binds": [
                "/etc/network/interfaces:/etc/network/interfaces:ro",
                "/etc/network/interfaces.d/:/etc/network/interfaces.d/:ro",
                "/var/run/redis:/var/run/redis:rw",
                "/var/run/redis-chassis:/var/run/redis-chassis:ro",
                "/usr/share/sonic/device/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/:/usr/share/sonic/hwsku:ro",
                "/usr/share/sonic/device/x86_64-accton_as7326_56x-r0:/usr/share/sonic/platform:ro",
                "/usr/share/sonic/templates/rsyslog-container.conf.j2:/usr/share/sonic/templates/rsyslog-container.conf.j2:ro",
                "/etc/timezone:/etc/timezone:ro",
                "/host/machine.conf:/host/machine.conf:ro",
                "/etc/sonic:/etc/sonic:ro",
                "/var/log/swss:/var/log/swss:rw",
                "/etc/fips/fips_enable:/etc/fips/fips_enable:ro"
            ],
...
+ echo 'Starting existing swss container with HWSKU Accton-AS7326-56X'
Starting existing swss container with HWSKU Accton-AS7326-56X
+ /usr/local/bin/container start swss

So.. then we do:

# docker run -it --net=host --entrypoint=/bin/bash \
  -v /etc/network/interfaces:/etc/network/interfaces:ro \
  -v /etc/network/interfaces.d/:/etc/network/interfaces.d/:ro \
  -v /var/run/redis:/var/run/redis:rw \
  -v /var/run/redis-chassis:/var/run/redis-chassis:ro \
  -v /usr/share/sonic/device/x86_64-accton_as7326_56x-r0/Accton-AS7326-56X/:/usr/share/sonic/hwsku:ro \
  -v /usr/share/sonic/device/x86_64-accton_as7326_56x-r0:/usr/share/sonic/platform:ro \
  -v /usr/share/sonic/templates/rsyslog-container.conf.j2:/usr/share/sonic/templates/rsyslog-container.conf.j2:ro \
  -v /etc/timezone:/etc/timezone:ro \
  -v /host/machine.conf:/host/machine.conf:ro \
  -v /etc/sonic:/etc/sonic:ro \
  -v /var/log/swss:/var/log/swss:rw \
  -v /etc/fips/fips_enable:/etc/fips/fips_enable:ro \
  docker-orchagent
(docker)# bash -x `which orchagent.sh `
+ HWSKU_DIR=/usr/share/sonic/hwsku
+ SWSS_VARS_FILE=/usr/share/sonic/templates/swss_vars.j2
++ sonic-cfggen -d -y /etc/sonic/sonic_version.yml -t /usr/share/sonic/templates/swss_vars.j2
+ SWSS_VARS='{
    "asic_type": "broadcom",
...
+ [[ x == x\S\m\a\r\t\S\w\i\t\c\h ]]
+ exec /usr/bin/orchagent -d /var/log/swss -b 1024 -s -m f8:8e:xx:xx:xx:xx

(wait a while)

Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    has-fixHas a fixneeds-upstreamHas possible fixes but needs tickets/PRs upstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions