We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
run tests
2024.10.16
========================================================================================= FAILURES ========================================================================================== ____________________________________________________________________________ CustodianTest.test_run_interrupted _____________________________________________________________________________ [gw1] freebsd14 -- Python 3.11.10 /usr/local/bin/python3.11 self = <test_custodian.CustodianTest testMethod=test_run_interrupted> def test_run_interrupted(self) -> None: n_jobs = 100 params = {"initial": 0, "total": 0} c = Custodian( [ExampleHandler(params)], [ExampleJob(i, params) for i in range(n_jobs)], max_errors=n_jobs, ) > assert c.run_interrupted() == n_jobs tests/test_custodian.py:174: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../stage/usr/local/lib/python3.11/site-packages/custodian/custodian.py:571: in run_interrupted self.run_log = loadfn(os.path.join(self.directory, Custodian.LOG_FILE), cls=MontyDecoder) /usr/local/lib/python3.11/site-packages/monty/serialization.py:79: in loadfn return json.load(fp, *args, **kwargs) /usr/local/lib/python3.11/json/__init__.py:293: in load return loads(fp.read(), /usr/local/lib/python3.11/json/__init__.py:359: in loads return cls(**kw).decode(s) /usr/local/lib/python3.11/site-packages/monty/json.py:871: in decode d = json_util.loads(s, json_options=json_util.JSONOptions(tz_aware=True)) /usr/local/lib/python3.11/site-packages/bson/json_util.py:448: in loads return json.loads(s, *args, **kwargs) /usr/local/lib/python3.11/json/__init__.py:359: in loads return cls(**kw).decode(s) /usr/local/lib/python3.11/json/decoder.py:337: in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <json.decoder.JSONDecoder object at 0x322cc6958f10>, s = '', idx = 0 def raw_decode(self, s, idx=0): """Decode a JSON document from ``s`` (a ``str`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ try: obj, end = self.scan_once(s, idx) except StopIteration as err: > raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) /usr/local/lib/python3.11/json/decoder.py:355: JSONDecodeError ===================================================================================== warnings summary ====================================================================================== tests/test_custodian.py::CustodianTest::test_exitcode_error /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/custodian.py:520: UserWarning: subprocess returned a non-zero return code. Check outputs carefully... warnings.warn("subprocess returned a non-zero return code. Check outputs carefully...") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -------- coverage: platform freebsd14, python 3.11.10-final-0 -------- Name Stmts Miss Cover -------------------------------------------------------------------------------------------------------------------------------------------- /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/__init__.py 8 0 100% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/ansible/__init__.py 2 0 100% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/ansible/actions.py 43 29 33% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/ansible/interpreter.py 22 16 27% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/custodian.py 400 113 72% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/utils.py 40 9 78% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/vasp/__init__.py 0 0 100% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/vasp/handlers.py 840 698 17% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/vasp/interpreter.py 21 15 29% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/vasp/io.py 8 2 75% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/vasp/jobs.py 376 316 16% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/vasp/utils.py 31 26 16% /usr/ports/devel/py-custodian/work-py311/stage/usr/local/lib/python3.11/site-packages/custodian/vasp/validators.py 69 46 33% tests/test_custodian.py 182 11 94% tests/test_utils.py 18 0 100% -------------------------------------------------------------------------------------------------------------------------------------------- TOTAL 2060 1281 38% ========================================================================= 1 failed, 12 passed, 1 warning in 35.54s ========================================================================== **
FreeBSD 14.1 Python-3.11
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Code snippet
No response
What happened?
run tests
Version
2024.10.16
Which OS?
Log output
FreeBSD 14.1
Python-3.11
The text was updated successfully, but these errors were encountered: