Merge "bugfix unittest test_queryProject occasionally failed in TestAPI"
authorMorgan Richomme <morgan.richomme@orange.com>
Thu, 2 Mar 2017 12:40:58 +0000 (12:40 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 2 Mar 2017 12:40:58 +0000 (12:40 +0000)
jjb/apex/apex.yml
jjb/compass4nfv/compass-verify-jobs.yml
jjb/doctor/doctor.yml
jjb/functest/functest-ci-jobs.yml
jjb/infra/bifrost-cleanup-job.yml
jjb/parser/parser.yml
jjb/releng/opnfv-lint.yml
modules/opnfv/deployment/fuel/adapter.py

index 126651e..ac1ef49 100644 (file)
                 build-step-failure-threshold: 'never'
                 failure-threshold: 'never'
                 unstable-threshold: 'FAILURE'
+        # 1.dovetail only master by now, not sync with A/B/C branches
+        # 2.here the stream means the SUT stream, dovetail stream is defined in its own job
+        # 3.only debug testsuite here(includes basic testcase,
+        #   i.e. one tempest smoke ipv6, two vping from functest)
+        # 4.not used for release criteria or compliance,
+        #   only to debug the dovetail tool bugs with apex
+        - trigger-builds:
+            - project: 'dovetail-apex-{slave}-debug-{stream}'
+              current-parameters: false
+              predefined-parameters:
+                DEPLOY_SCENARIO=os-nosdn-nofeature-ha
+              block: true
+              same-node: true
+              block-thresholds:
+                build-step-failure-threshold: 'never'
+                failure-threshold: 'never'
+                unstable-threshold: 'FAILURE'
         - trigger-builds:
           - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
             predefined-parameters: |
index d581380..039b30a 100644 (file)
                   node-parameters: true
                   kill-phase-on: FAILURE
                   abort-all-job: true
+                - name: 'opnfv-yamllint-verify-{stream}'
+                  current-parameters: true
+                  node-parameters: true
+                  kill-phase-on: FAILURE
+                  abort-all-job: true
         - multijob:
             name: deploy-virtual
             condition: SUCCESSFUL
index 28888d6..2267a28 100644 (file)
         - 'functest-suite-builder'
         - shell: |
             functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
-            to_be_archived="$WORKSPACE/tests/functest-{project}.log"
-            cp $functest_log $to_be_archived
             # NOTE: checking the test result, as the previous job could return
             #       0 regardless the result of doctor test scenario.
             grep -e ' OK$' $functest_log || exit 1
     publishers:
         - archive:
             artifacts: 'tests/*.log'
+        - archive:
+            artifacts: '$HOME/opnfv/functest/results/{stream}/{project}.log'
 
 
 #####################################
index 9bf6a1a..44c2ce5 100644 (file)
             installer: fuel
             <<: *danube
 # daisy CI PODs
-        - daisy-baremetal:
+        - baremetal:
             slave-label: daisy-baremetal
             installer: daisy
             <<: *master
-        - daisy-virtual:
+        - virtual:
             slave-label: daisy-virtual
             installer: daisy
             <<: *master
index 0ee906f..f1b38ca 100644 (file)
                 file-paths:
                   - compare-type: ANT
                     pattern: 'prototypes/bifrost/**'
-                  - compare-type: ANT
-                    pattern: 'jjb/infra/**'
             readable-message: true
index 69fcefc..7f3d6ce 100644 (file)
                     branch-pattern: '**/{branch}'
                 forbidden-file-paths:
                   - compare-type: ANT
-                    pattern: 'docs/**|.gitignore'
+                    pattern: 'docs/**'
+                  - compare-type: ANT
+                    pattern: 'governance/**'
+                  - compare-type: ANT
+                    pattern: '*.txt|.gitignore|.gitreview|INFO|LICENSE'
 
     builders:
         - shell: |
index 37cdef2..166aea8 100644 (file)
                     comment-contains-value: 'reverify'
             projects:
               - project-compare-type: 'REG_EXP'
-                project-pattern: 'compass4nfv'
+                project-pattern: ''
                 branches:
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/{branch}'
index a71d6cb..a217767 100644 (file)
@@ -176,7 +176,7 @@ class FuelAdapter(manager.DeploymentHandler):
         return version
 
     def get_sdn_version(self):
-        cmd = "apt-cache show opendaylight|grep Version"
+        cmd = "apt-cache policy opendaylight|grep Installed"
         version = None
         for node in self.nodes:
             if manager.Role.ODL in node.roles and node.is_active():