+16
nixos/lib/test-driver/src/test_driver/machine/__init__.py
+16
nixos/lib/test-driver/src/test_driver/machine/__init__.py
·········+When this method returns, the console output that includes the match has already become part of get_console_log().·········
+1
nixos/tests/all-tests.nix
+1
nixos/tests/all-tests.nix
···lib-extend = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./nixos-test-driver/lib-extend.nix { };
+117
nixos/tests/nixos-test-driver/console-log.nix
+117
nixos/tests/nixos-test-driver/console-log.nix
···+assert "DIRECT_TEST_MESSAGE_12345" in updated_log, "Console log should capture stderr messages"+assert "KERNEL_TEST_MESSAGE_12345" in log2, "Second log should contain our kernel test message"+assert kernel_found, f"Console log should contain kernel messages. Indicators checked: {kernel_indicators}"+assert "KERNEL_TEST_MESSAGE_12345" in pre_shutdown_log, "Pre-shutdown log should contain our kernel test message"+assert "DIRECT_TEST_MESSAGE_12345" in pre_shutdown_log, "Pre-shutdown log should contain our stderr test message"+assert "KERNEL_TEST_MESSAGE_12345" not in post_restart_log, "Post-restart log should not contain old kernel test message"+assert "DIRECT_TEST_MESSAGE_12345" not in post_restart_log, "Post-restart log should not contain old stderr test message"+assert "systemd" in post_restart_log, "Post-restart log should contain systemd messages from new boot"+assert "POST_RESTART_TEST_MESSAGE_67890" in final_log, "Should capture new messages after restart"