<commit_before>- job:
    name: monascalog-tempest-base
    parent: devstack-tempest
    description: |
      Job for running tempest tests on monasca-log-api devstack plugin.
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/monasca-agent
      - openstack/monasca-api
      - openstack/monasca-common
      - openstack/monasca-grafana-datasource
      - openstack/monasca-notification
      - openstack/monasca-persister
      - openstack/monasca-statsd
      - openstack/monasca-thresh
      - openstack/monasca-ui
      - openstack/python-monascaclient
      - openstack/tempest
      - openstack/monasca-log-api
      - openstack/monasca-kibana-plugin
      - openstack/monasca-tempest-plugin
    vars:
      tox_envlist: all
      tempest_test_regex: monasca_tempest_tests.tests.log_api
      devstack_plugins:
        monasca-api: https://opendev.org/openstack/monasca-api
        monasca-log-api: https://opendev.org/openstack/monasca-log-api
      devstack_services:
        # Disable unneeded services.
        etcd3: false
        g-api: false
        g-reg: false
        n-api: false
        n-api-meta: false
        n-cauth: false
        n-cond: false
        n-cpu: false
        n-novnc: false
        n-obj: false
        n-sch: false
        placement-api: false
        s-account: false
        s-container: false
        s-object: false
        s-proxy: false
        c-api: false
        c-bak: false
        c-sch: false
        c-vol: false
        cinder: false
        horizon: false
      devstack_localrc:
        USE_PYTHON3: true
    irrelevant-files:
      - ^.*\.rst$
      - ^.*\.md$
      - ^doc/.*$
      - ^releasenotes/.*$

- job:
    name: monascalog-python3-tempest
    parent: monascalog-tempest-base
    voting: false
    vars:
      devstack_localrc:
        USE_PYTHON3: true
        TEMPEST_PLUGINS: /opt/stack/monasca-tempest-plugin

- project:
    templates:
      - check-requirements
      - openstack-cover-jobs
      - openstack-lower-constraints-jobs
      - openstack-python3-ussuri-jobs
      - publish-openstack-docs-pti
      - release-notes-jobs-python3
    check:
      jobs:
        - monascalog-python3-tempest
        - build-monasca-docker-image
    gate:
      queue: monasca
      jobs:
        - monascalog-python3-tempest
    post:
      jobs:
        - publish-monasca-log-api-docker-image
    periodic:
      jobs:
        - publish-monasca-log-api-docker-image
    release:
      jobs:
        - publish-monasca-log-api-docker-image

- job:
    name: publish-monasca-log-api-docker-image
    parent: build-monasca-docker-image
    post-run: playbooks/docker-publish.yml
    required-projects:
      - openstack/monasca-common<commit_msg>Replace deprecated log api test with up-to-date version<commit_after>- project:
    templates:
      - check-requirements
      - openstack-cover-jobs
      - openstack-lower-constraints-jobs
      - openstack-python-jobs
      - openstack-python36-jobs
      - publish-openstack-docs-pti
      - release-notes-jobs-python3
    check:
      jobs:
        - monasca-tempest-log-oldapi-python3-influxdb
        - build-monasca-docker-image
    gate:
      queue: monasca
      jobs:
        - monasca-tempest-log-oldapi-python3-influxdb
    post:
      jobs:
        - publish-monasca-log-api-docker-image
    periodic:
      jobs:
        - publish-monasca-log-api-docker-image
    release:
      jobs:
        - publish-monasca-log-api-docker-image

- job:
    name: publish-monasca-log-api-docker-image
    parent: build-monasca-docker-image
    post-run: playbooks/docker-publish.yml
    required-projects:
      - openstack/monasca-common
{'fraction_non_alphanumeric': 0.09978308026030369, 'fraction_numerical': 0.004609544468546637, 'mean_word_length': 1.8978790259230165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7072109', 'n_tokens_mistral': 1278, 'n_tokens_neox': 1240, 'n_words': 191}