Closed p-j-smith closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 85.90%. Comparing base (
d71ce8f
) to head (5c0f5b3
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I'm not sure why the system tests are being skipped? I tried rerunning them but they were skipped again
I'm not sure why the system tests are being skipped? I tried rerunning them but they were skipped again
Does this tests need to be passing locally by going to (tests and then ./run-system-test.sh
)? As I tried and I have this log:
2024-09-04 16:07:54.866 | ERROR | system_test:_check_dcm_tags_from_zip:179 - TEMPORARILY IGNORE: tag value b'test-extract-uclh-omop-cdm' should be of type str, but is of type bytes
============================================================================================= short test summary info =============================================================================================
FAILED system_test.py::TestFtpsUpload::test_ftps_dicom_upload - assert {('ANONYMIZED', 'AP')} == {('ANONYMIZED...'include123')}
===================================================================================== 1 failed, 4 passed in 374.44s (0:06:14) =====================================================================================
(pixlVE) mxochicale@precision-5570:~/Desktop/saferHR/repositories/PIXL/test$ ./run-system-test.sh stop
Does this tests need to be passing locally by going to (tests and then ./run-system-test.sh)? As I tried and I have this log:
2024-09-04 16:07:54.866 | ERROR | system_test:_check_dcm_tags_from_zip:179 - TEMPORARILY IGNORE: tag value b'test-extract-uclh-omop-cdm' should be of type str, but is of type bytes ============================================================================================= short test summary info ============================================================================================= FAILED system_test.py::TestFtpsUpload::test_ftps_dicom_upload - assert {('ANONYMIZED', 'AP')} == {('ANONYMIZED...'include123')} ===================================================================================== 1 failed, 4 passed in 374.44s (0:06:14) ===================================================================================== (pixlVE) mxochicale@precision-5570:~/Desktop/saferHR/repositories/PIXL/test$ ./run-system-test.sh stop
Oh that's this issue, which I thought would be fixed as part of https://github.com/SAFEHR-data/PIXL/pull/489 😢 Perhaps we should further increase PIXL_DICOM_TRANSFER_TIMEOUT
and ORTHANC_RAW_EXTRA_STABLE_SECONDS
?
Oh that's this issue, which I thought would be fixed as part of #489 😢 Perhaps we should further increase
PIXL_DICOM_TRANSFER_TIMEOUT
andORTHANC_RAW_EXTRA_STABLE_SECONDS
?
Thanks, just wanted to do a quick test and tried PIXL_DICOM_TRANSFER_TIMEOUT=400
and ORTHANC_RAW_EXTRA_STABLE_SECONDS=400
but seems to produce some errors. I leave logs in case are useful.
../pytest-pixl/src/pytest_pixl/helpers.py:111: AssertionError
============================================================================================= short test summary info =============================================================================================
ERROR system_test.py::TestFtpsUpload::test_ftps_parquet_upload - AssertionError: Condition at_least_n_studies_exported was not achieved even after 211 seconds
ERROR system_test.py::TestFtpsUpload::test_ftps_radiology_linker_upload - AssertionError: Condition at_least_n_studies_exported was not achieved even after 211 seconds
ERROR system_test.py::TestFtpsUpload::test_ftps_dicom_upload - AssertionError: Condition at_least_n_studies_exported was not achieved even after 211 seconds
ERROR test_parquet_exports.py::test_public_parquet - AssertionError: Condition at_least_n_studies_exported was not achieved even after 211 seconds
===================================================================================== 1 passed, 4 errors in 357.37s (0:05:57)
Thanks, just wanted to do a quick test and tried
PIXL_DICOM_TRANSFER_TIMEOUT=400
andORTHANC_RAW_EXTRA_STABLE_SECONDS=400
but seems to produce some errors. I leave logs in case are useful.
Ah this would be because the test waits 120 seconds for a study to be expected, but it will take 800 seconds (PIXL_DICOM_TRANSFER_TIMEOUT
+ ORTHANC_RAW_EXTRA_STABLE_SECONDS
) before it will move from orthanc-raw to orthanc-anon
Description
Related to #486.
SOPInstanceUID
s in Orthanc Raw against those in the VNA / PACS. However, when retrieving data, theStudyInstanceUID
, andSeriesInstanceUID
, andSOPInstanceUID
values are modified by Orthanc Raw.Fixes #496
StudyInstanceUID
,SeriesInstanceUID
, andSOPInstanceUID
when setting the project name private tag in Orthanc Raw. Also setForce=True
to allow us to keep these UIDsOverwriteInstance: True
in the PIXL Raw config so that if an instance with an existing SOPInstanceUID is uploaded, the previous instance is overwritten (otherwise we'd need to manually delete the old instance after setting the project name tag)StudyInstanceUID
,SeriesInstanceUID
, andSOPInstanceUID
are correct in Orthanc raw after retrieving a study and setting the project name tagType of change
Please delete options accordingly to the description.
Suggested Checklist
main
branch.UCLH-Foundtry/arc-dev
squash and merge