temporary mock_clean_cache_config files left after building

Bug #1991009 reported by Al Bailey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Davlet Panech

Bug Description

Brief Description
-----------------
This bug is a minor cleanup 'nit'

When building rpms using the build tools the following types of temp files are left behind
/tmp/mock_clean_cache_cfg_ZY1L3M

It turns out this is becaase the cleanup code in the build tools has a small typo
Its using 'TPM' instead of 'TMP'
https://github.com/starlingx/root/blob/master/build-tools/build-rpms-serial#L934
and
https://github.com/starlingx/root/blob/master/build-tools/build-rpms-parallel#L1153

This is a low priority bug, It does not have to be addressed, its just a small cleanup activity.

Severity
--------
Minor

Steps to Reproduce
------------------
build-rpms

Expected Behavior
------------------
It should not leave behind /tmp/mock_clean_cache_cfg_<blah> files

Actual Behavior
----------------
It leaves behind one of its temp files

Reproducibility
---------------
100%

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
N/A

Last Pass
---------
N/A

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Developer Testing

Workaround
----------
No workaround required. /tmp would get cleaned up on reboot and the files are tiny.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to root (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/root/+/859477

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to root (master)

Reviewed: https://review.opendev.org/c/starlingx/root/+/859477
Committed: https://opendev.org/starlingx/root/commit/9afc2a9b162817520a8d7cea69f23d4d1524cc91
Submitter: "Zuul (22348)"
Branch: master

commit 9afc2a9b162817520a8d7cea69f23d4d1524cc91
Author: Davlet Panech <email address hidden>
Date: Tue Sep 27 16:09:31 2022 -0400

    build-rpms: fix typo in temp files removal

    Closes-Bug: 1991009

    Signed-off-by: Davlet Panech <email address hidden>
    Change-Id: I8b0dfc5d58f30f83e305e450de14c5eb4375d4de

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.8.0 stx.build
Changed in starlingx:
assignee: nobody → Davlet Panech (dpanech)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.