total: 19, pass: 13, fail: 6
server_chat [model] run `server_chat` test
It tests chat-related endpoints of ragit-server.
tested at: 2025-04-11T21:47:12.055124Z (64 days ago)
elapsed time: 23,946 ms
tested at: 2025-05-09T11:29:30.226975Z (36 days ago)
elapsed time: 31,990 ms
tested at: 2025-05-14T14:26:51.020259Z (31 days ago)
elapsed time: 4,607 ms
Traceback (most recent call last):
File "/Users/baehyunsol/Documents/Rust/ragit-versions/ragit-0.4.0-dev/tests/tests.py", line 597, in <module>
test()
File "/Users/baehyunsol/Documents/Rust/ragit-versions/ragit-0.4.0-dev/tests/tests.py", line 547, in <lambda>
("server_chat llama3.3-70b", lambda: server_chat(test_model="llama3.3-70b")),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/baehyunsol/Documents/Rust/ragit-versions/ragit-0.4.0-dev/tests/server_chat.py", line 32, in server_chat
create_user(id="test-user", password="secure-password")
File "/Users/baehyunsol/Documents/Rust/ragit-versions/ragit-0.4.0-dev/tests/server.py", line 186, in create_user
assert response.status_code == 200
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
tested at: 2025-05-15T23:00:24.413178Z (30 days ago)
elapsed time: 25,405 ms
tested at: 2025-05-17T00:48:25.067654Z (29 days ago)
elapsed time: 26,894 ms
tested at: 2025-05-18T09:48:01.799303Z (27 days ago)
elapsed time: 8,607 ms
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/home/baehyunsol/.local/lib/python3.10/site-packages/requests/models.py", line 974, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 630, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 578, in <lambda>
("server_chat llama3.3-70b", lambda: server_chat(test_model="llama3.3-70b")),
File "/home/baehyunsol/Documents/ragit/tests/server_chat.py", line 67, in server_chat
responses2.append(requests.post(f"http://127.0.0.1:41127/test-user/sample2/chat/{chat_id2}", files={"query": "How does the rust compiler implement type system?"}).json())
File "/home/baehyunsol/.local/lib/python3.10/site-packages/requests/models.py", line 978, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
tested at: 2025-05-19T10:47:10.063082Z (26 days ago)
elapsed time: 16,215 ms
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.11/site-packages/requests/models.py", line 974, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/baehyunsol/Documents/Rust/ragit/tests/tests.py", line 630, in <module>
test()
File "/Users/baehyunsol/Documents/Rust/ragit/tests/tests.py", line 578, in <lambda>
("server_chat llama3.3-70b", lambda: server_chat(test_model="llama3.3-70b")),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/baehyunsol/Documents/Rust/ragit/tests/server_chat.py", line 67, in server_chat
responses2.append(requests.post(f"http://127.0.0.1:41127/test-user/sample2/chat/{chat_id2}", files={"query": "How does the rust compiler implement type system?"}).json())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/site-packages/requests/models.py", line 978, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
tested at: 2025-05-20T00:59:40.946018Z (26 days ago)
elapsed time: 8,201 ms
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/home/baehyunsol/.local/lib/python3.10/site-packages/requests/models.py", line 974, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 650, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 598, in <lambda>
("server_chat llama3.3-70b", lambda: server_chat(test_model="llama3.3-70b")),
File "/home/baehyunsol/Documents/ragit/tests/server_chat.py", line 67, in server_chat
responses2.append(requests.post(f"http://127.0.0.1:41127/test-user/sample2/chat/{chat_id2}", files={"query": "How does the rust compiler implement type system?"}).json())
File "/home/baehyunsol/.local/lib/python3.10/site-packages/requests/models.py", line 978, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
tested at: 2025-05-23T00:18:04.093493Z (23 days ago)
elapsed time: 2,412 ms
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 670, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 617, in <lambda>
("server_chat llama3.3-70b", lambda: server_chat(test_model="llama3.3-70b")),
File "/home/baehyunsol/Documents/ragit/tests/server_chat.py", line 32, in server_chat
create_user(id="test-user", password="secure-password")
File "/home/baehyunsol/Documents/ragit/tests/server.py", line 192, in create_user
assert response.status_code == expected_status_code
AssertionError
tested at: 2025-05-24T20:40:39.036733Z (21 days ago)
elapsed time: 21,599 ms
tested at: 2025-05-29T21:31:38.721609Z (16 days ago)
elapsed time: 25,055 ms
tested at: 2025-05-31T05:38:30.224392Z (14 days ago)
elapsed time: 23,961 ms
tested at: 2025-06-01T18:34:31.254192Z (13 days ago)
elapsed time: 22,412 ms
tested at: 2025-06-02T00:08:14.271670Z (13 days ago)
elapsed time: 21,860 ms
tested at: 2025-06-03T01:16:18.813157Z (12 days ago)
elapsed time: 23,036 ms
tested at: 2025-06-05T12:05:40.934810Z (9 days ago)
elapsed time: 833,154 ms
tested at: 2025-06-05T16:46:27.585326Z (9 days ago)
elapsed time: 22,163 ms
tested at: 2025-06-07T08:13:40.365332Z (7 days ago)
elapsed time: 200,202 ms
Command '['cargo', 'run', '--release', '--no-default-features', '--', 'clone', 'http://ragit.baehyunsol.com/sample/rustc', 'sample1']' returned non-zero exit status 1.
Traceback (most recent call last):
File "C:\Users\baehy\ragit\tests\tests.py", line 720, in <module>
test()
~~~~^^
File "C:\Users\baehy\ragit\tests\tests.py", line 663, in <lambda>
("server_chat llama3.3-70b", lambda: server_chat(test_model="llama3.3-70b")),
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\baehy\ragit\tests\server_chat.py", line 22, in server_chat
cargo_run(["clone", "http://ragit.baehyunsol.com/sample/rustc", "sample1"])
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\baehy\ragit\tests\utils.py", line 87, in cargo_run
result = subprocess.run(args, **kwargs)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--no-default-features', '--', 'clone', 'http://ragit.baehyunsol.com/sample/rustc', 'sample1']' returned non-zero exit status 1.
tested at: 2025-06-09T20:06:53.014494Z (5 days ago)
elapsed time: 24,608 ms