
neutron 26 jobs are actually regularly hitting the 40 minute timeout on unit tests, as their actual unit tests take ~32 minutes and there is current a performance issue on subunit report processing that makes it take ~9 minutes (on 27, 26 might be slower still). This means that completely passing unit test runs are reseting the gate due to a timeout limit. 60 minutes should be sufficient to get us past this issue, and let us figure out the subunit performance issue. However given neutron unit test growth, 40 minutes is probably too low anyway. Change-Id: If4bb799d9b6fe8815280aca9f28fee8a65a477c6
240 lines
4.1 KiB
YAML
240 lines
4.1 KiB
YAML
- job-template:
|
|
name: '{name}-coverage'
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 40
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- coverage:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
|
|
publishers:
|
|
- coverage-log
|
|
- console-log
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pep8'
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- pep8:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pylint'
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- pylint:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-python26'
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 60
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- python26:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
|
|
node: centos6
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-python27'
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 40
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- python27:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
|
|
node: '{node}'
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-python33'
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 40
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- python33:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
|
|
node: precisepy3k
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pypy'
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 40
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- pypy:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
- assert-no-extra-files
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
|
|
node: precisepy3k
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-docs'
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- docs:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-sphinx-draft
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pyflakes'
|
|
node: precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- pyflakes:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
|
|
- job-template:
|
|
name: '{name}-tarball'
|
|
node: precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- tarball:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
|
|
publishers:
|
|
- tarball:
|
|
project: '{name}'
|
|
site: '{tarball-site}'
|
|
- console-log
|
|
|
|
|
|
- job-template:
|
|
name: '{name}-branch-tarball'
|
|
concurrent: false
|
|
node: precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- tarball:
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
BRANCH=$ZUUL_REFNAME
|
|
BRANCH_PATH=`echo $BRANCH | tr / -`
|
|
mv dist/* dist/{name}-$BRANCH_PATH.tar.gz
|
|
|
|
publishers:
|
|
- tarball:
|
|
project: '{name}'
|
|
site: '{tarball-site}'
|
|
- console-log
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-requirements'
|
|
node: precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/project-requirements-change.py $ZUUL_BRANCH
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
|
|
- job-group:
|
|
name: python-jobs
|
|
jobs:
|
|
- '{name}-coverage'
|
|
- 'gate-{name}-pep8'
|
|
- 'gate-{name}-python26'
|
|
- 'gate-{name}-python27'
|
|
- 'gate-{name}-python33'
|
|
- 'gate-{name}-pypy'
|
|
- 'gate-{name}-docs'
|
|
- 'gate-{name}-requirements'
|
|
- '{name}-tarball'
|
|
- '{name}-branch-tarball'
|
|
# pyflakes isn't standard
|
|
# pylint isn't standard
|