Amrith Kumar 146a8adc4d Experiment with an increase time for gate-trove-functional job
Recently there have been many failures of this job at the current 105m
timeout. However, in some cases, it has been observed that the job is
being failed at 105m.

There appears to be considerable variability in the performance of the
hypervisors used for the CI and I would like to increase the time
(considerably) as proposed in this change and then measure the actual
time it takes to pass consistenly and then resubmit this change with a
more reasonable increase over 105m.

I could increase this by 5minutes and see if it worked or not, and
then come back if it didn't but it is generally the case that a binary
search will converge more quickly on a solution.

Hence, I'm proposing 145 minutes as a starting point in this search.

Change-Id: I7478dde226f5ea2d6b0777e234b53e66ebcb8e57
2015-07-07 00:51:25 -04:00

65 lines
2.0 KiB
YAML

- job-template:
name: 'gate-trove-buildimage-{datastore}'
node: 'bare-precise || bare-trusty'
builders:
- link-logs
- net-info
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
sudo mkdir -p /opt/trove-image-build
sudo chown $(whoami) /opt/trove-image-build
export DEST=/opt/trove-image-build
export KEY_DIR=`pwd`/scripts/files/keys
cd scripts
./redstack build-image {datastore}
mv $HOME/images/ubuntu_{datastore}/ubuntu_{datastore}.qcow2 $WORKSPACE/{datastore}.qcow2
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: '{datastore}.qcow2'
target: 'tarballs/trove/images/ubuntu'
keep-hierarchy: false
copy-after-failure: false
- console-log
- job-template:
name: 'gate-trove-functional-dsvm-{datastore}'
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 145
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=140
export ENABLED_SERVICES=tempest,s-proxy,s-object,s-container,s-account,trove,tr-api,tr-tmgr,tr-cond
export PROJECTS="openstack/trove-integration openstack/diskimage-builder openstack/tripleo-image-elements $PROJECTS"
function post_test_hook {{
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove-integration/scripts
./redstack dsvm-gate-tests {datastore}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log