Closed bistline closed 1 day ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 70.02%. Comparing base (
1a111d6
) to head (c3d4c93
). Report is 8 commits behind head on development.
The last two test failures in the build seem like plausible true positives:
Total elapsed time: 28 minutes, 32 seconds
### FAILURES and ERRORS ###
*** Yarn test failures ***
*** Rails test failures ***
FireCloudClientTest#test_create_and_manage_user_groups:
RuntimeError: Wrapped undumpable exception for: RestClient::InternalServerError: 500 Internal Server Error
StudyValidationTest#test_should_validate_unique_cells_for_expression_matrices:
RuntimeError: Sleep timeout after 300 seconds when waiting for parse of "expression_matrix_example_2.txt".
DeleteQueueJobTest#test_should_prepare_file_for_deletion_to_allow_cloning [/home/app/webapp/test/models/delete_queue_job_test.rb:252]:
Expected false to be truthy.
IngestJobTest#test_should_automatically_retry_on_OOM_failure:
NoMethodError: undefined method `delete_nested_associations' for DeleteQueueJob:Class
Exiting with code: 1
The last two test failures in the build seem like plausible true positives:
Total elapsed time: 28 minutes, 32 seconds ### FAILURES and ERRORS ### *** Yarn test failures *** *** Rails test failures *** FireCloudClientTest#test_create_and_manage_user_groups: RuntimeError: Wrapped undumpable exception for: RestClient::InternalServerError: 500 Internal Server Error StudyValidationTest#test_should_validate_unique_cells_for_expression_matrices: RuntimeError: Sleep timeout after 300 seconds when waiting for parse of "expression_matrix_example_2.txt". DeleteQueueJobTest#test_should_prepare_file_for_deletion_to_allow_cloning [/home/app/webapp/test/models/delete_queue_job_test.rb:252]: Expected false to be truthy. IngestJobTest#test_should_automatically_retry_on_OOM_failure: NoMethodError: undefined method `delete_nested_associations' for DeleteQueueJob:Class Exiting with code: 1
Yeah I did a last-minute refactor and forgot to remove a method reference. d3d183b should fix it.
BACKGROUND & CHANGES
This update prevents two errors from occurring when attempting to relaunch an AnnData extraction that failed due to an OOM exception.
AnnData
but it still has anExpressionFileInfo
document, this validation is now enforced (if enabled). This causes an error preventing the new file from being ingested as the entire job fails without successfully launching the retry.FrozenError: can't modify frozen BSON::Document
: while this doesn't have a user-facing component, this error is nonetheless thrown when trying to delete the original file because theAnnDataFileInfo#data_fragments
entries are BSON documents. Now, these documents are removed prior to preparing the file for deletion.With these two errors addressed, now failed AnnData extractions will correctly retry in the event of an OOM exception.
MANUAL TESTING
raw_counts_required_backend
toTrue
for your email account (or if the flag is enabled, remove any overrides for your account/study)raw_counts_required_backend
enabled