total: 26, pass: 20, 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 (152 days ago)
elapsed time: 23,946 ms
tested at: 2025-05-09T11:29:30.226975Z (125 days ago)
elapsed time: 31,990 ms
tested at: 2025-05-14T14:26:51.020259Z (119 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 (118 days ago)
elapsed time: 25,405 ms
tested at: 2025-05-17T00:48:25.067654Z (117 days ago)
elapsed time: 26,894 ms
tested at: 2025-05-18T09:48:01.799303Z (116 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 (115 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 (114 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 (111 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 (109 days ago)
elapsed time: 21,599 ms
tested at: 2025-05-29T21:31:38.721609Z (104 days ago)
elapsed time: 25,055 ms
tested at: 2025-05-31T05:38:30.224392Z (103 days ago)
elapsed time: 23,961 ms
tested at: 2025-06-01T18:34:31.254192Z (101 days ago)
elapsed time: 22,412 ms
tested at: 2025-06-02T00:08:14.271670Z (101 days ago)
elapsed time: 21,860 ms
tested at: 2025-06-03T01:16:18.813157Z (100 days ago)
elapsed time: 23,036 ms
tested at: 2025-06-05T12:05:40.934810Z (98 days ago)
elapsed time: 833,154 ms
tested at: 2025-06-05T16:46:27.585326Z (97 days ago)
elapsed time: 22,163 ms
tested at: 2025-06-07T08:13:40.365332Z (96 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 (93 days ago)
elapsed time: 24,608 ms
tested at: 2025-06-20T11:50:38.004891Z (83 days ago)
elapsed time: 52,590 ms
tested at: 2025-06-27T11:25:09.159801Z (76 days ago)
elapsed time: 51,856 ms
tested at: 2025-07-09T12:03:26.241876Z (64 days ago)
elapsed time: 31,751 ms
tested at: 2025-07-21T08:03:09.691900Z (52 days ago)
elapsed time: 25,217 ms
tested at: 2025-07-21T11:53:02.138116Z (52 days ago)
elapsed time: 34,588 ms
tested at: 2025-07-25T08:20:45.661982Z (48 days ago)
elapsed time: 25,114 ms
tested at: 2025-08-01T14:20:52.926510Z (40 days ago)
elapsed time: 24,364 ms