<commit_before>- job:
    name: gate-swift-devstack-vm-functional
    node: devstack-precise

    wrappers:
      - timeout:
          timeout: 120
          fail: true
      - timestamps

    builders:
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TEMPEST=0
          export DEVSTACK_GATE_EXERCISES=0

          function post_test_hook {
              cd /opt/stack/new/swift
              # Launch V2 auth tests and v1 tests after.
              bash .functests && \
                  SWIFT_TEST_CONFIG_FILE=/opt/stack/new/swift/test/sample.conf \
                      bash .functests
          }
          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>Run swift functional tests verbosely.<commit_after>- job:
    name: gate-swift-devstack-vm-functional
    node: devstack-precise

    wrappers:
      - timeout:
          timeout: 120
          fail: true
      - timestamps

    builders:
      - devstack-checkout
      - shell: |
          #!/bin/bash -xe
          export PYTHONUNBUFFERED=true
          export DEVSTACK_GATE_TEMPEST=0
          export DEVSTACK_GATE_EXERCISES=0

          function post_test_hook {
              cd /opt/stack/new/swift
              # Launch V2 auth tests and v1 tests after.
              bash .functests --verbosity=3 && \
                  SWIFT_TEST_CONFIG_FILE=/opt/stack/new/swift/test/sample.conf \
                      bash .functests --verbosity=3
          }
          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.08832644628099173, 'fraction_numerical': 0.008264462809917356, 'mean_word_length': 1.5090673575129534, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7253108', 'n_tokens_mistral': 637, 'n_tokens_neox': 594, 'n_words': 109}