pcs/gating.fmf
Michal Pospisil 72da5ce3c7 pcs-0.11.7-4
- initial c10s build
- removed %{eln} macro
- support packaging change of nodejs from streams to versioned packages
- only `enable-booth-enable-authfile-unset` option is present
- removed BuildRequires: python3-setuptools_scm - was needed for bundling dateutil
- updated gating policy
- added diffstat to gating fmf plan, rpmbuild failed during patching
- fixed paths to bundled modules in prepare-env.sh, removed distro workaround
- Bundled Python dependencies: dacite, pyagentx, pycurl, tornado
  Resolves: RHEL-26339
- Bundled rubygems: backports, childprocess, ethon, ffi, mustermann, nio3r, puma, rack, rack-protection, rack-test, ruby2_keywords, sinatra, tilt
- Converted pcs and pcs-snmp to be architecture dependent, cockpit-ha-cluster remains noarch
2024-04-12 15:49:51 +02:00

50 lines
1.3 KiB
Plaintext

summary: PCS gating test plan
description: Runs upstream tier0, tier1 and smoke tests
discover:
how: shell
dist-git-source: true
tests:
# Workaround until tmt supports patching sources
- name: Patch sources and run autotools
test: ./prepare-env.sh
duration: 30m
- name: Tier 0 tests
test: ./builddir/pcs-*/pcs_test/suite --tier0 -v --vanilla --installed
duration: 10m
- name: Tier 1 tests
test: ./builddir/pcs-*/pcs_test/suite --tier1 -v --vanilla --installed
duration: 2h
- name: Smoke tests
test: |
systemctl start pcsd
./builddir/pcs-*/pcs_test/smoke.sh
duration: 10m
prepare:
- name: Install packages
how: install
package:
- autoconf
- automake
- make
- diffstat
- rpm-build
- ruby-devel
- git-core
- booth-site
- fence-agents-apc
- fence-agents-ipmilan
- fence-agents-scsi
- fence-virt
- openssl
- pcs
- pcs-snmp
- python3-pip
- python3-setuptools_scm
- python3-wheel
- rubygem-json
- rubygem-test-unit
- wget
execute:
how: tmt