Closed sagihirshfeld closed 6 months ago
Verified here:
2024-05-08 17:39:32 =========================== short test summary info ============================
2024-05-08 17:39:32 FAILED tests/test_health_operations.py::Test_health_operations::test_noobaa_account_flag[false_value] - noobaa_sa.exceptions.HealthStatusFailed: Health command failed to get all account info with flag --all_account_details False
2024-05-08 17:39:32 FAILED tests/test_health_operations.py::Test_health_operations::test_noobaa_account_flag[default_value] - noobaa_sa.exceptions.HealthStatusFailed: Health command failed to get all account info with flag --all_account_details None
2024-05-08 17:39:32 FAILED tests/test_health_operations.py::Test_health_operations::test_noobaa_bucket_flag[false_value] - noobaa_sa.exceptions.HealthStatusFailed: Health command failed to get all account info with flag --all_account_details False
2024-05-08 17:39:32 FAILED tests/test_health_operations.py::Test_health_operations::test_noobaa_bucket_flag[default_value] - noobaa_sa.exceptions.HealthStatusFailed: Health command failed to get all account info with flag --all_account_details None
2024-05-08 17:39:32 ============ 4 failed, 26 passed, 170 warnings in 87.45s (0:01:27) =============
The 4 remaining failures are due to issues/bugs that are specific to the Test_health_operations
test cases - @udaysk23 FYI
Fixes:
27:
Since we can bypass these restrictions when using sudo via ssh, but not via sftp - the workaround is to copy the file via
sudo cp
to an unrestricted directory and then use sftp to download it form there.31:
By modifying
generate_random_key
to create alphanumeric keys by default.30:
Fixed the race condition by using a new
retry
util func when we attempt to read the file from a newly set config directory