<commit_before>- job:
    name: gate-manila-tempest-dsvm-neutron
    node: devstack-precise

    wrappers:
      - timeout:
          timeout: 65
          fail: true
      - timestamps

    builders:
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TIMEOUT=60
          export ENABLED_SERVICES=manila,m-api,m-shr,m-sch,tempest
          export PROJECTS="stackforge/manila $PROJECTS"
          export PROJECTS="stackforge/python-manilaclient $PROJECTS"
          export DEVSTACK_GATE_TEMPEST_ALLOW_TENANT_ISOLATION=1
          export DEVSTACK_GATE_NEUTRON=1
          export TEMPEST_CONCURRENCY=1
          export KEEP_LOCALRC=1
          export MANILA_TESTS='tempest.cli.*manila*'
          echo "API_RATE_LIMIT=False" >> localrc
          echo "SHARE_BACKING_FILE_SIZE=12G" >> localrc
          echo "VOLUME_BACKING_FILE_SIZE=12G" >> localrc

          function pre_test_hook {
              # Install manila devstack integration
              cp -r $BASE/new/manila/contrib/devstack/* $BASE/new/devstack
              # Install manila tempest integration
              cp -r $BASE/new/manila/contrib/tempest/tempest/* $BASE/new/tempest/tempest
              if [[ ! "$ZUUL_PROJECT" =~ "*python-manilaclient*" ]]; then
                MANILA_TESTS+=' tempest.api.share*';
              fi
          }
          export -f pre_test_hook

          function post_test_hook {
              # let us control if we die or not
              set +o errexit
              cd $BASE/new/tempest
              sudo chown -R tempest:stack $BASE/new/tempest
              echo "Running tempest manila test suites"
              sudo -H -u tempest tox -evenv bash tools/pretty_tox.sh \"$MANILA_TESTS\" -- --concurrency=$TEMPEST_CONCURRENCY
          }
          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
      - link-logs

    publishers:
      - devstack-logs
      - console-log<commit_msg>Fixed update of env var in manila's job<commit_after>- job:
    name: gate-manila-tempest-dsvm-neutron
    node: devstack-precise

    wrappers:
      - timeout:
          timeout: 65
          fail: true
      - timestamps

    builders:
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TIMEOUT=60
          export ENABLED_SERVICES=manila,m-api,m-shr,m-sch,tempest
          export PROJECTS="stackforge/manila $PROJECTS"
          export PROJECTS="stackforge/python-manilaclient $PROJECTS"
          export DEVSTACK_GATE_TEMPEST_ALLOW_TENANT_ISOLATION=1
          export DEVSTACK_GATE_NEUTRON=1
          export TEMPEST_CONCURRENCY=1
          export KEEP_LOCALRC=1
          export MANILA_TESTS='tempest.cli.*manila*'
          if [[ ! "$ZUUL_PROJECT" =~ python-manilaclient ]]; then
              MANILA_TESTS+=' tempest.api.share*';
          fi
          echo "API_RATE_LIMIT=False" >> localrc
          echo "SHARE_BACKING_FILE_SIZE=12G" >> localrc
          echo "VOLUME_BACKING_FILE_SIZE=12G" >> localrc

          function pre_test_hook {
              # Install manila devstack integration
              cp -r $BASE/new/manila/contrib/devstack/* $BASE/new/devstack
              # Install manila tempest integration
              cp -r $BASE/new/manila/contrib/tempest/tempest/* $BASE/new/tempest/tempest
          }
          export -f pre_test_hook

          function post_test_hook {
              # let us control if we die or not
              set +o errexit
              cd $BASE/new/tempest
              sudo chown -R tempest:stack $BASE/new/tempest
              echo "Running tempest manila test suites"
              sudo -H -u tempest tox -evenv bash tools/pretty_tox.sh \"$MANILA_TESTS\" -- --concurrency=$TEMPEST_CONCURRENCY
          }
          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
      - link-logs

    publishers:
      - devstack-logs
      - console-log
{'fraction_non_alphanumeric': 0.08896882494004796, 'fraction_numerical': 0.0057553956834532375, 'mean_word_length': 1.8805248618784531, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3751963', 'n_tokens_mistral': 1390, 'n_tokens_neox': 1331, 'n_words': 254}