NASA-PDS / deep-archive

PDS Open Archival Information System (OAIS) utilities, including Submission Information Package (SIP) and Archive Information Package (AIP) generators
https://nasa-pds.github.io/deep-archive/
Other
7 stars 4 forks source link

AIP now fails validation after #178 update #186

Closed jordanpadams closed 1 month ago

jordanpadams commented 1 month ago

Checked for duplicates

Yes - I've already checked

🐛 Describe the bug

When I generated the AIP/SIP for Cassini collection, the AIP now throws a validation error.

🕵️ Expected behavior

I expected it would not throw a validation error.

📜 To Reproduce

$pds-deep-registry-archive --quiet --site PDS_SBN urn:nasa:pds:cassini_uvis_solarocc_beckerjarmak2023::1.0

$ validate --target cassini_uvis_solarocc_beckerjarmak2023_v1.0_20240911_aip_v1.0.xml

  FAIL: file:/Users/jpadams/proj/pds/pdsen/workspace/deep-archive/cassini_uvis_solarocc_beckerjarmak2023_v1.0_20240911_aip_v1.0.xml
      ERROR  [error.label.table_definition_problem]   line 2: Data Object #2 (transfer manifest): Data object is truncated. Expected bytes as defined by label: 93184 (182 records times 512 bytes per record), Actual bytes in file: 63772 (124.55469 records times 512 bytes per record) OR (182 records times 350.3956 bytes per record)
        1 product validation(s) completed
jordanpadams commented 1 week ago

Skipping I&T. Successfully testing https://github.com/NASA-PDS/deep-archive/issues/178 will test this