plans:
- adjust:
  - prepare+:
    - directory: tmp/RPMS/noarch
      how: install
      name: tmt
    when: how == full
  cleanup:
    enabled: true
    phases:
    - how: tmt
      name: default-0
      order: 50
  description: Wide set of tests that cover individual steps, commands and features.
    These tests do not require virtualization, their individual duration should not
    exceed 5 minutes.
  discover:
    enabled: true
    phases:
    - dist-git-download-only: false
      dist-git-init: false
      dist-git-install-builddeps: false
      dist-git-merge: false
      dist-git-remove-fmf-root: false
      dist-git-source: false
      exclude:
      - /tests/unit/.*?/extended
      filter:
      - 'tier: 2 & tag:-provision-only'
      fmf-id: false
      how: fmf
      modified-only: false
      name: default-0
      order: 50
      prune: false
      sync-repo: false
      url-content-type: git
    tests:
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/backward-compatibility
      order: 50
      path: /default-0/tests/tests/backward-compatibility
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 1
      summary: Verify features oriented at backward compatibility
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/clean/basic
      order: 50
      path: /default-0/tests/tests/clean/basic
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 2
      summary: Check the basic functionality of 'tmt clean'
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: 'Chaining of subcommands under tmt clean requires special order

        of operations to be forced to remove potential user error,

        such as removing runs and then trying to clean guests (when

        no runs are present and hence no information about guests is

        available). Checks that this order is applied.


        Also verifies that options from the top-level tmt clean command

        are correctly propagated to the chained subcommands.

        '
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/clean/chain
      order: 50
      path: /default-0/tests/tests/clean/chain
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 3
      summary: Checks that tmt clean command chaining works
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/clean/guests
      order: 50
      path: /default-0/tests/tests/clean/guests
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 4
      summary: Checks whether tmt clean guests works correctly
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/clean/images
      order: 50
      path: /default-0/tests/tests/clean/images
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 5
      summary: Checks whether tmt clean images works correctly
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/clean/runs
      order: 50
      path: /default-0/tests/tests/clean/runs
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 6
      summary: Checks whether tmt clean runs works correctly
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/cleanup/basic
      order: 50
      path: /default-0/tests/tests/cleanup/basic
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 7
      summary: Verify that cleanup step is executed even when report step fails
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: 'Provision two containers, run all steps until the cleanup,

        check that containers are running, do the cleanup and verify

        that both containers have been stopped and removed.


        Two containers are used to verify that the podman network

        removal collision is correctly handled.

        '
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/cleanup/guest
      order: 50
      path: /default-0/tests/tests/cleanup/guest
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 8
      summary: Verify that guests are correctly cleaned up
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify correct pruning of irrelevant files from tmt workdir and
        also check whether important files remain there.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/cleanup/prune
      order: 50
      path: /default-0/tests/tests/cleanup/prune
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 9
      summary: Basic check of file pruning
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/cli/plugin-envvars
      order: 50
      path: /default-0/tests/tests/cli/plugin-envvars
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 10
      summary: Verify whether plugin-specific environment variables are delivered
        to phases
      tag:
      - provision-local
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: 'Make sure `tmt about` reports some basic info about tmt: plugins

        for now, more info in the future.

        '
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: shell
      manual: false
      name: /tests/core/about
      order: 50
      path: /default-0/tests/tests/core/about
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 11
      summary: Verify some basic output of `tmt about`
      test: $PYTEST ./
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/debug
      order: 50
      path: /default-0/tests/tests/core/debug
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 12
      summary: Verify that options are propagated correctly
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/dry
      order: 50
      path: /default-0/tests/tests/core/dry
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 13
      summary: Test dry mode in different verbose/debug levels
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify that - environment-file can get vars from the file and url
        of dotenv and yaml fmts - environment option takes precedence over environment-file
        - cli specified options takes precedence over fmf one
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/environment-file
      order: 50
      path: /default-0/tests/tests/core/environment-file
      require:
      - python3-pytest
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 14
      summary: Check that environment-file is working
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/error
      order: 50
      path: /default-0/tests/tests/core/error
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 15
      summary: Verify that errors work as expected
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify that special shell characters in tests and plans names are
        correctly escaped and do not cause errors during execution.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/escaping
      order: 50
      path: /default-0/tests/tests/core/escaping
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 16
      summary: Verify correct escaping of special characters
      tag:
      - provision-container
      - provision-virtual
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Check that any key starting with 'extra-' is ignored by the linting
        logic and any unknown key that does not start with 'extra-' triggers a linting
        error.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/extra
      order: 50
      path: /default-0/tests/tests/core/extra
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 17
      summary: Verify the core attribute 'extra'
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      link:
      - verifies: /stories/features/feeling-safe
      manual: false
      name: /tests/core/feeling-safe
      order: 50
      path: /default-0/tests/tests/core/feeling-safe
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 18
      summary: Check whether the safe/unsafe mode can be controlled
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/fmf-id
      order: 50
      path: /default-0/tests/tests/core/fmf-id
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 19
      summary: Verify various uses of fmf id
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/force
      order: 50
      path: /default-0/tests/tests/core/force
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 20
      summary: Verify that force performs workdir cleanup
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/logging
      order: 50
      path: /default-0/tests/tests/core/logging
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 21
      summary: Verify the basic logging behavior
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify that ordering objects with `order` attribute works fine
        for 'tmt tests/plans/stories ls', 'tmt tests/plans/stories show' and 'tmt
        run tests/plans discover'.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/order
      order: 50
      path: /default-0/tests/tests/core/order
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 22
      summary: Show tests/plans/stories in the defined order
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: shell
      manual: false
      name: /tests/core/path
      order: 50
      path: /default-0/tests/tests/core/path
      require:
      - python3-pytest
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 23
      summary: Verify the default path handling
      test: python3 -m pytest -vvv -ra --showlocals test.py
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/phases
      order: 50
      path: /default-0/tests/tests/core/phases
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 24
      summary: Verify fmf and CLI phases play nicely together
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify proper application of environment variables provided by
        'TMT_PLAN_ENVIRONMENT_FILE' and that they are available during the execute
        and finish phase. Also, confirm that the variables have a lower priority than
        the 'environment-file' key.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/plan-env-file
      order: 50
      path: /default-0/tests/tests/core/plan-env-file
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 25
      summary: Verify proper application of TMT_PLAN_ENVIRONMENT_FILE variables
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/source-script
      order: 50
      path: /default-0/tests/tests/core/source-script
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 26
      summary: Verify the usage of TMT_PLAN_SOURCE_SCRIPT
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Ensure that test execution including workdir pull and push works
        as expected when file names and paths contain spaces.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/spaces
      order: 50
      path: /default-0/tests/tests/core/spaces
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 27
      summary: Verify paths and names with white-space characters
      tag:
      - provision-container
      - provision-virtual
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/core/web-link
      order: 50
      path: /default-0/tests/tests/core/web-link
      require:
      - tmt
      - python3-pytest
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 28
      summary: Check that clickable url is correctly generated
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Create a simple plan and a basic beakerlib test using the 'base'
        template. Run it using the local provision method.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/init/base
      order: 50
      path: /default-0/tests/tests/init/base
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 29
      summary: Initialize a new tmt tree and run tests
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify initializing a new the tree with the full template containing
        a story, a plan and a test.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/init/full
      order: 50
      path: /default-0/tests/tests/init/full
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 30
      summary: Initialize tree with the full template
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: If 'tmt init ...' is executed in a git repository, '.fmf' directory
        should be automatically added into git index.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/init/git
      order: 50
      path: /default-0/tests/tests/init/git
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 31
      summary: Test if tmt automatically adds '.fmf' directory into git.
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: If user run 'tmt init ...' in a nested root, tmt should hint user
        to confirm.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/init/nested
      order: 50
      path: /default-0/tests/tests/init/nested
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 32
      summary: Test confirmation dialogue if user initializes a tree in a nested root
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/interactive
      order: 50
      path: /default-0/tests/tests/interactive
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 33
      summary: Interactive use of tmt
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: In verbose level the discover steps should print detailed information
        about the beakerlib libraries being fetched.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/libraries/info
      order: 50
      path: /default-0/tests/tests/libraries/info
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 34
      summary: Check info about fetched libraries
      tag:
      - beakerlib
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify aggregated reporting for unresolved beakerlib libraries
        and file dependencies across multiple tests.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/libraries/unresolved
      order: 50
      path: /default-0/tests/tests/libraries/unresolved
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 35
      summary: Report unresolved library and file dependencies
      tag:
      - beakerlib
      - provision-local
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Make sure that `tmt test create` and `tmt link` add provided target
        link to the test metadata.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/link/basic
      order: 50
      path: /default-0/tests/tests/link/basic
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 36
      summary: Check basic functionality of the tmt link command
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/lint/all
      order: 50
      path: /default-0/tests/tests/lint/all
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 37
      summary: Tests `tmt lint` command
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        EXPLICIT_ROOT: yes
      framework: beakerlib
      manual: false
      name: /tests/lint/plan/explicit-root
      order: 50
      path: /default-0/tests/tests/lint/plan
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 38
      summary: Checks whether plan linting works correctly with explicit --root
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        EXPLICIT_ROOT: no
      framework: beakerlib
      manual: false
      name: /tests/lint/plan/implicit-root
      order: 50
      path: /default-0/tests/tests/lint/plan
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 39
      summary: Checks whether plan linting works correctly
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/lint/story
      order: 50
      path: /default-0/tests/tests/lint/story
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 40
      summary: Testing lint for story
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/lint/test
      order: 50
      path: /default-0/tests/tests/lint/test
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 41
      summary: Checks whether test linting works correctly
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/login/debug
      order: 50
      path: /default-0/tests/tests/login
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 42
      summary: Log into the guest after report
      test: ./debug.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 15m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/login/ready
      order: 50
      path: /default-0/tests/tests/login
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 43
      summary: Try to log into guest to verify property is_ready
      tag:
      - provision-container
      - provision-virtual
      test: ./ready.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/login/reserve
      order: 50
      path: /default-0/tests/tests/login
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 44
      summary: Reserve a guest for experimenting
      test: ./reserve.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/login/step
      order: 50
      path: /default-0/tests/tests/login
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 45
      summary: Check login step selection
      test: ./step.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/login/test
      order: 50
      path: /default-0/tests/tests/login
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 46
      summary: Log into the guest after each test
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/login/when
      order: 50
      path: /default-0/tests/tests/login
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 47
      summary: Check login result condition
      test: ./when.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/context
      order: 50
      path: /default-0/tests/tests/plan/context
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 48
      summary: Checks whether plan context works correctly
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Martin Zelený <mzeleny@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/export
      order: 50
      path: /default-0/tests/tests/plan/export
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 49
      summary: Test the feature to export plans to yaml or dict
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/import/basic
      order: 50
      path: /default-0/tests/tests/plan/import
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 50
      summary: Check importing a plan into a plan
      test: ./basic.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/import/errors
      order: 50
      path: /default-0/tests/tests/plan/import
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 51
      summary: Check correct error handling in invalid situations
      test: ./errors.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/import/inaccessible
      order: 50
      path: /default-0/tests/tests/plan/import
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 52
      summary: Ensure inaccessible remote plans work properly
      test: ./inaccessible.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/import/inheritance
      order: 50
      path: /default-0/tests/tests/plan/import
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 53
      summary: Make sure context and environment inheritance works
      test: ./inheritance.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/import/local-and-remote
      order: 50
      path: /default-0/tests/tests/plan/import
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 54
      summary: Make sure a plan defining execute and import gets reported
      test: ./local-and-remote.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Martin Zelený <mzeleny@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/import/modify
      order: 50
      path: /default-0/tests/tests/plan/import
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 55
      summary: Check importing a plan into a plan and modify it with environment variable
      test: ./modify.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/import/plan-of-plans
      order: 50
      path: /default-0/tests/tests/plan/import
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 56
      summary: Check nested plan features
      test: ./plan-of-plans.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/import/step-inheritance
      order: 50
      path: /default-0/tests/tests/plan/import
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 57
      summary: Make sure step inheritance for report and finish steps works
      test: ./step-inheritance.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify selecting plans by name and filter works as expected for
        'tmt plan ls', 'tmt plan show' and 'tmt run plan'.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/plan/select
      order: 50
      path: /default-0/tests/tests/plan/select
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 58
      summary: Selecting and filtering plans
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/policy/plan
      order: 50
      path: /default-0/tests/tests/policy
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 59
      summary: Verify tmt policies work as expected
      test: ./test-plan.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/policy/test
      order: 50
      path: /default-0/tests/tests/policy
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 60
      summary: Verify tmt policies work as expected
      test: ./test-test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Check that test logs are correctly fetched from the guest, test
        results are stored into `results.yaml` and plan data directory content is
        synced back.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/pull/results
      order: 50
      path: /default-0/tests/tests/pull/results
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 61
      summary: Test results and logs are pulled from guest
      tag:
      - provision-container
      - provision-virtual
      - beakerlib
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Make sure that provisioning a guest and clean it up works as expected
        even if no preparation, test execution or finish step scripts are performed.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      link:
      - verifies: https://github.com/teemtee/tmt/issues/1011
      manual: false
      name: /tests/pull/simple
      order: 50
      path: /default-0/tests/tests/pull/simple
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 62
      summary: Simple provision & finish works fine
      tag:
      - provision-container
      - provision-virtual
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 25m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/recipe/generate
      order: 50
      path: /default-0/tests/tests/recipe
      require:
      - tmt
      - tmt+provision-container
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 63
      summary: Verify recipe generation works as expected
      tag:
      - beakerlib
      test: ./generate.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 25m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/recipe/load
      order: 50
      path: /default-0/tests/tests/recipe
      require:
      - tmt
      - tmt+provision-container
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 64
      summary: Verify recipe loading works as expected
      tag:
      - beakerlib
      test: ./load.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: When running a step again, the previous key values stored in the
        `step.yaml` should be used as defaults. Any option coming from the command
        line should override them.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/run/again/basic
      order: 50
      path: /default-0/tests/tests/run/again
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 65
      summary: Verify that running step with `--again` works
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: If there is no plan detected a 'default plan' is used to allow
        running tests and arbitrary commands without existing plan. This should work
        both when no fmf metadata are found and when there is a metadata tree but
        it does not contain any plan.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/run/default
      order: 50
      path: /default-0/tests/tests/run/default
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 66
      summary: Check whether default plan works
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verbose mode should print whole output of failed command.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/run/error
      order: 50
      path: /default-0/tests/tests/run/error
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 67
      summary: Check how errors are printed to the user
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/run/follow
      order: 50
      path: /default-0/tests/tests/run/follow
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 68
      summary: Ensure that following debug log works
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: When a filter is used to select only a subset of plans to be executed,
        only the same subset of the plans should be loaded when using `tmt run --last`
        or selecting the run by id. The remaining plans should not appear in the workdir
        at all
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      link:
      - verifies: https://github.com/teemtee/tmt/issues/3558
      manual: false
      name: /tests/run/last
      order: 50
      path: /default-0/tests/tests/run/last
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 69
      summary: Last run should load only selected plans
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/run/max
      order: 50
      path: /default-0/tests/tests/run/max
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 70
      summary: Verify --max-tests-per-plan option splits plans into smaller plans
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/run/recursion
      order: 50
      path: /default-0/tests/tests/run/recursion
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 71
      summary: Avoid recursion if workdir is under fmf tree
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify that the test run workdir is correctly removed when requested
        with the --remove option. This should work both for all steps enabled at once
        and several command line invocations with selected steps only.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/run/remove
      order: 50
      path: /default-0/tests/tests/run/remove
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 72
      summary: Check that test run workdir removal works
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/run/repeat
      order: 50
      path: /default-0/tests/tests/run/repeat
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 73
      summary: Verify --repeat option repeats plans
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: When using tmt run --id the root directory should be loaded from
        run.yaml so that the user doesn't have to specify it manually. The fmf tree
        will then be loaded from the root directory.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/run/root
      order: 50
      path: /default-0/tests/tests/run/root
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 74
      summary: Check whether loading root when using --id works
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/status/base
      order: 50
      path: /default-0/tests/tests/status/base
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 75
      summary: Checks whether tmt status works correctly
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/steps/allowed-how
      order: 50
      path: /default-0/tests/tests/steps/allowed-how
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 76
      summary: Check that plugins can be disallowed
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/steps/duplicate-name
      order: 50
      path: /default-0/tests/tests/steps/duplicate-name
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 77
      summary: Check that phases in steps have unique names
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/steps/invalid
      order: 50
      path: /default-0/tests/tests/steps/invalid
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 78
      summary: Check that invalid steps are handled correctly
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/steps/select
      order: 50
      path: /default-0/tests/tests/steps/select
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 79
      summary: Check various step selection options
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/steps/when
      order: 50
      path: /default-0/tests/tests/steps/when
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 80
      summary: Each config phase can have separate 'when'
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/story/export
      order: 50
      path: /default-0/tests/tests/story/export
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 81
      summary: Verify story export for supported formats
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify that the priority key is available, correctly displayed
        in `tmt story show` and that it can be used for filtering.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/story/priority
      order: 50
      path: /default-0/tests/tests/story/priority
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 82
      summary: Basic check for the story priority
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Prepare the environment for testing using provision & prepare,
        then debug test code using repeated discover & execute.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/test/debug
      order: 50
      path: /default-0/tests/tests/test/debug
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 83
      summary: Verify that test debugging works fine
      tag:
      - provision-container
      - provision-virtual
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Vector Li <huanli@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/test/export
      order: 50
      path: /default-0/tests/tests/test/export
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 84
      summary: Test the feature to export tests to yaml or dict
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify that tests fmf identifiers are listed in yaml format with
        a command 'tmt tests export --fmf-id'.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/test/identifier
      order: 50
      path: /default-0/tests/tests/test/identifier
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 85
      summary: Listing tests fmf identifiers in yaml format
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/test/import
      order: 50
      path: /default-0/tests/tests/test/import
      require:
      - tmt
      - tmt+test-convert
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 86
      summary: Verify test import and metadata deduplication
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/test/script
      order: 50
      path: /default-0/tests/tests/test/script
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 87
      summary: Verify test metadata should be string
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Verify that selecting tests by name, filter & condition works fine
        for 'tmt test ls', 'tmt test show' and 'tmt run test'.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/test/select
      order: 50
      path: /default-0/tests/tests/test/select
      require:
      - tmt
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 88
      summary: Selecting and filtering tests
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/try/basic
      order: 50
      path: /default-0/tests/tests/try/basic
      require:
      - tmt
      - expect
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 89
      summary: Check basic interactive session features
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Ensure that a bash command placed in the middle of the test script
        can be used for interactive investigation.
      discover-phase: default-0
      duration: 10m
      enabled: true
      environment:
        TMT_FEELING_SAFE: '1'
      framework: beakerlib
      manual: false
      name: /tests/try/investigate
      order: 50
      path: /default-0/tests/tests/try/investigate
      require:
      - tmt
      - expect
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 90
      summary: Verify that interactive investigation works
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      - environment+:
          HATCH_ENVIRONMENT: dev-not-editable
        when: distro == centos-stream-9
      - because: We want to run this locally and it's enough to execute on a single
          distro when run in the CI. We don't need to exercise this again and again
          across all distros.
        enabled: true
        when: initiator is not defined or distro == fedora-rawhide
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Run all available python unit tests using pytest.
      discover-phase: default-0
      duration: 30m
      enabled: true
      environment:
        ENABLE_CONTAINERS: no
        ENABLE_PARALLELIZATION: no
        LANG: en_US.UTF-8
        WITH_SYSTEM_PACKAGES: no
      framework: beakerlib
      manual: false
      name: /tests/unit/with-development-packages/basic
      order: 50
      path: /default-0/tests/tests/unit
      require:
      - tmt
      - gcc
      - git
      - python3-nitrate
      - libvirt-devel
      - krb5-devel
      - libpq-devel
      - python3-devel
      - jq
      - podman
      - buildah
      - hatch
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 91
      summary: Basic unit tests (development packages)
      test: ./test.sh
      tier: '2'
      tty: false
    - adjust:
      - because: we don't want to run the avc check for local testing as it needs
          root and we're executing tests under a regular user
        check: []
        when: initiator is not defined or initiator != packit
      - because: 'Virtual provision have started to be quite slow, will investigate
          what caused the slowdown with the test /tests/execute/unresponsive

          '
        duration+: '*2'
        when: provision_how == virtual
      - environment+:
          HATCH_ENVIRONMENT: dev-not-editable
        when: distro == centos-stream-9
      - because: Enable in CI only
        enabled: true
        when: initiator == packit
      check:
      - delay-before-report: 5
        enabled: true
        how: avc
        ignore-pattern:
        - type=USER_AVC.*received policyload notice
        result: respect
        test-method: timestamp
      contact:
      - Petr Šplíchal <psplicha@redhat.com>
      description: Run all available python unit tests using pytest.
      discover-phase: default-0
      duration: 30m
      enabled: true
      environment:
        ENABLE_CONTAINERS: no
        ENABLE_PARALLELIZATION: no
        LANG: en_US.UTF-8
        WITH_SYSTEM_PACKAGES: yes
      framework: beakerlib
      manual: false
      name: /tests/unit/with-system-packages/basic
      order: 50
      path: /default-0/tests/tests/unit
      require:
      - tmt
      - gcc
      - git
      - python3-nitrate
      - libvirt-devel
      - krb5-devel
      - libpq-devel
      - python3-devel
      - jq
      - podman
      - buildah
      - python3-pytest
      restart-max-count: 1
      restart-with-reboot: false
      result: respect
      serial-number: 92
      summary: Basic unit tests (system packages)
      test: ./test.sh
      tier: '2'
      tty: false
  enabled: true
  environment:
    PYTEST: python3 -m pytest -vvv -ra --showlocals
  execute:
    enabled: true
    phases:
    - duration: 1h
      exit-first: false
      how: tmt
      ignore-duration: false
      interactive: false
      name: default-0
      no-progress-bar: false
      order: 50
      restraint-compatible: false
    results-path: plans/features/basic/execute/results.yaml
  finish:
    enabled: true
    phases:
    - how: shell
      name: default-0
      order: 50
  name: /plans/features/basic
  order: 50
  prepare:
    enabled: true
    phases:
    - how: install
      missing: fail
      name: default-0
      order: 50
      package:
      - jq
      - yq
      - make
      - python3-pip
      - python3-pytest
    - how: shell
      name: default-1
      order: 50
      script:
      - "mkdir -p ~/.koji\nif [ -f ~/.koji/config ]; then\n  echo \"~/.koji/config
        was already set:\"\n  cat ~/.koji/config\nelse\n  cat <<EOF > ~/.koji/config\n[koji]\nanon_retry
        = true\nEOF\nfi\n"
      summary: Make sure we run koji commands with automatic retry to avoid 50x errors
  provision:
    enabled: true
    phases:
    - become: false
      guest: 18.221.124.4
      hard-reboot: /opt/artemis-cli/bin/artemis-cli guest reboot fe1e5810-8dfa-4c27-816a-023948028003
      how: connect
      key:
      - /etc/citool.d/id_rsa_artemis
      name: default-0
      order: 50
      port: 22
      user: root
  report:
    enabled: true
    phases:
    - display-guest: auto
      how: display
      name: default-0
      order: 50
  summary: Basic command line features
