(0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (15.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (38.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (7.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (1.6ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (4.9ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (1.6ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (1.1ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:44:52.928666"], ["created_at", "2019-06-06 18:44:52.928711"], ["updated_at", "2019-06-06 18:44:52.928711"]] Delayed::Backend::ActiveRecord::Job Create (1.1ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"d0821f4c-6e91-46b6-8831-014d4a6c5d98\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:44:52.933Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:44:52.942538"], ["created_at", "2019-06-06 18:44:52.942585"], ["updated_at", "2019-06-06 18:44:52.942585"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 # Update (0.5ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:44:52.965741"], ["created_at", "2019-06-06 18:44:52.965775"], ["updated_at", "2019-06-06 18:44:52.965775"]] Delayed::Backend::ActiveRecord::Job Create (5.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"6508b091-4e1e-489a-aa57-8a6189e6134e\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:44:52.968Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:44:52.972149"], ["created_at", "2019-06-06 18:44:52.972198"], ["updated_at", "2019-06-06 18:44:52.972198"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 3]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:44:53.013369"], ["created_at", "2019-06-06 18:44:53.013406"], ["updated_at", "2019-06-06 18:44:53.013406"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"7e8c98fe-b72f-4b0e-8451-f404bb6665ae\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:44:53.039Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"5\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:44:53.041830"], ["created_at", "2019-06-06 18:44:53.041858"], ["updated_at", "2019-06-06 18:44:53.041858"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.8ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:44:53.060939"], ["created_at", "2019-06-06 18:44:53.060975"], ["updated_at", "2019-06-06 18:44:53.060975"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 7]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:44:53.086933"], ["created_at", "2019-06-06 18:44:53.086972"], ["updated_at", "2019-06-06 18:44:53.086972"]] Delayed::Backend::ActiveRecord::Job Create (0.8ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"6a470a67-b714-4acc-a201-5400adbd86f9\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:44:53.090Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:44:53.094524"], ["created_at", "2019-06-06 18:44:53.094561"], ["updated_at", "2019-06-06 18:44:53.094561"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 8]]  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:44:53.146872"], ["created_at", "2019-06-06 18:44:53.146909"], ["updated_at", "2019-06-06 18:44:53.146909"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"cbb95535-3496-46ee-aa05-9b98027ef179\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:44:53.149Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:44:53.151074"], ["created_at", "2019-06-06 18:44:53.151104"], ["updated_at", "2019-06-06 18:44:53.151104"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (5.5ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.2ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (1.1ms) BEGIN  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.6ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:44:53.283120', locked_by = 'host:Sophia-Russell pid:89997' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:44:53.282718' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:44:53.282730') OR locked_by = 'host:Sophia-Russell pid:89997') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:44:53.307Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:44:53.311184"], ["created_at", "2019-06-06 18:44:53.311216"], ["updated_at", "2019-06-06 18:44:53.311216"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (1.3ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:44:53.314889', locked_by = 'host:Sophia-Russell pid:89997' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:44:53.314449' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:44:53.314460') OR locked_by = 'host:Sophia-Russell pid:89997') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:44:53.319789', locked_by = 'host:Sophia-Russell pid:89997' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:44:53.319365' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:44:53.319378') OR locked_by = 'host:Sophia-Russell pid:89997') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:44:53.324Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:44:53.326802"], ["created_at", "2019-06-06 18:44:53.326830"], ["updated_at", "2019-06-06 18:44:53.326830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:44:53.328610', locked_by = 'host:Sophia-Russell pid:89997' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:44:53.328379' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:44:53.328386') OR locked_by = 'host:Sophia-Russell pid:89997') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:44:53.331783', locked_by = 'host:Sophia-Russell pid:89997' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:44:53.331575' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:44:53.331584') OR locked_by = 'host:Sophia-Russell pid:89997') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:44:53.343Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:44:53.346010"], ["created_at", "2019-06-06 18:44:53.346050"], ["updated_at", "2019-06-06 18:44:53.346050"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:44:53.348221', locked_by = 'host:Sophia-Russell pid:89997' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:44:53.348023' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:44:53.348029') OR locked_by = 'host:Sophia-Russell pid:89997') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:44:53.351124', locked_by = 'host:Sophia-Russell pid:89997' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:44:53.350736' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:44:53.350745') OR locked_by = 'host:Sophia-Russell pid:89997') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:44:53.361034', locked_by = 'host:Sophia-Russell pid:89997' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:44:53.360731' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:44:53.360740') OR locked_by = 'host:Sophia-Russell pid:89997') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (14.3ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.6ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (10.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (1.8ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (1.1ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (5.5ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.7ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (1.7ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:45:20.196018"], ["created_at", "2019-06-06 18:45:20.196073"], ["updated_at", "2019-06-06 18:45:20.196073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:45:20.224381"], ["created_at", "2019-06-06 18:45:20.224447"], ["updated_at", "2019-06-06 18:45:20.224447"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"e40e0e62-58ba-41e2-8417-324936a411a6\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:45:20.359Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"2\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:45:20.362768"], ["created_at", "2019-06-06 18:45:20.362809"], ["updated_at", "2019-06-06 18:45:20.362809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (1.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:45:20.395655"], ["created_at", "2019-06-06 18:45:20.395816"], ["updated_at", "2019-06-06 18:45:20.395816"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"80fc9d7c-a6e7-4460-be57-a91df58c57e4\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:45:20.411Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:45:20.414492"], ["created_at", "2019-06-06 18:45:20.414527"], ["updated_at", "2019-06-06 18:45:20.414527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (2.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 4]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:45:20.458211"], ["created_at", "2019-06-06 18:45:20.458256"], ["updated_at", "2019-06-06 18:45:20.458256"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"1b5cf438-5ec2-4d06-8398-fadc6f5c444f\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:45:20.460Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:45:20.462129"], ["created_at", "2019-06-06 18:45:20.462164"], ["updated_at", "2019-06-06 18:45:20.462164"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:45:20.516002"], ["created_at", "2019-06-06 18:45:20.516039"], ["updated_at", "2019-06-06 18:45:20.516039"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"3f01af00-73c7-4252-962d-0a9fec4fa421\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:45:20.522Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:45:20.525902"], ["created_at", "2019-06-06 18:45:20.525939"], ["updated_at", "2019-06-06 18:45:20.525939"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 8]]  (0.1ms) ROLLBACK  (2.7ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:45:20.583459"], ["created_at", "2019-06-06 18:45:20.583509"], ["updated_at", "2019-06-06 18:45:20.583509"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"62ae6b00-879c-4d54-82c9-8754cb4975fc\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:45:20.590Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:45:20.594580"], ["created_at", "2019-06-06 18:45:20.594613"], ["updated_at", "2019-06-06 18:45:20.594613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (10.9ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 10]]  (3.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.8ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:45:20.925Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:45:20.928328"], ["created_at", "2019-06-06 18:45:20.928363"], ["updated_at", "2019-06-06 18:45:20.928363"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:45:20.945884', locked_by = 'host:Sophia-Russell pid:90030' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:45:20.944674' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:45:20.944765') OR locked_by = 'host:Sophia-Russell pid:90030') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:45:20.950636', locked_by = 'host:Sophia-Russell pid:90030' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:45:20.950373' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:45:20.950396') OR locked_by = 'host:Sophia-Russell pid:90030') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.5ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:45:20.960Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:45:20.963615"], ["created_at", "2019-06-06 18:45:20.963656"], ["updated_at", "2019-06-06 18:45:20.963656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:45:20.965816', locked_by = 'host:Sophia-Russell pid:90030' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:45:20.965525' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:45:20.965534') OR locked_by = 'host:Sophia-Russell pid:90030') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:45:20.977271', locked_by = 'host:Sophia-Russell pid:90030' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:45:20.976084' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:45:20.976815') OR locked_by = 'host:Sophia-Russell pid:90030') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:45:20.983Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:45:20.985821"], ["created_at", "2019-06-06 18:45:20.985852"], ["updated_at", "2019-06-06 18:45:20.985852"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (1.1ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:45:20.989170', locked_by = 'host:Sophia-Russell pid:90030' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:45:20.988748' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:45:20.988758') OR locked_by = 'host:Sophia-Russell pid:90030') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:45:20.994775', locked_by = 'host:Sophia-Russell pid:90030' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:45:20.994446' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:45:20.994458') OR locked_by = 'host:Sophia-Russell pid:90030') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:45:21.001645', locked_by = 'host:Sophia-Russell pid:90030' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:45:21.001382' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:45:21.001393') OR locked_by = 'host:Sophia-Russell pid:90030') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:45:21.014447', locked_by = 'host:Sophia-Russell pid:90030' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:45:21.014181' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:45:21.014193') OR locked_by = 'host:Sophia-Russell pid:90030') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (1.5ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (1.0ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.9ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (2.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.9ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (16.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (13.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (2.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.7ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:46:24.628Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:46:24.694850"], ["created_at", "2019-06-06 18:46:24.694891"], ["updated_at", "2019-06-06 18:46:24.694891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:46:24.698333', locked_by = 'host:Sophia-Russell pid:90068' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:46:24.697786' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:46:24.697797') OR locked_by = 'host:Sophia-Russell pid:90068') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:46:24.702027', locked_by = 'host:Sophia-Russell pid:90068' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:46:24.701739' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:46:24.701748') OR locked_by = 'host:Sophia-Russell pid:90068') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:46:24.706Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:46:24.708698"], ["created_at", "2019-06-06 18:46:24.708756"], ["updated_at", "2019-06-06 18:46:24.708756"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:46:24.710540', locked_by = 'host:Sophia-Russell pid:90068' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:46:24.710207' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:46:24.710216') OR locked_by = 'host:Sophia-Russell pid:90068') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:46:24.713058', locked_by = 'host:Sophia-Russell pid:90068' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:46:24.712863' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:46:24.712871') OR locked_by = 'host:Sophia-Russell pid:90068') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.9ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:46:24.716Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:46:24.720043"], ["created_at", "2019-06-06 18:46:24.720069"], ["updated_at", "2019-06-06 18:46:24.720069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:46:24.723863', locked_by = 'host:Sophia-Russell pid:90068' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:46:24.723479' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:46:24.723492') OR locked_by = 'host:Sophia-Russell pid:90068') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:46:24.726730', locked_by = 'host:Sophia-Russell pid:90068' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:46:24.726512' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:46:24.726522') OR locked_by = 'host:Sophia-Russell pid:90068') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:46:24.732568', locked_by = 'host:Sophia-Russell pid:90068' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:46:24.732220' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:46:24.732230') OR locked_by = 'host:Sophia-Russell pid:90068') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:46:24.743789', locked_by = 'host:Sophia-Russell pid:90068' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:46:24.743507' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:46:24.743518') OR locked_by = 'host:Sophia-Russell pid:90068') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (8.0ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (2.6ms) ROLLBACK  (0.2ms) BEGIN  (1.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (4.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (1.0ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (12.5ms) ROLLBACK  (6.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:46:25.172832"], ["created_at", "2019-06-06 18:46:25.172908"], ["updated_at", "2019-06-06 18:46:25.172908"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"84554a32-8b2d-4d86-9b79-5e539304df46\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:46:25.196Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:46:25.226604"], ["created_at", "2019-06-06 18:46:25.226641"], ["updated_at", "2019-06-06 18:46:25.226641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.8ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 4]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:46:25.247983"], ["created_at", "2019-06-06 18:46:25.248021"], ["updated_at", "2019-06-06 18:46:25.248021"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"8608939c-57fa-4b1e-9e8d-4e3923f9c45d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:46:25.254Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:46:25.262743"], ["created_at", "2019-06-06 18:46:25.262776"], ["updated_at", "2019-06-06 18:46:25.262776"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:46:25.281245"], ["created_at", "2019-06-06 18:46:25.281283"], ["updated_at", "2019-06-06 18:46:25.281283"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"01315837-8b2b-4235-96d2-f2f4eac4e971\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:46:25.284Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:46:25.287175"], ["created_at", "2019-06-06 18:46:25.287204"], ["updated_at", "2019-06-06 18:46:25.287204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.8ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 8]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:46:25.327360"], ["created_at", "2019-06-06 18:46:25.327445"], ["updated_at", "2019-06-06 18:46:25.327445"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 10]]  (5.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:46:25.367549"], ["created_at", "2019-06-06 18:46:25.367592"], ["updated_at", "2019-06-06 18:46:25.367592"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"aa95e37a-3d6c-4567-b31c-b11f7de67a97\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:46:25.370Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:46:25.374730"], ["created_at", "2019-06-06 18:46:25.374881"], ["updated_at", "2019-06-06 18:46:25.374881"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.7ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 11]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:46:25.403389"], ["created_at", "2019-06-06 18:46:25.403426"], ["updated_at", "2019-06-06 18:46:25.403426"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"1afafe85-a5eb-4ada-8b48-23aec0ea4c09\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:46:25.406Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:46:25.407318"], ["created_at", "2019-06-06 18:46:25.407339"], ["updated_at", "2019-06-06 18:46:25.407339"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (1.4ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (23.8ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.6ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.5ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (1.6ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.6ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (3.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (7.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.7ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (1.3ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (14.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.9ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN # Update All (4.5ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.4ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.8ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.7ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:48:11.892238"], ["created_at", "2019-06-06 18:48:11.892354"], ["updated_at", "2019-06-06 18:48:11.892354"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"e61ca406-b0ed-477e-a0e5-1008e99b483a\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:48:11.990Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:48:11.994488"], ["created_at", "2019-06-06 18:48:11.994520"], ["updated_at", "2019-06-06 18:48:11.994520"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (6.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:48:12.014612"], ["created_at", "2019-06-06 18:48:12.014646"], ["updated_at", "2019-06-06 18:48:12.014646"]] Delayed::Backend::ActiveRecord::Job Create (2.8ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"e4507a87-573e-4b20-86b3-a71d94703396\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:48:12.016Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:48:12.018427"], ["created_at", "2019-06-06 18:48:12.018474"], ["updated_at", "2019-06-06 18:48:12.018474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.7ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 3]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:48:12.080188"], ["created_at", "2019-06-06 18:48:12.080227"], ["updated_at", "2019-06-06 18:48:12.080227"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"de10b998-8ea3-49b0-b251-cf66c8e517eb\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:48:12.082Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"5\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:48:12.084595"], ["created_at", "2019-06-06 18:48:12.084622"], ["updated_at", "2019-06-06 18:48:12.084622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 5]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:48:12.110533"], ["created_at", "2019-06-06 18:48:12.110572"], ["updated_at", "2019-06-06 18:48:12.110572"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:48:12.132628"], ["created_at", "2019-06-06 18:48:12.132665"], ["updated_at", "2019-06-06 18:48:12.132665"]] Delayed::Backend::ActiveRecord::Job Create (0.7ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"1edb0dcd-7245-4d34-ae4a-604d7ba74a50\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:48:12.141Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:48:12.143778"], ["created_at", "2019-06-06 18:48:12.143807"], ["updated_at", "2019-06-06 18:48:12.143807"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 8]]  (0.3ms) ROLLBACK  (16.8ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:48:12.203479"], ["created_at", "2019-06-06 18:48:12.203729"], ["updated_at", "2019-06-06 18:48:12.203729"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"7357dab1-2438-4eb3-a952-36ce73e3765e\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:48:12.207Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:48:12.208676"], ["created_at", "2019-06-06 18:48:12.208702"], ["updated_at", "2019-06-06 18:48:12.208702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (1.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (4.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:48:12.274128', locked_by = 'host:Sophia-Russell pid:90222' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:48:12.273221' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:48:12.273259') OR locked_by = 'host:Sophia-Russell pid:90222') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (15.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:48:12.289288', locked_by = 'host:Sophia-Russell pid:90222' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:48:12.288939' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:48:12.288950') OR locked_by = 'host:Sophia-Russell pid:90222') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.7ms) BEGIN  (10.7ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:48:12.329Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:48:12.335077"], ["created_at", "2019-06-06 18:48:12.335120"], ["updated_at", "2019-06-06 18:48:12.335120"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (1.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:48:12.338022', locked_by = 'host:Sophia-Russell pid:90222' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:48:12.337496' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:48:12.337507') OR locked_by = 'host:Sophia-Russell pid:90222') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:48:12.344795', locked_by = 'host:Sophia-Russell pid:90222' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:48:12.344513' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:48:12.344526') OR locked_by = 'host:Sophia-Russell pid:90222') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:48:12.347Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:48:12.349575"], ["created_at", "2019-06-06 18:48:12.349614"], ["updated_at", "2019-06-06 18:48:12.349614"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.1ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:48:12.352309', locked_by = 'host:Sophia-Russell pid:90222' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:48:12.351898' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:48:12.351908') OR locked_by = 'host:Sophia-Russell pid:90222') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (3.6ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.7ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:48:12.364675', locked_by = 'host:Sophia-Russell pid:90222' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:48:12.363998' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:48:12.364018') OR locked_by = 'host:Sophia-Russell pid:90222') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (5.6ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:48:12.381Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:48:12.385223"], ["created_at", "2019-06-06 18:48:12.385263"], ["updated_at", "2019-06-06 18:48:12.385263"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:48:12.396432', locked_by = 'host:Sophia-Russell pid:90222' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:48:12.393420' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:48:12.393478') OR locked_by = 'host:Sophia-Russell pid:90222') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.8ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:48:12.400429', locked_by = 'host:Sophia-Russell pid:90222' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:48:12.399985' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:48:12.399995') OR locked_by = 'host:Sophia-Russell pid:90222') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (4.7ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (2.8ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (23.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.2ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (14.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (11.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (2.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:53:40.518851', locked_by = 'host:Sophia-Russell pid:90337' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:53:40.518094' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:53:40.518120') OR locked_by = 'host:Sophia-Russell pid:90337') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:53:40.533692', locked_by = 'host:Sophia-Russell pid:90337' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:53:40.533467' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:53:40.533475') OR locked_by = 'host:Sophia-Russell pid:90337') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (1.2ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:53:40.558Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:53:40.572871"], ["created_at", "2019-06-06 18:53:40.572911"], ["updated_at", "2019-06-06 18:53:40.572911"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (6.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:53:40.578713', locked_by = 'host:Sophia-Russell pid:90337' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:53:40.578267' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:53:40.578277') OR locked_by = 'host:Sophia-Russell pid:90337') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (3.6ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:30:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:22:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 18:53:46.666552"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 18:53:40.667184"], ["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:53:40.677030', locked_by = 'host:Sophia-Russell pid:90337' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:53:40.676473' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:53:40.676484') OR locked_by = 'host:Sophia-Russell pid:90337') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:53:40.680Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:53:40.681751"], ["created_at", "2019-06-06 18:53:40.681776"], ["updated_at", "2019-06-06 18:53:40.681776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.2ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:53:40.685472', locked_by = 'host:Sophia-Russell pid:90337' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:53:40.685187' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:53:40.685197') OR locked_by = 'host:Sophia-Russell pid:90337') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.6ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:30:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:22:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 18:53:46.689612"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 18:53:40.690195"], ["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:53:40.692454', locked_by = 'host:Sophia-Russell pid:90337' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:53:40.692098' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:53:40.692105') OR locked_by = 'host:Sophia-Russell pid:90337') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:53:40.697Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:53:40.699145"], ["created_at", "2019-06-06 18:53:40.699171"], ["updated_at", "2019-06-06 18:53:40.699171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (3.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:53:40.714116', locked_by = 'host:Sophia-Russell pid:90337' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:53:40.701790' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:53:40.701800') OR locked_by = 'host:Sophia-Russell pid:90337') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.7ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.9ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:30:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:22:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 18:53:46.723559"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 18:53:40.724868"], ["id", 3]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:53:40.727624', locked_by = 'host:Sophia-Russell pid:90337' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:53:40.727270' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:53:40.727278') OR locked_by = 'host:Sophia-Russell pid:90337') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (1.0ms) BEGIN  (0.2ms) ROLLBACK  (2.7ms) BEGIN  (0.6ms) ROLLBACK  (2.5ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (9.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.9ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (1.9ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (4.9ms) ROLLBACK  (0.3ms) BEGIN  (2.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (63.8ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (7.2ms) BEGIN  (2.4ms) ROLLBACK  (1.5ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.8ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:53:41.333012"], ["created_at", "2019-06-06 18:53:41.333067"], ["updated_at", "2019-06-06 18:53:41.333067"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"9bf97829-d338-4dbf-b52c-b4bfbf2cfe1b\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:53:41.340Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:53:41.344478"], ["created_at", "2019-06-06 18:53:41.344526"], ["updated_at", "2019-06-06 18:53:41.344526"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:53:41.369046"], ["created_at", "2019-06-06 18:53:41.369101"], ["updated_at", "2019-06-06 18:53:41.369101"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"2845e47f-5b09-464e-b1d9-b6b8eb78f737\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:53:41.379Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:53:41.381519"], ["created_at", "2019-06-06 18:53:41.381602"], ["updated_at", "2019-06-06 18:53:41.381602"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 6]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:53:41.484634"], ["created_at", "2019-06-06 18:53:41.484672"], ["updated_at", "2019-06-06 18:53:41.484672"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 8]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (2.2ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:53:41.507181"], ["created_at", "2019-06-06 18:53:41.507217"], ["updated_at", "2019-06-06 18:53:41.507217"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"45ba7d43-4fc8-4e97-9a03-78c455732141\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:53:41.513Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"9\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:53:41.515244"], ["created_at", "2019-06-06 18:53:41.515288"], ["updated_at", "2019-06-06 18:53:41.515288"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 9]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:53:41.563805"], ["created_at", "2019-06-06 18:53:41.564037"], ["updated_at", "2019-06-06 18:53:41.564037"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"ed92e5e5-90c4-483c-9178-21733ec4b372\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:53:41.575Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:53:41.577981"], ["created_at", "2019-06-06 18:53:41.578022"], ["updated_at", "2019-06-06 18:53:41.578022"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:53:41.620987"], ["created_at", "2019-06-06 18:53:41.621038"], ["updated_at", "2019-06-06 18:53:41.621038"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"0275f0c5-5eb8-4b0c-a146-f2f9f5bb819d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:53:41.625Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:53:41.626736"], ["created_at", "2019-06-06 18:53:41.626762"], ["updated_at", "2019-06-06 18:53:41.626762"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 13]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (10.8ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs"  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) ROLLBACK  (0.3ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.9ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) ROLLBACK  (1.1ms) BEGIN  (0.3ms) ROLLBACK  (0.9ms) BEGIN  (1.5ms) ROLLBACK  (0.9ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (3.7ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (1.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (7.8ms) BEGIN  (3.8ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (13.4ms) ROLLBACK  (2.6ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (1.2ms) ROLLBACK  (6.5ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (1.3ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (18.7ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (2.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.7ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.8ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:55:46.064028"], ["created_at", "2019-06-06 18:55:46.064098"], ["updated_at", "2019-06-06 18:55:46.064098"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"25aa0ce5-12d1-4a04-b765-e47f4abd024b\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:55:46.179Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:55:46.182419"], ["created_at", "2019-06-06 18:55:46.183358"], ["updated_at", "2019-06-06 18:55:46.183358"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.9ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:55:46.209897"], ["created_at", "2019-06-06 18:55:46.209933"], ["updated_at", "2019-06-06 18:55:46.209933"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"64c3a032-a32d-4f17-a6b6-216a398a8dfb\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:55:46.213Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:55:46.215093"], ["created_at", "2019-06-06 18:55:46.215118"], ["updated_at", "2019-06-06 18:55:46.215118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:55:46.275826"], ["created_at", "2019-06-06 18:55:46.275879"], ["updated_at", "2019-06-06 18:55:46.275879"]] Delayed::Backend::ActiveRecord::Job Create (1.1ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"0fb67783-bf1d-4fe7-b4ae-2c4c3e3d685d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:55:46.282Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"5\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:55:46.286585"], ["created_at", "2019-06-06 18:55:46.286642"], ["updated_at", "2019-06-06 18:55:46.286642"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 # Update (1.1ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 5]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:55:46.360004"], ["created_at", "2019-06-06 18:55:46.360039"], ["updated_at", "2019-06-06 18:55:46.360039"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"d0dba953-d8d1-4e22-a0f1-a764e0618dd9\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:55:46.362Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"7\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:55:46.364039"], ["created_at", "2019-06-06 18:55:46.364072"], ["updated_at", "2019-06-06 18:55:46.364072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 7]]  (4.2ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 # Create (1.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:55:46.395283"], ["created_at", "2019-06-06 18:55:46.395326"], ["updated_at", "2019-06-06 18:55:46.395326"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 9]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 18:55:46.427238"], ["created_at", "2019-06-06 18:55:46.427274"], ["updated_at", "2019-06-06 18:55:46.427274"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"efc13906-0d64-4c55-a7ae-36c7492bcf0d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T18:55:46.430Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 18:55:46.431729"], ["created_at", "2019-06-06 18:55:46.431756"], ["updated_at", "2019-06-06 18:55:46.431756"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (7.9ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.4ms) BEGIN # Destroy (7.7ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (5.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (1.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Update All (3.1ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.6ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (5.2ms) ROLLBACK  (0.5ms) BEGIN  (0.3ms) ROLLBACK  (1.8ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (4.9ms) ROLLBACK  (1.6ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (1.7ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.8ms) ROLLBACK  (6.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (3.3ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (1.5ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.6ms) BEGIN  (3.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (2.4ms) ROLLBACK  (0.4ms) BEGIN  (6.4ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (4.8ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (1.1ms) BEGIN  (1.4ms) ROLLBACK  (0.3ms) BEGIN  (1.9ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (8.3ms) ROLLBACK  (0.2ms) BEGIN  (2.4ms) ROLLBACK  (1.0ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.7ms) BEGIN  (0.7ms) ROLLBACK  (10.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (4.4ms) ROLLBACK  (0.4ms) BEGIN  (2.8ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:55:47.688668', locked_by = 'host:Sophia-Russell pid:90385' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:55:47.687770' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:55:47.687794') OR locked_by = 'host:Sophia-Russell pid:90385') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:55:47.699Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:55:47.708591"], ["created_at", "2019-06-06 18:55:47.708629"], ["updated_at", "2019-06-06 18:55:47.708629"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (14.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:55:47.713559', locked_by = 'host:Sophia-Russell pid:90385' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:55:47.713059' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:55:47.713073') OR locked_by = 'host:Sophia-Russell pid:90385') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.1ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:30:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:22:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 18:55:53.745861"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 18:55:47.746730"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:55:47.749453', locked_by = 'host:Sophia-Russell pid:90385' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:55:47.749200' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:55:47.749206') OR locked_by = 'host:Sophia-Russell pid:90385') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (2.6ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (8.9ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:55:47.756Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:55:47.761426"], ["created_at", "2019-06-06 18:55:47.761559"], ["updated_at", "2019-06-06 18:55:47.761559"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:55:47.774420', locked_by = 'host:Sophia-Russell pid:90385' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:55:47.774026' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:55:47.774039') OR locked_by = 'host:Sophia-Russell pid:90385') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (3.7ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:30:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:22:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 18:55:53.780954"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 18:55:47.781789"], ["id", 13]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:55:47.787736', locked_by = 'host:Sophia-Russell pid:90385' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:55:47.787344' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:55:47.787355') OR locked_by = 'host:Sophia-Russell pid:90385') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (3.1ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.4ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (1.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T18:55:47.814Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 18:55:47.820977"], ["created_at", "2019-06-06 18:55:47.821023"], ["updated_at", "2019-06-06 18:55:47.821023"]]  (2.4ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:55:47.839358', locked_by = 'host:Sophia-Russell pid:90385' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:55:47.838753' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:55:47.838797') OR locked_by = 'host:Sophia-Russell pid:90385') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.4ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.6ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/rspec:23:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:30:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle:22:in `'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `load'\n/Users/sophiarussell/.rbenv/versions/2.6.1/bin/bundle:23:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 18:55:53.845095"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 18:55:47.846079"], ["id", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:55:47.848764', locked_by = 'host:Sophia-Russell pid:90385' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:55:47.848494' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:55:47.848501') OR locked_by = 'host:Sophia-Russell pid:90385') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 18:55:47.857562', locked_by = 'host:Sophia-Russell pid:90385' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 18:55:47.857240' AND (locked_at IS NULL OR locked_at < '2019-06-06 14:55:47.857252') OR locked_by = 'host:Sophia-Russell pid:90385') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (2.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (6.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.9ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (3.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (1.0ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.0ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (1.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) ROLLBACK  (0.3ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.5ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.7ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.7ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:07:50.086056"], ["created_at", "2019-06-06 19:07:50.086132"], ["updated_at", "2019-06-06 19:07:50.086132"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"9cb15b70-3d93-4942-aa08-b7a6fcf9e523\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:07:50.160Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:07:50.165146"], ["created_at", "2019-06-06 19:07:50.165181"], ["updated_at", "2019-06-06 19:07:50.165181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:07:50.181732"], ["created_at", "2019-06-06 19:07:50.181769"], ["updated_at", "2019-06-06 19:07:50.181769"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"09001d39-e975-41f8-9de1-a372fffffa2b\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:07:50.183Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:07:50.185373"], ["created_at", "2019-06-06 19:07:50.185397"], ["updated_at", "2019-06-06 19:07:50.185397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:07:50.199617"], ["created_at", "2019-06-06 19:07:50.199653"], ["updated_at", "2019-06-06 19:07:50.199653"]] Delayed::Backend::ActiveRecord::Job Create (0.8ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"1c66e32c-0251-4975-98a5-b68c0b9aec02\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:07:50.201Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"5\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:07:50.204027"], ["created_at", "2019-06-06 19:07:50.204071"], ["updated_at", "2019-06-06 19:07:50.204071"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 # Update (0.5ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 5]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:07:50.230200"], ["created_at", "2019-06-06 19:07:50.230252"], ["updated_at", "2019-06-06 19:07:50.230252"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"fabefb42-f199-4626-88c9-13e8cd85ddc1\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:07:50.232Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"7\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:07:50.234663"], ["created_at", "2019-06-06 19:07:50.234691"], ["updated_at", "2019-06-06 19:07:50.234691"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:07:50.253463"], ["created_at", "2019-06-06 19:07:50.253518"], ["updated_at", "2019-06-06 19:07:50.253518"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"72f50a0f-edff-460a-bc95-7f6d582ed842\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:07:50.257Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"9\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:07:50.260509"], ["created_at", "2019-06-06 19:07:50.260551"], ["updated_at", "2019-06-06 19:07:50.260551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 9]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:07:50.279562"], ["created_at", "2019-06-06 19:07:50.279607"], ["updated_at", "2019-06-06 19:07:50.279607"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 11]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:07:50.394Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:07:50.397889"], ["created_at", "2019-06-06 19:07:50.397927"], ["updated_at", "2019-06-06 19:07:50.397927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:07:50.400537', locked_by = 'host:Sophia-Russell pid:91190' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:07:50.400077' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:07:50.400099') OR locked_by = 'host:Sophia-Russell pid:91190') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.6ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.5ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:07:56.405764"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:07:50.407145"], ["id", 12]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:07:50.411338', locked_by = 'host:Sophia-Russell pid:91190' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:07:50.410938' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:07:50.410949') OR locked_by = 'host:Sophia-Russell pid:91190') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:07:50.414Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:07:50.417403"], ["created_at", "2019-06-06 19:07:50.417461"], ["updated_at", "2019-06-06 19:07:50.417461"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:07:50.419606', locked_by = 'host:Sophia-Russell pid:91190' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:07:50.419048' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:07:50.419068') OR locked_by = 'host:Sophia-Russell pid:91190') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.4ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.0ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:07:56.424535"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:07:50.425618"], ["id", 13]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:07:50.428748', locked_by = 'host:Sophia-Russell pid:91190' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:07:50.428515' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:07:50.428520') OR locked_by = 'host:Sophia-Russell pid:91190') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.5ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:07:50.433Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:07:50.460438"], ["created_at", "2019-06-06 19:07:50.460533"], ["updated_at", "2019-06-06 19:07:50.460533"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:07:50.463341', locked_by = 'host:Sophia-Russell pid:91190' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:07:50.463052' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:07:50.463061') OR locked_by = 'host:Sophia-Russell pid:91190') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.5ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:07:56.465958"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:07:50.466433"], ["id", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:07:50.468192', locked_by = 'host:Sophia-Russell pid:91190' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:07:50.467962' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:07:50.467969') OR locked_by = 'host:Sophia-Russell pid:91190') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:07:50.472793', locked_by = 'host:Sophia-Russell pid:91190' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:07:50.472583' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:07:50.472591') OR locked_by = 'host:Sophia-Russell pid:91190') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:07:50.476425', locked_by = 'host:Sophia-Russell pid:91190' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:07:50.476224' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:07:50.476233') OR locked_by = 'host:Sophia-Russell pid:91190') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.8ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.9ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.7ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.7ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:15.520771"], ["created_at", "2019-06-06 19:08:15.520821"], ["updated_at", "2019-06-06 19:08:15.520821"]] Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"efc921d3-e6bb-4ef8-8892-aed2589c6512\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:15.572Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:15.575321"], ["created_at", "2019-06-06 19:08:15.575353"], ["updated_at", "2019-06-06 19:08:15.575353"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:15.591175"], ["created_at", "2019-06-06 19:08:15.591215"], ["updated_at", "2019-06-06 19:08:15.591215"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"a3ecf0a4-d5dd-4add-a44a-9061cc0b6ed4\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:15.594Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:15.595891"], ["created_at", "2019-06-06 19:08:15.595918"], ["updated_at", "2019-06-06 19:08:15.595918"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.7ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:15.612321"], ["created_at", "2019-06-06 19:08:15.612360"], ["updated_at", "2019-06-06 19:08:15.612360"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 5]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:15.642630"], ["created_at", "2019-06-06 19:08:15.642692"], ["updated_at", "2019-06-06 19:08:15.642692"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"9d102144-59a1-4c40-8ccc-b20802cc4254\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:15.647Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:15.649668"], ["created_at", "2019-06-06 19:08:15.649704"], ["updated_at", "2019-06-06 19:08:15.649704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 6]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:15.663781"], ["created_at", "2019-06-06 19:08:15.663813"], ["updated_at", "2019-06-06 19:08:15.663813"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"b5361afe-1eab-4882-86c1-4d94204e30bf\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:15.665Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:15.667174"], ["created_at", "2019-06-06 19:08:15.667199"], ["updated_at", "2019-06-06 19:08:15.667199"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 8]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:15.682540"], ["created_at", "2019-06-06 19:08:15.682577"], ["updated_at", "2019-06-06 19:08:15.682577"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"1136b99e-abfe-4e6e-8d4d-08e8e243fd3c\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:15.684Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:15.686358"], ["created_at", "2019-06-06 19:08:15.686387"], ["updated_at", "2019-06-06 19:08:15.686387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:15.717240', locked_by = 'host:Sophia-Russell pid:91224' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:15.716737' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:15.716748') OR locked_by = 'host:Sophia-Russell pid:91224') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:15.727740', locked_by = 'host:Sophia-Russell pid:91224' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:15.727381' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:15.727391') OR locked_by = 'host:Sophia-Russell pid:91224') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:08:15.731Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:08:15.734120"], ["created_at", "2019-06-06 19:08:15.734165"], ["updated_at", "2019-06-06 19:08:15.734165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:15.735794', locked_by = 'host:Sophia-Russell pid:91224' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:15.735532' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:15.735540') OR locked_by = 'host:Sophia-Russell pid:91224') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.4ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.9ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:08:21.741861"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:08:15.743238"], ["id", 12]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:15.747777', locked_by = 'host:Sophia-Russell pid:91224' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:15.747291' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:15.747301') OR locked_by = 'host:Sophia-Russell pid:91224') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.4ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.7ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:08:15.756Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:08:15.760836"], ["created_at", "2019-06-06 19:08:15.760904"], ["updated_at", "2019-06-06 19:08:15.760904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (1.3ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:15.764645', locked_by = 'host:Sophia-Russell pid:91224' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:15.764325' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:15.764337') OR locked_by = 'host:Sophia-Russell pid:91224') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.6ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:08:21.768271"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:08:15.768907"], ["id", 13]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.1ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:15.771156', locked_by = 'host:Sophia-Russell pid:91224' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:15.770802' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:15.770812') OR locked_by = 'host:Sophia-Russell pid:91224') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.4ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:08:15.779Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:08:15.782691"], ["created_at", "2019-06-06 19:08:15.782744"], ["updated_at", "2019-06-06 19:08:15.782744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:15.785454', locked_by = 'host:Sophia-Russell pid:91224' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:15.785164' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:15.785172') OR locked_by = 'host:Sophia-Russell pid:91224') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.6ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:08:21.788757"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:08:15.789293"], ["id", 14]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:15.791449', locked_by = 'host:Sophia-Russell pid:91224' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:15.791228' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:15.791233') OR locked_by = 'host:Sophia-Russell pid:91224') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.9ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:45.402689', locked_by = 'host:Sophia-Russell pid:91537' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:45.402302' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:45.402313') OR locked_by = 'host:Sophia-Russell pid:91537') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:08:45.408Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:08:45.421534"], ["created_at", "2019-06-06 19:08:45.421625"], ["updated_at", "2019-06-06 19:08:45.421625"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:45.424151', locked_by = 'host:Sophia-Russell pid:91537' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:45.423909' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:45.423916') OR locked_by = 'host:Sophia-Russell pid:91537') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:45.427627', locked_by = 'host:Sophia-Russell pid:91537' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:45.427368' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:45.427377') OR locked_by = 'host:Sophia-Russell pid:91537') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:08:45.430Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:08:45.432607"], ["created_at", "2019-06-06 19:08:45.432630"], ["updated_at", "2019-06-06 19:08:45.432630"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:45.434209', locked_by = 'host:Sophia-Russell pid:91537' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:45.433987' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:45.433993') OR locked_by = 'host:Sophia-Russell pid:91537') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:45.436642', locked_by = 'host:Sophia-Russell pid:91537' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:45.436422' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:45.436430') OR locked_by = 'host:Sophia-Russell pid:91537') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:08:45.439Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:08:45.441398"], ["created_at", "2019-06-06 19:08:45.441421"], ["updated_at", "2019-06-06 19:08:45.441421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:45.444483', locked_by = 'host:Sophia-Russell pid:91537' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:45.444260' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:45.444268') OR locked_by = 'host:Sophia-Russell pid:91537') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:45.447365', locked_by = 'host:Sophia-Russell pid:91537' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:45.447126' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:45.447135') OR locked_by = 'host:Sophia-Russell pid:91537') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:08:45.452259', locked_by = 'host:Sophia-Russell pid:91537' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:08:45.452009' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:08:45.452020') OR locked_by = 'host:Sophia-Russell pid:91537') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:45.576105"], ["created_at", "2019-06-06 19:08:45.576142"], ["updated_at", "2019-06-06 19:08:45.576142"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"9de3d3d0-ea94-4491-a713-96886a88387c\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:45.579Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:45.581483"], ["created_at", "2019-06-06 19:08:45.581509"], ["updated_at", "2019-06-06 19:08:45.581509"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:45.595218"], ["created_at", "2019-06-06 19:08:45.595254"], ["updated_at", "2019-06-06 19:08:45.595254"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"3e6b50a2-3e69-4840-a04f-98627a4b37b9\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:45.597Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:45.599125"], ["created_at", "2019-06-06 19:08:45.599147"], ["updated_at", "2019-06-06 19:08:45.599147"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 6]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:45.616773"], ["created_at", "2019-06-06 19:08:45.616812"], ["updated_at", "2019-06-06 19:08:45.616812"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 8]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:45.635246"], ["created_at", "2019-06-06 19:08:45.635287"], ["updated_at", "2019-06-06 19:08:45.635287"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"01870552-cdc6-4d9b-9321-fe3544005041\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:45.637Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"9\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:45.639084"], ["created_at", "2019-06-06 19:08:45.639109"], ["updated_at", "2019-06-06 19:08:45.639109"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 9]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:45.655111"], ["created_at", "2019-06-06 19:08:45.655144"], ["updated_at", "2019-06-06 19:08:45.655144"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"5abc0915-07e2-4724-a25f-7a7a773ca9ce\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:45.657Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:45.660361"], ["created_at", "2019-06-06 19:08:45.660464"], ["updated_at", "2019-06-06 19:08:45.660464"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.9ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 11]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:08:45.676406"], ["created_at", "2019-06-06 19:08:45.676450"], ["updated_at", "2019-06-06 19:08:45.676450"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"aad6565e-4c65-4639-9b86-37256ce31e98\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:08:45.679Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:08:45.680439"], ["created_at", "2019-06-06 19:08:45.680466"], ["updated_at", "2019-06-06 19:08:45.680466"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.9ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (2.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.9ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (1.1ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:43:07.592Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:43:07.612018"], ["created_at", "2019-06-06 19:43:07.612061"], ["updated_at", "2019-06-06 19:43:07.612061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:07.615156', locked_by = 'host:Sophia-Russell pid:93094' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:07.614677' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:07.614685') OR locked_by = 'host:Sophia-Russell pid:93094') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.8ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:43:13.619177"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:43:07.619750"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:07.623048', locked_by = 'host:Sophia-Russell pid:93094' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:07.622797' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:07.622802') OR locked_by = 'host:Sophia-Russell pid:93094') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:43:07.629Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:43:07.631715"], ["created_at", "2019-06-06 19:43:07.631740"], ["updated_at", "2019-06-06 19:43:07.631740"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:07.634028', locked_by = 'host:Sophia-Russell pid:93094' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:07.633791' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:07.633799') OR locked_by = 'host:Sophia-Russell pid:93094') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.5ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:43:13.636532"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:43:07.637097"], ["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:07.638956', locked_by = 'host:Sophia-Russell pid:93094' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:07.638619' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:07.638627') OR locked_by = 'host:Sophia-Russell pid:93094') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:43:07.642Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:43:07.644449"], ["created_at", "2019-06-06 19:43:07.644476"], ["updated_at", "2019-06-06 19:43:07.644476"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:07.646765', locked_by = 'host:Sophia-Russell pid:93094' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:07.646514' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:07.646524') OR locked_by = 'host:Sophia-Russell pid:93094') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.6ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:43:13.649112"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:43:07.649779"], ["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:07.651997', locked_by = 'host:Sophia-Russell pid:93094' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:07.651752' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:07.651758') OR locked_by = 'host:Sophia-Russell pid:93094') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:07.657177', locked_by = 'host:Sophia-Russell pid:93094' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:07.656931' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:07.656940') OR locked_by = 'host:Sophia-Russell pid:93094') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:07.661622', locked_by = 'host:Sophia-Russell pid:93094' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:07.661369' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:07.661379') OR locked_by = 'host:Sophia-Russell pid:93094') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:07.700566"], ["created_at", "2019-06-06 19:43:07.700602"], ["updated_at", "2019-06-06 19:43:07.700602"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"726005f4-f755-42b9-b8c8-d443b438f338\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:07.703Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:07.706067"], ["created_at", "2019-06-06 19:43:07.706097"], ["updated_at", "2019-06-06 19:43:07.706097"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:07.719475"], ["created_at", "2019-06-06 19:43:07.719509"], ["updated_at", "2019-06-06 19:43:07.719509"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 6]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:07.741760"], ["created_at", "2019-06-06 19:43:07.741833"], ["updated_at", "2019-06-06 19:43:07.741833"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"51c39609-d1fe-421b-8e66-259b0b01a330\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:07.746Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"7\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:07.747871"], ["created_at", "2019-06-06 19:43:07.747896"], ["updated_at", "2019-06-06 19:43:07.747896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 7]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:07.763817"], ["created_at", "2019-06-06 19:43:07.763868"], ["updated_at", "2019-06-06 19:43:07.763868"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"33375e5c-e291-4042-9134-35ce92d4d8f4\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:07.766Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"9\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:07.767990"], ["created_at", "2019-06-06 19:43:07.768019"], ["updated_at", "2019-06-06 19:43:07.768019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 9]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:07.799588"], ["created_at", "2019-06-06 19:43:07.799623"], ["updated_at", "2019-06-06 19:43:07.799623"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"484485af-33b8-4187-92e1-aa306dc3512c\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:07.801Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:07.803353"], ["created_at", "2019-06-06 19:43:07.803378"], ["updated_at", "2019-06-06 19:43:07.803378"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 11]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:07.817058"], ["created_at", "2019-06-06 19:43:07.817091"], ["updated_at", "2019-06-06 19:43:07.817091"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"492ccc87-68b1-4422-acca-94f9f17436cc\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:07.819Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:07.820373"], ["created_at", "2019-06-06 19:43:07.820395"], ["updated_at", "2019-06-06 19:43:07.820395"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:44.433021', locked_by = 'host:Sophia-Russell pid:93128' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:44.432603' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:44.432613') OR locked_by = 'host:Sophia-Russell pid:93128') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:43:44.436Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:43:44.446266"], ["created_at", "2019-06-06 19:43:44.446310"], ["updated_at", "2019-06-06 19:43:44.446310"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:44.449138', locked_by = 'host:Sophia-Russell pid:93128' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:44.448914' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:44.448921') OR locked_by = 'host:Sophia-Russell pid:93128') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.0ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:43:50.491366"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:43:44.491984"], ["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:44.494601', locked_by = 'host:Sophia-Russell pid:93128' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:44.494365' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:44.494370') OR locked_by = 'host:Sophia-Russell pid:93128') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:43:44.499Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:43:44.500981"], ["created_at", "2019-06-06 19:43:44.501006"], ["updated_at", "2019-06-06 19:43:44.501006"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:44.503273', locked_by = 'host:Sophia-Russell pid:93128' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:44.503012' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:44.503021') OR locked_by = 'host:Sophia-Russell pid:93128') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.5ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:43:50.505871"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:43:44.506320"], ["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:44.508211', locked_by = 'host:Sophia-Russell pid:93128' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:44.508001' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:44.508007') OR locked_by = 'host:Sophia-Russell pid:93128') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:43:44.511Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:43:44.512719"], ["created_at", "2019-06-06 19:43:44.512744"], ["updated_at", "2019-06-06 19:43:44.512744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:44.514707', locked_by = 'host:Sophia-Russell pid:93128' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:44.514488' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:44.514495') OR locked_by = 'host:Sophia-Russell pid:93128') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.5ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:43:50.516938"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:43:44.517447"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:44.519387', locked_by = 'host:Sophia-Russell pid:93128' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:44.519180' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:44.519186') OR locked_by = 'host:Sophia-Russell pid:93128') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:43:44.523919', locked_by = 'host:Sophia-Russell pid:93128' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:43:44.523457' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:43:44.523484') OR locked_by = 'host:Sophia-Russell pid:93128') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:44.697781"], ["created_at", "2019-06-06 19:43:44.697816"], ["updated_at", "2019-06-06 19:43:44.697816"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 4]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:44.713523"], ["created_at", "2019-06-06 19:43:44.713560"], ["updated_at", "2019-06-06 19:43:44.713560"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"27e77628-13dc-489d-be7f-52bcc445055c\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:44.716Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"5\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:44.718385"], ["created_at", "2019-06-06 19:43:44.718412"], ["updated_at", "2019-06-06 19:43:44.718412"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (1.0ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:44.734239"], ["created_at", "2019-06-06 19:43:44.734275"], ["updated_at", "2019-06-06 19:43:44.734275"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"1be0f900-b886-40e6-a8ab-50db5ae2b0d3\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:44.737Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"7\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:44.739253"], ["created_at", "2019-06-06 19:43:44.739281"], ["updated_at", "2019-06-06 19:43:44.739281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 7]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:44.754948"], ["created_at", "2019-06-06 19:43:44.754985"], ["updated_at", "2019-06-06 19:43:44.754985"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"183c2eb5-a1de-4cec-996f-860c13e62d7e\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:44.757Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"9\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:44.759023"], ["created_at", "2019-06-06 19:43:44.759055"], ["updated_at", "2019-06-06 19:43:44.759055"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 9]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:44.775148"], ["created_at", "2019-06-06 19:43:44.775191"], ["updated_at", "2019-06-06 19:43:44.775191"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"0ee914f0-79ac-4e87-a36a-d4d73db7b513\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:44.777Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:44.779657"], ["created_at", "2019-06-06 19:43:44.779684"], ["updated_at", "2019-06-06 19:43:44.779684"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 11]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:43:44.795404"], ["created_at", "2019-06-06 19:43:44.795445"], ["updated_at", "2019-06-06 19:43:44.795445"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"cf2f498a-e1c7-4103-8df7-cc33972aee62\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:43:44.797Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:43:44.799384"], ["created_at", "2019-06-06 19:43:44.799423"], ["updated_at", "2019-06-06 19:43:44.799423"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.8ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:44:08.328Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:44:08.342274"], ["created_at", "2019-06-06 19:44:08.342317"], ["updated_at", "2019-06-06 19:44:08.342317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:08.345147', locked_by = 'host:Sophia-Russell pid:93158' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:08.344776' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:08.344782') OR locked_by = 'host:Sophia-Russell pid:93158') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.9ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:44:14.348119"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:44:08.348697"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:08.351021', locked_by = 'host:Sophia-Russell pid:93158' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:08.350774' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:08.350780') OR locked_by = 'host:Sophia-Russell pid:93158') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:44:08.353Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:44:08.355423"], ["created_at", "2019-06-06 19:44:08.355456"], ["updated_at", "2019-06-06 19:44:08.355456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:08.356902', locked_by = 'host:Sophia-Russell pid:93158' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:08.356667' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:08.356674') OR locked_by = 'host:Sophia-Russell pid:93158') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.5ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:44:14.359344"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:44:08.359783"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:08.361509', locked_by = 'host:Sophia-Russell pid:93158' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:08.361275' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:08.361281') OR locked_by = 'host:Sophia-Russell pid:93158') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:44:08.365Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:44:08.366854"], ["created_at", "2019-06-06 19:44:08.366876"], ["updated_at", "2019-06-06 19:44:08.366876"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:08.368931', locked_by = 'host:Sophia-Russell pid:93158' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:08.368724' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:08.368731') OR locked_by = 'host:Sophia-Russell pid:93158') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.1ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:44:14.371412"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:44:08.372042"], ["id", 3]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:08.375825', locked_by = 'host:Sophia-Russell pid:93158' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:08.375565' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:08.375572') OR locked_by = 'host:Sophia-Russell pid:93158') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:08.380581', locked_by = 'host:Sophia-Russell pid:93158' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:08.380376' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:08.380383') OR locked_by = 'host:Sophia-Russell pid:93158') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:08.384573', locked_by = 'host:Sophia-Russell pid:93158' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:08.384348' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:08.384358') OR locked_by = 'host:Sophia-Russell pid:93158') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.5ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:08.475035"], ["created_at", "2019-06-06 19:44:08.475075"], ["updated_at", "2019-06-06 19:44:08.475075"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"9e87417f-e0f7-4b1a-af50-d27d1d2620ba\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:08.520Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:08.523075"], ["created_at", "2019-06-06 19:44:08.523105"], ["updated_at", "2019-06-06 19:44:08.523105"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:08.535707"], ["created_at", "2019-06-06 19:44:08.535737"], ["updated_at", "2019-06-06 19:44:08.535737"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"fd358650-7c00-4f46-93ca-808da2272fb3\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:08.538Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:08.539759"], ["created_at", "2019-06-06 19:44:08.539783"], ["updated_at", "2019-06-06 19:44:08.539783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 6]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:08.553125"], ["created_at", "2019-06-06 19:44:08.553160"], ["updated_at", "2019-06-06 19:44:08.553160"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"be9ab611-e876-4e91-9b72-014b1897cabe\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:08.555Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:08.556586"], ["created_at", "2019-06-06 19:44:08.556608"], ["updated_at", "2019-06-06 19:44:08.556608"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 8]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:08.570868"], ["created_at", "2019-06-06 19:44:08.570947"], ["updated_at", "2019-06-06 19:44:08.570947"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"278f678d-82a8-48ab-8b8b-7af1019f488d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:08.574Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:08.575965"], ["created_at", "2019-06-06 19:44:08.575994"], ["updated_at", "2019-06-06 19:44:08.575994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 10]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:08.591486"], ["created_at", "2019-06-06 19:44:08.591532"], ["updated_at", "2019-06-06 19:44:08.591532"]] Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"68d4e112-09e9-4411-adf7-03b9f8fdc072\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:08.594Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"12\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:08.596878"], ["created_at", "2019-06-06 19:44:08.596906"], ["updated_at", "2019-06-06 19:44:08.596906"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:08.625719"], ["created_at", "2019-06-06 19:44:08.625756"], ["updated_at", "2019-06-06 19:44:08.625756"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (1.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.5ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.8ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:35.126345"], ["created_at", "2019-06-06 19:44:35.126389"], ["updated_at", "2019-06-06 19:44:35.126389"]] Delayed::Backend::ActiveRecord::Job Create (0.7ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"b28c7f0b-7159-4b31-ab4a-91cc3e255072\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:35.130Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:35.134318"], ["created_at", "2019-06-06 19:44:35.134395"], ["updated_at", "2019-06-06 19:44:35.134395"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:35.149410"], ["created_at", "2019-06-06 19:44:35.149446"], ["updated_at", "2019-06-06 19:44:35.149446"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"6a3b77f6-72c0-498c-b779-b3a28ef81db6\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:35.151Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:35.153111"], ["created_at", "2019-06-06 19:44:35.153136"], ["updated_at", "2019-06-06 19:44:35.153136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 3]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:35.167612"], ["created_at", "2019-06-06 19:44:35.167706"], ["updated_at", "2019-06-06 19:44:35.167706"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"c9e739df-dbd2-4488-aee1-d8c4eab58c2a\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:35.171Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"5\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:35.172671"], ["created_at", "2019-06-06 19:44:35.172700"], ["updated_at", "2019-06-06 19:44:35.172700"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:35.187705"], ["created_at", "2019-06-06 19:44:35.187744"], ["updated_at", "2019-06-06 19:44:35.187744"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"92fc6efe-ed36-4753-92ef-74ae61447846\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:35.190Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"7\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:35.191732"], ["created_at", "2019-06-06 19:44:35.191754"], ["updated_at", "2019-06-06 19:44:35.191754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:35.205952"], ["created_at", "2019-06-06 19:44:35.205989"], ["updated_at", "2019-06-06 19:44:35.205989"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 9]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:44:35.225979"], ["created_at", "2019-06-06 19:44:35.226015"], ["updated_at", "2019-06-06 19:44:35.226015"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"aaf08513-f3b1-438f-bb87-c3b475bc9caf\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:44:35.228Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:44:35.229606"], ["created_at", "2019-06-06 19:44:35.229628"], ["updated_at", "2019-06-06 19:44:35.229628"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 10]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:44:35.255Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:44:35.270359"], ["created_at", "2019-06-06 19:44:35.270391"], ["updated_at", "2019-06-06 19:44:35.270391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:35.272850', locked_by = 'host:Sophia-Russell pid:93227' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:35.272464' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:35.272475') OR locked_by = 'host:Sophia-Russell pid:93227') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.8ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:45:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:44:41.275562"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:44:35.276005"], ["id", 12]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:35.278033', locked_by = 'host:Sophia-Russell pid:93227' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:35.277831' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:35.277837') OR locked_by = 'host:Sophia-Russell pid:93227') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:44:35.280Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:44:35.281731"], ["created_at", "2019-06-06 19:44:35.281753"], ["updated_at", "2019-06-06 19:44:35.281753"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:35.283160', locked_by = 'host:Sophia-Russell pid:93227' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:35.282943' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:35.282950') OR locked_by = 'host:Sophia-Russell pid:93227') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.4ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:45:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:44:41.285372"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:44:35.285870"], ["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:35.287734', locked_by = 'host:Sophia-Russell pid:93227' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:35.287419' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:35.287428') OR locked_by = 'host:Sophia-Russell pid:93227') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:44:35.290Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:44:35.292559"], ["created_at", "2019-06-06 19:44:35.292603"], ["updated_at", "2019-06-06 19:44:35.292603"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:35.294661', locked_by = 'host:Sophia-Russell pid:93227' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:35.294476' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:35.294483') OR locked_by = 'host:Sophia-Russell pid:93227') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.5ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:45:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:44:41.296859"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:44:35.297397"], ["id", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:35.299099', locked_by = 'host:Sophia-Russell pid:93227' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:35.298907' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:35.298912') OR locked_by = 'host:Sophia-Russell pid:93227') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:35.304452', locked_by = 'host:Sophia-Russell pid:93227' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:35.304223' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:35.304231') OR locked_by = 'host:Sophia-Russell pid:93227') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:44:35.308317', locked_by = 'host:Sophia-Russell pid:93227' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:44:35.308118' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:44:35.308127') OR locked_by = 'host:Sophia-Russell pid:93227') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (6.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (1.0ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:15.120278"], ["created_at", "2019-06-06 19:45:15.120351"], ["updated_at", "2019-06-06 19:45:15.120351"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"62061342-7fbe-4306-978a-b38a754bac41\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:15.203Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:15.213625"], ["created_at", "2019-06-06 19:45:15.213654"], ["updated_at", "2019-06-06 19:45:15.213654"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:15.250187"], ["created_at", "2019-06-06 19:45:15.250223"], ["updated_at", "2019-06-06 19:45:15.250223"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"51b5b753-9406-40ce-a698-d3f12765a4ed\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:15.252Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:15.254066"], ["created_at", "2019-06-06 19:45:15.254103"], ["updated_at", "2019-06-06 19:45:15.254103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 3]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:15.268866"], ["created_at", "2019-06-06 19:45:15.268899"], ["updated_at", "2019-06-06 19:45:15.268899"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"37a39920-cd0b-45fd-8560-098a000999e4\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:15.271Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"5\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:15.272356"], ["created_at", "2019-06-06 19:45:15.272382"], ["updated_at", "2019-06-06 19:45:15.272382"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:15.286644"], ["created_at", "2019-06-06 19:45:15.286680"], ["updated_at", "2019-06-06 19:45:15.286680"]] Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"102c4471-9c00-473b-b9bf-20a0027db91f\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:15.288Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"7\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:15.290877"], ["created_at", "2019-06-06 19:45:15.290908"], ["updated_at", "2019-06-06 19:45:15.290908"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 7]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:15.306880"], ["created_at", "2019-06-06 19:45:15.306916"], ["updated_at", "2019-06-06 19:45:15.306916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 9]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:15.322518"], ["created_at", "2019-06-06 19:45:15.322553"], ["updated_at", "2019-06-06 19:45:15.322553"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"509aff97-2af6-498f-b3d8-8dcd2c16a6b0\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:15.326Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:15.328227"], ["created_at", "2019-06-06 19:45:15.328257"], ["updated_at", "2019-06-06 19:45:15.328257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.2ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.2ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:15.390602', locked_by = 'host:Sophia-Russell pid:93556' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:15.389888' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:15.389914') OR locked_by = 'host:Sophia-Russell pid:93556') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:45:15.397Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:45:15.399312"], ["created_at", "2019-06-06 19:45:15.399347"], ["updated_at", "2019-06-06 19:45:15.399347"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:15.401703', locked_by = 'host:Sophia-Russell pid:93556' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:15.401485' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:15.401492') OR locked_by = 'host:Sophia-Russell pid:93556') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.0ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:45:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:45:21.433606"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:45:15.434316"], ["id", 12]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:15.436812', locked_by = 'host:Sophia-Russell pid:93556' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:15.436569' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:15.436575') OR locked_by = 'host:Sophia-Russell pid:93556') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:45:15.439Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:45:15.441081"], ["created_at", "2019-06-06 19:45:15.441103"], ["updated_at", "2019-06-06 19:45:15.441103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:15.443561', locked_by = 'host:Sophia-Russell pid:93556' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:15.443317' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:15.443325') OR locked_by = 'host:Sophia-Russell pid:93556') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.5ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:45:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:45:21.445899"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:45:15.446369"], ["id", 13]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:15.448222', locked_by = 'host:Sophia-Russell pid:93556' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:15.447967' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:15.447974') OR locked_by = 'host:Sophia-Russell pid:93556') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:45:15.451Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:45:15.453297"], ["created_at", "2019-06-06 19:45:15.453323"], ["updated_at", "2019-06-06 19:45:15.453323"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:15.455760', locked_by = 'host:Sophia-Russell pid:93556' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:15.455439' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:15.455450') OR locked_by = 'host:Sophia-Russell pid:93556') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.6ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Real HTTP connections are disabled. Unregistered request: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'aws-sdk-ruby3/3.54.2'}\n\nYou can stub this request with the following snippet:\n\nstub_request(:get, \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\").\n with(\n headers: {\n\t 'Accept'=>'*/*',\n\t 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',\n\t 'User-Agent'=>'aws-sdk-ruby3/3.54.2'\n }).\n to_return(status: 200, body: \"\", headers: {})\n\n============================================================\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/webmock-3.6.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:122:in `http_get'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:97:in `block (2 levels) in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:118:in `open_connection'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:95:in `block in get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:94:in `get_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:74:in `block in refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:134:in `retry_errors'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:73:in `refresh'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/refreshing_credentials.rb:20:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/instance_profile_credentials.rb:51:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `new'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:105:in `instance_profile_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:45:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-06 19:45:21.459524"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-06 19:45:15.460184"], ["id", 14]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:15.462399', locked_by = 'host:Sophia-Russell pid:93556' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:15.462152' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:15.462160') OR locked_by = 'host:Sophia-Russell pid:93556') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:15.466866', locked_by = 'host:Sophia-Russell pid:93556' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:15.466537' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:15.466550') OR locked_by = 'host:Sophia-Russell pid:93556') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:25.333055', locked_by = 'host:Sophia-Russell pid:93583' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:25.332438' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:25.332456') OR locked_by = 'host:Sophia-Russell pid:93583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:45:25.337Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:45:25.358061"], ["created_at", "2019-06-06 19:45:25.358223"], ["updated_at", "2019-06-06 19:45:25.358223"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:25.362136', locked_by = 'host:Sophia-Russell pid:93583' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:25.361858' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:25.361868') OR locked_by = 'host:Sophia-Russell pid:93583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:25.366901', locked_by = 'host:Sophia-Russell pid:93583' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:25.366662' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:25.366689') OR locked_by = 'host:Sophia-Russell pid:93583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:45:25.371Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:45:25.373514"], ["created_at", "2019-06-06 19:45:25.373537"], ["updated_at", "2019-06-06 19:45:25.373537"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:25.375373', locked_by = 'host:Sophia-Russell pid:93583' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:25.375180' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:25.375187') OR locked_by = 'host:Sophia-Russell pid:93583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:25.377718', locked_by = 'host:Sophia-Russell pid:93583' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:25.377530' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:25.377537') OR locked_by = 'host:Sophia-Russell pid:93583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.2ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:45:25.381Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:45:25.383746"], ["created_at", "2019-06-06 19:45:25.383775"], ["updated_at", "2019-06-06 19:45:25.383775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:25.385906', locked_by = 'host:Sophia-Russell pid:93583' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:25.385608' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:25.385617') OR locked_by = 'host:Sophia-Russell pid:93583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:25.388374', locked_by = 'host:Sophia-Russell pid:93583' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:25.388170' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:25.388179') OR locked_by = 'host:Sophia-Russell pid:93583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:45:25.392429', locked_by = 'host:Sophia-Russell pid:93583' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:45:25.392225' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:45:25.392232') OR locked_by = 'host:Sophia-Russell pid:93583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:25.644853"], ["created_at", "2019-06-06 19:45:25.644889"], ["updated_at", "2019-06-06 19:45:25.644889"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"5da2e472-fc26-44e2-ba63-7dfc9daac82b\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:25.647Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:25.649738"], ["created_at", "2019-06-06 19:45:25.649764"], ["updated_at", "2019-06-06 19:45:25.649764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 4]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:25.667741"], ["created_at", "2019-06-06 19:45:25.667778"], ["updated_at", "2019-06-06 19:45:25.667778"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"dc36edb8-8859-4dbd-bb73-29e3fe8a1099\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:25.670Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:25.671856"], ["created_at", "2019-06-06 19:45:25.671880"], ["updated_at", "2019-06-06 19:45:25.671880"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 6]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:25.688129"], ["created_at", "2019-06-06 19:45:25.688161"], ["updated_at", "2019-06-06 19:45:25.688161"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"7fec7144-55e8-401b-8146-3f3629f2f368\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:25.690Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:25.691929"], ["created_at", "2019-06-06 19:45:25.691961"], ["updated_at", "2019-06-06 19:45:25.691961"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:25.712618"], ["created_at", "2019-06-06 19:45:25.712695"], ["updated_at", "2019-06-06 19:45:25.712695"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 10]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:25.732902"], ["created_at", "2019-06-06 19:45:25.733145"], ["updated_at", "2019-06-06 19:45:25.733145"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"c412eb95-6c26-4e39-8124-279bfe04be79\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:25.737Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:25.738892"], ["created_at", "2019-06-06 19:45:25.738919"], ["updated_at", "2019-06-06 19:45:25.738919"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:45:25.754934"], ["created_at", "2019-06-06 19:45:25.754969"], ["updated_at", "2019-06-06 19:45:25.754969"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"afd12737-c329-41f5-9866-e26202affa1d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:45:25.757Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:45:25.758899"], ["created_at", "2019-06-06 19:45:25.758923"], ["updated_at", "2019-06-06 19:45:25.758923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.2ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (2.2ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.9ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.4ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.9ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (1.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:48:31.189Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:48:31.206074"], ["created_at", "2019-06-06 19:48:31.206119"], ["updated_at", "2019-06-06 19:48:31.206119"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:48:31.210085', locked_by = 'host:Sophia-Russell pid:93691' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:48:31.209319' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:48:31.209328') OR locked_by = 'host:Sophia-Russell pid:93691') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:48:31.213756', locked_by = 'host:Sophia-Russell pid:93691' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:48:31.213533' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:48:31.213542') OR locked_by = 'host:Sophia-Russell pid:93691') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:48:31.218Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:48:31.220174"], ["created_at", "2019-06-06 19:48:31.220199"], ["updated_at", "2019-06-06 19:48:31.220199"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:48:31.222098', locked_by = 'host:Sophia-Russell pid:93691' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:48:31.221894' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:48:31.221901') OR locked_by = 'host:Sophia-Russell pid:93691') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:48:31.224695', locked_by = 'host:Sophia-Russell pid:93691' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:48:31.224484' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:48:31.224493') OR locked_by = 'host:Sophia-Russell pid:93691') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:48:31.227Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:48:31.229756"], ["created_at", "2019-06-06 19:48:31.229781"], ["updated_at", "2019-06-06 19:48:31.229781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:48:31.231918', locked_by = 'host:Sophia-Russell pid:93691' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:48:31.231700' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:48:31.231708') OR locked_by = 'host:Sophia-Russell pid:93691') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:48:31.234426', locked_by = 'host:Sophia-Russell pid:93691' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:48:31.234059' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:48:31.234083') OR locked_by = 'host:Sophia-Russell pid:93691') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:48:31.238663', locked_by = 'host:Sophia-Russell pid:93691' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:48:31.238458' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:48:31.238465') OR locked_by = 'host:Sophia-Russell pid:93691') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:48:31.244322', locked_by = 'host:Sophia-Russell pid:93691' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:48:31.244090' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:48:31.244101') OR locked_by = 'host:Sophia-Russell pid:93691') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:48:31.259093"], ["created_at", "2019-06-06 19:48:31.259129"], ["updated_at", "2019-06-06 19:48:31.259129"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"731cdeca-7cfb-4820-bcda-1fb4353375fa\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:48:31.261Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:48:31.281156"], ["created_at", "2019-06-06 19:48:31.281190"], ["updated_at", "2019-06-06 19:48:31.281190"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:48:31.293508"], ["created_at", "2019-06-06 19:48:31.293545"], ["updated_at", "2019-06-06 19:48:31.293545"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"d62bf80b-775a-4576-97a7-efbabbcddb49\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:48:31.295Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:48:31.297248"], ["created_at", "2019-06-06 19:48:31.297279"], ["updated_at", "2019-06-06 19:48:31.297279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 6]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:48:31.311572"], ["created_at", "2019-06-06 19:48:31.311606"], ["updated_at", "2019-06-06 19:48:31.311606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 8]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:48:31.328620"], ["created_at", "2019-06-06 19:48:31.328673"], ["updated_at", "2019-06-06 19:48:31.328673"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"fb6b2f8b-c909-4541-93c6-6abba65bbcc0\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:48:31.330Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"9\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:48:31.332253"], ["created_at", "2019-06-06 19:48:31.332278"], ["updated_at", "2019-06-06 19:48:31.332278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 9]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:48:31.348191"], ["created_at", "2019-06-06 19:48:31.348226"], ["updated_at", "2019-06-06 19:48:31.348226"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"53492024-07ca-417f-9988-f8bb3c96d951\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:48:31.350Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:48:31.352079"], ["created_at", "2019-06-06 19:48:31.352105"], ["updated_at", "2019-06-06 19:48:31.352105"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:48:31.365775"], ["created_at", "2019-06-06 19:48:31.365810"], ["updated_at", "2019-06-06 19:48:31.365810"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"42a68485-84a6-4408-ab50-d68d92f8e19f\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:48:31.368Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:48:31.369819"], ["created_at", "2019-06-06 19:48:31.369845"], ["updated_at", "2019-06-06 19:48:31.369845"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 13]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (1.9ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.5ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (15.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.7ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:51:46.400627"], ["created_at", "2019-06-06 19:51:46.400674"], ["updated_at", "2019-06-06 19:51:46.400674"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"2023479e-52d6-48b0-9820-2fd50c7d0395\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:51:46.404Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:51:46.407158"], ["created_at", "2019-06-06 19:51:46.407188"], ["updated_at", "2019-06-06 19:51:46.407188"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 1]]  (1.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:51:46.424946"], ["created_at", "2019-06-06 19:51:46.424980"], ["updated_at", "2019-06-06 19:51:46.424980"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"76d34684-95a1-4bf5-8a0f-fb20d0d735ff\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:51:46.427Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:51:46.429158"], ["created_at", "2019-06-06 19:51:46.429183"], ["updated_at", "2019-06-06 19:51:46.429183"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 3]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:51:46.463744"], ["created_at", "2019-06-06 19:51:46.463778"], ["updated_at", "2019-06-06 19:51:46.463778"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"7d92decf-b9cd-4fe0-8641-1ad852754574\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:51:46.465Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"5\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:51:46.467196"], ["created_at", "2019-06-06 19:51:46.467219"], ["updated_at", "2019-06-06 19:51:46.467219"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:51:46.481519"], ["created_at", "2019-06-06 19:51:46.481588"], ["updated_at", "2019-06-06 19:51:46.481588"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"8c3b76bd-ee30-4fa0-8a4a-50d25eeefb26\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:51:46.484Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"7\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:51:46.486112"], ["created_at", "2019-06-06 19:51:46.486137"], ["updated_at", "2019-06-06 19:51:46.486137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:51:46.502404"], ["created_at", "2019-06-06 19:51:46.502440"], ["updated_at", "2019-06-06 19:51:46.502440"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 9]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:51:46.520226"], ["created_at", "2019-06-06 19:51:46.520260"], ["updated_at", "2019-06-06 19:51:46.520260"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"112623a9-60f9-4dc9-b8a0-c4e1a7a915c0\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:51:46.522Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:51:46.524139"], ["created_at", "2019-06-06 19:51:46.524165"], ["updated_at", "2019-06-06 19:51:46.524165"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.3ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.3ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:51:46.614244', locked_by = 'host:Sophia-Russell pid:93799' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:51:46.613287' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:51:46.613302') OR locked_by = 'host:Sophia-Russell pid:93799') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:51:46.618Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:51:46.620256"], ["created_at", "2019-06-06 19:51:46.620286"], ["updated_at", "2019-06-06 19:51:46.620286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:51:46.622143', locked_by = 'host:Sophia-Russell pid:93799' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:51:46.621761' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:51:46.621770') OR locked_by = 'host:Sophia-Russell pid:93799') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:51:46.625271', locked_by = 'host:Sophia-Russell pid:93799' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:51:46.625067' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:51:46.625076') OR locked_by = 'host:Sophia-Russell pid:93799') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:51:46.631Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:51:46.633718"], ["created_at", "2019-06-06 19:51:46.633745"], ["updated_at", "2019-06-06 19:51:46.633745"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:51:46.635875', locked_by = 'host:Sophia-Russell pid:93799' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:51:46.635673' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:51:46.635679') OR locked_by = 'host:Sophia-Russell pid:93799') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:51:46.638396', locked_by = 'host:Sophia-Russell pid:93799' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:51:46.638201' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:51:46.638210') OR locked_by = 'host:Sophia-Russell pid:93799') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:51:46.641Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:51:46.643323"], ["created_at", "2019-06-06 19:51:46.643353"], ["updated_at", "2019-06-06 19:51:46.643353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:51:46.646016', locked_by = 'host:Sophia-Russell pid:93799' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:51:46.645561' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:51:46.645584') OR locked_by = 'host:Sophia-Russell pid:93799') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:51:46.650100', locked_by = 'host:Sophia-Russell pid:93799' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:51:46.649867' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:51:46.649877') OR locked_by = 'host:Sophia-Russell pid:93799') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:51:46.654515', locked_by = 'host:Sophia-Russell pid:93799' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:51:46.654268' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:51:46.654277') OR locked_by = 'host:Sophia-Russell pid:93799') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.8ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.5ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:54:12.728270"], ["created_at", "2019-06-06 19:54:12.728320"], ["updated_at", "2019-06-06 19:54:12.728320"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"935eb93e-9f8c-4c65-be61-88147362c00d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:54:12.782Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:54:12.785303"], ["created_at", "2019-06-06 19:54:12.785332"], ["updated_at", "2019-06-06 19:54:12.785332"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:54:12.800310"], ["created_at", "2019-06-06 19:54:12.800346"], ["updated_at", "2019-06-06 19:54:12.800346"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"2240da56-1237-4cb2-a918-eb1ba269b896\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:54:12.802Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:54:12.804650"], ["created_at", "2019-06-06 19:54:12.804678"], ["updated_at", "2019-06-06 19:54:12.804678"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:54:12.819790"], ["created_at", "2019-06-06 19:54:12.819858"], ["updated_at", "2019-06-06 19:54:12.819858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 5]]  (1.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:54:12.839327"], ["created_at", "2019-06-06 19:54:12.839375"], ["updated_at", "2019-06-06 19:54:12.839375"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"c3602d0e-120e-4fd3-b093-084365dade98\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:54:12.841Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:54:12.842945"], ["created_at", "2019-06-06 19:54:12.842966"], ["updated_at", "2019-06-06 19:54:12.842966"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 6]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:54:12.864505"], ["created_at", "2019-06-06 19:54:12.864548"], ["updated_at", "2019-06-06 19:54:12.864548"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"6674ac87-0a4c-473e-85af-e2a9e0fe49e7\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:54:12.867Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:54:12.868760"], ["created_at", "2019-06-06 19:54:12.868785"], ["updated_at", "2019-06-06 19:54:12.868785"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.7ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 8]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:54:12.891083"], ["created_at", "2019-06-06 19:54:12.891116"], ["updated_at", "2019-06-06 19:54:12.891116"]] Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"73677d75-5644-4dd0-a79a-f4e67d49f292\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:54:12.893Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:54:12.895692"], ["created_at", "2019-06-06 19:54:12.895719"], ["updated_at", "2019-06-06 19:54:12.895719"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.5ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:54:12.994Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:54:12.999087"], ["created_at", "2019-06-06 19:54:12.999134"], ["updated_at", "2019-06-06 19:54:12.999134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:54:13.002419', locked_by = 'host:Sophia-Russell pid:93876' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:54:13.001718' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:54:13.001727') OR locked_by = 'host:Sophia-Russell pid:93876') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:54:13.006187', locked_by = 'host:Sophia-Russell pid:93876' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:54:13.005970' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:54:13.005979') OR locked_by = 'host:Sophia-Russell pid:93876') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:54:13.008Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:54:13.029213"], ["created_at", "2019-06-06 19:54:13.029246"], ["updated_at", "2019-06-06 19:54:13.029246"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:54:13.032216', locked_by = 'host:Sophia-Russell pid:93876' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:54:13.031776' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:54:13.031784') OR locked_by = 'host:Sophia-Russell pid:93876') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:54:13.035353', locked_by = 'host:Sophia-Russell pid:93876' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:54:13.035118' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:54:13.035127') OR locked_by = 'host:Sophia-Russell pid:93876') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:54:13.038Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:54:13.040336"], ["created_at", "2019-06-06 19:54:13.040363"], ["updated_at", "2019-06-06 19:54:13.040363"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:54:13.042413', locked_by = 'host:Sophia-Russell pid:93876' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:54:13.042228' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:54:13.042234') OR locked_by = 'host:Sophia-Russell pid:93876') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:54:13.044743', locked_by = 'host:Sophia-Russell pid:93876' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:54:13.044519' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:54:13.044528') OR locked_by = 'host:Sophia-Russell pid:93876') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:54:13.049031', locked_by = 'host:Sophia-Russell pid:93876' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:54:13.048796' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:54:13.048804') OR locked_by = 'host:Sophia-Russell pid:93876') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:54:13.052806', locked_by = 'host:Sophia-Russell pid:93876' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:54:13.052586' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:54:13.052595') OR locked_by = 'host:Sophia-Russell pid:93876') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.4ms) BEGIN  (0.5ms) COMMIT  (0.3ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:55:59.592720', locked_by = 'host:Sophia-Russell pid:94036' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:55:59.592331' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:55:59.592340') OR locked_by = 'host:Sophia-Russell pid:94036') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.7ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:55:59.603Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:55:59.626914"], ["created_at", "2019-06-06 19:55:59.626955"], ["updated_at", "2019-06-06 19:55:59.626955"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:55:59.630902', locked_by = 'host:Sophia-Russell pid:94036' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:55:59.630669' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:55:59.630678') OR locked_by = 'host:Sophia-Russell pid:94036') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:55:59.642968', locked_by = 'host:Sophia-Russell pid:94036' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:55:59.642757' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:55:59.642766') OR locked_by = 'host:Sophia-Russell pid:94036') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:55:59.645Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:55:59.647319"], ["created_at", "2019-06-06 19:55:59.647342"], ["updated_at", "2019-06-06 19:55:59.647342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:55:59.649754', locked_by = 'host:Sophia-Russell pid:94036' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:55:59.649514' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:55:59.649524') OR locked_by = 'host:Sophia-Russell pid:94036') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:55:59.652125', locked_by = 'host:Sophia-Russell pid:94036' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:55:59.651913' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:55:59.651922') OR locked_by = 'host:Sophia-Russell pid:94036') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:55:59.655Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:55:59.657054"], ["created_at", "2019-06-06 19:55:59.657078"], ["updated_at", "2019-06-06 19:55:59.657078"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:55:59.658995', locked_by = 'host:Sophia-Russell pid:94036' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:55:59.658790' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:55:59.658797') OR locked_by = 'host:Sophia-Russell pid:94036') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:55:59.661359', locked_by = 'host:Sophia-Russell pid:94036' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:55:59.661149' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:55:59.661157') OR locked_by = 'host:Sophia-Russell pid:94036') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:55:59.668115', locked_by = 'host:Sophia-Russell pid:94036' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:55:59.667871' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:55:59.667883') OR locked_by = 'host:Sophia-Russell pid:94036') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.6ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.4ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:55:59.960505"], ["created_at", "2019-06-06 19:55:59.960551"], ["updated_at", "2019-06-06 19:55:59.960551"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"02f9afe6-874c-4845-a1d3-af4d67652c7d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:55:59.963Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:55:59.966919"], ["created_at", "2019-06-06 19:55:59.966954"], ["updated_at", "2019-06-06 19:55:59.966954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:55:59.980859"], ["created_at", "2019-06-06 19:55:59.980899"], ["updated_at", "2019-06-06 19:55:59.980899"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"e2658e83-8589-483a-b359-081d87f71578\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:55:59.983Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:55:59.985386"], ["created_at", "2019-06-06 19:55:59.985417"], ["updated_at", "2019-06-06 19:55:59.985417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 6]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:00.004846"], ["created_at", "2019-06-06 19:56:00.004882"], ["updated_at", "2019-06-06 19:56:00.004882"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"8fd21a23-f479-47a5-b857-fd589f047327\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:56:00.007Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:56:00.008542"], ["created_at", "2019-06-06 19:56:00.008565"], ["updated_at", "2019-06-06 19:56:00.008565"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:00.024332"], ["created_at", "2019-06-06 19:56:00.024365"], ["updated_at", "2019-06-06 19:56:00.024365"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"b45e8ea2-1b42-42c3-8054-1fa4032f8852\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:56:00.026Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:56:00.027705"], ["created_at", "2019-06-06 19:56:00.027727"], ["updated_at", "2019-06-06 19:56:00.027727"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 10]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:00.043749"], ["created_at", "2019-06-06 19:56:00.043788"], ["updated_at", "2019-06-06 19:56:00.043788"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:00.059190"], ["created_at", "2019-06-06 19:56:00.059225"], ["updated_at", "2019-06-06 19:56:00.059225"]] Delayed::Backend::ActiveRecord::Job Create (0.7ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"8e4ab622-3e9f-4e6a-a7bb-79774daf3b8a\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:56:00.061Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:56:00.062939"], ["created_at", "2019-06-06 19:56:00.062969"], ["updated_at", "2019-06-06 19:56:00.062969"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:56:25.144041', locked_by = 'host:Sophia-Russell pid:94066' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:56:25.143570' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:56:25.143579') OR locked_by = 'host:Sophia-Russell pid:94066') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:56:25.149Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:56:25.162424"], ["created_at", "2019-06-06 19:56:25.162477"], ["updated_at", "2019-06-06 19:56:25.162477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:56:25.165067', locked_by = 'host:Sophia-Russell pid:94066' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:56:25.164836' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:56:25.164844') OR locked_by = 'host:Sophia-Russell pid:94066') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:56:25.169577', locked_by = 'host:Sophia-Russell pid:94066' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:56:25.169188' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:56:25.169198') OR locked_by = 'host:Sophia-Russell pid:94066') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:56:25.172Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:56:25.174954"], ["created_at", "2019-06-06 19:56:25.174979"], ["updated_at", "2019-06-06 19:56:25.174979"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:56:25.176498', locked_by = 'host:Sophia-Russell pid:94066' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:56:25.176255' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:56:25.176261') OR locked_by = 'host:Sophia-Russell pid:94066') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:56:25.179108', locked_by = 'host:Sophia-Russell pid:94066' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:56:25.178884' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:56:25.178893') OR locked_by = 'host:Sophia-Russell pid:94066') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-06T19:56:25.182Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-06 19:56:25.183955"], ["created_at", "2019-06-06 19:56:25.183979"], ["updated_at", "2019-06-06 19:56:25.183979"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:56:25.187406', locked_by = 'host:Sophia-Russell pid:94066' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:56:25.187138' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:56:25.187147') OR locked_by = 'host:Sophia-Russell pid:94066') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:56:25.190788', locked_by = 'host:Sophia-Russell pid:94066' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:56:25.190517' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:56:25.190527') OR locked_by = 'host:Sophia-Russell pid:94066') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-06 19:56:25.194881', locked_by = 'host:Sophia-Russell pid:94066' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-06 19:56:25.194610' AND (locked_at IS NULL OR locked_at < '2019-06-06 15:56:25.194620') OR locked_by = 'host:Sophia-Russell pid:94066') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:25.216025"], ["created_at", "2019-06-06 19:56:25.216065"], ["updated_at", "2019-06-06 19:56:25.216065"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"d98744e6-9be7-421a-9534-5dff7202879d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:56:25.272Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:56:25.275098"], ["created_at", "2019-06-06 19:56:25.275133"], ["updated_at", "2019-06-06 19:56:25.275133"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:25.290839"], ["created_at", "2019-06-06 19:56:25.290872"], ["updated_at", "2019-06-06 19:56:25.290872"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"5ba6dd6a-af89-410a-af96-a7ed26da6ff1\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:56:25.292Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:56:25.294320"], ["created_at", "2019-06-06 19:56:25.294344"], ["updated_at", "2019-06-06 19:56:25.294344"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 6]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:25.309640"], ["created_at", "2019-06-06 19:56:25.309672"], ["updated_at", "2019-06-06 19:56:25.309672"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"c0b0c665-4f36-4037-90dc-1171e7bdebbd\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:56:25.311Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:56:25.313196"], ["created_at", "2019-06-06 19:56:25.313223"], ["updated_at", "2019-06-06 19:56:25.313223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 8]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:25.345477"], ["created_at", "2019-06-06 19:56:25.345512"], ["updated_at", "2019-06-06 19:56:25.345512"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"b470853c-cd26-4e0d-b4ba-4bed97f0e875\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:56:25.348Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:56:25.349671"], ["created_at", "2019-06-06 19:56:25.349832"], ["updated_at", "2019-06-06 19:56:25.349832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 10]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:25.374101"], ["created_at", "2019-06-06 19:56:25.374137"], ["updated_at", "2019-06-06 19:56:25.374137"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"dc95b22c-fb52-465a-8e3d-cb806b0d41e5\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-06T19:56:25.376Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"12\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-06 19:56:25.377805"], ["created_at", "2019-06-06 19:56:25.377828"], ["updated_at", "2019-06-06 19:56:25.377828"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-06 19:56:25.391916"], ["created_at", "2019-06-06 19:56:25.391949"], ["updated_at", "2019-06-06 19:56:25.391949"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.2ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (1.0ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.9ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (1.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.9ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.4ms) BEGIN  (0.2ms) COMMIT  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (3.7ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (1.3ms) ROLLBACK  (0.5ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (2.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (1.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.6ms) BEGIN  (0.5ms) COMMIT  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (2.2ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (2.2ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.5ms) BEGIN  (0.2ms) COMMIT  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.7ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (6.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (9.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (6.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (4.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.7ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (9.8ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (1.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (37.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (21.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (2.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.7ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (3.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.7ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.6ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.5ms) BEGIN  (0.4ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (4.0ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.8ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.6ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (12.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (2.4ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (9.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (2.7ms) BEGIN  (0.7ms) COMMIT  (0.2ms) BEGIN  (1.0ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (1.1ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (4.9ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.4ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (6.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (6.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.5ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN Kinesis Error - Server Error occurred - Aws::Kinesis::Errors::ServiceUnavailable  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (1.5ms) ROLLBACK  (0.6ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (2.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.7ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (1.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.6ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.9ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.9ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.8ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (1.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (1.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (6.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (2.2ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.6ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.7ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.6ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (2.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.9ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (1.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.7ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.6ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.8ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (4.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.7ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (1.0ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (15.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.6ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (2.1ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (9.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (3.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.6ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.6ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (1.0ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.8ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (4.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:08:19.467304', locked_by = 'host:Sophia-Russell pid:40497' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:08:19.466666' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:08:19.466678') OR locked_by = 'host:Sophia-Russell pid:40497') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (1.9ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T16:08:19.474Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 16:08:19.490743"], ["created_at", "2019-06-07 16:08:19.490792"], ["updated_at", "2019-06-07 16:08:19.490792"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:08:19.494524', locked_by = 'host:Sophia-Russell pid:40497' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:08:19.494228' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:08:19.494238') OR locked_by = 'host:Sophia-Russell pid:40497') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.6ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Profile sophia-nonsensitive-sre-admin has a role_arn, but no source_profile.\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/shared_config.rb:249:in `assume_role_from_profile'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/shared_config.rb:119:in `assume_role_credentials_from_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:110:in `assume_role_with_profile'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:93:in `assume_role_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-07 16:08:25.529624"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-07 16:08:19.530427"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:08:19.533794', locked_by = 'host:Sophia-Russell pid:40497' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:08:19.533549' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:08:19.533555') OR locked_by = 'host:Sophia-Russell pid:40497') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T16:08:19.540Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 16:08:19.542730"], ["created_at", "2019-06-07 16:08:19.542768"], ["updated_at", "2019-06-07 16:08:19.542768"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:08:19.547208', locked_by = 'host:Sophia-Russell pid:40497' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:08:19.546821' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:08:19.546834') OR locked_by = 'host:Sophia-Russell pid:40497') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (0.5ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Profile sophia-nonsensitive-sre-admin has a role_arn, but no source_profile.\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/shared_config.rb:249:in `assume_role_from_profile'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/shared_config.rb:119:in `assume_role_credentials_from_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:110:in `assume_role_with_profile'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:93:in `assume_role_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-07 16:08:25.568392"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-07 16:08:19.568994"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:08:19.570854', locked_by = 'host:Sophia-Russell pid:40497' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:08:19.570607' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:08:19.570612') OR locked_by = 'host:Sophia-Russell pid:40497') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T16:08:19.574Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 16:08:19.576168"], ["created_at", "2019-06-07 16:08:19.576209"], ["updated_at", "2019-06-07 16:08:19.576209"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:08:19.578694', locked_by = 'host:Sophia-Russell pid:40497' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:08:19.578447' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:08:19.578455') OR locked_by = 'host:Sophia-Russell pid:40497') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.5ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Update (1.0ms) UPDATE "delayed_jobs" SET "last_error" = $1, "attempts" = $2, "run_at" = $3, "locked_at" = $4, "locked_by" = $5, "updated_at" = $6 WHERE "delayed_jobs"."id" = $7 [["last_error", "Profile sophia-nonsensitive-sre-admin has a role_arn, but no source_profile.\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/shared_config.rb:249:in `assume_role_from_profile'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/shared_config.rb:119:in `assume_role_credentials_from_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:110:in `assume_role_with_profile'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:93:in `assume_role_credentials'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:12:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/credential_provider_chain.rb:11:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:53:in `block in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:70:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:213:in `block in resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:57:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:212:in `resolve_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:205:in `value_at'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `block in resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each_key'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/set.rb:338:in `each'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:189:in `resolve'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:177:in `apply_defaults'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/configuration.rb:150:in `build!'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:62:in `build_config'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:19:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-kinesis-1.16.0/lib/aws-sdk-kinesis/client.rb:269:in `initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/aws-sdk-core-3.54.2/lib/seahorse/client/base.rb:99:in `new'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:48:in `kinesis_client'\n/Users/sophiarussell/src/journaled/app/models/journaled/delivery.rb:11:in `perform'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in `block in invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in `invoke_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block (2 levels) in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/timeout.rb:103:in `timeout'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `block in reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in `block in initialize'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in `execute'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in `run_callbacks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in `reserve_and_run_one_job'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in `block in work_off'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `times'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in `work_off'\n/Users/sophiarussell/src/journaled/spec/support/delayed_job_spec_helper.rb:9:in `with_jobs_delayed'\n/Users/sophiarussell/src/journaled/spec/models/journaled/writer_spec.rb:80:in `block (3 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:447:in `instance_exec'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:373:in `execute_with'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:342:in `call'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb:464:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb:251:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:629:in `block in run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:625:in `run_examples'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:591:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `block in run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:592:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `map'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb:1989:in `with_suite_hooks'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:111:in `block in run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb:74:in `report'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:110:in `run_specs'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:87:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'\n/Users/sophiarussell/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.0/exe/rspec:4:in `
'"], ["attempts", 1], ["run_at", "2019-06-07 16:08:25.582198"], ["locked_at", nil], ["locked_by", nil], ["updated_at", "2019-06-07 16:08:19.583614"], ["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:08:19.587344', locked_by = 'host:Sophia-Russell pid:40497' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:08:19.587051' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:08:19.587059') OR locked_by = 'host:Sophia-Russell pid:40497') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:08:19.592595', locked_by = 'host:Sophia-Russell pid:40497' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:08:19.592335' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:08:19.592346') OR locked_by = 'host:Sophia-Russell pid:40497') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:08:19.636953"], ["created_at", "2019-06-07 16:08:19.637033"], ["updated_at", "2019-06-07 16:08:19.637033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 4]]  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:08:19.658956"], ["created_at", "2019-06-07 16:08:19.658995"], ["updated_at", "2019-06-07 16:08:19.658995"]] Delayed::Backend::ActiveRecord::Job Create (1.0ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"6a6cfbe5-2b7d-4588-842c-478dce116494\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:08:19.661Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"5\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:08:19.666470"], ["created_at", "2019-06-07 16:08:19.666533"], ["updated_at", "2019-06-07 16:08:19.666533"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 5]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:08:19.685322"], ["created_at", "2019-06-07 16:08:19.685422"], ["updated_at", "2019-06-07 16:08:19.685422"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"bd13b65f-5a33-41c8-b3ec-a8d36561c52d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:08:19.689Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"7\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:08:19.690356"], ["created_at", "2019-06-07 16:08:19.690377"], ["updated_at", "2019-06-07 16:08:19.690377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:08:19.706647"], ["created_at", "2019-06-07 16:08:19.706681"], ["updated_at", "2019-06-07 16:08:19.706681"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"43540f58-b41b-4394-8483-b656da1be4d2\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:08:19.708Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"9\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:08:19.710257"], ["created_at", "2019-06-07 16:08:19.710279"], ["updated_at", "2019-06-07 16:08:19.710279"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 9]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:08:19.725565"], ["created_at", "2019-06-07 16:08:19.725596"], ["updated_at", "2019-06-07 16:08:19.725596"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"23e9ae15-d9d5-431a-8a33-054fa36d868b\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:08:19.728Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:08:19.730412"], ["created_at", "2019-06-07 16:08:19.730444"], ["updated_at", "2019-06-07 16:08:19.730444"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:08:19.748887"], ["created_at", "2019-06-07 16:08:19.748951"], ["updated_at", "2019-06-07 16:08:19.748951"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"cab44469-696d-4919-86c1-6809a3c8e5f9\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:08:19.753Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:08:19.754990"], ["created_at", "2019-06-07 16:08:19.755041"], ["updated_at", "2019-06-07 16:08:19.755041"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 13]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.2ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.7ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.0ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (4.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (2.5ms) ROLLBACK  (0.2ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.3ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:11:07.717177', locked_by = 'host:Sophia-Russell pid:40593' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:11:07.716663' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:11:07.716679') OR locked_by = 'host:Sophia-Russell pid:40593') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:11:07.742534', locked_by = 'host:Sophia-Russell pid:40593' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:11:07.742304' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:11:07.742313') OR locked_by = 'host:Sophia-Russell pid:40593') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T16:11:07.745Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 16:11:07.761088"], ["created_at", "2019-06-07 16:11:07.761160"], ["updated_at", "2019-06-07 16:11:07.761160"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:11:07.763303', locked_by = 'host:Sophia-Russell pid:40593' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:11:07.763073' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:11:07.763079') OR locked_by = 'host:Sophia-Russell pid:40593') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:11:07.766455', locked_by = 'host:Sophia-Russell pid:40593' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:11:07.766267' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:11:07.766275') OR locked_by = 'host:Sophia-Russell pid:40593') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T16:11:07.772Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 16:11:07.774605"], ["created_at", "2019-06-07 16:11:07.774631"], ["updated_at", "2019-06-07 16:11:07.774631"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:11:07.777157', locked_by = 'host:Sophia-Russell pid:40593' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:11:07.776806' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:11:07.776818') OR locked_by = 'host:Sophia-Russell pid:40593') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:11:07.779706', locked_by = 'host:Sophia-Russell pid:40593' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:11:07.779488' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:11:07.779497') OR locked_by = 'host:Sophia-Russell pid:40593') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T16:11:07.783Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 16:11:07.785091"], ["created_at", "2019-06-07 16:11:07.785118"], ["updated_at", "2019-06-07 16:11:07.785118"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:11:07.790257', locked_by = 'host:Sophia-Russell pid:40593' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:11:07.789229' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:11:07.789314') OR locked_by = 'host:Sophia-Russell pid:40593') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 16:11:07.794021', locked_by = 'host:Sophia-Russell pid:40593' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 16:11:07.793818' AND (locked_at IS NULL OR locked_at < '2019-06-07 12:11:07.793827') OR locked_by = 'host:Sophia-Russell pid:40593') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.6ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (1.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN # Update All (0.5ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (3.2ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:11:08.079294"], ["created_at", "2019-06-07 16:11:08.079331"], ["updated_at", "2019-06-07 16:11:08.079331"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"993dca33-e3b2-429a-b2cd-e279318df30a\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:11:08.081Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:11:08.083756"], ["created_at", "2019-06-07 16:11:08.083781"], ["updated_at", "2019-06-07 16:11:08.083781"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 4]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:11:08.101825"], ["created_at", "2019-06-07 16:11:08.101862"], ["updated_at", "2019-06-07 16:11:08.101862"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"57307ace-670e-423f-b5da-09259729d625\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:11:08.104Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:11:08.107355"], ["created_at", "2019-06-07 16:11:08.107427"], ["updated_at", "2019-06-07 16:11:08.107427"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:11:08.125511"], ["created_at", "2019-06-07 16:11:08.125547"], ["updated_at", "2019-06-07 16:11:08.125547"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"80757e6b-bc26-4ee7-a4b2-0e7b1d044d21\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:11:08.128Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:11:08.129538"], ["created_at", "2019-06-07 16:11:08.129562"], ["updated_at", "2019-06-07 16:11:08.129562"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 8]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:11:08.152552"], ["created_at", "2019-06-07 16:11:08.152590"], ["updated_at", "2019-06-07 16:11:08.152590"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 10]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:11:08.192062"], ["created_at", "2019-06-07 16:11:08.192096"], ["updated_at", "2019-06-07 16:11:08.192096"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"c248de1b-bd05-4e95-8b09-1cd68c3bd2c8\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:11:08.194Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:11:08.195681"], ["created_at", "2019-06-07 16:11:08.195703"], ["updated_at", "2019-06-07 16:11:08.195703"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 11]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 16:11:08.209174"], ["created_at", "2019-06-07 16:11:08.209207"], ["updated_at", "2019-06-07 16:11:08.209207"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"7be58654-38b5-4a73-b5ac-ca1ddbc5b163\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T16:11:08.211Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 16:11:08.212548"], ["created_at", "2019-06-07 16:11:08.212571"], ["updated_at", "2019-06-07 16:11:08.212571"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (11.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.7ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.6ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.8ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.7ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.5ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.8ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (13.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (12.6ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.4ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (1.5ms) ROLLBACK  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.5ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.7ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.1ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.6ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.5ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (1.9ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (3.9ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (12.8ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.2ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.8ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.4ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.5ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.0ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.5ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (1.0ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.8ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:46:29.377185"], ["created_at", "2019-06-07 17:46:29.377234"], ["updated_at", "2019-06-07 17:46:29.377234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:46:29.393472"], ["created_at", "2019-06-07 17:46:29.393504"], ["updated_at", "2019-06-07 17:46:29.393504"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"a2be1cba-6502-4d72-a260-d425d773ce08\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:46:29.456Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"2\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:46:29.460938"], ["created_at", "2019-06-07 17:46:29.460968"], ["updated_at", "2019-06-07 17:46:29.460968"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:46:29.476516"], ["created_at", "2019-06-07 17:46:29.476551"], ["updated_at", "2019-06-07 17:46:29.476551"]] Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"200c47e2-a3ff-4740-9718-d1e105aa722e\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:46:29.479Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:46:29.481653"], ["created_at", "2019-06-07 17:46:29.481727"], ["updated_at", "2019-06-07 17:46:29.481727"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:46:29.495520"], ["created_at", "2019-06-07 17:46:29.495556"], ["updated_at", "2019-06-07 17:46:29.495556"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"21f7e24f-baf0-4af3-8e8c-658dcf99160f\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:46:29.498Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:46:29.500686"], ["created_at", "2019-06-07 17:46:29.500714"], ["updated_at", "2019-06-07 17:46:29.500714"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:46:29.514288"], ["created_at", "2019-06-07 17:46:29.514323"], ["updated_at", "2019-06-07 17:46:29.514323"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"159c6c44-aa24-47ff-a0bd-2f45e9fc06d6\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:46:29.518Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:46:29.519586"], ["created_at", "2019-06-07 17:46:29.519617"], ["updated_at", "2019-06-07 17:46:29.519617"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 8]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.5ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:46:29.536465"], ["created_at", "2019-06-07 17:46:29.536498"], ["updated_at", "2019-06-07 17:46:29.536498"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"a77fe221-ac8f-452f-b34a-31d338106887\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:46:29.538Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:46:29.540057"], ["created_at", "2019-06-07 17:46:29.540079"], ["updated_at", "2019-06-07 17:46:29.540079"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 10]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:46:29.591830', locked_by = 'host:Sophia-Russell pid:45007' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:46:29.591447' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:46:29.591456') OR locked_by = 'host:Sophia-Russell pid:45007') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T17:46:29.598Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 17:46:29.601817"], ["created_at", "2019-06-07 17:46:29.601845"], ["updated_at", "2019-06-07 17:46:29.601845"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:46:29.604238', locked_by = 'host:Sophia-Russell pid:45007' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:46:29.603983' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:46:29.603990') OR locked_by = 'host:Sophia-Russell pid:45007') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:46:29.607197', locked_by = 'host:Sophia-Russell pid:45007' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:46:29.606991' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:46:29.606998') OR locked_by = 'host:Sophia-Russell pid:45007') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T17:46:29.609Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 17:46:29.611810"], ["created_at", "2019-06-07 17:46:29.611836"], ["updated_at", "2019-06-07 17:46:29.611836"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:46:29.613595', locked_by = 'host:Sophia-Russell pid:45007' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:46:29.613344' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:46:29.613352') OR locked_by = 'host:Sophia-Russell pid:45007') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:46:29.617055', locked_by = 'host:Sophia-Russell pid:45007' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:46:29.616585' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:46:29.616612') OR locked_by = 'host:Sophia-Russell pid:45007') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T17:46:29.620Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 17:46:29.622116"], ["created_at", "2019-06-07 17:46:29.622152"], ["updated_at", "2019-06-07 17:46:29.622152"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:46:29.624255', locked_by = 'host:Sophia-Russell pid:45007' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:46:29.624056' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:46:29.624062') OR locked_by = 'host:Sophia-Russell pid:45007') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:46:29.626789', locked_by = 'host:Sophia-Russell pid:45007' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:46:29.626551' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:46:29.626559') OR locked_by = 'host:Sophia-Russell pid:45007') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:46:29.631672', locked_by = 'host:Sophia-Russell pid:45007' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:46:29.631310' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:46:29.631320') OR locked_by = 'host:Sophia-Russell pid:45007') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.9ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.4ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.3ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.8ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:48:12.860159"], ["created_at", "2019-06-07 17:48:12.860214"], ["updated_at", "2019-06-07 17:48:12.860214"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"54ed6609-2f27-4101-9376-c74c1b160079\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:48:12.961Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:48:12.969655"], ["created_at", "2019-06-07 17:48:12.969685"], ["updated_at", "2019-06-07 17:48:12.969685"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:48:13.002086"], ["created_at", "2019-06-07 17:48:13.002124"], ["updated_at", "2019-06-07 17:48:13.002124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:48:13.018625"], ["created_at", "2019-06-07 17:48:13.018662"], ["updated_at", "2019-06-07 17:48:13.018662"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"887f80ff-ed46-4f79-aa58-a333e25bc6bc\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:48:13.022Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:48:13.025307"], ["created_at", "2019-06-07 17:48:13.025340"], ["updated_at", "2019-06-07 17:48:13.025340"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:48:13.041231"], ["created_at", "2019-06-07 17:48:13.041268"], ["updated_at", "2019-06-07 17:48:13.041268"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"491a02d2-2274-47f4-8a7f-53c732dc7304\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:48:13.044Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:48:13.045766"], ["created_at", "2019-06-07 17:48:13.045792"], ["updated_at", "2019-06-07 17:48:13.045792"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:48:13.086078"], ["created_at", "2019-06-07 17:48:13.086157"], ["updated_at", "2019-06-07 17:48:13.086157"]] Delayed::Backend::ActiveRecord::Job Create (4.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"245bd3cb-e717-4437-af15-0a53a5620396\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:48:13.090Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:48:13.094566"], ["created_at", "2019-06-07 17:48:13.094641"], ["updated_at", "2019-06-07 17:48:13.094641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.6ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 8]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 17:48:13.141871"], ["created_at", "2019-06-07 17:48:13.141911"], ["updated_at", "2019-06-07 17:48:13.141911"]] Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"83e782a5-e0fd-4fe2-828a-bcfd57c7ddcc\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T17:48:13.145Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 17:48:13.147098"], ["created_at", "2019-06-07 17:48:13.147128"], ["updated_at", "2019-06-07 17:48:13.147128"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 10]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:48:13.362768', locked_by = 'host:Sophia-Russell pid:45132' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:48:13.362262' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:48:13.362278') OR locked_by = 'host:Sophia-Russell pid:45132') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T17:48:13.368Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 17:48:13.370958"], ["created_at", "2019-06-07 17:48:13.370990"], ["updated_at", "2019-06-07 17:48:13.370990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:48:13.373190', locked_by = 'host:Sophia-Russell pid:45132' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:48:13.372951' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:48:13.372958') OR locked_by = 'host:Sophia-Russell pid:45132') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:48:13.376452', locked_by = 'host:Sophia-Russell pid:45132' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:48:13.375917' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:48:13.375929') OR locked_by = 'host:Sophia-Russell pid:45132') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (1.0ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T17:48:13.379Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 17:48:13.381737"], ["created_at", "2019-06-07 17:48:13.381776"], ["updated_at", "2019-06-07 17:48:13.381776"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:48:13.385046', locked_by = 'host:Sophia-Russell pid:45132' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:48:13.384783' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:48:13.384791') OR locked_by = 'host:Sophia-Russell pid:45132') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:48:13.388854', locked_by = 'host:Sophia-Russell pid:45132' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:48:13.388509' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:48:13.388522') OR locked_by = 'host:Sophia-Russell pid:45132') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T17:48:13.394Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 17:48:13.405626"], ["created_at", "2019-06-07 17:48:13.405658"], ["updated_at", "2019-06-07 17:48:13.405658"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:48:13.408430', locked_by = 'host:Sophia-Russell pid:45132' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:48:13.407952' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:48:13.407964') OR locked_by = 'host:Sophia-Russell pid:45132') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.3ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:48:13.412335', locked_by = 'host:Sophia-Russell pid:45132' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:48:13.411985' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:48:13.411997') OR locked_by = 'host:Sophia-Russell pid:45132') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (1.8ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 17:48:13.420807', locked_by = 'host:Sophia-Russell pid:45132' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 17:48:13.420465' AND (locked_at IS NULL OR locked_at < '2019-06-07 13:48:13.420495') OR locked_by = 'host:Sophia-Russell pid:45132') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (1.6ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.6ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.7ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (7.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (1.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (1.0ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:45:14.239361"], ["created_at", "2019-06-07 18:45:14.239414"], ["updated_at", "2019-06-07 18:45:14.239414"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"4f4d5567-2f54-43b2-9ae4-9989cc1466db\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:45:14.242Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"1\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:45:14.248047"], ["created_at", "2019-06-07 18:45:14.248080"], ["updated_at", "2019-06-07 18:45:14.248080"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.8ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:45:14.264646"], ["created_at", "2019-06-07 18:45:14.264685"], ["updated_at", "2019-06-07 18:45:14.264685"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"eb23927a-5650-400d-8b1e-ca3cb681bfc8\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:45:14.268Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"3\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:45:14.270149"], ["created_at", "2019-06-07 18:45:14.270178"], ["updated_at", "2019-06-07 18:45:14.270178"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:45:14.291215"], ["created_at", "2019-06-07 18:45:14.291255"], ["updated_at", "2019-06-07 18:45:14.291255"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 5]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.8ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:45:14.313543"], ["created_at", "2019-06-07 18:45:14.313596"], ["updated_at", "2019-06-07 18:45:14.313596"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"c14a2908-f7f2-412c-92b9-7189f6c8a7c2\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:45:14.317Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:45:14.319940"], ["created_at", "2019-06-07 18:45:14.319970"], ["updated_at", "2019-06-07 18:45:14.319970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:45:14.340478"], ["created_at", "2019-06-07 18:45:14.340538"], ["updated_at", "2019-06-07 18:45:14.340538"]] Delayed::Backend::ActiveRecord::Job Create (1.0ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"33f85440-30bc-4f5a-a204-fb490b404f5f\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:45:14.344Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:45:14.346442"], ["created_at", "2019-06-07 18:45:14.346482"], ["updated_at", "2019-06-07 18:45:14.346482"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 8]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:45:14.382728"], ["created_at", "2019-06-07 18:45:14.382784"], ["updated_at", "2019-06-07 18:45:14.382784"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"540198ee-3681-4036-afdf-9d90b8ee9b40\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:45:14.385Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:45:14.387027"], ["created_at", "2019-06-07 18:45:14.387054"], ["updated_at", "2019-06-07 18:45:14.387054"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (1.3ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 10]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (2.0ms) BEGIN  (1.0ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:45:14.418977', locked_by = 'host:Sophia-Russell pid:47400' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:45:14.418523' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:45:14.418536') OR locked_by = 'host:Sophia-Russell pid:47400') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:45:14.424975', locked_by = 'host:Sophia-Russell pid:47400' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:45:14.424745' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:45:14.424753') OR locked_by = 'host:Sophia-Russell pid:47400') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T18:45:14.427Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 18:45:14.429733"], ["created_at", "2019-06-07 18:45:14.429765"], ["updated_at", "2019-06-07 18:45:14.429765"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:45:14.431705', locked_by = 'host:Sophia-Russell pid:47400' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:45:14.431454' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:45:14.431463') OR locked_by = 'host:Sophia-Russell pid:47400') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.8ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:45:14.438481', locked_by = 'host:Sophia-Russell pid:47400' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:45:14.437528' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:45:14.437542') OR locked_by = 'host:Sophia-Russell pid:47400') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (2.9ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T18:45:14.446Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 18:45:14.448884"], ["created_at", "2019-06-07 18:45:14.448963"], ["updated_at", "2019-06-07 18:45:14.448963"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:45:14.455032', locked_by = 'host:Sophia-Russell pid:47400' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:45:14.454671' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:45:14.454683') OR locked_by = 'host:Sophia-Russell pid:47400') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (1.1ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:45:14.459632', locked_by = 'host:Sophia-Russell pid:47400' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:45:14.459344' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:45:14.459355') OR locked_by = 'host:Sophia-Russell pid:47400') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (43.7ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T18:45:14.515Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 18:45:14.520338"], ["created_at", "2019-06-07 18:45:14.520527"], ["updated_at", "2019-06-07 18:45:14.520527"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (1.1ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:45:14.524780', locked_by = 'host:Sophia-Russell pid:47400' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:45:14.524066' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:45:14.524077') OR locked_by = 'host:Sophia-Russell pid:47400') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (2.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:45:14.532431', locked_by = 'host:Sophia-Russell pid:47400' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:45:14.532103' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:45:14.532114') OR locked_by = 'host:Sophia-Russell pid:47400') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) BEGIN  (0.3ms) ROLLBACK  (0.6ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (5.2ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.1ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:49:28.901283', locked_by = 'host:Sophia-Russell pid:47651' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:49:28.900702' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:49:28.900719') OR locked_by = 'host:Sophia-Russell pid:47651') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T18:49:28.908Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 18:49:28.921879"], ["created_at", "2019-06-07 18:49:28.921917"], ["updated_at", "2019-06-07 18:49:28.921917"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:49:28.924570', locked_by = 'host:Sophia-Russell pid:47651' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:49:28.924363' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:49:28.924370') OR locked_by = 'host:Sophia-Russell pid:47651') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:49:28.927486', locked_by = 'host:Sophia-Russell pid:47651' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:49:28.927294' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:49:28.927301') OR locked_by = 'host:Sophia-Russell pid:47651') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T18:49:28.929Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 18:49:28.932431"], ["created_at", "2019-06-07 18:49:28.932458"], ["updated_at", "2019-06-07 18:49:28.932458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.9ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:49:28.935103', locked_by = 'host:Sophia-Russell pid:47651' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:49:28.934811' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:49:28.934821') OR locked_by = 'host:Sophia-Russell pid:47651') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.4ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:49:28.938840', locked_by = 'host:Sophia-Russell pid:47651' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:49:28.938626' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:49:28.938634') OR locked_by = 'host:Sophia-Russell pid:47651') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T18:49:28.942Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 18:49:28.943914"], ["created_at", "2019-06-07 18:49:28.943938"], ["updated_at", "2019-06-07 18:49:28.943938"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:49:28.946059', locked_by = 'host:Sophia-Russell pid:47651' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:49:28.945838' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:49:28.945846') OR locked_by = 'host:Sophia-Russell pid:47651') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:49:28.949029', locked_by = 'host:Sophia-Russell pid:47651' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:49:28.948696' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:49:28.948706') OR locked_by = 'host:Sophia-Russell pid:47651') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 18:49:28.953918', locked_by = 'host:Sophia-Russell pid:47651' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 18:49:28.953558' AND (locked_at IS NULL OR locked_at < '2019-06-07 14:49:28.953571') OR locked_by = 'host:Sophia-Russell pid:47651') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:49:28.990163"], ["created_at", "2019-06-07 18:49:28.990198"], ["updated_at", "2019-06-07 18:49:28.990198"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"d4f56743-6076-4719-8490-9cc4f6167618\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:49:29.076Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:49:29.078772"], ["created_at", "2019-06-07 18:49:29.078799"], ["updated_at", "2019-06-07 18:49:29.078799"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:49:29.090782"], ["created_at", "2019-06-07 18:49:29.090812"], ["updated_at", "2019-06-07 18:49:29.090812"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"f4f3c06e-67d6-44ff-aac1-e34beaf0f574\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:49:29.092Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:49:29.093972"], ["created_at", "2019-06-07 18:49:29.093993"], ["updated_at", "2019-06-07 18:49:29.093993"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 6]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:49:29.109712"], ["created_at", "2019-06-07 18:49:29.109810"], ["updated_at", "2019-06-07 18:49:29.109810"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"c33714ee-9ad8-42e2-b3e0-b82be753be5e\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:49:29.112Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:49:29.113741"], ["created_at", "2019-06-07 18:49:29.113772"], ["updated_at", "2019-06-07 18:49:29.113772"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 8]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:49:29.130912"], ["created_at", "2019-06-07 18:49:29.130966"], ["updated_at", "2019-06-07 18:49:29.130966"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.6ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 10]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:49:29.146923"], ["created_at", "2019-06-07 18:49:29.146964"], ["updated_at", "2019-06-07 18:49:29.146964"]] Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"959c3ab4-4ea0-43d3-8606-a93bb51b257d\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:49:29.150Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"11\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:49:29.151849"], ["created_at", "2019-06-07 18:49:29.151913"], ["updated_at", "2019-06-07 18:49:29.151913"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 18:49:29.168498"], ["created_at", "2019-06-07 18:49:29.168538"], ["updated_at", "2019-06-07 18:49:29.168538"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"9413b872-7053-4d59-99be-518b2fa99127\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T18:49:29.172Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 18:49:29.174933"], ["created_at", "2019-06-07 18:49:29.174959"], ["updated_at", "2019-06-07 18:49:29.174959"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.8ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.9ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.3ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (4.3ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (1.6ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (1.2ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 20:01:13.861643', locked_by = 'host:Sophia-Russell pid:51598' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 20:01:13.860124' AND (locked_at IS NULL OR locked_at < '2019-06-07 16:01:13.860136') OR locked_by = 'host:Sophia-Russell pid:51598') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.6ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T20:01:13.883Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 20:01:13.894438"], ["created_at", "2019-06-07 20:01:13.894476"], ["updated_at", "2019-06-07 20:01:13.894476"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 20:01:13.897061', locked_by = 'host:Sophia-Russell pid:51598' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 20:01:13.896847' AND (locked_at IS NULL OR locked_at < '2019-06-07 16:01:13.896853') OR locked_by = 'host:Sophia-Russell pid:51598') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 20:01:13.900035', locked_by = 'host:Sophia-Russell pid:51598' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 20:01:13.899819' AND (locked_at IS NULL OR locked_at < '2019-06-07 16:01:13.899827') OR locked_by = 'host:Sophia-Russell pid:51598') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T20:01:13.902Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 20:01:13.903644"], ["created_at", "2019-06-07 20:01:13.903665"], ["updated_at", "2019-06-07 20:01:13.903665"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 20:01:13.905001', locked_by = 'host:Sophia-Russell pid:51598' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 20:01:13.904790' AND (locked_at IS NULL OR locked_at < '2019-06-07 16:01:13.904796') OR locked_by = 'host:Sophia-Russell pid:51598') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 20:01:13.907699', locked_by = 'host:Sophia-Russell pid:51598' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 20:01:13.907478' AND (locked_at IS NULL OR locked_at < '2019-06-07 16:01:13.907486') OR locked_by = 'host:Sophia-Russell pid:51598') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.2ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-07T20:01:13.910Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-07 20:01:13.912987"], ["created_at", "2019-06-07 20:01:13.913011"], ["updated_at", "2019-06-07 20:01:13.913011"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 20:01:13.915460', locked_by = 'host:Sophia-Russell pid:51598' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 20:01:13.915159' AND (locked_at IS NULL OR locked_at < '2019-06-07 16:01:13.915167') OR locked_by = 'host:Sophia-Russell pid:51598') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 20:01:13.918355', locked_by = 'host:Sophia-Russell pid:51598' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 20:01:13.918153' AND (locked_at IS NULL OR locked_at < '2019-06-07 16:01:13.918161') OR locked_by = 'host:Sophia-Russell pid:51598') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-07 20:01:13.923698', locked_by = 'host:Sophia-Russell pid:51598' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-07 20:01:13.923464' AND (locked_at IS NULL OR locked_at < '2019-06-07 16:01:13.923470') OR locked_by = 'host:Sophia-Russell pid:51598') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 20:01:14.005676"], ["created_at", "2019-06-07 20:01:14.005740"], ["updated_at", "2019-06-07 20:01:14.005740"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"bdaa86e8-afa0-4652-aea0-15f56bdba0e3\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T20:01:14.009Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 20:01:14.013405"], ["created_at", "2019-06-07 20:01:14.013438"], ["updated_at", "2019-06-07 20:01:14.013438"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 4]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 20:01:14.033275"], ["created_at", "2019-06-07 20:01:14.033315"], ["updated_at", "2019-06-07 20:01:14.033315"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"1bc15a95-1c12-4fcd-b7bc-7d17f9da2ee6\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T20:01:14.035Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 20:01:14.037106"], ["created_at", "2019-06-07 20:01:14.037128"], ["updated_at", "2019-06-07 20:01:14.037128"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 6]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 20:01:14.055440"], ["created_at", "2019-06-07 20:01:14.055521"], ["updated_at", "2019-06-07 20:01:14.055521"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"d80076fd-4eea-4d5b-9311-15c2f5310d37\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T20:01:14.058Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 20:01:14.060245"], ["created_at", "2019-06-07 20:01:14.060271"], ["updated_at", "2019-06-07 20:01:14.060271"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 20:01:14.073330"], ["created_at", "2019-06-07 20:01:14.073366"], ["updated_at", "2019-06-07 20:01:14.073366"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"dfe85bd7-31d8-4563-a206-ecbf5fc82a73\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T20:01:14.075Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 20:01:14.076708"], ["created_at", "2019-06-07 20:01:14.076730"], ["updated_at", "2019-06-07 20:01:14.076730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 20:01:14.090143"], ["created_at", "2019-06-07 20:01:14.090178"], ["updated_at", "2019-06-07 20:01:14.090178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-07 20:01:14.108687"], ["created_at", "2019-06-07 20:01:14.108745"], ["updated_at", "2019-06-07 20:01:14.108745"]] Delayed::Backend::ActiveRecord::Job Create (0.7ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"f3667f62-9fb2-46fd-8584-521c7b949400\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-07T20:01:14.112Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-07 20:01:14.114475"], ["created_at", "2019-06-07 20:01:14.114506"], ["updated_at", "2019-06-07 20:01:14.114506"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (2.0ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (2.1ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (33.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (41.0ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (2.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (2.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (1.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (2.3ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:06:07.720035', locked_by = 'host:Sophia-Russell pid:24732' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:06:07.719415' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:06:07.719432') OR locked_by = 'host:Sophia-Russell pid:24732') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (2.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-10T18:06:07.724Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-10 18:06:07.743451"], ["created_at", "2019-06-10 18:06:07.743639"], ["updated_at", "2019-06-10 18:06:07.743639"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:06:07.748420', locked_by = 'host:Sophia-Russell pid:24732' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:06:07.748156' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:06:07.748164') OR locked_by = 'host:Sophia-Russell pid:24732') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.9ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:06:07.755108', locked_by = 'host:Sophia-Russell pid:24732' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:06:07.754684' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:06:07.754694') OR locked_by = 'host:Sophia-Russell pid:24732') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-10T18:06:07.761Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-10 18:06:07.763521"], ["created_at", "2019-06-10 18:06:07.763548"], ["updated_at", "2019-06-10 18:06:07.763548"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:06:07.766291', locked_by = 'host:Sophia-Russell pid:24732' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:06:07.765991' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:06:07.766001') OR locked_by = 'host:Sophia-Russell pid:24732') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:06:07.769014', locked_by = 'host:Sophia-Russell pid:24732' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:06:07.768802' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:06:07.768811') OR locked_by = 'host:Sophia-Russell pid:24732') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.2ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-10T18:06:07.772Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-10 18:06:07.773954"], ["created_at", "2019-06-10 18:06:07.773982"], ["updated_at", "2019-06-10 18:06:07.773982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:06:07.775770', locked_by = 'host:Sophia-Russell pid:24732' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:06:07.775569' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:06:07.775576') OR locked_by = 'host:Sophia-Russell pid:24732') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:06:07.778313', locked_by = 'host:Sophia-Russell pid:24732' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:06:07.778100' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:06:07.778109') OR locked_by = 'host:Sophia-Russell pid:24732') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:06:07.782357', locked_by = 'host:Sophia-Russell pid:24732' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:06:07.782145' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:06:07.782154') OR locked_by = 'host:Sophia-Russell pid:24732') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:06:07.807277"], ["created_at", "2019-06-10 18:06:07.807321"], ["updated_at", "2019-06-10 18:06:07.807321"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"443b2098-378d-47aa-bee7-5e9b6610fb50\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:06:07.810Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:06:07.813389"], ["created_at", "2019-06-10 18:06:07.813418"], ["updated_at", "2019-06-10 18:06:07.813418"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:06:07.828457"], ["created_at", "2019-06-10 18:06:07.828492"], ["updated_at", "2019-06-10 18:06:07.828492"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"64f3fbe6-bda4-4cfe-a80f-efc0e5d87ad2\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:06:07.830Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:06:07.832394"], ["created_at", "2019-06-10 18:06:07.832419"], ["updated_at", "2019-06-10 18:06:07.832419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Update (0.5ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 6]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:06:07.847954"], ["created_at", "2019-06-10 18:06:07.847985"], ["updated_at", "2019-06-10 18:06:07.847985"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"35f9dfee-860b-4fd9-bd0e-c6e8176be182\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:06:07.850Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:06:07.851664"], ["created_at", "2019-06-10 18:06:07.851689"], ["updated_at", "2019-06-10 18:06:07.851689"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 8]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:06:07.866064"], ["created_at", "2019-06-10 18:06:07.866096"], ["updated_at", "2019-06-10 18:06:07.866096"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"f3525338-66f5-4731-8e05-c6ba55551c6e\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:06:07.868Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:06:07.870733"], ["created_at", "2019-06-10 18:06:07.870766"], ["updated_at", "2019-06-10 18:06:07.870766"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.7ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:06:07.883832"], ["created_at", "2019-06-10 18:06:07.883866"], ["updated_at", "2019-06-10 18:06:07.883866"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.6ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:06:07.901392"], ["created_at", "2019-06-10 18:06:07.901437"], ["updated_at", "2019-06-10 18:06:07.901437"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"02a887f3-255e-45de-9ad2-9525e8880f26\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:06:07.905Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"13\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:06:07.906824"], ["created_at", "2019-06-10 18:06:07.906856"], ["updated_at", "2019-06-10 18:06:07.906856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.3ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.5ms) DELETE FROM "delayed_jobs"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) CREATE DATABASE "journaled_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.0ms) DROP TABLE IF EXISTS "delayed_jobs" CASCADE  (6.1ms) CREATE TABLE "delayed_jobs" ("id" bigserial primary key, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" timestamp, "locked_at" timestamp, "failed_at" timestamp, "locked_by" character varying, "queue" character varying, "created_at" timestamp, "updated_at" timestamp)  (3.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.7ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:07:02.815478"], ["created_at", "2019-06-10 18:07:02.815530"], ["updated_at", "2019-06-10 18:07:02.815530"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:07:02.831867"], ["created_at", "2019-06-10 18:07:02.831901"], ["updated_at", "2019-06-10 18:07:02.831901"]] Delayed::Backend::ActiveRecord::Job Create (0.5ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"97acdd8e-7e12-4112-9bd1-415d0866b5f2\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:07:02.886Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"2\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:07:02.889838"], ["created_at", "2019-06-10 18:07:02.889870"], ["updated_at", "2019-06-10 18:07:02.889870"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 2]]  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:07:02.923186"], ["created_at", "2019-06-10 18:07:02.923220"], ["updated_at", "2019-06-10 18:07:02.923220"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"4ea261c4-ce43-49c8-ad56-acc833caccb7\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:07:02.925Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"4\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:07:02.926648"], ["created_at", "2019-06-10 18:07:02.926670"], ["updated_at", "2019-06-10 18:07:02.926670"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 # Create (0.8ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:07:02.939501"], ["created_at", "2019-06-10 18:07:02.939535"], ["updated_at", "2019-06-10 18:07:02.939535"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"1374341c-72e9-4fea-bece-e76925629d52\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:07:02.943Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"6\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:07:02.944838"], ["created_at", "2019-06-10 18:07:02.944863"], ["updated_at", "2019-06-10 18:07:02.944863"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 # Update (0.3ms) UPDATE "delayed_jobs" SET "locked_at" = $1 WHERE "delayed_jobs"."id" = $2 [["locked_at", nil], ["id", 6]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 # Create (0.4ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:07:02.961101"], ["created_at", "2019-06-10 18:07:02.961135"], ["updated_at", "2019-06-10 18:07:02.961135"]] Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"0e86ceae-c1f4-478a-a489-4ce37d3e9af1\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:07:02.963Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"8\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:07:02.964687"], ["created_at", "2019-06-10 18:07:02.964712"], ["updated_at", "2019-06-10 18:07:02.964712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 # Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/module 'TestJob'\n"], ["run_at", "2019-06-10 18:07:02.980676"], ["created_at", "2019-06-10 18:07:02.980711"], ["updated_at", "2019-06-10 18:07:02.980711"]] Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"75062164-15e8-4352-a996-f7b01084f0b6\",\"event_type\":\"journaled_change\",\"created_at\":\"2019-06-10T18:07:02.982Z\",\"table_name\":\"delayed_jobs\",\"record_id\":\"10\",\"database_operation\":\"create\",\"logical_operation\":\"attempt\",\"changes\":\"{\\\"locked_at\\\":null}\",\"actor\":\"gid://dummy\"}'\npartition_key: journaled_change\napp_name: \n"], ["run_at", "2019-06-10 18:07:02.984862"], ["created_at", "2019-06-10 18:07:02.984893"], ["updated_at", "2019-06-10 18:07:02.984893"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 # Update (0.5ms) UPDATE "delayed_jobs" SET "handler" = $1 WHERE "delayed_jobs"."id" = $2 [["handler", ""], ["id", 10]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "handler" = ''  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Update All (0.4ms) UPDATE "delayed_jobs" SET "locked_at" = NULL  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs"  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs"  (0.5ms) ROLLBACK  (0.1ms) BEGIN # Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN # Destroy (0.4ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.6ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.2ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-10T18:07:03.086Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-10 18:07:03.089423"], ["created_at", "2019-06-10 18:07:03.089453"], ["updated_at", "2019-06-10 18:07:03.089453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 20]] Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:07:03.091832', locked_by = 'host:Sophia-Russell pid:24786' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:07:03.091415' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:07:03.091425') OR locked_by = 'host:Sophia-Russell pid:24786') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 12]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:07:03.095028', locked_by = 'host:Sophia-Russell pid:24786' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:07:03.094841' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:07:03.094850') OR locked_by = 'host:Sophia-Russell pid:24786') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.4ms) INSERT INTO "delayed_jobs" ("priority", "handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["priority", 20], ["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-10T18:07:03.097Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-10 18:07:03.098920"], ["created_at", "2019-06-10 18:07:03.098945"], ["updated_at", "2019-06-10 18:07:03.098945"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:07:03.101214', locked_by = 'host:Sophia-Russell pid:24786' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:07:03.100727' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:07:03.100741') OR locked_by = 'host:Sophia-Russell pid:24786') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.2ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 13]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:07:03.103899', locked_by = 'host:Sophia-Russell pid:24786' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:07:03.103682' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:07:03.103691') OR locked_by = 'host:Sophia-Russell pid:24786') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]]  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Create (0.3ms) INSERT INTO "delayed_jobs" ("handler", "run_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["handler", "--- !ruby/object:Journaled::Delivery\nserialized_event: '{\"id\":\"FAKE_UUID\",\"event_type\":\"fake_event\",\"created_at\":\"2019-06-10T18:07:03.107Z\",\"foo\":\"bar\"}'\npartition_key: fake_partition_key\napp_name: my_app\n"], ["run_at", "2019-06-10 18:07:03.108894"], ["created_at", "2019-06-10 18:07:03.108919"], ["updated_at", "2019-06-10 18:07:03.108919"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') AND "delayed_jobs"."priority" = $1 [["priority", 0]] Delayed::Backend::ActiveRecord::Job Load (0.6ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:07:03.110852', locked_by = 'host:Sophia-Russell pid:24786' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:07:03.110664' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:07:03.110670') OR locked_by = 'host:Sophia-Russell pid:24786') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Destroy (0.3ms) DELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = $1 [["id", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:07:03.113449', locked_by = 'host:Sophia-Russell pid:24786' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:07:03.113262' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:07:03.113270') OR locked_by = 'host:Sophia-Russell pid:24786') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:07:03.130002', locked_by = 'host:Sophia-Russell pid:24786' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:07:03.129800' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:07:03.129808') OR locked_by = 'host:Sophia-Russell pid:24786') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "delayed_jobs" WHERE (handler like '%Journaled::Delivery%') Delayed::Backend::ActiveRecord::Job Load (0.5ms) UPDATE "delayed_jobs" SET locked_at = '2019-06-10 18:07:03.135284', locked_by = 'host:Sophia-Russell pid:24786' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2019-06-10 18:07:03.134866' AND (locked_at IS NULL OR locked_at < '2019-06-10 14:07:03.134877') OR locked_by = 'host:Sophia-Russell pid:24786') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK