3 name: netvirt-full-integration
5 - 'netvirt-daily-full-integration-{stream}'
11 branch: 'stable/oxygen'
14 archive-artifacts: '*.log **/target/surefire-reports/*.txt'
17 name: netvirt-run-it-external-docker
20 maven-version: '{maven-version}'
23 -V -B verify -l {logfile} -Pintegrationtest
24 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
25 -Dovsdb.controller.address=${{CONTROLLER_IP}}
26 -Dmaven.test.failure.ignore=true
28 - 'ovsdbserver.ipaddress=127.0.0.1'
29 - 'ovsdbserver.port=6641'
30 - 'ovsdb.userspace.enabled=yes'
31 - 'maven.repo.local=/tmp/r'
32 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
35 - '-Xmx1024m -XX:MaxPermSize=256m'
36 settings: 'netvirt-settings'
38 global-settings: 'global-settings'
39 global-settings-type: cfp
42 name: netvirt-run-it-dockerOvs
45 maven-version: '{maven-version}'
48 -V -B verify -l {logfile} -Pintegrationtest
49 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
50 -Dovsdb.controller.address=${{CONTROLLER_IP}}
51 -Ddocker.compose.file=ovs-{OVS_VERSION}-hwvtep.yml
52 -Ddocker.vEnvWs=$WORKSPACE
54 -Dmaven.test.failure.ignore=true
56 - 'maven.repo.local=/tmp/r'
57 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
60 - '-Xmx1024m -XX:MaxPermSize=256m'
61 settings: 'netvirt-settings'
63 global-settings: 'global-settings'
64 global-settings-type: cfp
69 - netvirt-run-it-dockerOvs:
70 maven-version: '{maven-version}'
72 pomFile: 'openstack/net-virt-it/pom.xml'
73 logfile: '{OVS_VERSION}-net-virt-IT.log'
74 OVS_VERSION: '{OVS_VERSION}'
77 name: run-netvirt-sfc-it
79 - netvirt-run-it-external-docker:
80 maven-version: '{maven-version}'
82 pomFile: 'openstack/net-virt-sfc/it/pom.xml'
83 logfile: '{OVS_VERSION}-netvirt-sfc-IT.log'
86 name: run-netvirt-vpnservice-it
88 - netvirt-run-it-dockerOvs:
89 maven-version: '{maven-version}'
91 pomFile: 'vpnservice/it/pom.xml'
92 logfile: '{OVS_VERSION}-netvirt-vpnservice-IT.log'
93 OVS_VERSION: '{OVS_VERSION}'
96 name: install-docker-compose
99 virtualenv $WORKSPACE/venv
100 source $WORKSPACE/venv/bin/activate
101 PYTHON="$WORKSPACE/venv/bin/python"
102 $PYTHON -m pip install --upgrade pip
103 $PYTHON -m pip install docker-compose
110 properties-content: OVS_VERSION={OVS_VERSION}
111 - shell: !include-raw-escape: include-setup-misc.sh
113 properties-file: env.properties
114 - install-docker-compose
115 - run-netvirt-vpnservice-it:
116 OVS_VERSION: '{OVS_VERSION}'
117 maven-version: '{maven-version}'
120 OVS_VERSION: '{OVS_VERSION}'
121 maven-version: '{maven-version}'
123 - shell: !include-raw-escape: setup-docker.sh
125 properties-file: env.properties
126 - run-netvirt-sfc-it:
127 OVS_VERSION: '{OVS_VERSION}'
128 maven-version: '{maven-version}'
130 - shell: !include-raw-escape: cleanup-docker.sh
133 name: 'netvirt-daily-full-integration-{stream}'
135 project-type: freestyle
136 node: centos7-docker-1c-4g
138 jdk: '{java-version}'
140 Integration tests for the Netvirt project against different versions of
141 OVS and branches. This job runs nightly.
144 - opendaylight-infra-properties:
145 build-days-to-keep: '{build-days-to-keep}'
148 - opendaylight-infra-parameters:
149 os-cloud: '{os-cloud}'
152 refspec: 'refs/heads/{branch}'
153 artifacts: '{archive-artifacts}'
156 - gerrit-trigger-scm:
157 refspec: '$GERRIT_REFSPEC'
159 choosing-strategy: gerrit
162 - opendaylight-infra-wrappers:
163 build-timeout: '{build-timeout}'
167 server-name: '{gerrit-server-name}'
169 - comment-added-contains-event:
170 comment-contains-value: 'runit'
172 - project-compare-type: 'ANT'
173 project-pattern: '{project}'
175 - branch-compare-type: 'ANT'
176 branch-pattern: '**/{branch}'
184 - wipe-org-opendaylight-repo
186 maven-version: 'mvn33'
188 goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
190 - 'maven.repo.local=/tmp/r'
191 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
194 - '-Xmx1024m -XX:MaxPermSize=256m'
195 settings: 'netvirt-settings'
197 global-settings: 'global-settings'
198 global-settings-type: cfp
199 # skip 2.4.0 until we figure out conntrack
201 # maven-version: 'mvn33'
203 # OVS_VERSION: '2.4.0'
205 maven-version: 'mvn33'
208 - jacoco-nojava-workaround
211 - email-notification:
212 email-recipients: '{email-recipients}'
213 email-prefix: '[netvirt]'
215 fileset: "**/target/surefire-reports/*.xml"
216 regexp: 'failures\=\"[^0]\"'
217 succeed-if-found: false
218 unstable-if-found: true
219 also-check-console-output: false