Repository navigation
Conversation
|
I'm currently rebuilding aarch64-linux atuin from an x86_64 host through QEMU emulation. I'll comment here if I have any more tests that are failing. |
|
For me one more test is failing: atuin> test a_huge_message_reads_back ... FAILED
atuin>
atuin> failures:
atuin>
atuin> ---- a_huge_message_reads_back stdout ----
atuin>
atuin> thread 'a_huge_message_reads_back' (21380) panicked at crates/atuin/tests/common/ai.rs:87:25:
atuin> timed out waiting for session 01a1a13c-a46c-75c1-901b-c9ff56c6b4ac to say [
atuin> "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <many 'x'-es are truncated> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx please look into w01a1a13ca467744a9d8cf50f4f2f4cba",
atuin> "all done with w01a1a13ca467744a9d8cf513c0c69322",
atuin> ]: it says [
atuin> "[not captured: took too long to redact]",
atuin> "all done with w01a1a13ca467744a9d8cf513c0c69322",
atuin> ]
atuin> daemon log:
atuin> 2026-11-03T11:47:48.339712Z INFO atuin_daemon::service::socket_holder: listening on /tmp/atuin-e2e-i8clrH/daemon.sock
atuin> 2026-11-03T11:47:48.388232Z INFO atuin_daemon::daemon: starting component component="search"
atuin> 2026-11-03T11:47:48.388252Z INFO atuin_daemon::components::search: search component started
atuin> 2026-11-03T11:47:48.389311Z INFO atuin_client::settings::watcher: starting config file watcher: "/tmp/atuin-e2e-i8clrH/.atuin/config.toml"
atuin> 2026-11-03T11:47:48.389622Z INFO atuin_client::settings::watcher: config file watcher initialized for: "/tmp/atuin-e2e-i8clrH/.atuin"
atuin> 2026-11-03T11:47:48.389735Z INFO atuin_daemon::components::search: Loading history into search index; page size = 5000
atuin> 2026-11-03T11:47:48.389792Z INFO atuin_daemon: config file watcher started
atuin> 2026-11-03T11:47:48.390246Z INFO atuin_daemon::components::search: History load complete; 0 unique commands indexed
atuin> 2026-11-03T11:47:48.391103Z INFO atuin_client::ai_session::store: ai-session watermarks were not made with this key: replaying all
atuin> 2026-11-03T11:47:48.392488Z INFO atuin_daemon::session_capture::recovery: ai-session sidecar replayed replayed=0 restarted=0 elapsed=2.583529ms
atuin> 2026-11-03T11:47:48.392549Z INFO atuin_daemon::session_capture: ai-session capture enabled=true
atuin>
atuin> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
atuin>
atuin>
atuin> failures:
atuin> a_huge_message_reads_back
atuin>
atuin> test result: FAILED. 41 passed; 1 failed; 0 ignored; 0 measured; 26 filtered out; finished in 33.78s
atuin>
atuin> error: test failed, to rerun pass `-p atuin --test e2e_ai_sessions`
error: builder for '/nix/store/ilp9rkxm6ichb67z1chxsfr1qz2nx77k-atuin-18.24.4.drv' failed with exit code 101 |
c0f6774 to
d15128a
Compare
|
Are those timing sensitive tests clustered in a few files or directories? Can we deactivate the entire file(s)/directories? |
|
These tests are still failing for me |
d15128a to
4284ad8
Compare
@SuperSandro2000 in the second commit I removed specifying the cases where we observed the flakiness and disabled the whole tests instead. Most of the flaky tests were coming from e2e AI test files, disabling them should save us from a 4th PR with this topic.
@flyingpeakock interesting that those failed (for you multiple test cases of the same real shell test, for me none of that), did you get a timeout for those or it had a different reason? I also disabled them. |
|
@gepbird I'm not sure what is causing the tests to fail. These are the log lines directly preceding the failed tests: |
✅
|
|
When building for aarch64-linux through QEMU on x86_64-linux this test appears to hang: It has been stuck there for over 30 minutes. |
|
Fine for me disabling those tests, but I would like to have less commits 😅 |
3ad9558 to
63135fe
Compare
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/024633cd702b10285db5cb19b40ad48d2399ba60' (2026-10-01)
→ 'github:hercules-ci/flake-parts/ea2630b7470978622c7689a1ff75d2b389175399' (2026-11-01)
• Updated input 'gep-dotfiles':
'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=3fab84685caeb9a4a983c7c87a1b846862a1b079' (2026-10-25)
→ 'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=b3f60aee4dca2a29af9b658939635c8317d0feac' (2026-11-05)
• Added input 'gep-dotfiles/nixpkgs-patch-discord-openasar-fix-launch':
'NixOS/nixpkgs#582751'
• Updated input 'home-manager':
'github:nix-community/home-manager/c216bf5a1f173b0481bd5c8c489ebe5595ecc68c' (2026-10-25)
→ 'github:nix-community/home-manager/b787c48e2ec57a9d098f5c2721882a3bc1e16f97' (2026-11-04)
• Updated input 'moe':
'github:tchfoo/moe/78b62988bdba3852cf5946e0a3a418de7ef94df3' (2026-10-14)
→ 'github:tchfoo/moe/09da70ab3fb3e69d199db6f3ed421fa798363b37' (2026-10-27)
• Updated input 'nix-index-database':
'github:nix-community/nix-index-database/93696586f3463024cceb089353539be95a38ae2b' (2026-10-25)
→ 'github:nix-community/nix-index-database/cee0f879d338cf08f814210fa6c2b280594ade0a' (2026-11-01)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/1b418b8f203e49a92f250f8babdd19af1b6f7a7f' (2026-10-22)
→ 'github:NixOS/nixos-hardware/d645c71a58dbae3eb17ff551a07aea13a541cb1a' (2026-11-05)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1c89083e451e891152365b799595cf7790a43325' (2026-10-30)
→ 'github:NixOS/nixpkgs/1d060086d60cb76a40cf37109f979d88a5bd6396' (2026-11-03)
• Added input 'nixpkgs-patch-atuin-fix-build':
'NixOS/nixpkgs#582602'
• Updated input 'nixpkgs-patcher':
'github:gepbird/nixpkgs-patcher/da7c09e478f552c3a9ebb78b2f68426c1855fd81' (2026-09-11)
→ 'github:gepbird/nixpkgs-patcher/e5f4b45fb4f0fc81dae025c173648cccbefca569' (2026-11-01)
• Updated input 'nur':
'github:nix-community/NUR/c315b811c2a7ffe36b33119231124bb7f816d358' (2026-10-26)
→ 'github:nix-community/NUR/4db3d74452f668cedca53e4ba69f1116f72d937f' (2026-11-05)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/442449fa7b1fe6c692d0103ac9fc8f9e82931cf3' (2026-10-24)
→ 'github:Mic92/sops-nix/b18e01ce148eb3efff5de2f2d3181ca53b2b2a54' (2026-11-02)
• Updated input 'tangled-core':
'git+https://tangled.org/tangled.org/core?ref=refs/heads/master&rev=e81ebb68352971820d206211eaaa4ef6eed550b2' (2026-11-05)
→ 'git+https://tangled.org/tangled.org/core?ref=refs/heads/master&rev=2668fb5a1b596be13cc464f4771f261dd86f7b8e' (2026-11-05)
• Updated input 'ymstnt-dotfiles':
'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=6485475879a9f96fe6d3bf1192ccbc3ec12aa9d3' (2026-10-30)
→ 'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=12021ae2b9ac377b64c4a4e9e1923f6fca97b9f3' (2026-10-31)
|
If mdaniels PR fixes the underlying problem I am happy to take that one, I do not really have a strong preference here, I just want to make the test suite more reliable and less often fail 😅 |
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/5161c3b5239da76a876135d51ff91281daffd78e' (2026-11-07)
→ 'github:nix-community/fenix/f8e0414b287d4a5c674ba9a7dd3fbe47d563246c' (2026-11-09)
• Updated input 'gep-dotfiles':
'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=ce2ab12ebad7e24838c5e81fe73cc9f2d8d4cd3a' (2026-11-07)
→ 'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=03729fc4444eb6dd1deb91f07959827c199d51af' (2026-11-08)
• Updated input 'home-manager':
'github:nix-community/home-manager/2c0c1f01521469cf0271180c453c79782d53c2f6' (2026-11-06)
→ 'github:nix-community/home-manager/761b01ffedcc7fb5a2346ef00ea23b3621d66629' (2026-11-09)
• Updated input 'nix-index-database':
'github:nix-community/nix-index-database/cee0f879d338cf08f814210fa6c2b280594ade0a' (2026-11-01)
→ 'github:nix-community/nix-index-database/af9249ca33bc2efaae5d071e4c67ddef19dcb681' (2026-11-08)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/1a8ff4f57ffe1f732beaa1db842247a381ea471d' (2026-11-07)
→ 'github:NixOS/nixos-hardware/919c16cf46a7acf9b44b2c2444bc39aa094eaa85' (2026-11-09)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f9a75f41be3a74eab55d3a7679d34ad6cc0da977' (2026-11-05)
→ 'github:NixOS/nixpkgs/f4a03c008967841f2a0b3cb7c436fc6fc31671f6' (2026-11-07)
• Updated input 'nixpkgs-patch-atuin-fix-build':
'NixOS/nixpkgs#582602'
→ 'NixOS/nixpkgs#583850'
• Added input 'nixpkgs-patch-intelli-shell-fix-build':
'NixOS/nixpkgs#584630'
• Added input 'nixpkgs-patch-msedit-fix-build':
'NixOS/nixpkgs#584906'
• Updated input 'nur':
'github:nix-community/NUR/319e5026c432e3af6f32123edd5d33d78b3d06e3' (2026-11-07)
→ 'github:nix-community/NUR/03cd292c580a050ab2c31b2e54e2e5d5f8f4b863' (2026-11-09)
• Updated input 'tangled-core':
'git+https://tangled.org/tangled.org/core?ref=refs/heads/master&rev=f70c71c7696a1cb0caaf472cca950bbbc74f174f' (2026-11-07)
→ 'git+https://tangled.org/tangled.org/core?ref=refs/heads/master&rev=89a2df39ca8fd54dba9018120464a52220ce868e' (2026-11-09)
• Updated input 'ymstnt-dotfiles':
'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=e17055166f363d0b988c1a9dc0cac10a4bfc6e96' (2026-11-07)
→ 'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=82483cdbb45132be29dd762f4fff19c2b20eaf87' (2026-11-09)
|
Superseded by #583850 |
Fixes https://hydra.nixos.org/build/351935953/step/1/log.
This is a follow up to #578792 and #582345.
At this point maybe we should disable all tests if like half of them are already this flaky.
I'm currently building this on an aarch64-linux RPi5, it may uncover additional failing tests due to its slower CPU.
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.