Project

Profile

Help

Task #5458

Port the performance-tests to pulp_file

Added by bmbouter 8 months ago. Updated 6 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Target Release - File:
Sprint:
Sprint 61

Description

Problem

The performance team wrote two repositories of tests for pulp_file.

fixture generator: Repos to test having files-count 100000 and created using this script
The test scripts themselves: https://github.com/redhat-performance/pulpperf/tree/master/tests

The tests can be run on the pulp3 system using commands by specifying the test along with repos manually.

Solution

We need to move these tests into pulp_file's test area

We should create a new "performance" area since these are long running tests, distinct from functional tests.

The tests need to output the runtime of the tests which is the key metric of interest.

The user should be able to run django-admin test performance when in this directory and have it:

1. generate the fixture data it will use in a temporary location
2. serve that data somehow (maybe with nginx?)
3. have the sync tests sync from that and re-sync per the different tests


Related issues

Blocks Pulp - Task #5460: Investigate sync performance NEW Actions

Associated revisions

Revision 9ece27d9 View on GitHub
Added by Lubos Mjachky 7 months ago

Port performance tests

Compared to existing performance tests, fixtures are generated in /usr/local/lib/pulp/lib/python3.7/site-packages/rest_framework/static/fixtures/. And then available at http://localhost:80/static/fixtures/.

closes #5458 https://pulp.plan.io/issues/5458

History

#1 Updated by bmbouter 8 months ago

  • Blocks Task #5460: Investigate sync performance added

#2 Updated by bmbouter 8 months ago

  • Description updated (diff)

Added some more details

#3 Updated by lmjachky 8 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to lmjachky

#4 Updated by fao89 8 months ago

  • Sprint set to Sprint 59

#5 Updated by rchan 8 months ago

  • Sprint changed from Sprint 59 to Sprint 60

#6 Updated by lmjachky 8 months ago

  • Status changed from ASSIGNED to POST

#7 Updated by rchan 7 months ago

  • Sprint changed from Sprint 60 to Sprint 61

#8 Updated by Anonymous 7 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#9 Updated by bmbouter 6 months ago

  • Sprint/Milestone set to 0.1.0

#10 Updated by bmbouter 6 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF