[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/21568] New: Temporary directories created by abipkgdiff doesn't get deleted when fedabipkgdiff runs with option -a



https://sourceware.org/bugzilla/show_bug.cgi?id=21568

            Bug ID: 21568
           Summary: Temporary directories created by abipkgdiff doesn't
                    get deleted when fedabipkgdiff runs with option -a
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: sinny at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

abipkgidiff tool creates temporary directory to keep extracted rpms to perform
ABI comparison against two set of packages. After successful execution,
temporary directory gets deleted unless option --keep-tmp-files is passed.
Normally, it works as per expectation but when fedabipkgdiff tool executes with
option -a, it doesn't.

Steps to reproduce: 
$ ls ~/.cache/libabigail/ |wc
0

$ tools/fedabipkgdiff -a --from fc25 --to fc26 libxcb 
Comparing the ABI of binaries between libxcb-1.12-1.fc25.aarch64.rpm and
libxcb-1.12-3.fc26.aarch64.rpm:


Comparing the ABI of binaries between libxcb-devel-1.12-1.fc25.aarch64.rpm and
libxcb-devel-1.12-3.fc26.aarch64.rpm:


Comparing the ABI of binaries between libxcb-1.12-1.fc25.armv7hl.rpm and
libxcb-1.12-3.fc26.armv7hl.rpm:


Comparing the ABI of binaries between libxcb-devel-1.12-1.fc25.armv7hl.rpm and
libxcb-devel-1.12-3.fc26.armv7hl.rpm:


Comparing the ABI of binaries between libxcb-1.12-1.fc25.i686.rpm and
libxcb-1.12-3.fc26.i686.rpm:


Comparing the ABI of binaries between libxcb-devel-1.12-1.fc25.i686.rpm and
libxcb-devel-1.12-3.fc26.i686.rpm:


Comparing the ABI of binaries between libxcb-devel-1.12-1.fc25.ppc64.rpm and
libxcb-devel-1.12-3.fc26.ppc64.rpm:


Comparing the ABI of binaries between libxcb-1.12-1.fc25.ppc64.rpm and
libxcb-1.12-3.fc26.ppc64.rpm:


Comparing the ABI of binaries between libxcb-devel-1.12-1.fc25.ppc64le.rpm and
libxcb-devel-1.12-3.fc26.ppc64le.rpm:


Comparing the ABI of binaries between libxcb-1.12-1.fc25.ppc64le.rpm and
libxcb-1.12-3.fc26.ppc64le.rpm:


Comparing the ABI of binaries between libxcb-devel-1.12-1.fc25.s390x.rpm and
libxcb-devel-1.12-3.fc26.s390x.rpm:


Comparing the ABI of binaries between libxcb-1.12-1.fc25.s390x.rpm and
libxcb-1.12-3.fc26.s390x.rpm:


Comparing the ABI of binaries between libxcb-devel-1.12-1.fc25.x86_64.rpm and
libxcb-devel-1.12-3.fc26.x86_64.rpm:


Comparing the ABI of binaries between libxcb-1.12-1.fc25.x86_64.rpm and
libxcb-1.12-3.fc26.x86_64.rpm:

$ echo $?
0

$ ls ~/.cache/libabigail/ |wc
 7
$ $  du -chs  ~/.cache/libabigail/
404M    /home/skumari/.cache/libabigail/
404M    total

Expected behavior
-----------------
Directory ~/.cache/libabigail/ should be empty

Additional Information:
-----------------------
I don't see anywhere in fedabipgdiff source code passing option
--keep-tmp-files to abipkgdiff

When -a option is not used i.e running "tools/fedabipkgdiff --from fc25 --to
fc26 libxcb " deletes all temporary directories.

-- 
You are receiving this mail because:
You are on the CC list for the bug.