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

[Test Failure] Specs fingerprinting timestamps are failing on Logstash 8.x #68

Closed
robbavey opened this issue Jun 7, 2022 · 0 comments · Fixed by #67
Closed

[Test Failure] Specs fingerprinting timestamps are failing on Logstash 8.x #68

robbavey opened this issue Jun 7, 2022 · 0 comments · Fixed by #67

Comments

@robbavey
Copy link
Contributor

robbavey commented Jun 7, 2022

Specs that verify the fingerprint values of timestamps are failing on Logstash 8.x - https://app.travis-ci.com/github/logstash-plugins/logstash-filter-fingerprint/jobs/568988485#L696

logstash_1_33b4947cdd65 |   1) LogStash::Filters::Fingerprint `ecs_compatibility => disabled` Timestamps MURMUR3_128 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 |      Failure/Error: expect(fingerprint).to eq("37785b62a8cae473acc315d39b66d86e")
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        expected: "37785b62a8cae473acc315d39b66d86e"
logstash_1_33b4947cdd65 |             got: "a0287bec80fce9eb6a1457efae3a7aeb"
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        (compared using ==)
logstash_1_33b4947cdd65 |      # ./spec/filters/fingerprint_spec.rb:300:in `block in <main>'
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 |   2) LogStash::Filters::Fingerprint `ecs_compatibility => disabled` Timestamps OpenSSL Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 |      Failure/Error: expect(fingerprint).to eq('1d5379ec92d86a67cfc642d55aa050ca312d3b9a')
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        expected: "1d5379ec92d86a67cfc642d55aa050ca312d3b9a"
logstash_1_33b4947cdd65 |             got: "437291481f9b52199fcc6e3c6ea31ef4ad1c8fe5"
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        (compared using ==)
logstash_1_33b4947cdd65 |      # ./spec/filters/fingerprint_spec.rb:284:in `block in <main>'
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 |   3) LogStash::Filters::Fingerprint `ecs_compatibility => disabled` Timestamps MURMUR3 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 |      Failure/Error: expect(fingerprint).to eq(743372282)
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        expected: 743372282
logstash_1_33b4947cdd65 |             got: 1154765817
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        (compared using ==)
logstash_1_33b4947cdd65 |      # ./spec/filters/fingerprint_spec.rb:292:in `block in <main>'
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 |   4) LogStash::Filters::Fingerprint `ecs_compatibility => v1` Timestamps MURMUR3 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 |      Failure/Error: expect(fingerprint).to eq(743372282)
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        expected: 743372282
logstash_1_33b4947cdd65 |             got: 1154765817
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        (compared using ==)
logstash_1_33b4947cdd65 |      # ./spec/filters/fingerprint_spec.rb:292:in `block in /usr/share/plugins/plugin/spec/filters/fingerprint_spec.rb'
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 |   5) LogStash::Filters::Fingerprint `ecs_compatibility => v1` Timestamps OpenSSL Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 |      Failure/Error: expect(fingerprint).to eq('1d5379ec92d86a67cfc642d55aa050ca312d3b9a')
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        expected: "1d5379ec92d86a67cfc642d55aa050ca312d3b9a"
logstash_1_33b4947cdd65 |             got: "437291481f9b52199fcc6e3c6ea31ef4ad1c8fe5"
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        (compared using ==)
logstash_1_33b4947cdd65 |      # ./spec/filters/fingerprint_spec.rb:284:in `block in /usr/share/plugins/plugin/spec/filters/fingerprint_spec.rb'
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 |   6) LogStash::Filters::Fingerprint `ecs_compatibility => v1` Timestamps MURMUR3_128 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 |      Failure/Error: expect(fingerprint).to eq("37785b62a8cae473acc315d39b66d86e")
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        expected: "37785b62a8cae473acc315d39b66d86e"
logstash_1_33b4947cdd65 |             got: "a0287bec80fce9eb6a1457efae3a7aeb"
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        (compared using ==)
logstash_1_33b4947cdd65 |      # ./spec/filters/fingerprint_spec.rb:300:in `block in /usr/share/plugins/plugin/spec/filters/fingerprint_spec.rb'
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 |   7) LogStash::Filters::Fingerprint `ecs_compatibility => v8` Timestamps OpenSSL Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 |      Failure/Error: expect(fingerprint).to eq('1d5379ec92d86a67cfc642d55aa050ca312d3b9a')
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        expected: "1d5379ec92d86a67cfc642d55aa050ca312d3b9a"
logstash_1_33b4947cdd65 |             got: "437291481f9b52199fcc6e3c6ea31ef4ad1c8fe5"
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        (compared using ==)
logstash_1_33b4947cdd65 |      # ./spec/filters/fingerprint_spec.rb:284:in `block in /usr/share/plugins/plugin/spec/filters/fingerprint_spec.rb'
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 |   8) LogStash::Filters::Fingerprint `ecs_compatibility => v8` Timestamps MURMUR3_128 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 |      Failure/Error: expect(fingerprint).to eq("37785b62a8cae473acc315d39b66d86e")
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        expected: "37785b62a8cae473acc315d39b66d86e"
logstash_1_33b4947cdd65 |             got: "a0287bec80fce9eb6a1457efae3a7aeb"
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        (compared using ==)
logstash_1_33b4947cdd65 |      # ./spec/filters/fingerprint_spec.rb:300:in `block in /usr/share/plugins/plugin/spec/filters/fingerprint_spec.rb'
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 |   9) LogStash::Filters::Fingerprint `ecs_compatibility => v8` Timestamps MURMUR3 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 |      Failure/Error: expect(fingerprint).to eq(743372282)
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        expected: 743372282
logstash_1_33b4947cdd65 |             got: 1154765817
logstash_1_33b4947cdd65 |      
logstash_1_33b4947cdd65 |        (compared using ==)
logstash_1_33b4947cdd65 |      # ./spec/filters/fingerprint_spec.rb:292:in `block in /usr/share/plugins/plugin/spec/filters/fingerprint_spec.rb'
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 | Finished in 6.13 seconds (files took 9.64 seconds to load)
logstash_1_33b4947cdd65 | 120 examples, 9 failures
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 | Failed examples:
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 | rspec './spec/filters/fingerprint_spec.rb[1:1:7:3:1]' # LogStash::Filters::Fingerprint `ecs_compatibility => disabled` Timestamps MURMUR3_128 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 | rspec './spec/filters/fingerprint_spec.rb[1:1:7:1:1]' # LogStash::Filters::Fingerprint `ecs_compatibility => disabled` Timestamps OpenSSL Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 | rspec './spec/filters/fingerprint_spec.rb[1:1:7:2:1]' # LogStash::Filters::Fingerprint `ecs_compatibility => disabled` Timestamps MURMUR3 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 | rspec './spec/filters/fingerprint_spec.rb[1:2:7:2:1]' # LogStash::Filters::Fingerprint `ecs_compatibility => v1` Timestamps MURMUR3 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 | rspec './spec/filters/fingerprint_spec.rb[1:2:7:1:1]' # LogStash::Filters::Fingerprint `ecs_compatibility => v1` Timestamps OpenSSL Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 | rspec './spec/filters/fingerprint_spec.rb[1:2:7:3:1]' # LogStash::Filters::Fingerprint `ecs_compatibility => v1` Timestamps MURMUR3_128 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 | rspec './spec/filters/fingerprint_spec.rb[1:3:7:1:1]' # LogStash::Filters::Fingerprint `ecs_compatibility => v8` Timestamps OpenSSL Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 | rspec './spec/filters/fingerprint_spec.rb[1:3:7:3:1]' # LogStash::Filters::Fingerprint `ecs_compatibility => v8` Timestamps MURMUR3_128 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 | rspec './spec/filters/fingerprint_spec.rb[1:3:7:2:1]' # LogStash::Filters::Fingerprint `ecs_compatibility => v8` Timestamps MURMUR3 Fingerprinting fingerprints the timestamp correctly
logstash_1_33b4947cdd65 | 
logstash_1_33b4947cdd65 | Randomized with seed 42221
logstash_1_33b4947cdd65 | 
ci_logstash_1_33b4947cdd65 exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant