ExaWorks / SDK

ExaWorks SDK
11 stars 12 forks source link

Issue with running Parsl-Flux test #178

Closed RamonAra209 closed 1 year ago

RamonAra209 commented 1 year ago

https://github.com/ExaWorks/SDK/blob/5095e549632083cefd54b197f2f6d387b20be7e4/ci/tests/parsl-flux/test.sh#L5-L7

When running the parsl-flux test command on LLNL Quartz/Ruby, it produced the following error:

ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --tap-stream
  inifile: None
  rootdir: /usr/WS1/exaworks/sdk/pip/quartz-venv
2023-03-20T23:53:26.143503Z broker.err[0]: rc2.0: python3 -m pytest /path/to/parsl/tests/test_flux.py --config=local --tap-stream Exited (rc=4) 1.2s
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --tap-stream

I tested the command locally by removing the --tap-stream option, and it worked fine.

Local flux version is 0.41.0

RamonAra209 commented 1 year ago

Turns out the --tap-stream options originates from the python package pytest-tap. Including this package fixed the issue.