Skip to content

compression_scheduler doesn't report failure with partially invalid input paths #308

@haiqi96

Description

@haiqi96

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

469019e

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions