Uploaded image for project: 'OPCT - OpenShift Provider Compatibility Tool'
  1. OPCT - OpenShift Provider Compatibility Tool
  2. OPCT-54

[opct] decrease the archive result file

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None

      {}USER STORY:{}

      As a partner running the OPCT, I would like to send the archive result file by email, so I don't need external credentials or setup to upload the results from the Provider Certification to Red Hat Partner teams.

      {}DESCRIPTION:{}

      Currently, the default execution of OPCT generates a tarball file compressed as gzip with ~60MiB. That size is almost high to be send by email, ~25MiB.

      If we just change the compression to something like XZ, we can decrease almost 10 times the size, creating a file with approximately 6MiB.

      • Compression time and size: GZ

       

      # User time (seconds): 7.37
      # System time (seconds): 0.62
      # Percent of CPU this job got: 107%
      
      $ ls -sh *.tar.gz
      60M 202206292156_sonobuoy_721d5da2-6fa9-49a2-91a5-909fa188680a.tar.gz
      

       

      • Compression time and size: BZ

       

      # User time (seconds): 37.28 
      # System time (seconds): 0.50
      # Percent of CPU this job got: 99%
      
      $ ls -sh 202206292156_sonobuoy_721d5da2-6fa9-49a2-91a5-909fa188680a.tar.bz 
      49M 202206292156_sonobuoy_721d5da2-6fa9-49a2-91a5-909fa188680a.tar.bz 

       

      • Compression time and size: XZ

       

      # User time (seconds): 64.38
      # System time (seconds): 2.06
      # Percent of CPU this job got: 102%
      
      $ ls -sh 202206292156_sonobuoy_721d5da2-6fa9-49a2-91a5-909fa188680a.tar.xz
      8.7M 202206292156_sonobuoy_721d5da2-6fa9-49a2-91a5-909fa188680a.tar.xz
      • Raw file size

       

          User time (seconds): 0.00
          System time (seconds): 1.61
          Percent of CPU this job got: 98%
       
      $ du -sh raw/
      402M    raw/
      
      $ ls -sh 202206292156_sonobuoy_721d5da2-6fa9-49a2-91a5-909fa188680a.tar
      401M 202206292156_sonobuoy_721d5da2-6fa9-49a2-91a5-909fa188680a.tar

       

       

       

      {}Required:{}

      • File size lower or equal than 20MiB

      {}Nice to have:{}

      • Server side compression.

      {}ACCEPTANCE CRITERIA:{}

      • File size lower or equal than 20MiB

      {}ENGINEERING DETAILS:{}

       

              Unassigned Unassigned
              rhn-support-mrbraga Marco Braga
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: