Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testing on python 3.9 to CI #104

Closed
YarShev opened this issue Jan 27, 2022 · 0 comments · Fixed by #112
Closed

Add testing on python 3.9 to CI #104

YarShev opened this issue Jan 27, 2022 · 0 comments · Fixed by #112
Assignees
Labels
P0 Highest priority tasks requiring immediate investigation and fix

Comments

@YarShev
Copy link
Collaborator

YarShev commented Jan 27, 2022

After upgrading min version python >= 3.8 there were some problems with running MPI backend on python 3.9. We should investigate that and fix if possible.

Run python unidist/cli -m pytest unidist/test/
mpiexec: Error: unknown option "-o"
Type 'mpiexec --help' for usage.
Traceback (most recent call last):
  File "/usr/share/miniconda/envs/unidist/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/share/miniconda/envs/unidist/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/runner/work/unidist/unidist/unidist/cli/__main__.py", line 122, in <module>
    main()
  File "/home/runner/work/unidist/unidist/unidist/cli/__main__.py", line 118, in main
    runner.run()
  File "/home/runner/work/unidist/unidist/unidist/cli/base/runner.py", line 57, in run
    subprocess.run(command, check=True)
  File "/usr/share/miniconda/envs/unidist/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['mpiexec', '-hosts', '10.1.1.42:1,10.1.1.42:1,10.1.1.42:2,', '-n', '1', 'python', '-m', 'pytest', 'unidist/test/', ':', '-n', '1', '-wdir', '/tmp', 'python', '/home/runner/work/unidist/unidist/unidist/core/backends/mpi/core/monitor.py', ':', '-n', '2', '-wdir', '/tmp', 'python', '/home/runner/work/unidist/unidist/unidist/core/backends/mpi/core/worker.py']' returned non-zero exit status 1.
Error: Process completed with exit code 1.
@prutskov prutskov self-assigned this Jan 27, 2022
@YarShev YarShev added the P0 Highest priority tasks requiring immediate investigation and fix label Jan 27, 2022
prutskov added a commit to prutskov/unidist that referenced this issue Jan 28, 2022
Signed-off-by: Alexey Prutskov <alexey.prutskov@intel.com>
YarShev pushed a commit that referenced this issue Jan 28, 2022
Signed-off-by: Alexey Prutskov <alexey.prutskov@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Highest priority tasks requiring immediate investigation and fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants