Merge "[QTIP]Enable qtip validate jobs for euphrates"
[releng.git] / jjb / yardstick / yardstick-project-jobs.yml
index 4b7ff6f..7738aed 100644 (file)
@@ -16,7 +16,7 @@
             branch: '{stream}'
             gs-pathname: ''
             disabled: false
-        - danube:
+        - euphrates:
             branch: 'stable/{stream}'
             gs-pathname: '/{stream}'
             disabled: false
                 branches:
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/{branch}'
+
+    wrappers:
+        - ssh-agent-wrapper
+        - timeout:
+            timeout: 30
+            fail: true
+
     builders:
         - yardstick-unit-tests-and-docs-build
 
                     - branch-compare-type: 'ANT'
                       branch-pattern: '**/{branch}'
 
+    wrappers:
+        - ssh-agent-wrapper
+        - timeout:
+            timeout: 30
+            fail: true
+
     builders:
         - yardstick-unit-tests-and-docs-build
 
             set -o errexit
             set -o pipefail
 
+            sudo apt-get install -y build-essential python-dev python3-dev
+
             echo "Running unit tests..."
             cd $WORKSPACE
-            virtualenv $WORKSPACE/yardstick_venv
-            source $WORKSPACE/yardstick_venv/bin/activate
-
-            # install python packages
-            sudo apt-get install -y build-essential python-dev python-pip python-pkg-resources
-            easy_install -U setuptools==33.1.1
-            easy_install -U pip
-            pip install -r requirements.txt || pip install -r tests/ci/requirements.txt
-            pip install -e .
-
-            # unit tests
-            ./run_tests.sh
-
-            deactivate
+            tox