Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-677

SRPM from ART contains rebase.sh intermediate artifacts in _output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.12
    • None
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 229

      Description of problem:

      SRPM from ART contains rebase.sh intermediate artifacts in _output and weights 190MB as rpm and 1.4GB after extracting

      Version-Release number of selected component (if applicable):

      rc4 for sure - https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2299233

      How reproducible:

      Get the srpm for ART build, extract the contents, and look for existence and contents of _output dir

      Steps to Reproduce:

      1. Get srpm, e.g.
      wget http://download.eng.bos.redhat.com/brewroot/vol/rhel-8/packages/microshift/4.12.0~rc.4/202212101015.p0.g43f0923.assembly.rc.4.el8/src/microshift-4.12.0~rc.4-202212101015.p0.g43f0923.assembly.rc.4.el8.src.rpm
      
      2. `ls -lah` on file to get its size
      
      3. extract rpm:
      rpm2cpio ./microshift-4.12.0\~rc.4-202212101015.p0.g43f0923.assembly.rc.4.el8.src.rpm  | cpio -idmv
      
      4. extract the tgz:
      tar xf microshift-4.12.0\~rc.4-202212101015.p0.g43f0923.assembly.rc.4.tar.gz
      
      5. ls microshift-4.12.0\~rc.4/_output/staging/;
      du -sh microshift-4.12.0\~rc.4/_output/staging/

      Actual results:

      _output dir exists and weights 1.2GB

      Expected results:

      _output dir is not included in the SRPM

      Additional info:

       

              pmatusza@redhat.com Patryk Matuszak
              pmatusza@redhat.com Patryk Matuszak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: