Open XuChen-MSFT opened 1 year ago
@bingwang-ms PR# https://github.com/sonic-net/sonic-mgmt/pull/8181 was imported by mellanox platform, can you take a look?
@ppikh Can you help take a look?
This issue should be fixed by https://github.com/sonic-net/sonic-mgmt/pull/8086. I marked in PR backport to 202205, but seems it was not backported. @bingwang-ms - should I create a new PR for backport changes into 202205 branch?
@ppikh I added the label, Xin will help to cherry-pick, no need for the new PR unless there is a conflict.
Description
After mereged PR https://github.com/sonic-net/sonic-mgmt/pull/8181, on some other sonic device, hit TestAutoTechSupport::test_max_limit failure, as below:
Steps to reproduce the issue:
Describe the results you received:
failed with error messag:
Describe the results you expected:
pass this case
Additional information you deem important:
my initial analysis:
disk info
when max-core-limit == 0, script generated 4 dummy corefile and 1 real corefile, as below
so far, the disk utilization for corefile is : 4%
the disk utilization for core folder is 3%, and
and observed that "bash.1684423532.17296.core.gz" was removed to make sure meet criterion of "max-core-limit == 3". and also observed that "bash.1684423533.12278.core.gz" was keep, because already to meet criterion of "max-core-limit == 3".
so not_expected_stub_files value is: ['bash.1684423532.17296.core.gz', 'bash.1684423533.12278.core.gz'] and then failed to check not_expected_stub_files.
looks like need to dynamically calculate whichi corefile is needed to remove instead of removing first two.