2024-06-03T16:43:42.943310792Z 2024-06-03T16:43:42.943348283Z Randomized with seed 33587 2024-06-03T16:43:42.943354243Z 2024-06-03T16:43:42.943357323Z Randomized with seed 33587 2024-06-03T16:43:43.741214354Z I, [2024-06-03T16:43:43.741006 #1] INFO -- : Registered schema for subject `com.stuart.invoicing.v1.InvoiceCreated`; id = 1 2024-06-03T16:43:45.484675898Z 2024-06-03 16:43:45.483656 I [1:7860 wait_helper.rb:14] Retrying 2 failed error: RSpec::Expectations::ExpectationNotMetError 2024-06-03T16:43:45.484723548Z expected: "Invoice-1" 2024-06-03T16:43:45.484728778Z got: nil 2024-06-03T16:43:45.484731438Z 2024-06-03T16:43:45.484734299Z (compared using ==) 2024-06-03T16:43:45.484736649Z 2024-06-03T16:43:45.534828357Z 2024-06-03 16:43:45.533918 I [1:7860 api_client.rb:29] Accessing http://invoice-distribution:8080/invoices 2024-06-03T16:43:46.536906123Z 2024-06-03 16:43:46.535941 I [1:7860 wait_helper.rb:14] Retrying 3 failed error: NameError undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:46.538298707Z 2024-06-03 16:43:46.537696 I [1:7860 api_client.rb:29] Accessing http://invoice-distribution:8080/invoices 2024-06-03T16:43:47.539178300Z 2024-06-03 16:43:47.538276 I [1:7860 wait_helper.rb:14] Retrying 4 failed error: NameError undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:47.541740336Z 2024-06-03 16:43:47.541236 I [1:7860 api_client.rb:29] Accessing http://invoice-distribution:8080/invoices 2024-06-03T16:43:48.542715652Z 2024-06-03 16:43:48.541769 I [1:7860 wait_helper.rb:14] Retrying 5 failed error: NameError undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:48.545209257Z 2024-06-03 16:43:48.544662 I [1:7860 api_client.rb:29] Accessing http://invoice-distribution:8080/invoices 2024-06-03T16:43:49.546088070Z 2024-06-03 16:43:49.545202 I [1:7860 wait_helper.rb:14] Retrying 6 failed error: NameError undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:49.547991504Z 2024-06-03 16:43:49.547455 I [1:7860 api_client.rb:29] Accessing http://invoice-distribution:8080/invoices 2024-06-03T16:43:50.548851407Z 2024-06-03 16:43:50.547918 I [1:7860 wait_helper.rb:14] Retrying 7 failed error: NameError undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:50.550978165Z 2024-06-03 16:43:50.550440 I [1:7860 api_client.rb:29] Accessing http://invoice-distribution:8080/invoices 2024-06-03T16:43:51.553358506Z 2024-06-03 16:43:51.550990 I [1:7860 wait_helper.rb:14] Retrying 8 failed error: NameError undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:51.554652029Z 2024-06-03 16:43:51.554146 I [1:7860 api_client.rb:29] Accessing http://invoice-distribution:8080/invoices 2024-06-03T16:43:52.556749965Z 2024-06-03 16:43:52.554668 I [1:7860 wait_helper.rb:14] Retrying 9 failed error: NameError undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:52.558863171Z 2024-06-03 16:43:52.558317 I [1:7860 api_client.rb:29] Accessing http://invoice-distribution:8080/invoices 2024-06-03T16:43:53.559821977Z 2024-06-03 16:43:53.558853 I [1:7860 wait_helper.rb:14] Retrying 10 failed error: NameError undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:53.562065516Z 2024-06-03 16:43:53.561424 I [1:7860 api_client.rb:29] Accessing http://invoice-distribution:8080/invoices 2024-06-03T16:43:54.449134681Z F2024-06-03 16:43:54.448229 I [1:7860 wait_helper.rb:21] Failed after 10 reties with NameError undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:54.464921351Z 2024-06-03T16:43:54.465003212Z ::error file=component_spec/events_to_api_flow_spec.rb,line=6::Expose invoices from kafka via api produces and reads a test event%0A%0AFailure/Error: json_response = JSON.parse(APIClient.new.invoices, symbolize_names: true)%0A%0ANameError:%0A undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:54.465697414Z 2024-06-03T16:43:54.468517474Z 2024-06-03T16:43:54.468555095Z Failures: 2024-06-03T16:43:54.468559165Z 2024-06-03T16:43:54.468562465Z 1) Expose invoices from kafka via api produces and reads a test event 2024-06-03T16:43:54.468567095Z Failure/Error: json_response = JSON.parse(APIClient.new.invoices, symbolize_names: true) 2024-06-03T16:43:54.468569685Z 2024-06-03T16:43:54.468572035Z NameError: 2024-06-03T16:43:54.468574415Z undefined local variable or method `uri' for an instance of APIClient 2024-06-03T16:43:54.468576915Z # ./component_spec/support/api_client.rb:16:in `get' 2024-06-03T16:43:54.468579255Z # ./component_spec/support/api_client.rb:7:in `invoices' 2024-06-03T16:43:54.468581385Z # ./component_spec/events_to_api_flow_spec.rb:12:in `block (3 levels) in <top (required)>' 2024-06-03T16:43:54.468583545Z # ./component_spec/support/wait_helper.rb:8:in `block in waiting' 2024-06-03T16:43:54.468585605Z # ./component_spec/support/wait_helper.rb:7:in `waiting' 2024-06-03T16:43:54.468588025Z # ./component_spec/events_to_api_flow_spec.rb:8:in `block (2 levels) in <top (required)>' 2024-06-03T16:43:54.468591005Z # ------------------ 2024-06-03T16:43:54.468593505Z # --- Caused by: --- 2024-06-03T16:43:54.468596255Z # Timeout::ExitException: 2024-06-03T16:43:54.468598925Z # execution expired 2024-06-03T16:43:54.468601406Z # ./component_spec/support/wait_helper.rb:12:in `sleep' 2024-06-03T16:43:54.469388379Z 2024-06-03T16:43:54.469396609Z Top 1 slowest examples (11.5 seconds, 99.8% of total time): 2024-06-03T16:43:54.469411620Z Expose invoices from kafka via api produces and reads a test event 2024-06-03T16:43:54.470154354Z 11.5 seconds ./component_spec/events_to_api_flow_spec.rb:6 2024-06-03T16:43:54.470330707Z 2024-06-03T16:43:54.470340097Z Finished in 11.52 seconds (files took 1.59 seconds to load) 2024-06-03T16:43:54.470343967Z 1 example, 1 failure 2024-06-03T16:43:54.470346837Z 2024-06-03T16:43:54.470349717Z Failed examples: 2024-06-03T16:43:54.470352077Z 2024-06-03T16:43:54.470355207Z rspec ./component_spec/events_to_api_flow_spec.rb:6 # Expose invoices from kafka via api produces and reads a test event 2024-06-03T16:43:54.470374577Z 2024-06-03T16:43:54.470378067Z Randomized with seed 33587 2024-06-03T16:43:54.470380457Z 2024-06-03T16:43:54.470383088Z Randomized with seed 33587 2024-06-03T16:43:54.470385548Z