3 name: netvirt-full-integration
5 - 'netvirt-daily-full-integration-{stream}'
11 branch: 'stable/oxygen'
13 branch: 'stable/nitrogen'
16 archive-artifacts: '*.log **/target/surefire-reports/*.txt'
19 name: netvirt-run-it-external-docker
22 maven-version: '{maven-version}'
25 -V -B verify -l {logfile} -Pintegrationtest
26 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
27 -Dovsdb.controller.address=${{CONTROLLER_IP}}
28 -Dmaven.test.failure.ignore=true
30 - 'ovsdbserver.ipaddress=127.0.0.1'
31 - 'ovsdbserver.port=6641'
32 - 'ovsdb.userspace.enabled=yes'
33 - 'maven.repo.local=/tmp/r'
34 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
37 - '-Xmx1024m -XX:MaxPermSize=256m'
38 settings: 'netvirt-settings'
40 global-settings: 'global-settings'
41 global-settings-type: cfp
44 name: netvirt-run-it-dockerOvs
47 maven-version: '{maven-version}'
50 -V -B verify -l {logfile} -Pintegrationtest
51 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
52 -Dovsdb.controller.address=${{CONTROLLER_IP}}
53 -Ddocker.compose.file=ovs-{OVS_VERSION}-hwvtep.yml
54 -Ddocker.vEnvWs=$WORKSPACE
56 -Dmaven.test.failure.ignore=true
58 - 'maven.repo.local=/tmp/r'
59 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
62 - '-Xmx1024m -XX:MaxPermSize=256m'
63 settings: 'netvirt-settings'
65 global-settings: 'global-settings'
66 global-settings-type: cfp
71 - netvirt-run-it-dockerOvs:
72 maven-version: '{maven-version}'
74 pomFile: 'openstack/net-virt-it/pom.xml'
75 logfile: '{OVS_VERSION}-net-virt-IT.log'
76 OVS_VERSION: '{OVS_VERSION}'
79 name: run-netvirt-sfc-it
81 - netvirt-run-it-external-docker:
82 maven-version: '{maven-version}'
84 pomFile: 'openstack/net-virt-sfc/it/pom.xml'
85 logfile: '{OVS_VERSION}-netvirt-sfc-IT.log'
88 name: run-netvirt-vpnservice-it
90 - netvirt-run-it-dockerOvs:
91 maven-version: '{maven-version}'
93 pomFile: 'vpnservice/it/pom.xml'
94 logfile: '{OVS_VERSION}-netvirt-vpnservice-IT.log'
95 OVS_VERSION: '{OVS_VERSION}'
98 name: install-docker-compose
101 virtualenv $WORKSPACE/venv
102 source $WORKSPACE/venv/bin/activate
103 PYTHON="$WORKSPACE/venv/bin/python"
104 $PYTHON -m pip install --upgrade pip
105 $PYTHON -m pip install docker-compose
112 properties-content: OVS_VERSION={OVS_VERSION}
113 - shell: !include-raw-escape: include-setup-misc.sh
115 properties-file: env.properties
116 - install-docker-compose
117 - run-netvirt-vpnservice-it:
118 OVS_VERSION: '{OVS_VERSION}'
119 maven-version: '{maven-version}'
122 OVS_VERSION: '{OVS_VERSION}'
123 maven-version: '{maven-version}'
125 - shell: !include-raw-escape: setup-docker.sh
127 properties-file: env.properties
128 - run-netvirt-sfc-it:
129 OVS_VERSION: '{OVS_VERSION}'
130 maven-version: '{maven-version}'
132 - shell: !include-raw-escape: cleanup-docker.sh
135 name: 'netvirt-daily-full-integration-{stream}'
137 project-type: freestyle
138 node: centos7-docker-1c-4g
140 jdk: '{java-version}'
142 Integration tests for the Netvirt project against different versions of
143 OVS and branches. This job runs nightly.
146 - opendaylight-infra-properties:
147 build-days-to-keep: '{build-days-to-keep}'
150 - opendaylight-infra-parameters:
151 os-cloud: '{os-cloud}'
154 refspec: 'refs/heads/{branch}'
155 artifacts: '{archive-artifacts}'
158 - gerrit-trigger-scm:
159 refspec: '$GERRIT_REFSPEC'
161 choosing-strategy: gerrit
164 - opendaylight-infra-wrappers:
165 build-timeout: '{build-timeout}'
169 server-name: '{gerrit-server-name}'
171 - comment-added-contains-event:
172 comment-contains-value: 'runit'
174 - project-compare-type: 'ANT'
175 project-pattern: '{project}'
177 - branch-compare-type: 'ANT'
178 branch-pattern: '**/{branch}'
186 - wipe-org-opendaylight-repo
188 maven-version: 'mvn33'
190 goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
192 - 'maven.repo.local=/tmp/r'
193 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
196 - '-Xmx1024m -XX:MaxPermSize=256m'
197 settings: 'netvirt-settings'
199 global-settings: 'global-settings'
200 global-settings-type: cfp
201 # skip 2.4.0 until we figure out conntrack
203 # maven-version: 'mvn33'
205 # OVS_VERSION: '2.4.0'
207 maven-version: 'mvn33'
210 - jacoco-nojava-workaround
213 - email-notification:
214 email-recipients: '{email-recipients}'
215 email-prefix: '[netvirt]'
217 fileset: "**/target/surefire-reports/*.xml"
218 regexp: 'failures\=\"[^0]\"'
219 succeed-if-found: false
220 unstable-if-found: true
221 also-check-console-output: false