Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeline::metrics failing nextest tests #1281

Open
YamatoSecurity opened this issue Feb 16, 2024 · 0 comments
Open

timeline::metrics failing nextest tests #1281

YamatoSecurity opened this issue Feb 16, 2024 · 0 comments
Labels
invalid This doesn't seem right Priority:Low

Comments

@YamatoSecurity
Copy link
Collaborator

cargo install cargo-nextest
cargo nextest run

produces these results:

--- STDOUT:              hayabusa timeline::metrics::tests::test_evt_logon_stats ---

running 1 test
test timeline::metrics::tests::test_evt_logon_stats ... FAILED

failures:

failures:
    timeline::metrics::tests::test_evt_logon_stats

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 330 filtered out; finished in 0.04s


--- STDERR:              hayabusa timeline::metrics::tests::test_evt_logon_stats ---
thread 'timeline::metrics::tests::test_evt_logon_stats' panicked at src/detections/utils.rs:319:43:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

   Canceling due to test failure: 15 tests still running
        PASS [   0.078s] hayabusa timeline::computer_metrics::tests::test_computer_metrics_dsp_msg
        PASS [   0.079s] hayabusa timeline::timelines::tests::test_evt_logon_stats
        PASS [   0.082s] hayabusa timeline::timelines::tests::test_tm_logon_stats_dsp_msg
        PASS [   0.081s] hayabusa timeline::timelines::tests::test_tm_stats_dsp_msg
        PASS [   0.087s] hayabusa yaml::tests::test_all_exclude_rules_file
        PASS [   0.087s] hayabusa yaml::tests::test_all_noisy_rules_file
        PASS [   0.083s] hayabusa yaml::tests::test_critical_exact_level_read_yaml
        PASS [   0.082s] hayabusa yaml::tests::test_critical_level_read_yaml
        PASS [   0.033s] hayabusa yaml::tests::test_failed_read_yaml
        PASS [   0.078s] hayabusa yaml::tests::test_exclude_category_option_1opt
        PASS [   0.084s] hayabusa yaml::tests::test_default_level_read_yaml
        PASS [   0.148s] hayabusa options::profile::tests::test_load_profile
        PASS [   0.079s] hayabusa yaml::tests::test_exclude_category_option_multi_opt
        PASS [   0.068s] hayabusa yaml::tests::test_exclude_category_option_notfound
        PASS [   0.064s] hayabusa yaml::tests::test_exclude_deprecated_rules_file
        PASS [   0.060s] hayabusa yaml::tests::test_exclude_unsupported_rules_file
        PASS [   0.059s] hayabusa yaml::tests::test_high_exact_level_read_yaml
------------
     Summary [   2.263s] 316/347 tests run: 315 passed, 1 failed, 0 skipped
        FAIL [   0.073s] hayabusa timeline::metrics::tests::test_evt_logon_stats
error: test run failed

Not a high priority issue but would be nice to fix this test.

@YamatoSecurity YamatoSecurity added invalid This doesn't seem right Priority:Low labels Feb 16, 2024
@YamatoSecurity YamatoSecurity changed the title timeline::metrics failing nestest tests timeline::metrics failing nextest tests Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right Priority:Low
Projects
None yet
Development

No branches or pull requests

1 participant