Joey Armstrong | 7bcb578 | 2023-06-07 12:25:57 -0400 | [diff] [blame] | 1 | --- |
| 2 | # voltha 2.x tests |
Joey Armstrong | f8b5b8e | 2023-08-10 13:49:21 -0400 | [diff] [blame] | 3 | # [NOTE] |
| 4 | # o md5sum(master) can be used to locate branch/release variants of a job. |
Joey Armstrong | 7bcb578 | 2023-06-07 12:25:57 -0400 | [diff] [blame] | 5 | |
| 6 | - project: |
| 7 | name: voltha-e2e-2.12 |
| 8 | |
| 9 | project-name: '{name}' |
| 10 | manualBranch: '' |
| 11 | olts: 1 |
| 12 | onus: 1 |
| 13 | pons: 1 |
| 14 | withAlarms: true |
| 15 | make-target-failtest: bbsim-failurescenarios |
| 16 | make-target-errortest: bbsim-errorscenarios |
| 17 | make-target-alarmtest: bbsim-alarms-kind |
| 18 | make-target-multipleolt: bbsim-multiolt-kind |
| 19 | make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test |
| 20 | make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test |
| 21 | make-target-reconciletest: reconcile-openonu-go-adapter-test-att |
| 22 | make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt |
| 23 | make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt |
| 24 | |
| 25 | # source: voltha-e2e.yaml |
| 26 | jobs: |
| 27 | - 'voltha-periodic-test': |
| 28 | name: 'periodic-voltha-pm-data-test-bbsim-2.12' |
| 29 | pipeline-script: 'voltha/voltha-2.12/bbsim-tests.groovy' |
| 30 | code-branch: 'voltha-2.12' |
| 31 | extraHelmFlags: '--set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1' |
| 32 | time-trigger: "H H/23 * * *" |
| 33 | logLevel: 'DEBUG' |
| 34 | testTargets: | |
| 35 | - target: voltha-pm-data-single-kind-att |
| 36 | workflow: att |
| 37 | flags: "" |
| 38 | teardown: true |
| 39 | logging: true |
| 40 | - target: voltha-pm-data-single-kind-dt |
| 41 | workflow: dt |
| 42 | flags: "" |
| 43 | teardown: true |
| 44 | logging: true |
| 45 | - target: voltha-pm-data-single-kind-tt |
| 46 | workflow: tt |
| 47 | flags: "" |
| 48 | teardown: true |
| 49 | logging: true |
| 50 | timeout: 140 |
Joey Armstrong | 2d68998 | 2023-06-08 18:14:16 -0400 | [diff] [blame] | 51 | |
| 52 | - 'voltha-periodic-test': |
| 53 | name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim-2.12' |
| 54 | pipeline-script: 'voltha/voltha-2.12/bbsim-tests.groovy' |
| 55 | code-branch: 'voltha-2.12' |
| 56 | extraHelmFlags: '--set onu=2,pon=2 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1' |
| 57 | olts: 2 |
| 58 | timeout: 180 |
| 59 | logLevel: 'DEBUG' |
| 60 | testTargets: | |
| 61 | - target: voltha-pm-data-multiolt-kind-att |
| 62 | workflow: att |
| 63 | flags: "" |
| 64 | teardown: true |
| 65 | logging: true |
| 66 | - target: voltha-pm-data-multiolt-kind-dt |
| 67 | workflow: dt |
| 68 | flags: "" |
| 69 | teardown: true |
| 70 | logging: true |
| 71 | - target: voltha-pm-data-multiolt-kind-tt |
| 72 | workflow: tt |
| 73 | flags: "" |
| 74 | teardown: true |
| 75 | logging: true |
| 76 | time-trigger: "H H/23 * * *" |
Joey Armstrong | 63a5925 | 2023-06-14 09:40:36 -0400 | [diff] [blame] | 77 | |
| 78 | - 'voltha-periodic-test': |
| 79 | name: 'periodic-voltha-test-bbsim-2.12' |
| 80 | pipeline-script: 'voltha/voltha-2.12/bbsim-tests.groovy' |
| 81 | code-branch: 'voltha-2.12' |
| 82 | time-trigger: "H H/23 * * *" |
| 83 | testTargets: | |
| 84 | - target: functional-single-kind |
| 85 | workflow: att |
| 86 | flags: "" |
| 87 | teardown: true |
| 88 | logging: true |
| 89 | - target: bbsim-alarms-kind |
| 90 | workflow: att |
| 91 | flags: "" |
| 92 | teardown: false |
| 93 | logging: true |
| 94 | - target: bbsim-failurescenarios |
| 95 | workflow: att |
| 96 | flags: "" |
| 97 | teardown: false |
| 98 | logging: true |
| 99 | - target: bbsim-errorscenarios |
| 100 | workflow: att |
| 101 | flags: "" |
| 102 | teardown: false |
| 103 | logging: true |
| 104 | |
| 105 | - 'voltha-periodic-test': |
| 106 | name: 'periodic-voltha-sanity-test-multi-runs-2.12' |
| 107 | pipeline-script: 'voltha/voltha-2.12/bbsim-tests.groovy' |
| 108 | code-branch: 'voltha-2.12' |
| 109 | time-trigger: "H H/23 * * *" |
| 110 | testTargets: | |
| 111 | - target: sanity-kind |
| 112 | workflow: att |
| 113 | flags: "" |
| 114 | teardown: true |
| 115 | logging: true |
| 116 | - target: sanity-kind |
| 117 | workflow: att |
| 118 | flags: "" |
| 119 | teardown: false |
| 120 | logging: true |
| 121 | - target: sanity-kind |
| 122 | workflow: att |
| 123 | flags: "" |
| 124 | teardown: false |
| 125 | logging: true |
| 126 | - target: sanity-kind |
| 127 | workflow: att |
| 128 | flags: "" |
| 129 | teardown: false |
| 130 | logging: true |
| 131 | - target: sanity-kind |
| 132 | workflow: att |
| 133 | flags: "" |
| 134 | teardown: false |
| 135 | logging: true |
Joey Armstrong | f8b5b8e | 2023-08-10 13:49:21 -0400 | [diff] [blame] | 136 | |
| 137 | # ----------------------------------------------------------------------- |
| 138 | # md5sum(master): eff05a324e94fdef076b2d5f7cb4f80f |
| 139 | # ----------------------------------------------------------------------- |
Joey Armstrong | d0b5af0 | 2023-08-25 15:12:54 -0400 | [diff] [blame^] | 140 | # https://www.lenar.io/jenkins-schedule-build-periodically/ |
| 141 | # ----------------------------------------------------------------------- |
Joey Armstrong | f8b5b8e | 2023-08-10 13:49:21 -0400 | [diff] [blame] | 142 | - 'voltha-periodic-test': |
| 143 | name: 'periodic-voltha-dt-test-bbsim-2.12' |
| 144 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
| 145 | pipeline-script: 'voltha/voltha-2.12/bbsim-tests.groovy' |
| 146 | code-branch: 'voltha-2.12' |
Joey Armstrong | d0b5af0 | 2023-08-25 15:12:54 -0400 | [diff] [blame^] | 147 | time-trigger : "* 7-18/4 * * *" # build every 4 hrs between 7am-6pm |
| 148 | # ----------------------------------------------------------------------- |
| 149 | # time-trigger : "H/20 * * * *" # every 20 min |
| 150 | # time-trigger: "@hourly" |
| 151 | # time-trigger: "@daily" |
| 152 | # time-trigger: "@weekly" |
| 153 | # time-trigger: "monthly" |
| 154 | # ----------------------------------------------------------------------- |
Joey Armstrong | f8b5b8e | 2023-08-10 13:49:21 -0400 | [diff] [blame] | 155 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master ' |
| 156 | testTargets: | |
| 157 | - target: functional-single-kind-dt |
| 158 | workflow: dt |
| 159 | flags: "" |
| 160 | teardown: true |
| 161 | logging: true |
| 162 | - target: bbsim-failurescenarios-dt |
| 163 | workflow: dt |
| 164 | flags: "" |
| 165 | teardown: false |
| 166 | logging: true |
Joey Armstrong | 63a5925 | 2023-06-14 09:40:36 -0400 | [diff] [blame] | 167 | |
Joey Armstrong | 2d68998 | 2023-06-08 18:14:16 -0400 | [diff] [blame] | 168 | # [EOF] |