mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00

In the past, we used a default canonifier, which removes everything that looks like a timestamp from log files. The goal of this is to prevent logs from changing, e.g., due to local system times ending up in log files. This, however, also has the side-effect of removing information that is parsed from protocols which probably should be part of our tests. There is at least one test (1999 certificates) where the entire test output was essentially removed by the canonifier. GH-4521 was similarly masked by this. This commit changes the default canonifier, so that only the first timestamp in a line is removed. This should skip timestamps that are likely to change while keeping timestamps that are parsed from protocol information. A pass has been made over the tests, with some additional adjustments for cases which require the old canonifier. There are some cases in which we probably could go further and not remove timestamps at all - that, however, seems like a follow-up project.
63 lines
3.7 KiB
Text
63 lines
3.7 KiB
Text
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
============ Topk
|
|
opaque of topk
|
|
[b, a, c]
|
|
[b, a, c]
|
|
============ HLL
|
|
3.000069
|
|
opaque of cardinality
|
|
3.000069
|
|
3.000069
|
|
============ Bloom
|
|
0
|
|
1
|
|
opaque of bloomfilter
|
|
0
|
|
1
|
|
============ Hashes
|
|
opaque of md5
|
|
5b9164ad6f496d9dee12ec7634ce253f
|
|
5b9164ad6f496d9dee12ec7634ce253f
|
|
opaque of sha1
|
|
30ae97492ce1da88d0e7117ace0a60a6f9e1e0bc
|
|
30ae97492ce1da88d0e7117ace0a60a6f9e1e0bc
|
|
opaque of sha256
|
|
25b6746d5172ed6352966a013d93ac846e1110d5a25e8f183b5931f4688842a1
|
|
25b6746d5172ed6352966a013d93ac846e1110d5a25e8f183b5931f4688842a1
|
|
============ X509
|
|
opaque of x509
|
|
[version=3, serial=040000000001154B5AC394, subject=CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE, issuer=CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE, cn=GlobalSign Root CA, not_valid_before=XXXXXXXXXX.XXXXXX, not_valid_after=1832673600.0, key_alg=rsaEncryption, sig_alg=sha1WithRSAEncryption, key_type=rsa, key_length=2048, exponent=65537, curve=<uninitialized>, tbs_sig_alg=sha1WithRSAEncryption]
|
|
[version=3, serial=040000000001154B5AC394, subject=CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE, issuer=CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE, cn=GlobalSign Root CA, not_valid_before=XXXXXXXXXX.XXXXXX, not_valid_after=1832673600.0, key_alg=rsaEncryption, sig_alg=sha1WithRSAEncryption, key_type=rsa, key_length=2048, exponent=65537, curve=<uninitialized>, tbs_sig_alg=sha1WithRSAEncryption]
|
|
============ Entropy
|
|
opaque of entropy
|
|
[entropy=4.715374, chi_square=591.981818, mean=75.472727, monte_carlo_pi=4.0, serial_correlation=-0.11027]
|
|
[entropy=4.715374, chi_square=591.981818, mean=75.472727, monte_carlo_pi=4.0, serial_correlation=-0.11027]
|
|
============ broker::Data
|
|
opaque of Broker::Data
|
|
broker::data{{hi, there}}
|
|
broker::data{{hi, there}}
|
|
T
|
|
============ broker::Set
|
|
| [data=broker::data{!}] | [data=broker::data{!}] | opaque of Broker::SetIterator
|
|
> [data=broker::data{hi}] | [data=broker::data{hi}]
|
|
| [data=broker::data{hi}] | [data=broker::data{hi}] | opaque of Broker::SetIterator
|
|
> [data=broker::data{there}] | [data=broker::data{there}]
|
|
| [data=broker::data{there}] | [data=broker::data{there}] | opaque of Broker::SetIterator
|
|
============ broker::Table
|
|
| [key=[data=broker::data{!}], val=[data=broker::data{30}]] | [key=[data=broker::data{!}], val=[data=broker::data{30}]] | opaque of Broker::TableIterator
|
|
> [key=[data=broker::data{hi}], val=[data=broker::data{10}]] | [key=[data=broker::data{hi}], val=[data=broker::data{10}]]
|
|
| [key=[data=broker::data{hi}], val=[data=broker::data{10}]] | [key=[data=broker::data{hi}], val=[data=broker::data{10}]] | opaque of Broker::TableIterator
|
|
> [key=[data=broker::data{there}], val=[data=broker::data{20}]] | [key=[data=broker::data{there}], val=[data=broker::data{20}]]
|
|
| [key=[data=broker::data{there}], val=[data=broker::data{20}]] | [key=[data=broker::data{there}], val=[data=broker::data{20}]] | opaque of Broker::TableIterator
|
|
============ broker::Vector
|
|
| [data=broker::data{hi}] | [data=broker::data{hi}] | opaque of Broker::VectorIterator
|
|
> [data=broker::data{there}] | [data=broker::data{there}]
|
|
| [data=broker::data{there}] | [data=broker::data{there}] | opaque of Broker::VectorIterator
|
|
> [data=broker::data{!}] | [data=broker::data{!}]
|
|
| [data=broker::data{!}] | [data=broker::data{!}] | opaque of Broker::VectorIterator
|
|
============ broker::Record
|
|
| [data=broker::data{hi}] | [data=broker::data{hi}] | opaque of Broker::RecordIterator
|
|
> [data=broker::data{there}] | [data=broker::data{there}]
|
|
| [data=broker::data{there}] | [data=broker::data{there}] | opaque of Broker::RecordIterator
|
|
> [data=broker::data{!}] | [data=broker::data{!}]
|
|
| [data=broker::data{!}] | [data=broker::data{!}] | opaque of Broker::RecordIterator
|