spec/dummy/log/test.log in asyncapi-server-1.1.3 vs spec/dummy/log/test.log in asyncapi-server-1.2.0

- old
+ new

@@ -1,3825 +1,80 @@  (0.1ms) begin transaction  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction -  (0.4ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.4ms) rollback transaction -  (0.1ms) begin transaction  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction +  (0.3ms) commit transaction +  (0.3ms) begin transaction  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.2ms) commit transaction -  (0.5ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (4.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  -  (0.1ms) select sqlite_version(*) -  (17.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreateAsyncapiServerJobs (20141112034324) -  (0.1ms) begin transaction -  (4.2ms) CREATE TABLE "asyncapi_server_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer, "callback_url" varchar, "class_name" varchar, "params" text) - SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141112034324"]] -  (10.0ms) commit transaction -Migrating to AddSecretToAsyncapiServerJob (20141212064931) -  (0.1ms) begin transaction -  (8.2ms) ALTER TABLE "asyncapi_server_jobs" ADD "secret" varchar - SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141212064931"]] -  (6.9ms) commit transaction -Migrating to AddExpiredAtToAsyncapiServerJob (20150130062520) -  (1.2ms) begin transaction -  (9.9ms) ALTER TABLE "asyncapi_server_jobs" ADD "expired_at" datetime - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "expired_at" = '2016-07-31 00:14:48.100058' WHERE "asyncapi_server_jobs"."expired_at" IS NULL - SQL (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150130062520"]] -  (2.8ms) commit transaction -Migrating to DropExpiredAtFromAsyncapiServerJobs (20150201231018) -  (0.1ms) begin transaction -  (0.6ms) CREATE TEMPORARY TABLE "aasyncapi_server_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer, "callback_url" varchar, "class_name" varchar, "params" text, "secret" varchar, "expired_at" datetime)  -  (0.2ms) SELECT * FROM "asyncapi_server_jobs" -  (8.6ms) DROP TABLE "asyncapi_server_jobs" -  (1.0ms) CREATE TABLE "asyncapi_server_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer, "callback_url" varchar, "class_name" varchar, "params" text, "secret" varchar) -  (0.1ms) SELECT * FROM "aasyncapi_server_jobs" -  (0.8ms) DROP TABLE "aasyncapi_server_jobs" - SQL (2.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150201231018"]] -  (7.1ms) commit transaction - ActiveRecord::SchemaMigration Load (6.9ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (4.9ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.2ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (3.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.8ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" -Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.1ms) -  (2.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 97ms (ActiveRecord: 0.4ms) -  (2.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.8ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 7.3ms | ActiveRecord: 0.1ms) -  (1.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.6ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -[active_model_serializers] Rendered Asyncapi::Server::JobSerializer with ActiveModelSerializers::Adapter::Attributes (6.2ms) -Completed 200 OK in 67ms (Views: 66.1ms | ActiveRecord: 0.1ms) -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.3ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (1.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.6ms) rollback transaction -  (5.1ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.0ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (1.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.2ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.0ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.2ms) RELEASE SAVEPOINT active_record_1 -  (2.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.8ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 48ms (Views: 46.9ms | ActiveRecord: 0.1ms) -  (3.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.6ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 61ms (ActiveRecord: 0.6ms) -  (2.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (5.2ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 6.7ms | ActiveRecord: 0.1ms) -  (1.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.2ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 53ms (Views: 43.9ms | ActiveRecord: 0.2ms) -  (2.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.2ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (4.9ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (5.0ms) DELETE FROM "asyncapi_server_jobs"; -  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:18:43 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -Completed 200 OK in 101ms (Views: 58.0ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (4.8ms) DELETE FROM "asyncapi_server_jobs"; -  (1.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 55ms (Views: 46.4ms | ActiveRecord: 0.2ms) -  (3.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.6ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 101ms (ActiveRecord: 0.4ms) -  (2.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.3ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 10ms (Views: 9.1ms | ActiveRecord: 0.1ms) -  (2.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.8ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 109ms (Views: 106.6ms | ActiveRecord: 0.2ms) -  (3.9ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.2ms) begin transaction -  (0.3ms) rollback transaction -  (0.3ms) begin transaction -  (0.3ms) commit transaction -  (0.2ms) begin transaction -  (0.3ms) rollback transaction -  (0.2ms) begin transaction -  (0.3ms) commit transaction -  (0.1ms) begin transaction -  (0.2ms) rollback transaction -  (0.2ms) begin transaction -  (0.2ms) commit transaction  (0.4ms) begin transaction  (0.2ms) rollback transaction -  (0.2ms) begin transaction -  (0.2ms) commit transaction -  (0.2ms) begin transaction -  (0.2ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.2ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:18:55 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -Completed 200 OK in 61ms (Views: 59.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.6ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.7ms) rollback transaction -  (4.8ms) DELETE FROM "asyncapi_server_jobs"; -  (1.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.4ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (1.9ms) rollback transaction  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:25:48 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:25:48 UTC"}} -Unpermitted parameter: expired_at -Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.2ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.4ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.2ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 44ms (Views: 42.4ms | ActiveRecord: 0.1ms) -  (3.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 61ms (ActiveRecord: 0.6ms) -  (3.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 7.3ms | ActiveRecord: 0.1ms) -  (1.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.5ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 42ms (Views: 33.2ms | ActiveRecord: 0.2ms) -  (3.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to AddExpiredAtToAsyncapiServerJobs (20160721002627) -  (0.1ms) begin transaction -  (3.0ms) ALTER TABLE "asyncapi_server_jobs" ADD "expired_at" datetime - SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160721002627"]] -  (2.3ms) commit transaction - ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (4.8ms) DELETE FROM "asyncapi_server_jobs"; -  (1.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:27:04 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:27:04 UTC"}} -Unpermitted parameter: expired_at -Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.3ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.5ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 46ms (Views: 36.2ms | ActiveRecord: 0.2ms) -  (3.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 63ms (ActiveRecord: 0.5ms) -  (2.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 7.3ms | ActiveRecord: 0.1ms) -  (2.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 46ms (Views: 45.5ms | ActiveRecord: 0.1ms) -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.7ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (1.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.2ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (6.4ms) DELETE FROM "asyncapi_server_jobs"; -  (1.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.3ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.9ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.4ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.7ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:27:42 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:27:42 UTC"}} -Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.8ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 85ms (ActiveRecord: 0.4ms) -  (2.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 12ms (Views: 11.3ms | ActiveRecord: 0.1ms) -  (2.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.9ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 63ms (Views: 62.2ms | ActiveRecord: 0.1ms) -  (3.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.8ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 59ms (Views: 47.0ms | ActiveRecord: 0.2ms) -  (4.2ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (4.7ms) DELETE FROM "asyncapi_server_jobs"; -  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 89ms (ActiveRecord: 0.5ms) -  (2.3ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.5ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 7.4ms | ActiveRecord: 0.1ms) -  (1.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.3ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 49ms (Views: 40.1ms | ActiveRecord: 0.4ms) -  (3.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.7ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 44ms (Views: 42.9ms | ActiveRecord: 0.1ms) -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:28:03 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:28:03 UTC"}} -Completed 200 OK in 55ms (Views: 54.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.2ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.5ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.6ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.8ms) rollback transaction -  (5.3ms) DELETE FROM "asyncapi_server_jobs"; -  (1.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:28:41 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:28:41 UTC"}} -Completed 200 OK in 57ms (Views: 56.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.6ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 53ms (Views: 43.5ms | ActiveRecord: 0.2ms) -  (3.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.5ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 88ms (ActiveRecord: 0.8ms) -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 7.2ms | ActiveRecord: 0.1ms) -  (1.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 48ms (Views: 46.2ms | ActiveRecord: 0.2ms) -  (2.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.3ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.6ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (1.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (4.7ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (0.9ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:29:01 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:29:01 UTC"}} -Completed 200 OK in 56ms (Views: 55.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.5ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 43ms (Views: 34.3ms | ActiveRecord: 0.2ms) -  (3.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 44ms (Views: 42.8ms | ActiveRecord: 0.1ms) -  (3.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 63ms (ActiveRecord: 0.6ms) -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 7.4ms | ActiveRecord: 0.1ms) -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (1.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (4.9ms) DELETE FROM "asyncapi_server_jobs"; -  (0.9ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (9.8ms) DELETE FROM "asyncapi_server_jobs"; -  (1.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (0.9ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.2ms) SAVEPOINT active_record_1 - SQL (3.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.4ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 60ms (ActiveRecord: 0.4ms) -  (2.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.5ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 7.2ms | ActiveRecord: 0.1ms) -  (1.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 46ms (Views: 44.9ms | ActiveRecord: 0.1ms) -  (3.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 43ms (Views: 34.9ms | ActiveRecord: 0.2ms) -  (3.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:30:18 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:30:18 UTC"}} -Completed 200 OK in 57ms (Views: 56.3ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (4.9ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.4ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.3ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.7ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.4ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.4ms) SAVEPOINT active_record_1 - SQL (4.4ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (1.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.5ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (1.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:31:18 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:31:18 UTC"}} -Completed 200 OK in 55ms (Views: 54.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.2ms) SAVEPOINT active_record_1 - SQL (5.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.7ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.2ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 71ms (ActiveRecord: 1.4ms) -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.8ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 6.9ms | ActiveRecord: 0.1ms) -  (2.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.8ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 44ms (Views: 43.4ms | ActiveRecord: 0.1ms) -  (3.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.6ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 45ms (Views: 35.1ms | ActiveRecord: 0.3ms) -  (3.3ms) rollback transaction -  (4.6ms) DELETE FROM "asyncapi_server_jobs"; -  (1.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.3ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:31:44 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:31:44 UTC"}} -Completed 200 OK in 56ms (Views: 55.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.3ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.2ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (1.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.0ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (1.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.2ms) rollback transaction -  (0.4ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.3ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.8ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 78ms (ActiveRecord: 0.8ms) -  (3.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.3ms) -Completed 404 Not Found in 10ms (Views: 8.3ms | ActiveRecord: 0.1ms) -  (2.7ms) rollback transaction -  (0.3ms) begin transaction  (0.4ms) commit transaction  (0.5ms) begin transaction -  (0.3ms) SAVEPOINT active_record_1 - SQL (11.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.2ms) RELEASE SAVEPOINT active_record_1 -  (0.2ms) SAVEPOINT active_record_1 - SQL (0.3ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.2ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.2ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 47ms (Views: 37.7ms | ActiveRecord: 0.4ms) -  (3.3ms) rollback transaction -  (0.3ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (7.5ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.1ms) -  (3.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.2ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (1.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (6.0ms) DELETE FROM "asyncapi_server_jobs"; -  (1.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.5ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:32:46 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:32:46 UTC"}} -Completed 200 OK in 19170ms (Views: 114.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (4.6ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.3ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:35:01 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:35:01 UTC"}} -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.9ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret", "expired_at") VALUES (?, ?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"], ["expired_at", "2016-07-23 00:35:01.000000"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 200 OK in 44319ms (Views: 107.2ms | ActiveRecord: 5.0ms) -  (1.7ms) rollback transaction -  (4.5ms) DELETE FROM "asyncapi_server_jobs"; -  (0.9ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:36:18 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:36:18 UTC"}} -Completed 200 OK in 22650ms (Views: 62.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (4.8ms) DELETE FROM "asyncapi_server_jobs"; -  (1.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:36:56 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:36:56 UTC"}} -Completed 200 OK in 107030ms (Views: 77.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (5.3ms) DELETE FROM "asyncapi_server_jobs"; -  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:38:53 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:38:53 UTC"}} -Completed 200 OK in 90ms (Views: 53.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (6.9ms) DELETE FROM "asyncapi_server_jobs"; -  (1.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.4ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:39:11 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:39:11 UTC"}} -Completed 200 OK in 134ms (Views: 79.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (4.6ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:39:21 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:39:21 UTC"}} -Completed 200 OK in 55ms (Views: 54.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.3ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 103ms (ActiveRecord: 0.5ms) -  (2.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.8ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 10ms (Views: 9.0ms | ActiveRecord: 0.1ms) -  (2.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 58ms (Views: 45.7ms | ActiveRecord: 0.2ms) -  (3.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.3ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 69ms (Views: 67.9ms | ActiveRecord: 0.1ms) -  (3.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.8ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.1ms) rollback transaction -  (0.1ms) begin transaction  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.3ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.3ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (5.0ms) DELETE FROM "asyncapi_server_jobs"; -  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.3ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:43:26.343520"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:47:26.367579"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:43:26.369496"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.4ms) rollback transaction -  (4.9ms) DELETE FROM "asyncapi_server_jobs"; -  (1.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.0ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.0ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:43:42.838687"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:47:42.863640"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:43:42.865403"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (2.8ms) rollback transaction -  (4.7ms) DELETE FROM "asyncapi_server_jobs"; -  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.0ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:45:15.587524"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:49:15.593568"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:45:15.595169"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (1.7ms) rollback transaction -  (4.9ms) DELETE FROM "asyncapi_server_jobs"; -  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.5ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:46:35.287666"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:50:35.294208"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:46:35.296113"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE ("asyncapi_server_jobs"."expired_at" IS NOT NULL) AND ("asyncapi_server_jobs"."expired_at" < '2016-07-21 00:48:35.317513') -  (2.1ms) rollback transaction -  (6.0ms) DELETE FROM "asyncapi_server_jobs"; -  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.4ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.5ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:46:51.370476"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:50:51.399500"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:46:51.401789"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (3.5ms) rollback transaction -  (4.7ms) DELETE FROM "asyncapi_server_jobs"; -  (1.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.7ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:47:44.106925"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:51:44.131574"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:47:44.133703"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.8ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE ("asyncapi_server_jobs"."expired_at" IS NOT NULL) AND ("asyncapi_server_jobs"."expired_at" < '2016-07-21 00:49:44.157420') ORDER BY "asyncapi_server_jobs"."id" ASC LIMIT 1000 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 3]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" -  (3.0ms) rollback transaction -  (4.7ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.2ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.5ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:53:02.995338"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:57:03.015609"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.2ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:53:03.019820"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE ("asyncapi_server_jobs"."expired_at" IS NOT NULL) AND ("asyncapi_server_jobs"."expired_at" < '2016-07-21 00:55:03.042056') -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.3ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction  (0.2ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (1.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.6ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:53:03.128589"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:57:03.133954"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" ("expired_at") VALUES (?) [["expired_at", "2016-07-21 00:53:03.135633"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE ("asyncapi_server_jobs"."expired_at" IS NOT NULL) AND ("asyncapi_server_jobs"."expired_at" < '2016-07-21 00:55:03.139176') ORDER BY "asyncapi_server_jobs"."id" ASC LIMIT 1000 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 3]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" -  (3.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 00:55:03 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret", "expired_at"=>"2016-07-23 00:55:03 UTC"}} -Completed 200 OK in 55ms (Views: 53.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.6ms) rollback transaction -  (0.2ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.8ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (1.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 45ms (Views: 44.5ms | ActiveRecord: 0.1ms) -  (3.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 61ms (ActiveRecord: 0.5ms) -  (6.0ms) rollback transaction +  (1.6ms) rollback transaction  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.7ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms) -  (1.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.7ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 42ms (Views: 33.2ms | ActiveRecord: 0.2ms) -  (3.1ms) rollback transaction -  (5.8ms) DELETE FROM "asyncapi_server_jobs"; -  (2.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (8.9ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.5ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 02:09:32 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.5ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.3ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.6ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (4.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.3ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.3ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 94ms (ActiveRecord: 1.0ms) -  (2.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (8.7ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 10ms (Views: 8.4ms | ActiveRecord: 0.1ms) -  (1.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 54ms (Views: 52.7ms | ActiveRecord: 0.1ms) -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 57ms (Views: 44.2ms | ActiveRecord: 0.2ms) -  (3.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction +  (0.3ms) commit transaction  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.3ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction  (0.0ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (1.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.7ms) begin transaction -  (0.1ms) rollback transaction -  (7.9ms) DELETE FROM "asyncapi_server_jobs"; -  (1.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.2ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 70ms (Views: 58.6ms | ActiveRecord: 0.3ms) -  (2.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 90ms (Views: 50.1ms | ActiveRecord: 0.2ms) -  (2.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 75ms (ActiveRecord: 0.6ms) -  (2.9ms) rollback transaction -  (0.8ms) begin transaction -  (0.1ms) commit transaction  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.4ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.1ms) -Completed 404 Not Found in 28ms (Views: 21.7ms | ActiveRecord: 0.4ms) -  (4.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 02:09:57 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -Completed 200 OK in 116ms (Views: 115.3ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (9.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.9ms) rollback transaction -  (8.9ms) DELETE FROM "asyncapi_server_jobs"; -  (8.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (2.9ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (10.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 161ms (ActiveRecord: 0.5ms) -  (2.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 10ms (Views: 9.3ms | ActiveRecord: 0.1ms) -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.5ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 79ms (Views: 66.5ms | ActiveRecord: 0.6ms) -  (3.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (12.8ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.3ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 88ms (Views: 86.8ms | ActiveRecord: 0.3ms) -  (3.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 02:12:42 +0000 +Started POST "/tests" for 127.0.0.1 at 2018-03-14 00:46:12 +0000 Processing by TestsController#create as HTML Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.3ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 200 OK in 113ms (Views: 104.6ms | ActiveRecord: 5.5ms) -  (3.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (10.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.8ms) rollback transaction +Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.0ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.4ms) rollback transaction -  (0.1ms) begin transaction  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (10.6ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.4ms) rollback transaction -  (4.6ms) DELETE FROM "asyncapi_server_jobs"; -  (1.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.8ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (3.8ms) begin transaction -  (0.5ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (1.5ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 207ms (Views: 113.0ms | ActiveRecord: 0.2ms) -  (8.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.5ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 87ms (Views: 69.1ms | ActiveRecord: 0.2ms) -  (4.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.5ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 113ms (ActiveRecord: 0.5ms) -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 11ms (Views: 9.9ms | ActiveRecord: 0.1ms) -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.2ms) commit transaction -  (0.3ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.5ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.8ms) rollback transaction -  (0.2ms) begin transaction -  (0.2ms) commit transaction -  (0.3ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.1ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.2ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.3ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 02:13:09 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -  (0.1ms) SAVEPOINT active_record_1 - SQL (12.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 200 OK in 123ms (Views: 108.3ms | ActiveRecord: 12.3ms) -  (4.2ms) rollback transaction -  (5.9ms) DELETE FROM "asyncapi_server_jobs"; -  (1.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.5ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.2ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.6ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.6ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.3ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 109ms (ActiveRecord: 0.5ms) -  (4.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (6.3ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 16ms (Views: 15.5ms | ActiveRecord: 0.1ms) -  (2.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (5.6ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 72ms (Views: 55.1ms | ActiveRecord: 0.2ms) -  (3.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 80ms (Views: 78.9ms | ActiveRecord: 0.1ms) -  (3.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 02:13:36 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 200 OK in 136ms (Views: 125.7ms | ActiveRecord: 5.6ms) -  (3.9ms) rollback transaction -  (0.3ms) begin transaction -  (0.1ms) commit transaction -  (0.2ms) begin transaction -  (0.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.2ms) SAVEPOINT active_record_1 - SQL (5.6ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction -  (5.3ms) DELETE FROM "asyncapi_server_jobs"; -  (2.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (3.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (6.1ms) DELETE FROM "asyncapi_server_jobs"; -  (1.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.4ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (6.4ms) DELETE FROM "asyncapi_server_jobs"; -  (2.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.7ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.2ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.3ms) begin transaction -  (0.1ms) commit transaction -  (0.2ms) begin transaction -  (0.2ms) rollback transaction -  (0.4ms) begin transaction -  (0.1ms) commit transaction -  (0.4ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.3ms) RELEASE SAVEPOINT active_record_1 -  (6.3ms) rollback transaction  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.3ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (5.1ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.1ms) rollback transaction -  (0.3ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (8.6ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 02:16:18 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}  (0.1ms) begin transaction - SQL (4.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]] -  (2.2ms) commit transaction -Completed 200 OK in 106ms (Views: 96.6ms | ActiveRecord: 6.5ms) -  (27.3ms) DELETE FROM "asyncapi_server_jobs"; -  (3.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (12.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (11.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 61ms (Views: 60.1ms | ActiveRecord: 0.1ms) -  (3.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (6.7ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 81ms (ActiveRecord: 0.4ms) -  (2.9ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (7.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 8ms (Views: 6.9ms | ActiveRecord: 0.1ms) -  (1.7ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (8.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 58ms (Views: 48.5ms | ActiveRecord: 0.2ms) -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (10.2ms) DELETE FROM "asyncapi_server_jobs"; -  (1.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.4ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.3ms) begin transaction -  (0.2ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.8ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (4.1ms) rollback transaction -  (0.5ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 109ms (ActiveRecord: 0.6ms) -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.3ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 15ms (Views: 13.8ms | ActiveRecord: 0.1ms) -  (3.4ms) rollback transaction -  (0.3ms) begin transaction -  (0.1ms) commit transaction -  (0.2ms) begin transaction -  (0.2ms) SAVEPOINT active_record_1 - SQL (4.8ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 57ms (Views: 48.2ms | ActiveRecord: 0.3ms) -  (2.4ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (3.5ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 60ms (Views: 58.9ms | ActiveRecord: 0.1ms) -  (2.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 02:16:54 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -  (0.1ms) begin transaction - SQL (4.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]] -  (1.9ms) commit transaction -Completed 200 OK in 111ms (Views: 101.7ms | ActiveRecord: 6.1ms) -  (6.1ms) DELETE FROM "asyncapi_server_jobs"; -  (5.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (6.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (4.3ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.2ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.1ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.1ms) rollback transaction -  (5.5ms) DELETE FROM "asyncapi_server_jobs"; -  (0.9ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (1.5ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.4ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.4ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.9ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (3.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (5.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.2ms) RELEASE SAVEPOINT active_record_1 -  (3.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 04:14:03 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -  (0.1ms) begin transaction - SQL (4.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]] -  (2.3ms) commit transaction -Completed 200 OK in 101ms (Views: 92.1ms | ActiveRecord: 6.6ms) -  (6.5ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (4.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (2.7ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 61ms (Views: 60.3ms | ActiveRecord: 0.1ms) -  (3.0ms) rollback transaction  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.4ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.2ms) SAVEPOINT active_record_1 - SQL (0.9ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 92ms (ActiveRecord: 1.5ms) -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.2ms) SAVEPOINT active_record_1 - SQL (3.8ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 9ms (Views: 8.5ms | ActiveRecord: 0.1ms) -  (3.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.2ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (6.9ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 109ms (Views: 81.9ms | ActiveRecord: 0.3ms) -  (2.5ms) rollback transaction -  (0.1ms) begin transaction -  (0.2ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (5.6ms) DELETE FROM "asyncapi_server_jobs"; -  (1.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (0.9ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#index as JSON - Parameters: {"page"=>2, "per_page"=>1} -  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs" - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT 1 OFFSET 1 -Completed 200 OK in 58ms (Views: 49.5ms | ActiveRecord: 0.3ms) -  (3.0ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#show as JSON - Parameters: {"id"=>"1"} - Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -Completed 200 OK in 74ms (Views: 41.5ms | ActiveRecord: 0.2ms) -  (2.9ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) SAVEPOINT active_record_1 - SQL (2.5ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12312", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12312"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 204 No Content in 60ms (ActiveRecord: 0.4ms) -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.7ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Processing by Asyncapi::Server::V1::JobsController#destroy as JSON - Parameters: {"secret"=>"12315", "id"=>"1"} - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT 1 [["id", 1], ["secret", "12315"]] - Rendered text template (0.0ms) -Completed 404 Not Found in 9ms (Views: 8.4ms | ActiveRecord: 0.1ms) -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.4ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "params", "callback_url", "secret") VALUES (?, ?, ?, ?) [["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.8ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.4ms) INSERT INTO "asyncapi_server_jobs" ("class_name", "callback_url", "secret") VALUES (?, ?, ?) [["class_name", "Runner"], ["callback_url", "client_job_url"], ["secret", "sekret"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 - Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT 1 [["id", 1]] -  (2.3ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -Started POST "/tests" for 127.0.0.1 at 2016-07-21 04:14:12 +0000 -Processing by TestsController#create as HTML - Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}} -  (0.1ms) begin transaction - SQL (4.0ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]] -  (2.0ms) commit transaction -Completed 200 OK in 69ms (Views: 59.6ms | ActiveRecord: 6.1ms) -  (6.1ms) DELETE FROM "asyncapi_server_jobs"; -  (1.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; -  (4.5ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs'; -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) begin transaction -  (0.1ms) commit transaction -  (0.0ms) begin transaction -  (0.0ms) SAVEPOINT active_record_1 - SQL (3.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (2.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.0ms) commit transaction -  (0.0ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) commit transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction +  (0.0ms) rollback transaction