Move periodic-python-jobs-with-neutron-lib-master to xenial

Use xenial as node - and py35 as environment - for these jobs that run
on master. We have switched the py34 job already to py35 with xenial.

Update grafana for the change.

Update tox environment to use a variable.

Change-Id: Iadc4e03a4176a83e97c3b166c6043516ac57bcd8
This commit is contained in:
Andreas Jaeger 2016-09-27 16:22:57 +02:00
parent 2b57ea8eba
commit baa5e292dc
6 changed files with 7 additions and 7 deletions

View File

@ -36,7 +36,7 @@ dashboard:
- title: Periodic Job Failure Rates
span: 4
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-networking-ovn-py34-with-neutron-lib-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-networking-ovn-py34-with-neutron-lib-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-networking-ovn-py34-with-neutron-lib-master')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-networking-ovn-py35-with-neutron-lib-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-networking-ovn-py35-with-neutron-lib-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-networking-ovn-py35-with-neutron-lib-master')
type: graph
- title: Graphs
height: 320px

View File

@ -38,7 +38,7 @@ dashboard:
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py27-with-oslo-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py27-with-oslo-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py27-with-oslo-master')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-oslo-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-oslo-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py34-with-oslo-master')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-neutron-lib-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-neutron-lib-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py34-with-neutron-lib-master')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py35-with-neutron-lib-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py35-with-neutron-lib-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py35-with-neutron-lib-master')
type: graph
- title: Graphs
height: 320px

View File

@ -1,6 +1,6 @@
- job-template:
name: 'periodic-{name}-{python}-with-neutron-lib-master'
node: ubuntu-trusty
node: ubuntu-xenial
wrappers:
- build-timeout:

View File

@ -621,7 +621,7 @@
jobs:
- 'periodic-{name}-{python}-with-neutron-lib-master':
python:
- py34
- py35
- job-group:
name: python-jobs

View File

@ -7,7 +7,7 @@ venv=$1
if [[ -z "$venv" ]]; then
echo "Usage: $?"
echo
echo "VENV: The tox environment to run (eg 'py34')"
echo "VENV: The tox environment to run (eg 'py35')"
exit 1
fi
@ -18,7 +18,7 @@ sed -i "s/neutron-lib.*/-e git+https:\/\/git.openstack.org\/openstack\/neutron-l
cat << EOF >> tox.ini
[testenv:py34-neutron-lib-master]
[testenv:${venv}-neutron-lib-master]
setenv = VIRTUAL_ENV={envdir}
passenv = TRACE_FAILONLY GENERATE_HASHES http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
usedevelop = True

View File

@ -452,7 +452,7 @@ project-templates:
- name: periodic-jobs-with-neutron-lib-master
periodic:
- 'periodic-{name}-py34-with-neutron-lib-master'
- 'periodic-{name}-py35-with-neutron-lib-master'
# This is the same template as python-jobs but uses the new
# linters target instead of pep8.