Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
874cbf4
[docker-ptf] Port changes from master (#22185)
opcoder0 Apr 1, 2025
4765324
[202411][FRR] Port Fix from FRR community for issue #18493
sudhanshukumar22 Apr 1, 2025
f7cbdd9
[orchagent.sh] mask SIGHUP before starting orchagent (#22208)
stepanblyschak Apr 2, 2025
6921735
[FRR] fix FRR mgmtd losing configuration issue (#22183)
yxieca Apr 3, 2025
a06b315
[202411] Add new T1 Mellanox-SN4280-O8V40 SKU for 202411 (#22108)
sschlafman Apr 3, 2025
2bb570a
[202411] Changed SKU name to Mellanox-SN4280-C48-202411 (#22121)
sschlafman Apr 3, 2025
b9a0031
[submodule] Update submodule sonic-swss to the latest HEAD automatica…
mssonicbld Apr 3, 2025
6042d69
[submodule] Update submodule sonic-sairedis to the latest HEAD automa…
mssonicbld Apr 3, 2025
fd4d058
[Broadcom] Upgrade xgs SAI to 12.3.6.2 (#22219)
Gfrom2016 Apr 3, 2025
b754560
[submodule] Update submodule sonic-utilities to the latest HEAD autom…
mssonicbld Apr 4, 2025
bd3a419
Split frr_bmp feature switch for turn on FRR side bmp tunneling via L…
FengPan-Frank Apr 7, 2025
3807de0
Update cisco-8000.ini (#22247)
Aravind-Subbaroyan Apr 7, 2025
bbd6e3c
extend frr reconnect bmp retry interval from 1-2s into 10-15s. (#22251)
mssonicbld Apr 7, 2025
d9fd131
[submodule] Update submodule sonic-gnmi to the latest HEAD automatica…
mssonicbld Apr 8, 2025
f2a76d5
[202411][Mellanox] Integrate HW-MGMT Version 7.0040.2207 (#22202)
volodymyrsamotiy Apr 10, 2025
2fd97fe
[chassis-packet] Allow Fallback Route to get programmed on Downstream…
mssonicbld Apr 11, 2025
8f40740
[202411] Update to Linux 6.1.123 (#21736)
saiarcot895 Apr 15, 2025
1711475
[ci] Stop building slave docker for jessie and march (#22331)
mssonicbld Apr 15, 2025
c70a09c
[submodule] Update submodule sonic-utilities to the latest HEAD autom…
mssonicbld Apr 16, 2025
688b708
[CI]Add a pipeline to generates daily, successful virtual SONiC image…
mssonicbld Apr 18, 2025
4700d35
[submodule] Update submodule sonic-swss to the latest HEAD automatica…
mssonicbld Apr 18, 2025
0da8b10
[submodule] Update submodule sonic-sairedis to the latest HEAD automa…
mssonicbld Apr 22, 2025
367199f
[submodule] Update submodule sonic-swss to the latest HEAD automatica…
mssonicbld Apr 23, 2025
903637b
Merge remote-tracking branch 'base/202411' into code-sync-202412
r12f Apr 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .azure-pipelines/docker-sonic-slave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ parameters:
- bullseye
- buster
- stretch
- jessie
- name: registry_url
type: string
default: sonicdev-microsoft.azurecr.io
Expand All @@ -61,14 +60,11 @@ stages:
jobs:
- ${{ each dist in parameters.dists }}:
- ${{ if endswith(variables['Build.DefinitionName'], dist) }}:
- ${{ each arch in parameters.arches }}:
- template: .azure-pipelines/docker-sonic-slave-template.yml@buildimage
parameters:
pool: sonicbld-1es
arch: ${{ arch }}
dist: ${{ dist }}
${{ if ne(arch, 'amd64') }}:
march: _march_${{ arch }}
- template: .azure-pipelines/docker-sonic-slave-template.yml@buildimage
parameters:
pool: sonicbld-1es
arch: amd64
dist: ${{ dist }}
- stage: Build_native_arm
dependsOn: []
jobs:
Expand Down
151 changes: 151 additions & 0 deletions .azure-pipelines/official-build-vs-with-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
# This pipeline generates daily, successful virtual SONiC images, primarily for PR testing in non-build repositories.

name: $(Build.DefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)

schedules:
- cron: "0 */8 * * *" # At 0 minutes past the hour, every 8 hours, every day UTC
displayName: "Daily Build and Test SONiC virtual images"
branches:
include:
- master
- 202305
- 202311
- 202405
- 202411

trigger: none
pr: none

resources:
repositories:
- repository: sonic-mgmt
type: github
name: sonic-net/sonic-mgmt
ref: master
endpoint: sonic-net
- repository: buildimage
type: github
name: sonic-net/sonic-buildimage
endpoint: sonic-net
ref: master

variables:
- template: .azure-pipelines/template-variables.yml@buildimage
- name: BUILD_BRANCH
value: $(Build.SourceBranchName)

stages:
- stage: BuildVS
pool: sonicbld-1es
jobs:
- template: azure-pipelines-build.yml
parameters:
buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) BUILD_MULTIASIC_KVM=y INCLUDE_DHCP_SERVER=y ${{ variables.VERSION_CONTROL_OPTIONS }}'
jobGroups:
- name: vs

- stage: Test
dependsOn: BuildVS
condition: and(succeeded(), in(dependencies.BuildVS.result, 'Succeeded', 'SucceededWithIssues'))
variables:
- group: SONiC-Elastictest

jobs:
- job: t0_elastictest
pool: sonic-ubuntu-1c
displayName: "kvmtest-t0 by Elastictest"
timeoutInMinutes: 240
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
parameters:
TOPOLOGY: t0
MIN_WORKER: $(T0_INSTANCE_NUM)
MAX_WORKER: $(T0_INSTANCE_NUM)
MGMT_BRANCH: $(BUILD_BRANCH)

- job: t0_2vlans_elastictest
pool: sonic-ubuntu-1c
displayName: "kvmtest-t0-2vlans by Elastictest"
timeoutInMinutes: 240
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
parameters:
TOPOLOGY: t0
TEST_SET: t0-2vlans
MIN_WORKER: $(T0_2VLANS_INSTANCE_NUM)
MAX_WORKER: $(T0_2VLANS_INSTANCE_NUM)
MGMT_BRANCH: $(BUILD_BRANCH)
DEPLOY_MG_EXTRA_PARAMS: "-e vlan_config=two_vlan_a"

- job: t1_lag_elastictest
pool: sonic-ubuntu-1c
displayName: "kvmtest-t1-lag by Elastictest"
timeoutInMinutes: 240
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
parameters:
TOPOLOGY: t1-lag
MIN_WORKER: $(T1_LAG_INSTANCE_NUM)
MAX_WORKER: $(T1_LAG_INSTANCE_NUM)
MGMT_BRANCH: $(BUILD_BRANCH)

- job: multi_asic_elastictest
displayName: "kvmtest-multi-asic-t1-lag by Elastictest"
pool: sonic-ubuntu-1c
timeoutInMinutes: 240
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
parameters:
TOPOLOGY: t1-8-lag
TEST_SET: multi-asic-t1-lag
MIN_WORKER: $(MULTI_ASIC_INSTANCE_NUM)
MAX_WORKER: $(MULTI_ASIC_INSTANCE_NUM)
NUM_ASIC: 4
MGMT_BRANCH: $(BUILD_BRANCH)

- job: dualtor_elastictest
pool: sonic-ubuntu-1c
displayName: "kvmtest-dualtor-t0 by Elastictest"
timeoutInMinutes: 240
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
parameters:
TOPOLOGY: dualtor
MIN_WORKER: $(T0_DUALTOR_INSTANCE_NUM)
MAX_WORKER: $(T0_DUALTOR_INSTANCE_NUM)
MGMT_BRANCH: $(BUILD_BRANCH)
COMMON_EXTRA_PARAMS: "--disable_loganalyzer "

- job: sonic_t0_elastictest
displayName: "kvmtest-t0-sonic by Elastictest"
pool: sonic-ubuntu-1c
timeoutInMinutes: 240
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
parameters:
TOPOLOGY: t0-64-32
MIN_WORKER: $(T0_SONIC_INSTANCE_NUM)
MAX_WORKER: $(T0_SONIC_INSTANCE_NUM)
TEST_SET: t0-sonic
MGMT_BRANCH: $(BUILD_BRANCH)
COMMON_EXTRA_PARAMS: "--neighbor_type=sonic "
VM_TYPE: vsonic

- job: dpu_elastictest
displayName: "kvmtest-dpu by Elastictest"
timeoutInMinutes: 240
continueOnError: false
pool: sonic-ubuntu-1c
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
parameters:
TOPOLOGY: dpu
MIN_WORKER: $(T0_SONIC_INSTANCE_NUM)
MAX_WORKER: $(T0_SONIC_INSTANCE_NUM)
MGMT_BRANCH: $(BUILD_BRANCH)
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{#
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#}
{% set default_cable = '300m' %}
{%-set ports2cable = {
'spinerouter_leafrouter' : '2000m',
'leafrouter_torrouter' : '300m'
}
-%}
{% set ingress_lossless_pool_size = '50667520' %}
{% set ingress_lossless_pool_xoff = '3854336' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '50667520' %}

{% import 'buffers_defaults_objects.j2' as defs with context %}

{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
{%- endmacro %}

{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
{%- endmacro %}

{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
{%- endmacro %}

{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
{%- endmacro %}

Loading
Loading