total: 31, pass: 26, fail: 5
draft multi-process build
elapsed time: 1,409,394 ms
#####################
### path: command ###
/home/ubuntu/Documents/ci/ragit/crates/ignore: cargo test
### status_code ###
101
### stdout ###
running 1 test
test tests::ignore_test ... FAILED
failures:
---- tests::ignore_test stdout ----
thread 'tests::ignore_test' panicked at src/tests.rs:90:9:
(pattern: "ab*" -> IgnorePattern { r: Regex("^([^/]+/)*ab*$") }, path: "a/abc") has to match, but but doesn't
(pattern: "ab*" -> IgnorePattern { r: Regex("^([^/]+/)*ab*$") }, path: "abc") has to match, but but doesn't
(pattern: "*.json" -> IgnorePattern { r: Regex("^([^/]+/)**\\.json$") }, path: "a.json") has to match, but but doesn't
(pattern: "*.json" -> IgnorePattern { r: Regex("^([^/]+/)**\\.json$") }, path: "res/a.json") has to match, but but doesn't
(pattern: "/*.json" -> IgnorePattern { r: Regex("^/*\\.json$") }, path: "a.json") has to match, but but doesn't
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
tests::ignore_test
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
### stderr ###
Updating crates.io index
Locking 44 packages to latest compatible versions
Adding windows-core v0.52.0 (latest: v0.59.0)
Adding windows-targets v0.52.6 (latest: v0.53.0)
Adding windows_aarch64_gnullvm v0.52.6 (latest: v0.53.0)
Adding windows_aarch64_msvc v0.52.6 (latest: v0.53.0)
Adding windows_i686_gnu v0.52.6 (latest: v0.53.0)
Adding windows_i686_gnullvm v0.52.6 (latest: v0.53.0)
Adding windows_i686_msvc v0.52.6 (latest: v0.53.0)
Adding windows_x86_64_gnu v0.52.6 (latest: v0.53.0)
Adding windows_x86_64_gnullvm v0.52.6 (latest: v0.53.0)
Adding windows_x86_64_msvc v0.52.6 (latest: v0.53.0)
Compiling autocfg v1.4.0
Compiling memchr v2.7.4
Compiling num-traits v0.2.19
Compiling aho-corasick v1.1.3
Compiling iana-time-zone v0.1.61
Compiling regex-syntax v0.8.5
Compiling regex-automata v0.4.9
Compiling chrono v0.4.39
Compiling pathdiff v0.2.3
Compiling ragit-fs v0.3.0 (/home/ubuntu/Documents/ci/ragit/crates/fs)
Compiling regex v1.11.1
Compiling ragit-ignore v0.3.0 (/home/ubuntu/Documents/ci/ragit/crates/ignore)
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.50s
Running unittests src/lib.rs (target/debug/deps/ragit_ignore-6a5412b4405563e3)
error: test failed, to rerun pass `--lib`
#####################
### path: command ###
/home/ubuntu/Documents/ci/ragit/crates/ignore: cargo test --release
### status_code ###
101
### stdout ###
running 1 test
test tests::ignore_test ... FAILED
failures:
---- tests::ignore_test stdout ----
thread 'tests::ignore_test' panicked at src/tests.rs:90:9:
(pattern: "ab*" -> IgnorePattern { r: Regex("^([^/]+/)*ab*$") }, path: "a/abc") has to match, but but doesn't
(pattern: "ab*" -> IgnorePattern { r: Regex("^([^/]+/)*ab*$") }, path: "abc") has to match, but but doesn't
(pattern: "*.json" -> IgnorePattern { r: Regex("^([^/]+/)**\\.json$") }, path: "a.json") has to match, but but doesn't
(pattern: "*.json" -> IgnorePattern { r: Regex("^([^/]+/)**\\.json$") }, path: "res/a.json") has to match, but but doesn't
(pattern: "/*.json" -> IgnorePattern { r: Regex("^/*\\.json$") }, path: "a.json") has to match, but but doesn't
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
tests::ignore_test
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
### stderr ###
Compiling autocfg v1.4.0
Compiling memchr v2.7.4
Compiling num-traits v0.2.19
Compiling aho-corasick v1.1.3
Compiling regex-syntax v0.8.5
Compiling iana-time-zone v0.1.61
Compiling chrono v0.4.39
Compiling regex-automata v0.4.9
Compiling pathdiff v0.2.3
Compiling ragit-fs v0.3.0 (/home/ubuntu/Documents/ci/ragit/crates/fs)
Compiling regex v1.11.1
Compiling ragit-ignore v0.3.0 (/home/ubuntu/Documents/ci/ragit/crates/ignore)
Finished `release` profile [optimized] target(s) in 24.65s
Running unittests src/lib.rs (target/release/deps/ragit_ignore-ec76309b863e2fbc)
error: test failed, to rerun pass `--lib`
Traceback (most recent call last):
File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 332, in <module>
test()
File "/home/ubuntu/Documents/ci/ragit/tests/cargo_tests.py", line 45, in cargo_tests
raise Exception("\n\n".join(errors))
Exception:
#####################
### path: command ###
/home/ubuntu/Documents/ci/ragit/crates/ignore: cargo test
### status_code ###
101
### stdout ###
running 1 test
test tests::ignore_test ... FAILED
failures:
---- tests::ignore_test stdout ----
thread 'tests::ignore_test' panicked at src/tests.rs:90:9:
(pattern: "ab*" -> IgnorePattern { r: Regex("^([^/]+/)*ab*$") }, path: "a/abc") has to match, but but doesn't
(pattern: "ab*" -> IgnorePattern { r: Regex("^([^/]+/)*ab*$") }, path: "abc") has to match, but but doesn't
(pattern: "*.json" -> IgnorePattern { r: Regex("^([^/]+/)**\\.json$") }, path: "a.json") has to match, but but doesn't
(pattern: "*.json" -> IgnorePattern { r: Regex("^([^/]+/)**\\.json$") }, path: "res/a.json") has to match, but but doesn't
(pattern: "/*.json" -> IgnorePattern { r: Regex("^/*\\.json$") }, path: "a.json") has to match, but but doesn't
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
tests::ignore_test
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
### stderr ###
Updating crates.io index
Locking 44 packages to latest compatible versions
Adding windows-core v0.52.0 (latest: v0.59.0)
Adding windows-targets v0.52.6 (latest: v0.53.0)
Adding windows_aarch64_gnullvm v0.52.6 (latest: v0.53.0)
Adding windows_aarch64_msvc v0.52.6 (latest: v0.53.0)
Adding windows_i686_gnu v0.52.6 (latest: v0.53.0)
Adding windows_i686_gnullvm v0.52.6 (latest: v0.53.0)
Adding windows_i686_msvc v0.52.6 (latest: v0.53.0)
Adding windows_x86_64_gnu v0.52.6 (latest: v0.53.0)
Adding windows_x86_64_gnullvm v0.52.6 (latest: v0.53.0)
Adding windows_x86_64_msvc v0.52.6 (latest: v0.53.0)
Compiling autocfg v1.4.0
Compiling memchr v2.7.4
Compiling num-traits v0.2.19
Compiling aho-corasick v1.1.3
Compiling iana-time-zone v0.1.61
Compiling regex-syntax v0.8.5
Compiling regex-automata v0.4.9
Compiling chrono v0.4.39
Compiling pathdiff v0.2.3
Compiling ragit-fs v0.3.0 (/home/ubuntu/Documents/ci/ragit/crates/fs)
Compiling regex v1.11.1
Compiling ragit-ignore v0.3.0 (/home/ubuntu/Documents/ci/ragit/crates/ignore)
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.50s
Running unittests src/lib.rs (target/debug/deps/ragit_ignore-6a5412b4405563e3)
error: test failed, to rerun pass `--lib`
#####################
### path: command ###
/home/ubuntu/Documents/ci/ragit/crates/ignore: cargo test --release
### status_code ###
101
### stdout ###
running 1 test
test tests::ignore_test ... FAILED
failures:
---- tests::ignore_test stdout ----
thread 'tests::ignore_test' panicked at src/tests.rs:90:9:
(pattern: "ab*" -> IgnorePattern { r: Regex("^([^/]+/)*ab*$") }, path: "a/abc") has to match, but but doesn't
(pattern: "ab*" -> IgnorePattern { r: Regex("^([^/]+/)*ab*$") }, path: "abc") has to match, but but doesn't
(pattern: "*.json" -> IgnorePattern { r: Regex("^([^/]+/)**\\.json$") }, path: "a.json") has to match, but but doesn't
(pattern: "*.json" -> IgnorePattern { r: Regex("^([^/]+/)**\\.json$") }, path: "res/a.json") has to match, but but doesn't
(pattern: "/*.json" -> IgnorePattern { r: Regex("^/*\\.json$") }, path: "a.json") has to match, but but doesn't
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
tests::ignore_test
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
### stderr ###
Compiling autocfg v1.4.0
Compiling memchr v2.7.4
Compiling num-traits v0.2.19
Compiling aho-corasick v1.1.3
Compiling regex-syntax v0.8.5
Compiling iana-time-zone v0.1.61
Compiling chrono v0.4.39
Compiling regex-automata v0.4.9
Compiling pathdiff v0.2.3
Compiling ragit-fs v0.3.0 (/home/ubuntu/Documents/ci/ragit/crates/fs)
Compiling regex v1.11.1
Compiling ragit-ignore v0.3.0 (/home/ubuntu/Documents/ci/ragit/crates/ignore)
Finished `release` profile [optimized] target(s) in 24.65s
Running unittests src/lib.rs (target/release/deps/ragit_ignore-ec76309b863e2fbc)
error: test failed, to rerun pass `--lib`
elapsed time: 69,455 ms
elapsed time: 8,568 ms
elapsed time: 12,692 ms
Command '['cargo', 'run', '--release', '--', 'clone', 'http://127.0.0.1/test-user/repo1']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 332, in <module>
test()
File "/home/ubuntu/Documents/ci/ragit/tests/clone.py", line 50, in clone
cargo_run(["clone", "http://127.0.0.1/test-user/repo1"])
File "/home/ubuntu/Documents/ci/ragit/tests/utils.py", line 61, in cargo_run
result = subprocess.run(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', 'clone', 'http://127.0.0.1/test-user/repo1']' returned non-zero exit status 1.
elapsed time: 378,819 ms
elapsed time: 6,024 ms
elapsed time: 277,858 ms
elapsed time: 179,900 ms
elapsed time: 5,515 ms
elapsed time: 45,687 ms
elapsed time: 18,152 ms
elapsed time: 6,110 ms
elapsed time: 11,050 ms
elapsed time: 5,947 ms
elapsed time: 16,868 ms
elapsed time: 20,026 ms
elapsed time: 35,461 ms
elapsed time: 68,983 ms
elapsed time: 23,346 ms
The build should have timed out
Traceback (most recent call last):
File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 332, in <module>
test()
File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 288, in <lambda>
("end_to_end dummy", lambda: end_to_end(test_model="dummy")),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/Documents/ci/ragit/tests/end_to_end.py", line 78, in end_to_end
raise Exception("The build should have timed out")
Exception: The build should have timed out
elapsed time: 71,929 ms
elapsed time: 9,249 ms
elapsed time: 58,743 ms
elapsed time: 80,978 ms
elapsed time: 4,320 ms
elapsed time: 5,166 ms
elapsed time: 12,234 ms
elapsed time: 13,113 ms
elapsed time: 8,931 ms
elapsed time: 410 ms
Command '['cargo', 'run', '--release', '--', '--model', 'command-r', '--input', 'hello_world.pdl']' returned non-zero exit status 101.
Traceback (most recent call last):
File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 332, in <module>
test()
File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 302, in <lambda>
("ragit_api command-r", lambda: ragit_api(test_model="command-r")),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/Documents/ci/ragit/tests/ragit_api.py", line 9, in ragit_api
subprocess.run(["cargo", "run", "--release", '--', '--model', test_model, '--input', 'hello_world.pdl'], check=True)
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', '--model', 'command-r', '--input', 'hello_world.pdl']' returned non-zero exit status 101.
elapsed time: 316 ms
Command '['cargo', 'run', '--release', '--', '--model', 'phi-3-14b-ollama', '--input', 'hello_world.pdl']' returned non-zero exit status 101.
Traceback (most recent call last):
File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 332, in <module>
test()
File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 303, in <lambda>
("ragit_api phi-3-14b-ollama", lambda: ragit_api(test_model="phi-3-14b-ollama")),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/Documents/ci/ragit/tests/ragit_api.py", line 9, in ragit_api
subprocess.run(["cargo", "run", "--release", '--', '--model', test_model, '--input', 'hello_world.pdl'], check=True)
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', '--model', 'phi-3-14b-ollama', '--input', 'hello_world.pdl']' returned non-zero exit status 101.
elapsed time: 494,508 ms