Skip to content

Problem: when a sip with spaces in the name fails, the failed sip is not stored #1272

@scollazo

Description

@scollazo

Describe the bug

When a sip that has spaces in the name fails validation, downloading the Failed SIP fails with "Failed SIP/PIP file not found in the internal storage"

To Reproduce

  • Run an invalid sip with spaces in the name

Expected behavior

After a verification failure, the Failed SIP can be downloaded

Screenshots

Image

Additional context

Temporal log shows that bucket-copy activity fails with:
bucketcopy: copy blob: blob (key \"SIP_SIP_20250605_Vecteur_7928 -362eaf86-62ce-4e74-86c4-cb54c296cc98.zip -> Failed_SIP_SIP_20250605_Vecteur_7928 -362eaf86-62ce-4e74-86c4-cb54c296cc98.zip\") (code=NotFound): operation error S3: CopyObject, https response error StatusCode: 404, RequestID: 184BF5264CB2DC68, HostID: 602af0b60757be79cc5f5f3491c39d3e732002764d974afe2b682088cb17bfab, api error NoSuchKey: The specified key does not exist.,

and after that, removepaths also tries to remove the parent folder and fails with with couldn't remove path: unlinkat /var/lib/enduro/preprocessing: permission denied

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdomain: ingestIssues related to Enduro Ingest

Type

Projects

Status

👍 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions