giovtorres / docker-centos7-slurm

Slurm Docker Container on CentOS 7
MIT License
85 stars 56 forks source link

Build and push new container image on merge #54

Open asmacdo opened 5 months ago

asmacdo commented 5 months ago

@giovtorres, you will need to add secrets for the automation to work.

Once this is up and running, I'm happy to add some release automation as well. Do you have any specific process you'd prefer for that?

yarikoptic commented 4 months ago
it is tests which are failing ```shell =========================== short test summary info ============================ FAILED tests/test_config.py::test_slurm_var_files[/var/run/slurm/slurmd.pid] - AssertionError: assert False + where False = .exists + where = ('/var/run/slurm/slurmd.pid') + where = .file FAILED tests/test_config.py::test_slurm_var_files[/var/log/slurm/slurmd.log] - AssertionError: assert False + where False = .exists + where = ('/var/log/slurm/slurmd.log') + where = .file FAILED tests/test_config.py::test_slurm_etc_file_owners[/etc/slurm/gres.conf] - AssertionError: assert False + where False = .exists + where = ('/etc/slurm/gres.conf') + where = .file FAILED tests/test_container.py::test_tini_is_installed - AssertionError: assert '0.18.0' in 'tini version 0.19.0 - git.de40ad0\n' + where 'tini version 0.19.0 - git.de40ad0\n' = CommandResult(backend=, exit_status=0, command=b'/tini --version', _stdout=b'tini version 0.19.0 - git.de40ad0\n', _stderr=b'').stdout FAILED tests/test_container.py::test_python_is_installed[3.7.12] - AssertionError: assert '' == 'Python 3.7.12' - Python 3.7.12 FAILED tests/test_container.py::test_python_is_installed[3.8.12] - AssertionError: assert '' == 'Python 3.8.12' - Python 3.8.12 FAILED tests/test_container.py::test_python_is_installed[3.9.9] - AssertionError: assert '' == 'Python 3.9.9' - Python 3.9.9 FAILED tests/test_container.py::test_python_is_installed[3.10.0] - AssertionError: assert '' == 'Python 3.10.0' - Python 3.10.0 FAILED tests/test_container.py::test_slurmd_version - AssertionError: assert '21.08.8' in 'SLURM_VERSION = 22.05.8\n' + where 'SLURM_VERSION = 22.05.8\n' = CommandResult(backend=, exit_status=0, command=b'scontrol show config | grep SLURM_VERSION', _stdout=b'SLURM_VERSION = 22.05.8\n', _stderr=b'').stdout FAILED tests/test_container.py::test_slurmdbd_is_listening - assert False + where False = . at 0x7ff741e9de50>() FAILED tests/test_slurm.py::test_partitions_are_up[debug] - AssertionError: Unexpected exit code 1 for CommandResult(backend=, exit_status=1, command=b'scontrol -o show partition debug', _stdout=b'Partition debug not found\n', _stderr=b'') assert 1 == 0 + where 1 = CommandResult(backend=, exit_status=1, command=b'scontrol -o show partition debug', _stdout=b'Partition debug not found\n', _stderr=b'').rc FAILED tests/test_slurm.py::test_job_can_run[debug] - RuntimeError: Unexpected output CommandResult(backend=, exit_status=1, command=b'cat -- slurm-.out', _stdout=b'', _stderr=b'cat: slurm-.out: No such file or directory\n') ================== 12 failed, 24 passed in 911.09s (0:15:11) =================== ```
asmacdo commented 3 months ago

@giovtorres How would you like to proceed?