<commit_before>- job-template:
    name: '{name}-coverage'

    triggers:
      - zuul-post

    builders:
      - gerrit-git-prep
      - coverage

    publishers:
      - coverage-log-post
      - console-log-post

    node: '{node}'


- job-template:
    name: 'gate-{name}-pep8'

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - pep8

    publishers:
      - pep8
      - console-log

    node: '{node}'


- job-template:
    name: 'gate-{name}-pylint'

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - pylint

    publishers:
      - pylint
      - console-log

    node: '{node}'


- job-template:
    name: 'gate-{name}-python26'

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - python26
      - assert-no-extra-files

    publishers:
      - scp:
          site: 'static.openstack.org'
          files:
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*nose_results.html'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*testr_results.html'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '.testrepository/tmp*'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*subunit_log.txt'
              keep-hierarchy: false
              copy-after-failure: true
      - console-log

    # >= precise does not have python2.6
    node: oneiric

- job-template:
    name: 'gate-{name}-python26-folsom'

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - python26-folsom
      - assert-no-extra-files

    publishers:
      - scp:
          site: 'static.openstack.org'
          files:
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*nose_results.html'
              keep-hierarchy: false
              copy-after-failure: true
      - console-log

    # >= precise does not have python2.6
    node: oneiric


- job-template:
    name: 'gate-{name}-python27'

    parameters:
      - label:
          name: NODE_LABEL
          description: Label of node to use for this build
          default: '{node}'

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - python27
      - assert-no-extra-files

    publishers:
      - scp:
          site: 'static.openstack.org'
          files:
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*nose_results.html'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*testr_results.html'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '.testrepository/tmp*'
              keep-hierarchy: false<commit_msg>Increase python unittest timeout to 40 minutes.<commit_after>- job-template:
    name: '{name}-coverage'

    wrappers:
      - timeout:
          timeout: 40
          fail: true
      - timestamps

    triggers:
      - zuul-post

    builders:
      - gerrit-git-prep
      - coverage

    publishers:
      - coverage-log-post
      - console-log-post

    node: '{node}'


- job-template:
    name: 'gate-{name}-pep8'

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - pep8

    publishers:
      - pep8
      - console-log

    node: '{node}'


- job-template:
    name: 'gate-{name}-pylint'

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - pylint

    publishers:
      - pylint
      - console-log

    node: '{node}'


- job-template:
    name: 'gate-{name}-python26'

    wrappers:
      - timeout:
          timeout: 40
          fail: true
      - timestamps

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - python26
      - assert-no-extra-files

    publishers:
      - scp:
          site: 'static.openstack.org'
          files:
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*nose_results.html'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*testr_results.html'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '.testrepository/tmp*'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*subunit_log.txt'
              keep-hierarchy: false
              copy-after-failure: true
      - console-log

    # >= precise does not have python2.6
    node: oneiric

- job-template:
    name: 'gate-{name}-python26-folsom'

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - python26-folsom
      - assert-no-extra-files

    publishers:
      - scp:
          site: 'static.openstack.org'
          files:
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*nose_results.html'
              keep-hierarchy: false
              copy-after-failure: true
      - console-log

    # >= precise does not have python2.6
    node: oneiric


- job-template:
    name: 'gate-{name}-python27'

    wrappers:
      - timeout:
          timeout: 40
          fail: true
      - timestamps

    parameters:
      - label:
          name: NODE_LABEL
          description: Label of node to use for this build
          default: '{node}'

    triggers:
      - zuul

    builders:
      - gerrit-git-prep
      - python27
      - assert-no-extra-files

    publishers:
      - scp:
          site: 'static.openstack.org'
          files:
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*nose_results.html'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '**/*testr_results.html'
              keep-hierarchy: false
              copy-after-failure: true
            - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
              source: '.testrepository/tmp*'
              keep-hierarchy: false
{'fraction_non_alphanumeric': 0.1171612541993281, 'fraction_numerical': 0.006438969764837626, 'mean_word_length': 1.6482579688658265, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6126461', 'n_tokens_mistral': 2457, 'n_tokens_neox': 2373, 'n_words': 376}