-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Description
Due to a mistake (not declaring a fixture function in the argument list), one of our tests tried to upload a file
to LFN '/ctao.dpps.test/<function test_scope at 0x7f8256ecdc60>/gamma_prod5.simtel.zst'
This resulted in rucio rejecting the upload:
2025-11-18T11:01:46,144483Z Framework/DIRAC.Resources.Catalog.RucioFileCatalogClient WARN: Cannot bulk insert files error : RucioException("('(psycopg.errors.StringDataRightTruncation) value too long for type character varying(25)',)")
However, the returned result object has {"OK": True} and the file is present in both "Successful" and in "Failed":
INFO conftest:(unknown file):0 putFileAndRegister result for /tmp/pytest-of-dpps/pytest-3/minio_test_data_0/gamma_prod5.simtel.zst: {'OK': True, 'Value': {'Successful': {'/ctao.dpps.test/<function test_scope at 0x7f8256ecdc60>/gamma_prod5.simtel.zst': {'put': 0.30115485191345215}}, 'Failed': {'/ctao.dpps.test/<function test_scope at 0x7f8256ecdc60>/gamma_prod5.simtel.zst': {'register': {'LFN': '/ctao.dpps.test/<function test_scope at 0x7f8256ecdc60>/gamma_prod5.simtel.zst', 'PFN': 'root://x509up_u1000@rucio-storage-1:1094//rucio/ctao.dpps.test/<function test_scope at 0x7f8256ecdc60>/gamma_prod5.simtel.zst', 'Size': 17517415, 'TargetSE': 'STORAGE-1', 'GUID': 'C8B512DC-89CC-7024-0DC0-EE66E66CEC78', 'Adler': 'f5bb074d'}}}}}
Metadata
Metadata
Assignees
Labels
No labels