Skip to content

Poor performance of tmt/testing-farm with thousands of tests #4406

@fpokryvk

Description

@fpokryvk

There seems to be some performance issue when too many testcases are defined in tests.fmf. Reading the logs in testing farm, it takes 4-6s to jump to the next test while it generates some yamls. This is a blocker for a testsuite with (not that) too many testcases defined, as few seconds multiplied by thousands makes few hours "of doing nothing" in the testsuite.

15:32:48         environment
15:32:48         Command returned '0' (success).
15:32:48         Copy '/var/ARTIFACTS/work-alln2wid3ea/plan/all/data' from the guest to '/'.
15:32:48         Run command: rsync -z --links -s -r -R --safe-links -e 'ssh -oForwardX11=no -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oConnectionAttempts=5 -oConnectTimeout=60 -oServerAliveInterval=5 -oServerAliveCountMax=60 -oIdentitiesOnly=yes -p22 -i /etc/citool.d/id_rsa_artemis -oPasswordAuthentication=no -S/var/ARTIFACTS/work-alln2wid3ea/ssh-sockets/10.0.178.196-22-root.socket' root@10.0.178.196:/var/ARTIFACTS/work-alln2wid3ea/plan/all/data /
15:32:48         environment
15:32:49         Command returned '0' (success).
15:32:49     Write file '/var/ARTIFACTS/work-alln2wid3ea/plan/all/execute/step.yaml'.
15:32:54     Write file '/var/ARTIFACTS/work-alln2wid3ea/plan/all/execute/results.yaml'.
15:32:54             00:00:01 pass /tests/skip_step_skip (on default-0) [2/1577]
15:32:54             test: /tests/skip_step_pass
15:32:54         Execute '/tests/skip_step_pass' as a 'shell' test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    backlog

    Status

    triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions