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] Send message batch tests fail on Logstash 8.x #37

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

[Test Failure] Send message batch tests fail on Logstash 8.x #37

robbavey opened this issue Jun 8, 2022 · 0 comments

Comments

@robbavey
Copy link
Contributor

robbavey commented Jun 8, 2022

https://app.travis-ci.com/github/logstash-plugins/logstash-output-sqs/jobs/572882983

logstash_1_b2b799fd4ae4 | Failures:
logstash_1_b2b799fd4ae4 | 
logstash_1_b2b799fd4ae4 |   1) LogStash::Outputs::SQS#multi_receive_encoded with large batch should split events into smaller batches
logstash_1_b2b799fd4ae4 |      Failure/Error: @sqs.send_message_batch(:queue_url => @queue_url, :entries => entries)
logstash_1_b2b799fd4ae4 |      
logstash_1_b2b799fd4ae4 |        #<Aws::SQS::Client> received :send_message_batch with unexpected arguments
logstash_1_b2b799fd4ae4 |          expected: ({:entries=>[{:id=>"1", :message_body=>"{\"@timestamp\":\"2022-06-08T15:35:09.330691Z\",\"message\":\"...\"@version\":\"1\"}"}], :queue_url=>"https://sqs.us-east-1.amazonaws.com/123456789012/my-sqs-queue"})
logstash_1_b2b799fd4ae4 |               got: ({:entries=>[{:id=>"1", :message_body=>"{\"@timestamp\":\"2022-06-08T15:35:09.330691Z\",\"message\":\"...\"@version\":\"1\"}"}], :queue_url=>"https://sqs.us-east-1.amazonaws.com/123456789012/my-sqs-queue"})
logstash_1_b2b799fd4ae4 |        Diff:
logstash_1_b2b799fd4ae4 |        @@ -1,9 +1,6 @@
logstash_1_b2b799fd4ae4 |         [{:entries=>
logstash_1_b2b799fd4ae4 |            [{:id=>"1",
logstash_1_b2b799fd4ae4 |              :message_body=>
logstash_1_b2b799fd4ae4 |        -      "{\"@timestamp\":\"2022-06-08T15:35:09.330691Z\",\"message\":\"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"@version\":\"1\"}"},
logstash_1_b2b799fd4ae4 |        -    {:id=>"2",
logstash_1_b2b799fd4ae4 |        -     :message_body=>
logstash_1_b2b799fd4ae4 |        -      "{\"@timestamp\":\"2022-06-08T15:35:09.331381Z\",\"message\":\"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\",\"@version\":\"1\"}"}],
logstash_1_b2b799fd4ae4 |        +      "{\"@timestamp\":\"2022-06-08T15:35:09.330691Z\",\"message\":\"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"@version\":\"1\"}"}],
logstash_1_b2b799fd4ae4 |           :queue_url=>"https://sqs.us-east-1.amazonaws.com/123456789012/my-sqs-queue"}]
logstash_1_b2b799fd4ae4 |        
logstash_1_b2b799fd4ae4 |      # ./lib/logstash/outputs/sqs.rb:167:in `send_message_batch'
logstash_1_b2b799fd4ae4 |      # ./lib/logstash/outputs/sqs.rb:137:in `block in multi_receive_encoded_batch'
logstash_1_b2b799fd4ae4 |      # ./lib/logstash/outputs/sqs.rb:128:in `multi_receive_encoded_batch'
logstash_1_b2b799fd4ae4 |      # ./lib/logstash/outputs/sqs.rb:115:in `multi_receive_encoded'
logstash_1_b2b799fd4ae4 |      # ./spec/unit/outputs/sqs_spec.rb:243:in `block in <main>'
logstash_1_b2b799fd4ae4 | 
logstash_1_b2b799fd4ae4 | Finished in 7.13 seconds (files took 24.08 seconds to load)
logstash_1_b2b799fd4ae4 | 13 examples, 1 failure
logstash_1_b2b799fd4ae4 | 
logstash_1_b2b799fd4ae4 | Failed examples:
logstash_1_b2b799fd4ae4 | 
logstash_1_b2b799fd4ae4 | rspec ./spec/unit/outputs/sqs_spec.rb:238 # LogStash::Outputs::SQS#multi_receive_encoded with large batch should split events into smaller batches
logstash_1_b2b799fd4ae4 | 
logstash_1_b2b799fd4ae4 | Randomized with seed 8762
logstash_1_b2b799fd4ae4 | 
ci_logstash_1_b2b799fd4ae4 exited with code 1
Aborting on container exit...
The command ".ci/docker-run.sh" exited with 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant