total: 20, pass: 12, fail: 8
migrate3 run `migrate3` test
It creates knowledge-bases with different versions of ragit.
Then it makes sure that the versions can clone/push to the
latest version of ragit-server.
tested at: 2025-05-29T21:31:38.721609Z (202 days ago)
elapsed time: 913,325 ms
tested at: 2025-05-31T05:38:30.224392Z (201 days ago)
elapsed time: 887,283 ms
tested at: 2025-06-01T18:34:31.254192Z (200 days ago)
elapsed time: 112,299 ms
tested at: 2025-06-02T00:08:14.271670Z (199 days ago)
elapsed time: 117,548 ms
tested at: 2025-06-03T01:16:18.813157Z (198 days ago)
elapsed time: 328,997 ms
failed to run `ragit-server`
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 718, in <module>
try:
File "/home/baehyunsol/Documents/ragit/tests/migrate3.py", line 23, in migrate3
server_process = spawn_ragit_server()
File "/home/baehyunsol/Documents/ragit/tests/server.py", line 175, in spawn_ragit_server
raise Exception("failed to run `ragit-server`")
Exception: failed to run `ragit-server`
tested at: 2025-06-05T12:05:40.934810Z (196 days ago)
elapsed time: 166,323 ms
tested at: 2025-06-05T16:46:27.585326Z (196 days ago)
elapsed time: 946,714 ms
tested at: 2025-06-07T08:13:40.365332Z (194 days ago)
elapsed time: 221,563 ms
Command '['cargo', 'run', '--release', '--no-default-features', '--', 'clone', 'http://127.0.0.1/test-user/base-0.3.0']' returned non-zero exit status 1.
Traceback (most recent call last):
File "C:\Users\baehy\ragit\tests\tests.py", line 720, in <module>
File "C:\Users\baehy\ragit\tests\migrate3.py", line 57, in migrate3
File "C:\Users\baehy\ragit\tests\utils.py", line 87, in cargo_run
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://127.0.0.1/test-user/base-0.3.0']' returned non-zero exit status 1.
tested at: 2025-06-09T20:06:53.014494Z (192 days ago)
elapsed time: 934,841 ms
tested at: 2025-06-20T11:50:38.004891Z (181 days ago)
elapsed time: 205,264 ms
tested at: 2025-06-27T11:25:09.159801Z (174 days ago)
elapsed time: 210,535 ms
tested at: 2025-07-09T12:03:26.241876Z (162 days ago)
elapsed time: 212,737 ms
tested at: 2025-07-21T08:03:09.691900Z (150 days ago)
elapsed time: 760,084 ms
Command '['cargo', 'run', '--release', '--no-default-features', '--', 'push', '--remote=http://127.0.0.1:41127/test-user/base-0.4.0']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/home/ubuntu/Documents/ragit/tests/tests.py", line 791, in <module>
else:
File "/home/ubuntu/Documents/ragit/tests/migrate3.py", line 48, in migrate3
cargo_run(["push", f"--remote=http://127.0.0.1:41127/test-user/base-{version}"])
File "/home/ubuntu/Documents/ragit/tests/utils.py", line 88, in cargo_run
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--no-default-features', '--', 'push', '--remote=http://127.0.0.1:41127/test-user/base-0.4.0']' returned non-zero exit status 1.
tested at: 2025-07-21T11:53:02.138116Z (150 days ago)
elapsed time: 211,435 ms
tested at: 2025-07-25T08:20:45.661982Z (146 days ago)
elapsed time: 1,272,652 ms
tested at: 2025-08-01T14:20:52.926510Z (139 days ago)
elapsed time: 564,468 ms
failed to run `ragit-server`
Traceback (most recent call last):
File "/home/ubuntu/Documents/ragit/tests/tests.py", line 802, in <module>
finally:
^^^^^
File "/home/ubuntu/Documents/ragit/tests/migrate3.py", line 23, in migrate3
server_process = spawn_ragit_server()
^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/Documents/ragit/tests/server.py", line 184, in spawn_ragit_server
raise Exception("failed to run `ragit-server`")
Exception: failed to run `ragit-server`
tested at: 2025-08-26T11:51:14.366171Z (114 days ago)
elapsed time: 314,617 ms
failed to run `ragithub-backend`
Traceback (most recent call last):
File "/Users/baehyunsol/Documents/Rust/ragit-versions/ragit-0.4.3-dev/tests/tests.py", line 822, in <module>
os.chdir("tests")
File "/Users/baehyunsol/Documents/Rust/ragit-versions/ragit-0.4.3-dev/tests/migrate3.py", line 23, in migrate3
server_process = spawn_ragit_server()
File "/Users/baehyunsol/Documents/Rust/ragit-versions/ragit-0.4.3-dev/tests/server.py", line 189, in spawn_ragit_server
def create_user(
Exception: failed to run `ragithub-backend`
tested at: 2025-09-15T16:35:10.288703Z (94 days ago)
elapsed time: 205,418 ms
Traceback (most recent call last):
File "/Users/baehyunsol/Documents/Rust/ragit-versions/ragit-0.4.3-dev/tests/tests.py", line 822, in <module>
File "/Users/baehyunsol/Documents/Rust/ragit-versions/ragit-0.4.3-dev/tests/migrate3.py", line 60, in migrate3
AssertionError
tested at: 2025-09-23T17:41:46.610984Z (86 days ago)
elapsed time: 848,654 ms
Cannot git-checkout to ragit version 0.4.2, please commit your changes before running the test.
Traceback (most recent call last):
File "/home/ubuntu/Documents/ragit/tests/migrate.py", line 31, in checkout
raise Exception(f"Cannot git-checkout to ragit version {version}, please commit your changes before running the test.")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'checkout', 'v0.4.2']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/Documents/ragit/tests/tests.py", line 822, in <module>
File "/home/ubuntu/Documents/ragit/tests/migrate3.py", line 37, in migrate3
checkout(version)
File "/home/ubuntu/Documents/ragit/tests/migrate.py", line 34, in checkout
# if so, remove it
^^^^^^^^^^^
Exception: Cannot git-checkout to ragit version 0.4.2, please commit your changes before running the test.
tested at: 2025-11-20T10:25:32.672961Z (28 days ago)
elapsed time: 1,490,635 ms
Traceback (most recent call last):
File "/home/ubuntu/Documents/ragit/tests/tests.py", line 835, in <module>
File "/home/ubuntu/Documents/ragit/tests/migrate3.py", line 60, in migrate3
AssertionError