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] Json Serialization tests are failing on Logstash 8.x #198

Open
robbavey opened this issue Jun 8, 2022 · 0 comments
Open

Comments

@robbavey
Copy link
Contributor

robbavey commented Jun 8, 2022

https://app.travis-ci.com/github/logstash-plugins/logstash-codec-netflow/jobs/572876184

logstash_1_d30bd60076cc | LogStash::Codecs::Netflow
logstash_1_d30bd60076cc |   Netflow 9 invalid 01
logstash_1_d30bd60076cc |     should not raise_error
logstash_1_d30bd60076cc |   IPFIX VMware virtual distributed switch
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 1)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   IPFIX Barracuda extended uniflow template 256
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 2)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 5 invalid 01
logstash_1_d30bd60076cc |     should not raise_error
logstash_1_d30bd60076cc |   Netflow5 Juniper MX80
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 3)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 Cisco ACI
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 4)
logstash_1_d30bd60076cc |     should decode the mac address
logstash_1_d30bd60076cc |   Netflow 9 IE150 IE151
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 5)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   IPFIX Mikrotik RouterOS 6.39.2
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 6)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 Cisco WLC
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 7)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   IPFIX
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 8)
logstash_1_d30bd60076cc |   Netflow 9 Cisco WLC 8500 release 8.2
logstash_1_d30bd60076cc |     should not raise_error
logstash_1_d30bd60076cc |   IPFIX from IXIA something something
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 9)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 Cisco ASR1001-X
logstash_1_d30bd60076cc |     should not raise_error
logstash_1_d30bd60076cc |   IPFIX Nokia BRAS
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 10)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 Cisco ASR 9000 series options template 256
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 11)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 5 invalid 02
logstash_1_d30bd60076cc |     should not raise_error
logstash_1_d30bd60076cc |   IPFIX Procera
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 12)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 Cisco 1941/K9 release 15.1
logstash_1_d30bd60076cc |     should not raise_error
logstash_1_d30bd60076cc |   IPFIX Netscaler with variable length fields
logstash_1_d30bd60076cc |     should decode fields with more than 255 chars
logstash_1_d30bd60076cc |     should decode raw data (FAILED - 13)
logstash_1_d30bd60076cc |     should decode variable length fields
logstash_1_d30bd60076cc |     should decode octetarray data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 14)
logstash_1_d30bd60076cc |   IPFIX options template from Juniper MX240 JunOS 15.1 R6 S3
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 15)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 field layer2segmentid
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 16)
logstash_1_d30bd60076cc |   Netflow 9 valid 01
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 17)
logstash_1_d30bd60076cc |   Netflow 9 Cisco ASA
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 18)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 multiple netflow exporters
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 19)
logstash_1_d30bd60076cc |   Netflow 9 Cisco ASA #2
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 20)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 H3C
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 21)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 nprobe DPI L7
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json
logstash_1_d30bd60076cc |   Netflow 9 Palo Alto PAN-OS with app-id
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 22)
logstash_1_d30bd60076cc |   Netflow 9 Huawei Netstream
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 23)
logstash_1_d30bd60076cc |   Netflow 9 Palo Alto 1 flowset in large zero filled packet
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 24)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 Streamcore
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 25)
logstash_1_d30bd60076cc |   Juniper SRX options template with 0 scope field length
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 26)
logstash_1_d30bd60076cc |   Netflow 9 ipt_netflow reduced size encoding
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 27)
logstash_1_d30bd60076cc |   IPFIX vIPtela with VPN id
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 28)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 Cisco NBAR flowset 262
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 29)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 Fortigate FortiOS 54x appid
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 30)
logstash_1_d30bd60076cc |   Netflow 9 options template with scope fields
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 31)
logstash_1_d30bd60076cc |   Netflow 9 Fortigate FortiOS 5.2.1
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 32)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 Cisco ASR 9000 series template 260
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 33)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 template with 0 length fields
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 34)
logstash_1_d30bd60076cc |   Netflow 9 Ubiquiti Edgerouter with MPLS labels
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 35)
logstash_1_d30bd60076cc |   Netflow 9 Cisco NBAR options template 260
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 36)
logstash_1_d30bd60076cc |   Netflow 5 valid 01
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 37)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow 9 H3C Netstream with varstring
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 38)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   Netflow5 mikrotik
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 39)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   IPFIX YAF basic with applabel
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 40)
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |   IPFIX Barracuda firewall
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 41)
logstash_1_d30bd60076cc |   Netflow 9 macaddress
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 42)
logstash_1_d30bd60076cc |     should decode the mac address
logstash_1_d30bd60076cc |   IPFIX OpenBSD pflow
logstash_1_d30bd60076cc |     should decode raw data
logstash_1_d30bd60076cc |     should serialize to json (FAILED - 43)
logstash_1_d30bd60076cc | 
logstash_1_d30bd60076cc | LogStash::Codecs::Netflow configured with include_flowset_id for ipfix
logstash_1_d30bd60076cc |   should include flowset_id
logstash_1_d30bd60076cc |   should decode raw data (FAILED - 44)
logstash_1_d30bd60076cc | 
logstash_1_d30bd60076cc | LogStash::Codecs::Netflow missing templates, no template caching configured
logstash_1_d30bd60076cc |   IPFIX Netscaler with variable length fields, missing templates
logstash_1_d30bd60076cc |     should report missing templates
logstash_1_d30bd60076cc |     can not / should not decode any data
logstash_1_d30bd60076cc | 
logstash_1_d30bd60076cc | LogStash::Codecs::Netflow configured with template caching
logstash_1_d30bd60076cc |   IPFIX Netscaler with variable length fields
logstash_1_d30bd60076cc |     should cache templates
logstash_1_d30bd60076cc |     should decode raw data based on cached templates (FAILED - 45)
logstash_1_d30bd60076cc | 
logstash_1_d30bd60076cc | Failures:
logstash_1_d30bd60076cc | 
logstash_1_d30bd60076cc |   1) LogStash::Codecs::Netflow IPFIX VMware virtual distributed switch should serialize to json
logstash_1_d30bd60076cc |      Failure/Error: expect(JSON.parse(decode[0].to_json)).to eq(JSON.parse(json_events[0]))
logstash_1_d30bd60076cc |      
logstash_1_d30bd60076cc |        expected: {"@timestamp"=>"2016-12-22T12:17:52.000Z", "@version"=>"1", "netflow"=>{"destinationIPv4Address"=>"17..."=>10, "vmwareEgressInterfaceAttr"=>2, "vmwareIngressInterfaceAttr"=>1, "vmwareVxlanExportRole"=>0}}
logstash_1_d30bd60076cc |             got: {"@timestamp"=>"2016-12-22T12:17:52Z", "@version"=>"1", "netflow"=>{"destinationIPv4Address"=>"172.18..."=>10, "vmwareEgressInterfaceAttr"=>2, "vmwareIngressInterfaceAttr"=>1, "vmwareVxlanExportRole"=>0}}
logstash_1_d30bd60076cc |      

