Summary: | restd sbatch jobs: Create tests to validate jobs processing valid and invalid accounts | ||
---|---|---|---|
Product: | Slurm | Reporter: | Enrique Henderson <qaalignllc> |
Component: | Test Suite | Assignee: | Enrique Henderson <qaalignllc> |
Status: | OPEN --- | QA Contact: | |
Severity: | 4 - Minor Issue | ||
Priority: | --- | CC: | albert.gil |
Version: | 24.11.0 | ||
Hardware: | Linux | ||
OS: | Linux | ||
Site: | SchedMD-Consultant | Alineos Sites: | --- |
Atos/Eviden Sites: | --- | Confidential Site: | --- |
Coreweave sites: | --- | Cray Sites: | --- |
DS9 clusters: | --- | HPCnow Sites: | --- |
HPE Sites: | --- | IBM Sites: | --- |
NOAA SIte: | --- | NoveTech Sites: | --- |
Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
Recursion Pharma Sites: | --- | SFW Sites: | --- |
SNIC sites: | --- | Tzag Elita Sites: | --- |
Linux Distro: | --- | Machine Name: | |
CLE Version: | Version Fixed: | ||
Target Release: | --- | DevPrio: | --- |
Emory-Cloud Sites: | --- |
Description
Enrique Henderson
2024-12-10 12:07:50 MST
I added test test_process_job_account_without_cluster_sbatch assuming that the test would fail but it passed. when I debug the resulting job it seems that there is a default cluster (atf) that is the reason that I did not get a failed job creation, possibly. I then attempted deleting the atf cluster in the test before the job post method with atf.run_command(f"sacctmgr -i delete cluster name=atf", fatal=False) and the atf cluster was still in place and the test still PASSED. After discussing with Albert, this is a rare case that is currently not testable due to the default atf general cluster. I pushed the work for https://support.schedmd.com/show_bug.cgi?id=21607 in the ticket_21607_job_account_tests branch the test_process_job_without_account_with_cluster_partition_sbatch test should fail due to the account being missing but some how a default account is being used will work with Albert to get a better understanding of why and fix the issue. |