clp icon indicating copy to clipboard operation
clp copied to clipboard

compression_scheduler doesn't report failure with partially invalid input paths

Open haiqi96 opened this issue 11 months ago • 0 comments

Bug

When handling compression job with multiple input paths, the compression scheduler silently log and skip any input that doesn't resolve to any real on disk path.

The compression is only marked as failure if none of the input paths resolve to valid path, otherwise CLP will skip compressing any invalid input path and report success.

We should update the reporting system so that we can report this kind of case as partially fail.

CLP version

469019e329bea4a0e8fc351b3d26aa976ab7f891

Environment

Ubuntu 22.04

Reproduction steps

  • Build and start a CLP package
  • run ./sbin/compress.sh <valid_path> <invalid_path>
  • An error log can be observed in compression schdeuler log, but the compression returns success

haiqi96 avatar Feb 29 '24 15:02 haiqi96