-
Notifications
You must be signed in to change notification settings - Fork 358
Python unit tests aren't portable #2984
Copy link
Copy link
Labels
b4bbit-for-bitbit-for-bitdevopsDevelopment Operations to improve development throughput, E.g., adding GitHub WorkflowsDevelopment Operations to improve development throughput, E.g., adding GitHub Workflowstest: pythonPass clm_pymods test suite plus Python sys/unit tests before mergingPass clm_pymods test suite plus Python sys/unit tests before mergingtestingadditions or changes to testsadditions or changes to tests
Milestone
Metadata
Metadata
Assignees
Labels
b4bbit-for-bitbit-for-bitdevopsDevelopment Operations to improve development throughput, E.g., adding GitHub WorkflowsDevelopment Operations to improve development throughput, E.g., adding GitHub Workflowstest: pythonPass clm_pymods test suite plus Python sys/unit tests before mergingPass clm_pymods test suite plus Python sys/unit tests before mergingtestingadditions or changes to testsadditions or changes to tests
Type
Fields
Give feedbackNo fields configured for Parent.
Projects
StatusShow more project fields
Done
There are some things preventing us from running the Python unit tests anywhere other than the NCAR clusters (or at least machines not specified in CIME's
config_machines.xml). Aside from being a continuity risk, this means that we can't run them as GitHub workflows.Unit tests failing on my Mac:
test_append_user_nl_step2: PermissionError atos.mknod(ufile)(Fix need/checks for inputdata path in subset_data and Python testing #2985)test_check_args_outsurfdat_provided:inputdata directory does not exist(Fix need/checks for inputdata path in subset_data and Python testing #2985)test_derecho_mpirun:ERROR: Undefined env var 'LMOD_ROOT'. This one probably just needs to be skipped if not on Derecho, but it should throw a warning. (Only run test_derecho_mpirun Python test on Derecho #2987)test_inputdata_setup_files_basic:inputdata directory does not exist(Fix need/checks for inputdata path in subset_data and Python testing #2985)test_run_phase: PermissionError inSSPCaseFake.create_clone()atos.mknod(os.path.join(newcase, "user_nl_clm"))(Fix need/checks for inputdata path in subset_data and Python testing #2985)