3 name: netvirt-full-integration
5 - 'netvirt-daily-full-integration-{stream}'
12 branch: 'stable/carbon'
17 branch: 'stable/boron'
22 branch: 'stable/beryllium'
28 archive-artifacts: '*.log **/target/surefire-reports/*.txt'
31 name: netvirt-run-it-external-docker
34 maven-version: '{maven-version}'
37 -V -B verify -l {logfile} -Pintegrationtest
38 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
39 -Dovsdb.controller.address=${{CONTROLLER_IP}}
40 -Dmaven.test.failure.ignore=true
42 - 'ovsdbserver.ipaddress=127.0.0.1'
43 - 'ovsdbserver.port=6641'
44 - 'ovsdb.userspace.enabled=yes'
45 - 'maven.repo.local=/tmp/r'
46 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
49 - '-Xmx1024m -XX:MaxPermSize=256m'
50 settings: 'netvirt-settings'
52 global-settings: 'odl-global-settings'
53 global-settings-type: cfp
56 name: netvirt-run-it-dockerOvs
59 maven-version: '{maven-version}'
62 -V -B verify -l {logfile} -Pintegrationtest
63 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
64 -Dovsdb.controller.address=${{CONTROLLER_IP}}
65 -Ddocker.compose.file=ovs-{OVS_VERSION}-hwvtep.yml
66 -Ddocker.vEnvWs=$WORKSPACE
68 -Dmaven.test.failure.ignore=true
70 - 'maven.repo.local=/tmp/r'
71 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
74 - '-Xmx1024m -XX:MaxPermSize=256m'
75 settings: 'netvirt-settings'
77 global-settings: 'odl-global-settings'
78 global-settings-type: cfp
83 - netvirt-run-it-dockerOvs:
84 maven-version: '{maven-version}'
86 pomFile: 'openstack/net-virt-it/pom.xml'
87 logfile: '{OVS_VERSION}-net-virt-IT.log'
88 OVS_VERSION: '{OVS_VERSION}'
91 name: run-netvirt-sfc-it
93 - netvirt-run-it-external-docker:
94 maven-version: '{maven-version}'
96 pomFile: 'openstack/net-virt-sfc/it/pom.xml'
97 logfile: '{OVS_VERSION}-netvirt-sfc-IT.log'
100 name: run-netvirt-vpnservice-it
102 - netvirt-run-it-dockerOvs:
103 maven-version: '{maven-version}'
105 pomFile: 'vpnservice/it/pom.xml'
106 logfile: '{OVS_VERSION}-netvirt-vpnservice-IT.log'
107 OVS_VERSION: '{OVS_VERSION}'
110 name: install-docker-compose
113 virtualenv $WORKSPACE/venv
114 source $WORKSPACE/venv/bin/activate
115 pip install --upgrade pip
116 pip install docker-compose
123 properties-content: OVS_VERSION={OVS_VERSION}
124 - shell: !include-raw-escape: include-setup-misc.sh
126 properties-file: env.properties
127 - install-docker-compose
128 - run-netvirt-vpnservice-it:
129 OVS_VERSION: '{OVS_VERSION}'
130 maven-version: '{maven-version}'
133 OVS_VERSION: '{OVS_VERSION}'
134 maven-version: '{maven-version}'
136 - shell: !include-raw-escape: include-raw-setup-docker.sh
138 properties-file: env.properties
139 - run-netvirt-sfc-it:
140 OVS_VERSION: '{OVS_VERSION}'
141 maven-version: '{maven-version}'
143 - shell: !include-raw-escape: include-raw-cleanup-docker.sh
146 name: 'netvirt-daily-full-integration-{stream}'
148 project-type: freestyle
149 node: centos7-docker-2c-4g
153 Integration tests for the Netvirt project against different versions of
154 OVS and branches. This job runs nightly.
157 - opendaylight-infra-properties:
158 build-days-to-keep: '{build-days-to-keep}'
161 - opendaylight-infra-parameters:
162 os-cloud: '{os-cloud}'
165 refspec: 'refs/heads/{branch}'
166 artifacts: '{archive-artifacts}'
169 - gerrit-trigger-scm:
170 refspec: '$GERRIT_REFSPEC'
172 choosing-strategy: gerrit
175 - opendaylight-infra-wrappers:
176 build-timeout: '{build-timeout}'
180 server-name: '{server-name}'
182 - comment-added-contains-event:
183 comment-contains-value: 'runit'
185 - project-compare-type: 'ANT'
186 project-pattern: '{project}'
188 - branch-compare-type: 'ANT'
189 branch-pattern: '**/{branch}'
197 - wipe-org-opendaylight-repo
199 maven-version: 'mvn33'
201 goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
203 - 'maven.repo.local=/tmp/r'
204 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
207 - '-Xmx1024m -XX:MaxPermSize=256m'
208 settings: 'netvirt-settings'
210 global-settings: 'odl-global-settings'
211 global-settings-type: cfp
212 # skip 2.4.0 until we figure out conntrack
214 # maven-version: 'mvn33'
216 # OVS_VERSION: '2.4.0'
218 maven-version: 'mvn33'
221 - jacoco-nojava-workaround
224 - email-notification:
225 email-recipients: '{email-recipients}'
226 email-prefix: '[netvirt]'
228 fileset: "**/target/surefire-reports/*.xml"
229 regexp: 'failures\=\"[^0]\"'
230 succeed-if-found: false
231 unstable-if-found: true
232 also-check-console-output: false
233 - opendaylight-infra-shiplogs:
234 maven-version: 'mvn33'