run:
  context:
    arch:
    - x86_64
    distro:
    - fedora-rawhide
    initiator:
    - packit
    trigger:
    - commit
  environment:
    PACKIT_BUILD_LOG_URL: https://download.copr.fedorainfracloud.org/results/packit/teemtee-tmt-4904/fedora-rawhide-x86_64/10515802-tmt/builder-live.log
    PACKIT_COMMIT_SHA: 5793f160ea6a83eb7aa78b1dd7135b1303c18ef4
    PACKIT_COPR_BUILD_ID: '10515802'
    PACKIT_COPR_PROJECT: packit/teemtee-tmt-4904
    PACKIT_COPR_RPMS: tmt+provision-virtual-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+provision-bootc-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+provision-beaker-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+report-polarion-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+provision-container-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+export-polarion-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+prepare-artifact-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+report-junit-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+all-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+link-jira-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+provision-mock-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
      tmt+test-convert-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45.noarch
    PACKIT_DOWNSTREAM_NAME: tmt
    PACKIT_DOWNSTREAM_URL: https://src.fedoraproject.org/rpms/tmt.git
    PACKIT_FULL_REPO_NAME: teemtee/tmt
    PACKIT_PACKAGE_NAME: tmt
    PACKIT_PACKAGE_NVR: tmt+provision-virtual-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.fc45
    PACKIT_PR_ID: '4904'
    PACKIT_SOURCE_BRANCH: document-user-key-better
    PACKIT_SOURCE_SHA: 5793f160ea6a83eb7aa78b1dd7135b1303c18ef4
    PACKIT_SOURCE_URL: https://github.com/teemtee/tmt
    PACKIT_SRPM_URL: https://download.copr.fedorainfracloud.org/results/packit/teemtee-tmt-4904/srpm-builds/10515802/tmt-1.75.0.dev3+g5793f160e-1.20260527082731650792.pr4904.3.g5793f160.src.rpm
    PACKIT_TARGET_BRANCH: main
    PACKIT_TARGET_SHA: ba64efc6eb8bc54e1c9b7971fe42c7227cdd8096
    PACKIT_TARGET_URL: https://github.com/teemtee/tmt
    PACKIT_UPSTREAM_NAME: tmt
    PACKIT_UPSTREAM_URL: https://github.com/teemtee/tmt
    TESTING_FARM_GIT_REF: 5793f160ea6a83eb7aa78b1dd7135b1303c18ef4
    TESTING_FARM_GIT_URL: https://github.com/teemtee/tmt
    TESTING_FARM_REQUEST_ID: 7ee920ba-c471-4371-b3ba-ca9f08ece5f9
    TESTING_FARM_TEST_TYPE: fmf
  remove: false
  root: /var/ARTIFACTS/git-ba64efc6eb8bc54e1c9b7971fe42c7227cdd8096jv4l6ug6