SNIP TO FIT IN COMMENT

logstash_1_d30bd60076cc | 
logstash_1_d30bd60076cc | Finished in 30.89 seconds (files took 9.69 seconds to load)
logstash_1_d30bd60076cc | 101 examples, 45 failures
logstash_1_d30bd60076cc | 
logstash_1_d30bd60076cc | Failed examples:
logstash_1_d30bd60076cc | 
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2290 # LogStash::Codecs::Netflow IPFIX VMware virtual distributed switch should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1586 # LogStash::Codecs::Netflow IPFIX Barracuda extended uniflow template 256 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:941 # LogStash::Codecs::Netflow Netflow5 Juniper MX80 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:288 # LogStash::Codecs::Netflow Netflow 9 Cisco ACI should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1133 # LogStash::Codecs::Netflow Netflow 9 IE150 IE151 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2016 # LogStash::Codecs::Netflow IPFIX Mikrotik RouterOS 6.39.2 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2715 # LogStash::Codecs::Netflow Netflow 9 Cisco WLC should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:716 # LogStash::Codecs::Netflow IPFIX should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1379 # LogStash::Codecs::Netflow IPFIX from IXIA something something should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1467 # LogStash::Codecs::Netflow IPFIX Nokia BRAS should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2410 # LogStash::Codecs::Netflow Netflow 9 Cisco ASR 9000 series options template 256 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1524 # LogStash::Codecs::Netflow IPFIX Procera should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2083 # LogStash::Codecs::Netflow IPFIX Netscaler with variable length fields should decode raw data
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2115 # LogStash::Codecs::Netflow IPFIX Netscaler with variable length fields should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1422 # LogStash::Codecs::Netflow IPFIX options template from Juniper MX240 JunOS 15.1 R6 S3 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2520 # LogStash::Codecs::Netflow Netflow 9 field layer2segmentid should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:197 # LogStash::Codecs::Netflow Netflow 9 valid 01 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:344 # LogStash::Codecs::Netflow Netflow 9 Cisco ASA should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:431 # LogStash::Codecs::Netflow Netflow 9 multiple netflow exporters should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:780 # LogStash::Codecs::Netflow Netflow 9 Cisco ASA #2 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1058 # LogStash::Codecs::Netflow Netflow 9 H3C should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2800 # LogStash::Codecs::Netflow Netflow 9 Palo Alto PAN-OS with app-id should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2471 # LogStash::Codecs::Netflow Netflow 9 Huawei Netstream should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1188 # LogStash::Codecs::Netflow Netflow 9 Palo Alto 1 flowset in large zero filled packet should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1942 # LogStash::Codecs::Netflow Netflow 9 Streamcore should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2324 # LogStash::Codecs::Netflow Juniper SRX options template with 0 scope field length should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:995 # LogStash::Codecs::Netflow Netflow 9 ipt_netflow reduced size encoding should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2853 # LogStash::Codecs::Netflow IPFIX vIPtela with VPN id should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2673 # LogStash::Codecs::Netflow Netflow 9 Cisco NBAR flowset 262 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1310 # LogStash::Codecs::Netflow Netflow 9 Fortigate FortiOS 54x appid should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:473 # LogStash::Codecs::Netflow Netflow 9 options template with scope fields should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1764 # LogStash::Codecs::Netflow Netflow 9 Fortigate FortiOS 5.2.1 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2579 # LogStash::Codecs::Netflow Netflow 9 Cisco ASR 9000 series template 260 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2374 # LogStash::Codecs::Netflow Netflow 9 template with 0 length fields should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1648 # LogStash::Codecs::Netflow Netflow 9 Ubiquiti Edgerouter with MPLS labels should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2615 # LogStash::Codecs::Netflow Netflow 9 Cisco NBAR options template 260 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:121 # LogStash::Codecs::Netflow Netflow 5 valid 01 should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:1251 # LogStash::Codecs::Netflow Netflow 9 H3C Netstream with varstring should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:883 # LogStash::Codecs::Netflow Netflow5 mikrotik should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:3018 # LogStash::Codecs::Netflow IPFIX YAF basic with applabel should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:2901 # LogStash::Codecs::Netflow IPFIX Barracuda firewall should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:241 # LogStash::Codecs::Netflow Netflow 9 macaddress should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:826 # LogStash::Codecs::Netflow IPFIX OpenBSD pflow should serialize to json
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:3215 # LogStash::Codecs::Netflow configured with include_flowset_id for ipfix should decode raw data
logstash_1_d30bd60076cc | rspec ./spec/codecs/netflow_spec.rb:3174 # LogStash::Codecs::Netflow configured with template caching IPFIX Netscaler with variable length fields should decode raw data based on cached templates
logstash_1_d30bd60076cc | 
logstash_1_d30bd60076cc | Randomized with seed 57320
logstash_1_d30bd60076cc | 
ci_logstash_1_d30bd60076cc 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

No branches or pull requests

1 participant