Test suite fails with v1.3.0
Closed this issue · 0 comments
bbannier commented
Among other work #11 removed testing/random.seed
. Due to that the test suite does not run anymore.
$ btest -dj
[ 0%] tests.defaults ... failed
[ 12%] tests.different_durations ... failed
[ 25%] tests.different_durations_2 ... failed
[ 37%] tests.different_durations_dont_repeat ... failed
[ 50%] tests.special_durations ... failed
% 'zeek -C -r $TRACES/long_connection.pcap ../../../scripts /private/tmp/zeek-long-connections/testing/.tmp/tests.defaults/defaults.zeek' failed unexpectedly (exit code 1)
% cat .stderr
fatal error: Could not load seeds from file '/private/tmp/zeek-long-connections/testing/random.seed'.
[ 62%] tests.event ... failed
[ 75%] tests.different_durations_no_repeat ... failed
% 'zeek -C -r $TRACES/long_connection.pcap ../../../scripts /private/tmp/zeek-long-connections/testing/.tmp/tests.different_durations/different_durations.zeek' failed unexpectedly (exit code 1)
% cat .stderr
fatal error: Could not load seeds from file '/private/tmp/zeek-long-connections/testing/random.seed'.
% 'zeek -C -r $TRACES/long_connection.pcap ../../../scripts /private/tmp/zeek-long-connections/testing/.tmp/tests.different_durations_2/different_durations_2.zeek' failed unexpectedly (exit code 1)
% cat .stderr
fatal error: Could not load seeds from file '/private/tmp/zeek-long-connections/testing/random.seed'.
% 'zeek -C -r $TRACES/long_connection.pcap ../../../scripts /private/tmp/zeek-long-connections/testing/.tmp/tests.different_durations_dont_repeat/different_durations_dont_repeat.zeek' failed unexpectedly (exit code 1)
% cat .stderr
fatal error: Could not load seeds from file '/private/tmp/zeek-long-connections/testing/random.seed'.
[ 87%] tests.different_durations_no_notice ... failed
% 'zeek -C -r $TRACES/long_connection.pcap ../../../scripts /private/tmp/zeek-long-connections/testing/.tmp/tests.different_durations_no_notice/different_durations_no_notice.zeek' failed unexpectedly (exit code 1)
% cat .stderr
fatal error: Could not load seeds from file '/private/tmp/zeek-long-connections/testing/random.seed'.
% 'zeek -C -r $TRACES/long_connection.pcap ../../../scripts /private/tmp/zeek-long-connections/testing/.tmp/tests.different_durations_no_repeat/different_durations_no_repeat.zeek' failed unexpectedly (exit code 1)
% cat .stderr
fatal error: Could not load seeds from file '/private/tmp/zeek-long-connections/testing/random.seed'.
% 'zeek -Cr $TRACES/long_connection.pcap ../../../scripts /private/tmp/zeek-long-connections/testing/.tmp/tests.event/event.zeek > output' failed unexpectedly (exit code 1)
% cat .stderr
fatal error: Could not load seeds from file '/private/tmp/zeek-long-connections/testing/random.seed'.
% 'zeek -C -r $TRACES/long_connection.pcap ../../../scripts /private/tmp/zeek-long-connections/testing/.tmp/tests.special_durations/special_durations.zeek' failed unexpectedly (exit code 1)
% cat .stderr
fatal error: Could not load seeds from file '/private/tmp/zeek-long-connections/testing/random.seed'.
8 of 8 tests failed
This e.g., also means that v1.3.0 cannot be installed with zkg
unless --skiptests
is given.
If I copy e.g., the random.seed
from Zeek's share/btest/data/random.seed
to testing/random.seed
, the test suite passes again.