test/dummy/log/test.log in extface-0.5.3 vs test/dummy/log/test.log in extface-0.5.4a
- old
+ new
@@ -7483,5 +7483,4103 @@
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
[1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
[1m[35m (0.2ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (101.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (72.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.0ms)[0m DROP TABLE "shops"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:06:42', '2015-12-20 16:06:42', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:06:42', '2015-12-20 16:06:42', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:06:42', '2015-12-20 16:06:42', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:06:42', '2015-12-20 16:06:42', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:06:42', '2015-12-20 16:06:42', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:06:42', '2015-12-20 16:06:42', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:06:42', '2015-12-20 16:06:42', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:06:42', '2015-12-20 16:06:42', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:06:42', '2015-12-20 16:06:42', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:06:42', '2015-12-20 16:06:42', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:06:42', '2015-12-20 16:06:42', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:06:42', '2015-12-20 16:06:42', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:06:42', '2015-12-20 16:06:42', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:06:42', '2015-12-20 16:06:42', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:06:42', '2015-12-20 16:06:42', 298486374)[0m
+ [1m[35m (53.2ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_fsend
+--------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_handle
+---------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_response_frame
+-----------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (70.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "shops"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (91.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (75.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (53.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.7ms)[0m DROP TABLE "shops"
+ [1m[36m (68.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (115.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (138.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:11:24', '2015-12-20 16:11:24', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:11:24', '2015-12-20 16:11:24', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:11:24', '2015-12-20 16:11:24', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:11:24', '2015-12-20 16:11:24', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:11:24', '2015-12-20 16:11:24', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:11:24', '2015-12-20 16:11:24', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:11:24', '2015-12-20 16:11:24', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:11:24', '2015-12-20 16:11:24', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:11:24', '2015-12-20 16:11:24', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:11:24', '2015-12-20 16:11:24', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:11:24', '2015-12-20 16:11:24', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:11:24', '2015-12-20 16:11:24', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:11:24', '2015-12-20 16:11:24', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:11:24', '2015-12-20 16:11:24', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:11:24', '2015-12-20 16:11:24', 298486374)[0m
+ [1m[35m (59.4ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (112.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.8ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:17:42', '2015-12-20 16:17:42', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:17:42', '2015-12-20 16:17:42', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:17:42', '2015-12-20 16:17:42', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:17:42', '2015-12-20 16:17:42', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:17:42', '2015-12-20 16:17:42', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:17:42', '2015-12-20 16:17:42', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:17:42', '2015-12-20 16:17:42', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:17:42', '2015-12-20 16:17:42', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:17:42', '2015-12-20 16:17:42', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:17:42', '2015-12-20 16:17:42', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:17:42', '2015-12-20 16:17:42', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:17:42', '2015-12-20 16:17:42', 980190962)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:17:42', '2015-12-20 16:17:42', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:17:42', '2015-12-20 16:17:42', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:17:42', '2015-12-20 16:17:42', 298486374)[0m
+ [1m[35m (58.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (82.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (62.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:23:41', '2015-12-20 16:23:41', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:23:41', '2015-12-20 16:23:41', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:23:41', '2015-12-20 16:23:41', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:23:41', '2015-12-20 16:23:41', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:23:41', '2015-12-20 16:23:41', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:23:41', '2015-12-20 16:23:41', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:23:41', '2015-12-20 16:23:41', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:23:41', '2015-12-20 16:23:41', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:23:41', '2015-12-20 16:23:41', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:23:41', '2015-12-20 16:23:41', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:23:41', '2015-12-20 16:23:41', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:23:41', '2015-12-20 16:23:41', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:23:41', '2015-12-20 16:23:41', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:23:41', '2015-12-20 16:23:41', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:23:41', '2015-12-20 16:23:41', 298486374)[0m
+ [1m[35m (85.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (80.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (54.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (84.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (106.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (65.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "shops"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:26:10', '2015-12-20 16:26:10', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:26:10', '2015-12-20 16:26:10', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:26:10', '2015-12-20 16:26:10', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:26:10', '2015-12-20 16:26:10', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:26:10', '2015-12-20 16:26:10', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:26:10', '2015-12-20 16:26:10', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:26:10', '2015-12-20 16:26:10', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:26:10', '2015-12-20 16:26:10', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:26:10', '2015-12-20 16:26:10', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:26:10', '2015-12-20 16:26:10', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:26:10', '2015-12-20 16:26:10', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:26:10', '2015-12-20 16:26:10', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:26:10', '2015-12-20 16:26:10', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:26:10', '2015-12-20 16:26:10', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:26:10', '2015-12-20 16:26:10', 298486374)[0m
+ [1m[35m (57.2ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (147.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (81.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (57.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.7ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (64.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (57.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (65.1ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:26:59', '2015-12-20 16:26:59', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:26:59', '2015-12-20 16:26:59', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:26:59', '2015-12-20 16:26:59', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:26:59', '2015-12-20 16:26:59', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:26:59', '2015-12-20 16:26:59', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:26:59', '2015-12-20 16:26:59', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:26:59', '2015-12-20 16:26:59', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:26:59', '2015-12-20 16:26:59', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:26:59', '2015-12-20 16:26:59', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:26:59', '2015-12-20 16:26:59', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:26:59', '2015-12-20 16:26:59', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:26:59', '2015-12-20 16:26:59', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:26:59', '2015-12-20 16:26:59', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:26:59', '2015-12-20 16:26:59', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:26:59', '2015-12-20 16:26:59', 298486374)[0m
+ [1m[35m (50.7ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (101.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (81.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (98.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "shops"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:27:41', '2015-12-20 16:27:41', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:27:41', '2015-12-20 16:27:41', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:27:41', '2015-12-20 16:27:41', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:27:41', '2015-12-20 16:27:41', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:27:41', '2015-12-20 16:27:41', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:27:41', '2015-12-20 16:27:41', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:27:41', '2015-12-20 16:27:41', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:27:41', '2015-12-20 16:27:41', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:27:41', '2015-12-20 16:27:41', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:27:41', '2015-12-20 16:27:41', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:27:41', '2015-12-20 16:27:41', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:27:41', '2015-12-20 16:27:41', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:27:41', '2015-12-20 16:27:41', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:27:41', '2015-12-20 16:27:41', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:27:41', '2015-12-20 16:27:41', 298486374)[0m
+ [1m[35m (57.7ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (83.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (64.0ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (48.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.8ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:52:15', '2015-12-20 16:52:15', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:52:15', '2015-12-20 16:52:15', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:52:15', '2015-12-20 16:52:15', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:52:15', '2015-12-20 16:52:15', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:52:15', '2015-12-20 16:52:15', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:52:15', '2015-12-20 16:52:15', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:52:15', '2015-12-20 16:52:15', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:52:15', '2015-12-20 16:52:15', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:52:15', '2015-12-20 16:52:15', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:52:15', '2015-12-20 16:52:15', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:52:15', '2015-12-20 16:52:15', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:52:15', '2015-12-20 16:52:15', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:52:15', '2015-12-20 16:52:15', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:52:15', '2015-12-20 16:52:15', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:52:15', '2015-12-20 16:52:15', 298486374)[0m
+ [1m[35m (59.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (91.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (57.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (56.9ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (54.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (67.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:52:53', '2015-12-20 16:52:53', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:52:53', '2015-12-20 16:52:53', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:52:53', '2015-12-20 16:52:53', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:52:53', '2015-12-20 16:52:53', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:52:53', '2015-12-20 16:52:53', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:52:53', '2015-12-20 16:52:53', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:52:53', '2015-12-20 16:52:53', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:52:53', '2015-12-20 16:52:53', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:52:53', '2015-12-20 16:52:53', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:52:53', '2015-12-20 16:52:53', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:52:53', '2015-12-20 16:52:53', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:52:53', '2015-12-20 16:52:53', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:52:53', '2015-12-20 16:52:53', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:52:53', '2015-12-20 16:52:53', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:52:53', '2015-12-20 16:52:53', 298486374)[0m
+ [1m[35m (58.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (92.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (139.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (55.9ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:54:03', '2015-12-20 16:54:03', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:54:03', '2015-12-20 16:54:03', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:54:03', '2015-12-20 16:54:03', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:54:03', '2015-12-20 16:54:03', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:54:03', '2015-12-20 16:54:03', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:54:03', '2015-12-20 16:54:03', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:54:03', '2015-12-20 16:54:03', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:54:03', '2015-12-20 16:54:03', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:54:03', '2015-12-20 16:54:03', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:54:03', '2015-12-20 16:54:03', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:54:03', '2015-12-20 16:54:03', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:54:03', '2015-12-20 16:54:03', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:54:03', '2015-12-20 16:54:03', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:54:03', '2015-12-20 16:54:03', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:54:03', '2015-12-20 16:54:03', 298486374)[0m
+ [1m[35m (59.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (101.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.2ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:55:55', '2015-12-20 16:55:55', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:55:55', '2015-12-20 16:55:55', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:55:55', '2015-12-20 16:55:55', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:55:55', '2015-12-20 16:55:55', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:55:55', '2015-12-20 16:55:55', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:55:55', '2015-12-20 16:55:55', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:55:55', '2015-12-20 16:55:55', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:55:55', '2015-12-20 16:55:55', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:55:55', '2015-12-20 16:55:55', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:55:55', '2015-12-20 16:55:55', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:55:55', '2015-12-20 16:55:55', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:55:55', '2015-12-20 16:55:55', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:55:55', '2015-12-20 16:55:55', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:55:55', '2015-12-20 16:55:55', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:55:55', '2015-12-20 16:55:55', 298486374)[0m
+ [1m[35m (67.5ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (104.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (67.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (70.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "shops"
+ [1m[36m (60.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:57:01', '2015-12-20 16:57:01', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:57:01', '2015-12-20 16:57:01', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:57:01', '2015-12-20 16:57:01', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:57:01', '2015-12-20 16:57:01', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:57:01', '2015-12-20 16:57:01', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:57:01', '2015-12-20 16:57:01', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:57:01', '2015-12-20 16:57:01', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:57:01', '2015-12-20 16:57:01', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:57:01', '2015-12-20 16:57:01', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:57:01', '2015-12-20 16:57:01', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:57:01', '2015-12-20 16:57:01', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:57:01', '2015-12-20 16:57:01', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:57:01', '2015-12-20 16:57:01', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:57:01', '2015-12-20 16:57:01', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:57:01', '2015-12-20 16:57:01', 298486374)[0m
+ [1m[35m (53.9ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (91.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (105.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (65.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "shops"
+ [1m[36m (62.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:58:07', '2015-12-20 16:58:07', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:58:07', '2015-12-20 16:58:07', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:58:07', '2015-12-20 16:58:07', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:58:07', '2015-12-20 16:58:07', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:58:07', '2015-12-20 16:58:07', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:58:07', '2015-12-20 16:58:07', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:58:07', '2015-12-20 16:58:07', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:58:07', '2015-12-20 16:58:07', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:58:07', '2015-12-20 16:58:07', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:58:07', '2015-12-20 16:58:07', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:58:07', '2015-12-20 16:58:07', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:58:07', '2015-12-20 16:58:07', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:58:07', '2015-12-20 16:58:07', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:58:07', '2015-12-20 16:58:07', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:58:07', '2015-12-20 16:58:07', 298486374)[0m
+ [1m[35m (50.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (103.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.0ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (65.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (65.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (65.3ms)[0m DROP TABLE "shops"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:59:57', '2015-12-20 16:59:57', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 16:59:57', '2015-12-20 16:59:57', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 16:59:57', '2015-12-20 16:59:57', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 16:59:57', '2015-12-20 16:59:57', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 16:59:57', '2015-12-20 16:59:57', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 16:59:57', '2015-12-20 16:59:57', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 16:59:57', '2015-12-20 16:59:57', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 16:59:57', '2015-12-20 16:59:57', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 16:59:57', '2015-12-20 16:59:57', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 16:59:57', '2015-12-20 16:59:57', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 16:59:57', '2015-12-20 16:59:57', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:59:57', '2015-12-20 16:59:57', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 16:59:57', '2015-12-20 16:59:57', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:59:57', '2015-12-20 16:59:57', 980190962)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 16:59:57', '2015-12-20 16:59:57', 298486374)[0m
+ [1m[35m (64.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (100.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (62.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (50.8ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (67.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (47.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (70.0ms)[0m DROP TABLE "shops"
+ [1m[36m (60.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:00:32', '2015-12-20 17:00:32', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:00:32', '2015-12-20 17:00:32', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 17:00:32', '2015-12-20 17:00:32', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 17:00:32', '2015-12-20 17:00:32', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 17:00:32', '2015-12-20 17:00:32', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 17:00:32', '2015-12-20 17:00:32', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 17:00:32', '2015-12-20 17:00:32', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 17:00:32', '2015-12-20 17:00:32', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 17:00:32', '2015-12-20 17:00:32', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 17:00:32', '2015-12-20 17:00:32', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 17:00:32', '2015-12-20 17:00:32', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:00:32', '2015-12-20 17:00:32', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:00:32', '2015-12-20 17:00:32', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:00:32', '2015-12-20 17:00:32', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:00:32', '2015-12-20 17:00:32', 298486374)[0m
+ [1m[35m (51.9ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (88.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (48.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:01:05', '2015-12-20 17:01:05', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:01:05', '2015-12-20 17:01:05', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 17:01:05', '2015-12-20 17:01:05', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 17:01:05', '2015-12-20 17:01:05', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 17:01:05', '2015-12-20 17:01:05', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 17:01:05', '2015-12-20 17:01:05', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 17:01:05', '2015-12-20 17:01:05', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 17:01:05', '2015-12-20 17:01:05', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 17:01:05', '2015-12-20 17:01:05', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 17:01:05', '2015-12-20 17:01:05', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 17:01:05', '2015-12-20 17:01:05', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:01:05', '2015-12-20 17:01:05', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:01:05', '2015-12-20 17:01:05', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:01:05', '2015-12-20 17:01:05', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:01:05', '2015-12-20 17:01:05', 298486374)[0m
+ [1m[35m (55.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (153.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:02:18', '2015-12-20 17:02:18', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:02:18', '2015-12-20 17:02:18', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 17:02:18', '2015-12-20 17:02:18', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 17:02:18', '2015-12-20 17:02:18', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 17:02:18', '2015-12-20 17:02:18', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 17:02:18', '2015-12-20 17:02:18', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 17:02:18', '2015-12-20 17:02:18', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 17:02:18', '2015-12-20 17:02:18', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 17:02:18', '2015-12-20 17:02:18', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 17:02:18', '2015-12-20 17:02:18', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 17:02:18', '2015-12-20 17:02:18', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:02:18', '2015-12-20 17:02:18', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:02:18', '2015-12-20 17:02:18', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:02:18', '2015-12-20 17:02:18', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:02:18', '2015-12-20 17:02:18', 298486374)[0m
+ [1m[35m (63.5ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (84.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (75.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "shops"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:04:26', '2015-12-20 17:04:26', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:04:26', '2015-12-20 17:04:26', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 17:04:26', '2015-12-20 17:04:26', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 17:04:26', '2015-12-20 17:04:26', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 17:04:26', '2015-12-20 17:04:26', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 17:04:26', '2015-12-20 17:04:26', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 17:04:26', '2015-12-20 17:04:26', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 17:04:26', '2015-12-20 17:04:26', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 17:04:26', '2015-12-20 17:04:26', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 17:04:26', '2015-12-20 17:04:26', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 17:04:26', '2015-12-20 17:04:26', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:04:26', '2015-12-20 17:04:26', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:04:26', '2015-12-20 17:04:26', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:04:26', '2015-12-20 17:04:26', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:04:26', '2015-12-20 17:04:26', 298486374)[0m
+ [1m[35m (62.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (94.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (54.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (53.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "shops"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:51:51', '2015-12-20 17:51:51', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:51:51', '2015-12-20 17:51:51', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 17:51:51', '2015-12-20 17:51:51', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 17:51:51', '2015-12-20 17:51:51', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 17:51:51', '2015-12-20 17:51:51', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 17:51:51', '2015-12-20 17:51:51', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 17:51:51', '2015-12-20 17:51:51', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 17:51:51', '2015-12-20 17:51:51', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 17:51:51', '2015-12-20 17:51:51', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 17:51:51', '2015-12-20 17:51:51', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 17:51:51', '2015-12-20 17:51:51', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:51:51', '2015-12-20 17:51:51', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:51:51', '2015-12-20 17:51:51', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:51:51', '2015-12-20 17:51:51', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:51:51', '2015-12-20 17:51:51', 298486374)[0m
+ [1m[35m (64.8ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (93.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (80.9ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (64.8ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.8ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:52:36', '2015-12-20 17:52:36', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:52:36', '2015-12-20 17:52:36', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 17:52:36', '2015-12-20 17:52:36', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 17:52:36', '2015-12-20 17:52:36', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 17:52:36', '2015-12-20 17:52:36', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 17:52:36', '2015-12-20 17:52:36', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 17:52:36', '2015-12-20 17:52:36', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 17:52:36', '2015-12-20 17:52:36', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 17:52:36', '2015-12-20 17:52:36', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 17:52:36', '2015-12-20 17:52:36', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 17:52:36', '2015-12-20 17:52:36', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:52:36', '2015-12-20 17:52:36', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:52:36', '2015-12-20 17:52:36', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:52:36', '2015-12-20 17:52:36', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:52:36', '2015-12-20 17:52:36', 298486374)[0m
+ [1m[35m (60.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (114.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (73.0ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (80.9ms)[0m DROP TABLE "shops"
+ [1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:53:02', '2015-12-20 17:53:02', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:53:02', '2015-12-20 17:53:02', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 17:53:02', '2015-12-20 17:53:02', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 17:53:02', '2015-12-20 17:53:02', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 17:53:02', '2015-12-20 17:53:02', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 17:53:02', '2015-12-20 17:53:02', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 17:53:02', '2015-12-20 17:53:02', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 17:53:02', '2015-12-20 17:53:02', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 17:53:02', '2015-12-20 17:53:02', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 17:53:02', '2015-12-20 17:53:02', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 17:53:02', '2015-12-20 17:53:02', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:53:02', '2015-12-20 17:53:02', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:53:02', '2015-12-20 17:53:02', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:53:02', '2015-12-20 17:53:02', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:53:02', '2015-12-20 17:53:02', 298486374)[0m
+ [1m[35m (64.3ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.4ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (96.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.9ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:57:07', '2015-12-20 17:57:07', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 17:57:07', '2015-12-20 17:57:07', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 17:57:07', '2015-12-20 17:57:07', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 17:57:07', '2015-12-20 17:57:07', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 17:57:07', '2015-12-20 17:57:07', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 17:57:07', '2015-12-20 17:57:07', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 17:57:07', '2015-12-20 17:57:07', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 17:57:07', '2015-12-20 17:57:07', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 17:57:07', '2015-12-20 17:57:07', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 17:57:07', '2015-12-20 17:57:07', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 17:57:07', '2015-12-20 17:57:07', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:57:07', '2015-12-20 17:57:07', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 17:57:07', '2015-12-20 17:57:07', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:57:07', '2015-12-20 17:57:07', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 17:57:07', '2015-12-20 17:57:07', 298486374)[0m
+ [1m[35m (51.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (95.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (56.8ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (55.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (54.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (56.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (50.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (70.1ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:16:52', '2015-12-20 18:16:52', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:16:52', '2015-12-20 18:16:52', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:16:52', '2015-12-20 18:16:52', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:16:52', '2015-12-20 18:16:52', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:16:52', '2015-12-20 18:16:52', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:16:52', '2015-12-20 18:16:52', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:16:52', '2015-12-20 18:16:52', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:16:52', '2015-12-20 18:16:52', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:16:52', '2015-12-20 18:16:52', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:16:52', '2015-12-20 18:16:52', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:16:52', '2015-12-20 18:16:52', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:16:52', '2015-12-20 18:16:52', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:16:52', '2015-12-20 18:16:52', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:16:52', '2015-12-20 18:16:52', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:16:52', '2015-12-20 18:16:52', 298486374)[0m
+ [1m[35m (53.7ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (108.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (81.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (54.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (67.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:17:45', '2015-12-20 18:17:45', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:17:45', '2015-12-20 18:17:45', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:17:45', '2015-12-20 18:17:45', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:17:45', '2015-12-20 18:17:45', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:17:45', '2015-12-20 18:17:45', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:17:45', '2015-12-20 18:17:45', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:17:45', '2015-12-20 18:17:45', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:17:45', '2015-12-20 18:17:45', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:17:45', '2015-12-20 18:17:45', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:17:45', '2015-12-20 18:17:45', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:17:45', '2015-12-20 18:17:45', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:17:45', '2015-12-20 18:17:45', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:17:45', '2015-12-20 18:17:45', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:17:45', '2015-12-20 18:17:45', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:17:45', '2015-12-20 18:17:45', 298486374)[0m
+ [1m[35m (61.7ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (100.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (58.9ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (54.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (57.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:21:55', '2015-12-20 18:21:55', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:21:55', '2015-12-20 18:21:55', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:21:55', '2015-12-20 18:21:55', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:21:55', '2015-12-20 18:21:55', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:21:55', '2015-12-20 18:21:55', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:21:55', '2015-12-20 18:21:55', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:21:55', '2015-12-20 18:21:55', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:21:55', '2015-12-20 18:21:55', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:21:55', '2015-12-20 18:21:55', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:21:55', '2015-12-20 18:21:55', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:21:55', '2015-12-20 18:21:55', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:21:55', '2015-12-20 18:21:55', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:21:55', '2015-12-20 18:21:55', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:21:55', '2015-12-20 18:21:55', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:21:55', '2015-12-20 18:21:55', 298486374)[0m
+ [1m[35m (53.5ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_fsend
+--------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (102.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (69.9ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:22:41', '2015-12-20 18:22:41', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:22:41', '2015-12-20 18:22:41', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:22:41', '2015-12-20 18:22:41', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:22:41', '2015-12-20 18:22:41', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:22:41', '2015-12-20 18:22:41', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:22:41', '2015-12-20 18:22:41', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:22:41', '2015-12-20 18:22:41', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:22:41', '2015-12-20 18:22:41', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:22:41', '2015-12-20 18:22:41', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:22:41', '2015-12-20 18:22:41', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:22:41', '2015-12-20 18:22:41', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:22:41', '2015-12-20 18:22:41', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:22:41', '2015-12-20 18:22:41', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:22:41', '2015-12-20 18:22:41', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:22:41', '2015-12-20 18:22:41', 298486374)[0m
+ [1m[35m (52.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (94.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (75.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.5ms)[0m DROP TABLE "shops"
+ [1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:28:27', '2015-12-20 18:28:27', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:28:27', '2015-12-20 18:28:27', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:28:27', '2015-12-20 18:28:27', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:28:27', '2015-12-20 18:28:27', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:28:27', '2015-12-20 18:28:27', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:28:27', '2015-12-20 18:28:27', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:28:27', '2015-12-20 18:28:27', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:28:27', '2015-12-20 18:28:27', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:28:27', '2015-12-20 18:28:27', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:28:27', '2015-12-20 18:28:27', 229906743)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:28:27', '2015-12-20 18:28:27', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:28:27', '2015-12-20 18:28:27', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:28:27', '2015-12-20 18:28:27', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:28:27', '2015-12-20 18:28:27', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:28:27', '2015-12-20 18:28:27', 298486374)[0m
+ [1m[35m (61.5ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (69.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.0ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (53.7ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (76.0ms)[0m DROP TABLE "shops"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:29:36', '2015-12-20 18:29:36', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:29:36', '2015-12-20 18:29:36', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:29:36', '2015-12-20 18:29:36', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:29:36', '2015-12-20 18:29:36', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:29:36', '2015-12-20 18:29:36', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:29:36', '2015-12-20 18:29:36', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:29:36', '2015-12-20 18:29:36', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:29:36', '2015-12-20 18:29:36', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:29:36', '2015-12-20 18:29:36', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:29:36', '2015-12-20 18:29:36', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:29:36', '2015-12-20 18:29:36', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:29:36', '2015-12-20 18:29:36', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:29:36', '2015-12-20 18:29:36', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:29:36', '2015-12-20 18:29:36', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:29:36', '2015-12-20 18:29:36', 298486374)[0m
+ [1m[35m (66.7ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (121.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (68.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (53.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (68.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:30:37', '2015-12-20 18:30:37', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:30:37', '2015-12-20 18:30:37', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:30:37', '2015-12-20 18:30:37', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:30:37', '2015-12-20 18:30:37', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:30:37', '2015-12-20 18:30:37', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:30:37', '2015-12-20 18:30:37', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:30:37', '2015-12-20 18:30:37', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:30:37', '2015-12-20 18:30:37', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:30:37', '2015-12-20 18:30:37', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:30:37', '2015-12-20 18:30:37', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:30:37', '2015-12-20 18:30:37', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:30:37', '2015-12-20 18:30:37', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:30:37', '2015-12-20 18:30:37', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:30:37', '2015-12-20 18:30:37', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:30:37', '2015-12-20 18:30:37', 298486374)[0m
+ [1m[35m (55.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.4ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (94.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (48.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (147.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:31:02', '2015-12-20 18:31:02', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:31:02', '2015-12-20 18:31:02', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:31:02', '2015-12-20 18:31:02', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:31:02', '2015-12-20 18:31:02', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:31:02', '2015-12-20 18:31:02', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:31:02', '2015-12-20 18:31:02', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:31:02', '2015-12-20 18:31:02', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:31:02', '2015-12-20 18:31:02', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:31:02', '2015-12-20 18:31:02', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:31:02', '2015-12-20 18:31:02', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:31:02', '2015-12-20 18:31:02', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:31:02', '2015-12-20 18:31:02', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:31:02', '2015-12-20 18:31:02', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:31:02', '2015-12-20 18:31:02', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:31:02', '2015-12-20 18:31:02', 298486374)[0m
+ [1m[35m (59.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (102.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (138.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:35:45', '2015-12-20 18:35:45', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:35:45', '2015-12-20 18:35:45', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:35:45', '2015-12-20 18:35:45', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:35:45', '2015-12-20 18:35:45', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:35:45', '2015-12-20 18:35:45', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:35:45', '2015-12-20 18:35:45', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:35:45', '2015-12-20 18:35:45', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:35:45', '2015-12-20 18:35:45', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:35:45', '2015-12-20 18:35:45', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:35:45', '2015-12-20 18:35:45', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:35:45', '2015-12-20 18:35:45', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:35:45', '2015-12-20 18:35:45', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:35:45', '2015-12-20 18:35:45', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:35:45', '2015-12-20 18:35:45', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:35:45', '2015-12-20 18:35:45', 298486374)[0m
+ [1m[35m (69.2ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (109.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "shops"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:36:57', '2015-12-20 18:36:57', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:36:57', '2015-12-20 18:36:57', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:36:57', '2015-12-20 18:36:57', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:36:57', '2015-12-20 18:36:57', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:36:57', '2015-12-20 18:36:57', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:36:57', '2015-12-20 18:36:57', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:36:57', '2015-12-20 18:36:57', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:36:57', '2015-12-20 18:36:57', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:36:57', '2015-12-20 18:36:57', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:36:57', '2015-12-20 18:36:57', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:36:57', '2015-12-20 18:36:57', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:36:57', '2015-12-20 18:36:57', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:36:57', '2015-12-20 18:36:57', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:36:57', '2015-12-20 18:36:57', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:36:57', '2015-12-20 18:36:57', 298486374)[0m
+ [1m[35m (75.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (84.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (75.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.1ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (48.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.8ms)[0m DROP TABLE "shops"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:41:07', '2015-12-20 18:41:07', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:41:07', '2015-12-20 18:41:07', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:41:07', '2015-12-20 18:41:07', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:41:07', '2015-12-20 18:41:07', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:41:07', '2015-12-20 18:41:07', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:41:07', '2015-12-20 18:41:07', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:41:07', '2015-12-20 18:41:07', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:41:07', '2015-12-20 18:41:07', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:41:07', '2015-12-20 18:41:07', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:41:07', '2015-12-20 18:41:07', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:41:07', '2015-12-20 18:41:07', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:41:07', '2015-12-20 18:41:07', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:41:07', '2015-12-20 18:41:07', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:41:07', '2015-12-20 18:41:07', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:41:07', '2015-12-20 18:41:07', 298486374)[0m
+ [1m[35m (51.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (87.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:41:37', '2015-12-20 18:41:37', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:41:37', '2015-12-20 18:41:37', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:41:37', '2015-12-20 18:41:37', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:41:37', '2015-12-20 18:41:37', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:41:37', '2015-12-20 18:41:37', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:41:37', '2015-12-20 18:41:37', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:41:37', '2015-12-20 18:41:37', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:41:37', '2015-12-20 18:41:37', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:41:37', '2015-12-20 18:41:37', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:41:37', '2015-12-20 18:41:37', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:41:37', '2015-12-20 18:41:37', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:41:37', '2015-12-20 18:41:37', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:41:37', '2015-12-20 18:41:37', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:41:37', '2015-12-20 18:41:37', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:41:37', '2015-12-20 18:41:37', 298486374)[0m
+ [1m[35m (58.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (74.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (64.8ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.0ms)[0m DROP TABLE "shops"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:43:06', '2015-12-20 18:43:06', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:43:06', '2015-12-20 18:43:06', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:43:06', '2015-12-20 18:43:06', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:43:06', '2015-12-20 18:43:06', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:43:06', '2015-12-20 18:43:06', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:43:06', '2015-12-20 18:43:06', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:43:06', '2015-12-20 18:43:06', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:43:06', '2015-12-20 18:43:06', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:43:06', '2015-12-20 18:43:06', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:43:06', '2015-12-20 18:43:06', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:43:06', '2015-12-20 18:43:06', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:43:06', '2015-12-20 18:43:06', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:43:06', '2015-12-20 18:43:06', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:43:06', '2015-12-20 18:43:06', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:43:06', '2015-12-20 18:43:06', 298486374)[0m
+ [1m[35m (67.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (105.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (79.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.8ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.9ms)[0m DROP TABLE "shops"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:43:38', '2015-12-20 18:43:38', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:43:38', '2015-12-20 18:43:38', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:43:38', '2015-12-20 18:43:38', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:43:38', '2015-12-20 18:43:38', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:43:38', '2015-12-20 18:43:38', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:43:38', '2015-12-20 18:43:38', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:43:38', '2015-12-20 18:43:38', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:43:38', '2015-12-20 18:43:38', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:43:38', '2015-12-20 18:43:38', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:43:38', '2015-12-20 18:43:38', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:43:38', '2015-12-20 18:43:38', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:43:38', '2015-12-20 18:43:38', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:43:38', '2015-12-20 18:43:38', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:43:38', '2015-12-20 18:43:38', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:43:38', '2015-12-20 18:43:38', 298486374)[0m
+ [1m[35m (64.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.5ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (101.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:44:20', '2015-12-20 18:44:20', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:44:20', '2015-12-20 18:44:20', 298486374, 599072141)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:44:20', '2015-12-20 18:44:20', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:44:20', '2015-12-20 18:44:20', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:44:20', '2015-12-20 18:44:20', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:44:20', '2015-12-20 18:44:20', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:44:20', '2015-12-20 18:44:20', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:44:20', '2015-12-20 18:44:20', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:44:20', '2015-12-20 18:44:20', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:44:20', '2015-12-20 18:44:20', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:44:20', '2015-12-20 18:44:20', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:44:20', '2015-12-20 18:44:20', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:44:20', '2015-12-20 18:44:20', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:44:20', '2015-12-20 18:44:20', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:44:20', '2015-12-20 18:44:20', 298486374)[0m
+ [1m[35m (49.6ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (95.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.0ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:45:00', '2015-12-20 18:45:00', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:45:00', '2015-12-20 18:45:00', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:45:00', '2015-12-20 18:45:00', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:45:00', '2015-12-20 18:45:00', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:45:00', '2015-12-20 18:45:00', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:45:00', '2015-12-20 18:45:00', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:45:00', '2015-12-20 18:45:00', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:45:00', '2015-12-20 18:45:00', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:45:00', '2015-12-20 18:45:00', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:45:00', '2015-12-20 18:45:00', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:45:00', '2015-12-20 18:45:00', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:45:00', '2015-12-20 18:45:00', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:45:00', '2015-12-20 18:45:00', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:45:00', '2015-12-20 18:45:00', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:45:00', '2015-12-20 18:45:00', 298486374)[0m
+ [1m[35m (51.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (104.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (70.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (57.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:46:13', '2015-12-20 18:46:13', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:46:13', '2015-12-20 18:46:13', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:46:13', '2015-12-20 18:46:13', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:46:13', '2015-12-20 18:46:13', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:46:13', '2015-12-20 18:46:13', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:46:13', '2015-12-20 18:46:13', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:46:13', '2015-12-20 18:46:13', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:46:13', '2015-12-20 18:46:13', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:46:13', '2015-12-20 18:46:13', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:46:13', '2015-12-20 18:46:13', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:46:13', '2015-12-20 18:46:13', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:46:13', '2015-12-20 18:46:13', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:46:13', '2015-12-20 18:46:13', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:46:13', '2015-12-20 18:46:13', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:46:13', '2015-12-20 18:46:13', 298486374)[0m
+ [1m[35m (59.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (89.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (67.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (50.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (54.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (55.9ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (53.9ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.5ms)[0m DROP TABLE "shops"
+ [1m[36m (57.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:49:17', '2015-12-20 18:49:17', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:49:17', '2015-12-20 18:49:17', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:49:17', '2015-12-20 18:49:17', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:49:17', '2015-12-20 18:49:17', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:49:17', '2015-12-20 18:49:17', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:49:17', '2015-12-20 18:49:17', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:49:17', '2015-12-20 18:49:17', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:49:17', '2015-12-20 18:49:17', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:49:17', '2015-12-20 18:49:17', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:49:17', '2015-12-20 18:49:17', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:49:17', '2015-12-20 18:49:17', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:49:17', '2015-12-20 18:49:17', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:49:17', '2015-12-20 18:49:17', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:49:17', '2015-12-20 18:49:17', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:49:17', '2015-12-20 18:49:17', 298486374)[0m
+ [1m[35m (53.8ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.4ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (82.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (56.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (50.9ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (61.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:50:16', '2015-12-20 18:50:16', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:50:16', '2015-12-20 18:50:16', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:50:16', '2015-12-20 18:50:16', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:50:16', '2015-12-20 18:50:16', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:50:16', '2015-12-20 18:50:16', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:50:16', '2015-12-20 18:50:16', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:50:16', '2015-12-20 18:50:16', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:50:16', '2015-12-20 18:50:16', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:50:16', '2015-12-20 18:50:16', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:50:16', '2015-12-20 18:50:16', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:50:16', '2015-12-20 18:50:16', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:50:16', '2015-12-20 18:50:16', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:50:16', '2015-12-20 18:50:16', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:50:16', '2015-12-20 18:50:16', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:50:16', '2015-12-20 18:50:16', 298486374)[0m
+ [1m[35m (63.7ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (179.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (88.7ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (81.0ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (78.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (78.8ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:51:00', '2015-12-20 18:51:00', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:51:00', '2015-12-20 18:51:00', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:51:00', '2015-12-20 18:51:00', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:51:00', '2015-12-20 18:51:00', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:51:00', '2015-12-20 18:51:00', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:51:00', '2015-12-20 18:51:00', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:51:00', '2015-12-20 18:51:00', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:51:00', '2015-12-20 18:51:00', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:51:00', '2015-12-20 18:51:00', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:51:00', '2015-12-20 18:51:00', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:51:00', '2015-12-20 18:51:00', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:51:00', '2015-12-20 18:51:00', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:51:00', '2015-12-20 18:51:00', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:51:00', '2015-12-20 18:51:00', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:51:00', '2015-12-20 18:51:00', 298486374)[0m
+ [1m[35m (55.6ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (100.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (77.9ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (75.8ms)[0m DROP TABLE "shops"
+ [1m[36m (62.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:51:52', '2015-12-20 18:51:52', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:51:52', '2015-12-20 18:51:52', 298486374, 599072141)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:51:52', '2015-12-20 18:51:52', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:51:52', '2015-12-20 18:51:52', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:51:52', '2015-12-20 18:51:52', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:51:52', '2015-12-20 18:51:52', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:51:52', '2015-12-20 18:51:52', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:51:52', '2015-12-20 18:51:52', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:51:52', '2015-12-20 18:51:52', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:51:52', '2015-12-20 18:51:52', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:51:52', '2015-12-20 18:51:52', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:51:52', '2015-12-20 18:51:52', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:51:52', '2015-12-20 18:51:52', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:51:52', '2015-12-20 18:51:52', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:51:52', '2015-12-20 18:51:52', 298486374)[0m
+ [1m[35m (57.2ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (102.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.0ms)[0m DROP TABLE "shops"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:53:04', '2015-12-20 18:53:04', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:53:04', '2015-12-20 18:53:04', 298486374, 599072141)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:53:04', '2015-12-20 18:53:04', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:53:04', '2015-12-20 18:53:04', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:53:04', '2015-12-20 18:53:04', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:53:04', '2015-12-20 18:53:04', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:53:04', '2015-12-20 18:53:04', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:53:04', '2015-12-20 18:53:04', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:53:04', '2015-12-20 18:53:04', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:53:04', '2015-12-20 18:53:04', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:53:04', '2015-12-20 18:53:04', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:53:04', '2015-12-20 18:53:04', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:53:04', '2015-12-20 18:53:04', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:53:04', '2015-12-20 18:53:04', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:53:04', '2015-12-20 18:53:04', 298486374)[0m
+ [1m[35m (54.6ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (77.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (48.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.7ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (64.0ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (48.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:53:37', '2015-12-20 18:53:37', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:53:37', '2015-12-20 18:53:37', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:53:37', '2015-12-20 18:53:37', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:53:37', '2015-12-20 18:53:37', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:53:37', '2015-12-20 18:53:37', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:53:37', '2015-12-20 18:53:37', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:53:37', '2015-12-20 18:53:37', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:53:37', '2015-12-20 18:53:37', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:53:37', '2015-12-20 18:53:37', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:53:37', '2015-12-20 18:53:37', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:53:37', '2015-12-20 18:53:37', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:53:37', '2015-12-20 18:53:37', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:53:37', '2015-12-20 18:53:37', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:53:37', '2015-12-20 18:53:37', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:53:37', '2015-12-20 18:53:37', 298486374)[0m
+ [1m[35m (62.7ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (118.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (164.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "shops"
+ [1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:54:10', '2015-12-20 18:54:10', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:54:10', '2015-12-20 18:54:10', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:54:10', '2015-12-20 18:54:10', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:54:10', '2015-12-20 18:54:10', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:54:10', '2015-12-20 18:54:10', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:54:10', '2015-12-20 18:54:10', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:54:10', '2015-12-20 18:54:10', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:54:10', '2015-12-20 18:54:10', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:54:10', '2015-12-20 18:54:10', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:54:10', '2015-12-20 18:54:10', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:54:10', '2015-12-20 18:54:10', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:54:10', '2015-12-20 18:54:10', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:54:10', '2015-12-20 18:54:10', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:54:10', '2015-12-20 18:54:10', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:54:10', '2015-12-20 18:54:10', 298486374)[0m
+ [1m[35m (64.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (117.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (64.0ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (70.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "shops"
+ [1m[36m (68.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:54:51', '2015-12-20 18:54:51', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:54:51', '2015-12-20 18:54:51', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:54:51', '2015-12-20 18:54:51', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:54:51', '2015-12-20 18:54:51', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:54:51', '2015-12-20 18:54:51', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:54:51', '2015-12-20 18:54:51', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:54:51', '2015-12-20 18:54:51', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:54:51', '2015-12-20 18:54:51', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:54:51', '2015-12-20 18:54:51', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:54:51', '2015-12-20 18:54:51', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:54:51', '2015-12-20 18:54:51', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:54:51', '2015-12-20 18:54:51', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:54:51', '2015-12-20 18:54:51', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:54:51', '2015-12-20 18:54:51', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:54:51', '2015-12-20 18:54:51', 298486374)[0m
+ [1m[35m (54.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (82.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (68.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (89.8ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (89.4ms)[0m DROP TABLE "shops"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:57:01', '2015-12-20 18:57:01', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 18:57:01', '2015-12-20 18:57:01', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 18:57:01', '2015-12-20 18:57:01', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 18:57:01', '2015-12-20 18:57:01', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 18:57:01', '2015-12-20 18:57:01', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 18:57:01', '2015-12-20 18:57:01', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 18:57:01', '2015-12-20 18:57:01', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 18:57:01', '2015-12-20 18:57:01', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 18:57:01', '2015-12-20 18:57:01', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 18:57:01', '2015-12-20 18:57:01', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 18:57:01', '2015-12-20 18:57:01', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:57:01', '2015-12-20 18:57:01', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 18:57:01', '2015-12-20 18:57:01', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:57:01', '2015-12-20 18:57:01', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 18:57:01', '2015-12-20 18:57:01', 298486374)[0m
+ [1m[35m (56.8ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (95.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:00:43', '2015-12-20 19:00:43', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:00:43', '2015-12-20 19:00:43', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:00:43', '2015-12-20 19:00:43', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:00:43', '2015-12-20 19:00:43', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:00:43', '2015-12-20 19:00:43', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:00:43', '2015-12-20 19:00:43', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:00:43', '2015-12-20 19:00:43', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:00:43', '2015-12-20 19:00:43', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:00:43', '2015-12-20 19:00:43', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:00:43', '2015-12-20 19:00:43', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:00:43', '2015-12-20 19:00:43', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:00:43', '2015-12-20 19:00:43', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:00:43', '2015-12-20 19:00:43', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:00:43', '2015-12-20 19:00:43', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:00:43', '2015-12-20 19:00:43', 298486374)[0m
+ [1m[35m (64.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (130.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (73.0ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "shops"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:01:37', '2015-12-20 19:01:37', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:01:37', '2015-12-20 19:01:37', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:01:37', '2015-12-20 19:01:37', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:01:37', '2015-12-20 19:01:37', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:01:37', '2015-12-20 19:01:37', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:01:37', '2015-12-20 19:01:37', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:01:37', '2015-12-20 19:01:37', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:01:37', '2015-12-20 19:01:37', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:01:37', '2015-12-20 19:01:37', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:01:37', '2015-12-20 19:01:37', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:01:37', '2015-12-20 19:01:37', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:01:37', '2015-12-20 19:01:37', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:01:37', '2015-12-20 19:01:37', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:01:37', '2015-12-20 19:01:37', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:01:37', '2015-12-20 19:01:37', 298486374)[0m
+ [1m[35m (55.2ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (106.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (70.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:02:25', '2015-12-20 19:02:25', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:02:25', '2015-12-20 19:02:25', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:02:25', '2015-12-20 19:02:25', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:02:25', '2015-12-20 19:02:25', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:02:25', '2015-12-20 19:02:25', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:02:25', '2015-12-20 19:02:25', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:02:25', '2015-12-20 19:02:25', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:02:25', '2015-12-20 19:02:25', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:02:25', '2015-12-20 19:02:25', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:02:25', '2015-12-20 19:02:25', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:02:25', '2015-12-20 19:02:25', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:02:25', '2015-12-20 19:02:25', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:02:25', '2015-12-20 19:02:25', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:02:25', '2015-12-20 19:02:25', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:02:25', '2015-12-20 19:02:25', 298486374)[0m
+ [1m[35m (54.4ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (91.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (67.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (61.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (76.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (402.9ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:02:54', '2015-12-20 19:02:54', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:02:54', '2015-12-20 19:02:54', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:02:54', '2015-12-20 19:02:54', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:02:54', '2015-12-20 19:02:54', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:02:54', '2015-12-20 19:02:54', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:02:54', '2015-12-20 19:02:54', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:02:54', '2015-12-20 19:02:54', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:02:54', '2015-12-20 19:02:54', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:02:54', '2015-12-20 19:02:54', 599072141)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:02:54', '2015-12-20 19:02:54', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:02:54', '2015-12-20 19:02:54', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:02:55', '2015-12-20 19:02:55', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:02:55', '2015-12-20 19:02:55', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:02:55', '2015-12-20 19:02:55', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:02:55', '2015-12-20 19:02:55', 298486374)[0m
+ [1m[35m (55.6ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (98.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:03:56', '2015-12-20 19:03:56', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:03:56', '2015-12-20 19:03:56', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:03:56', '2015-12-20 19:03:56', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:03:56', '2015-12-20 19:03:56', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:03:56', '2015-12-20 19:03:56', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:03:56', '2015-12-20 19:03:56', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:03:56', '2015-12-20 19:03:56', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:03:56', '2015-12-20 19:03:56', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:03:56', '2015-12-20 19:03:56', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:03:56', '2015-12-20 19:03:56', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:03:56', '2015-12-20 19:03:56', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:03:56', '2015-12-20 19:03:56', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:03:56', '2015-12-20 19:03:56', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:03:56', '2015-12-20 19:03:56', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:03:56', '2015-12-20 19:03:56', 298486374)[0m
+ [1m[35m (50.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (119.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (114.6ms)[0m DROP TABLE "shops"
+ [1m[36m (229.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:04:59', '2015-12-20 19:04:59', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:04:59', '2015-12-20 19:04:59', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:04:59', '2015-12-20 19:04:59', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:04:59', '2015-12-20 19:04:59', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:04:59', '2015-12-20 19:04:59', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:04:59', '2015-12-20 19:04:59', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:04:59', '2015-12-20 19:04:59', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:04:59', '2015-12-20 19:04:59', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:04:59', '2015-12-20 19:04:59', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:04:59', '2015-12-20 19:04:59', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:04:59', '2015-12-20 19:04:59', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:04:59', '2015-12-20 19:04:59', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:04:59', '2015-12-20 19:04:59', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:04:59', '2015-12-20 19:04:59', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:04:59', '2015-12-20 19:04:59', 298486374)[0m
+ [1m[35m (56.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (106.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "shops"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:06:09', '2015-12-20 19:06:09', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:06:09', '2015-12-20 19:06:09', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:06:09', '2015-12-20 19:06:09', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:06:09', '2015-12-20 19:06:09', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:06:09', '2015-12-20 19:06:09', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:06:09', '2015-12-20 19:06:09', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:06:09', '2015-12-20 19:06:09', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:06:09', '2015-12-20 19:06:09', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:06:09', '2015-12-20 19:06:09', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:06:09', '2015-12-20 19:06:09', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:06:09', '2015-12-20 19:06:09', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:06:09', '2015-12-20 19:06:09', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:06:09', '2015-12-20 19:06:09', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:06:09', '2015-12-20 19:06:09', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:06:09', '2015-12-20 19:06:09', 298486374)[0m
+ [1m[35m (57.2ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (101.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (67.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (60.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:06:27', '2015-12-20 19:06:27', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:06:27', '2015-12-20 19:06:27', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:06:27', '2015-12-20 19:06:27', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:06:27', '2015-12-20 19:06:27', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:06:27', '2015-12-20 19:06:27', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:06:27', '2015-12-20 19:06:27', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:06:27', '2015-12-20 19:06:27', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:06:27', '2015-12-20 19:06:27', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:06:27', '2015-12-20 19:06:27', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:06:27', '2015-12-20 19:06:27', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:06:27', '2015-12-20 19:06:27', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:06:27', '2015-12-20 19:06:27', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:06:27', '2015-12-20 19:06:27', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:06:27', '2015-12-20 19:06:27', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:06:27', '2015-12-20 19:06:27', 298486374)[0m
+ [1m[35m (58.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (100.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (54.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:15:48', '2015-12-20 19:15:48', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:15:48', '2015-12-20 19:15:48', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:15:48', '2015-12-20 19:15:48', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:15:48', '2015-12-20 19:15:48', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:15:48', '2015-12-20 19:15:48', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:15:48', '2015-12-20 19:15:48', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:15:48', '2015-12-20 19:15:48', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:15:48', '2015-12-20 19:15:48', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:15:48', '2015-12-20 19:15:48', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:15:48', '2015-12-20 19:15:48', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:15:48', '2015-12-20 19:15:48', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:15:48', '2015-12-20 19:15:48', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:15:48', '2015-12-20 19:15:48', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:15:48', '2015-12-20 19:15:48', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:15:48', '2015-12-20 19:15:48', 298486374)[0m
+ [1m[35m (55.4ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (97.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (48.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.1ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:16:15', '2015-12-20 19:16:15', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:16:15', '2015-12-20 19:16:15', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:16:15', '2015-12-20 19:16:15', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:16:15', '2015-12-20 19:16:15', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:16:15', '2015-12-20 19:16:15', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:16:15', '2015-12-20 19:16:15', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:16:15', '2015-12-20 19:16:15', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:16:15', '2015-12-20 19:16:15', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:16:15', '2015-12-20 19:16:15', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:16:15', '2015-12-20 19:16:15', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:16:15', '2015-12-20 19:16:15', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:16:15', '2015-12-20 19:16:15', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:16:15', '2015-12-20 19:16:15', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:16:15', '2015-12-20 19:16:15', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:16:15', '2015-12-20 19:16:15', 298486374)[0m
+ [1m[35m (58.8ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (150.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (147.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.1ms)[0m DROP TABLE "shops"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:16:53', '2015-12-20 19:16:53', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:16:53', '2015-12-20 19:16:53', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:16:53', '2015-12-20 19:16:53', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:16:53', '2015-12-20 19:16:53', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:16:53', '2015-12-20 19:16:53', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:16:53', '2015-12-20 19:16:53', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:16:53', '2015-12-20 19:16:53', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:16:53', '2015-12-20 19:16:53', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:16:53', '2015-12-20 19:16:53', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:16:53', '2015-12-20 19:16:53', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:16:53', '2015-12-20 19:16:53', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:16:53', '2015-12-20 19:16:53', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:16:53', '2015-12-20 19:16:53', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:16:53', '2015-12-20 19:16:53', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:16:53', '2015-12-20 19:16:53', 298486374)[0m
+ [1m[35m (49.2ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (101.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (70.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (78.7ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (58.9ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.5ms)[0m DROP TABLE "shops"
+ [1m[36m (56.9ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:17:30', '2015-12-20 19:17:30', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:17:30', '2015-12-20 19:17:30', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:17:30', '2015-12-20 19:17:30', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:17:30', '2015-12-20 19:17:30', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:17:30', '2015-12-20 19:17:30', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:17:30', '2015-12-20 19:17:30', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:17:30', '2015-12-20 19:17:30', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:17:30', '2015-12-20 19:17:30', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:17:30', '2015-12-20 19:17:30', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:17:30', '2015-12-20 19:17:30', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:17:30', '2015-12-20 19:17:30', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:17:30', '2015-12-20 19:17:30', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:17:30', '2015-12-20 19:17:30', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:17:30', '2015-12-20 19:17:30', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:17:30', '2015-12-20 19:17:30', 298486374)[0m
+ [1m[35m (53.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (133.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (61.7ms)[0m DROP TABLE "shops"
+ [1m[36m (57.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:18:22', '2015-12-20 19:18:22', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:18:22', '2015-12-20 19:18:22', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:18:22', '2015-12-20 19:18:22', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:18:22', '2015-12-20 19:18:22', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:18:22', '2015-12-20 19:18:22', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:18:22', '2015-12-20 19:18:22', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:18:22', '2015-12-20 19:18:22', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:18:22', '2015-12-20 19:18:22', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:18:22', '2015-12-20 19:18:22', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:18:22', '2015-12-20 19:18:22', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:18:22', '2015-12-20 19:18:22', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:18:22', '2015-12-20 19:18:22', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:18:22', '2015-12-20 19:18:22', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:18:22', '2015-12-20 19:18:22', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:18:22', '2015-12-20 19:18:22', 298486374)[0m
+ [1m[35m (53.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (103.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.0ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (76.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (64.8ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (177.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (90.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (78.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "shops"
+ [1m[36m (57.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:21:50', '2015-12-20 19:21:50', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:21:50', '2015-12-20 19:21:50', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:21:50', '2015-12-20 19:21:50', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:21:50', '2015-12-20 19:21:50', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:21:50', '2015-12-20 19:21:50', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:21:50', '2015-12-20 19:21:50', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:21:50', '2015-12-20 19:21:50', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:21:50', '2015-12-20 19:21:50', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:21:50', '2015-12-20 19:21:50', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:21:50', '2015-12-20 19:21:50', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:21:50', '2015-12-20 19:21:50', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:21:50', '2015-12-20 19:21:50', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:21:50', '2015-12-20 19:21:50', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:21:50', '2015-12-20 19:21:50', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:21:50', '2015-12-20 19:21:50', 298486374)[0m
+ [1m[35m (56.7ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (85.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (68.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (135.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (68.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (64.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "shops"
+ [1m[36m (76.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:23:30', '2015-12-20 19:23:30', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:23:30', '2015-12-20 19:23:30', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:23:30', '2015-12-20 19:23:30', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:23:30', '2015-12-20 19:23:30', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:23:30', '2015-12-20 19:23:30', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:23:30', '2015-12-20 19:23:30', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:23:30', '2015-12-20 19:23:30', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:23:30', '2015-12-20 19:23:30', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:23:30', '2015-12-20 19:23:30', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:23:30', '2015-12-20 19:23:30', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:23:30', '2015-12-20 19:23:30', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:23:30', '2015-12-20 19:23:30', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:23:30', '2015-12-20 19:23:30', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:23:30', '2015-12-20 19:23:30', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:23:30', '2015-12-20 19:23:30', 298486374)[0m
+ [1m[35m (55.2ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (86.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (50.9ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "shops"
+ [1m[36m (73.9ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:24:18', '2015-12-20 19:24:18', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:24:18', '2015-12-20 19:24:18', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:24:18', '2015-12-20 19:24:18', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:24:18', '2015-12-20 19:24:18', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:24:18', '2015-12-20 19:24:18', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:24:18', '2015-12-20 19:24:18', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:24:18', '2015-12-20 19:24:18', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:24:18', '2015-12-20 19:24:18', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:24:18', '2015-12-20 19:24:18', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:24:18', '2015-12-20 19:24:18', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:24:18', '2015-12-20 19:24:18', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:24:18', '2015-12-20 19:24:18', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:24:18', '2015-12-20 19:24:18', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:24:18', '2015-12-20 19:24:18', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:24:18', '2015-12-20 19:24:18', 298486374)[0m
+ [1m[35m (62.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_fsend
+--------------------------------------------
+ [1m[36mExtface::Driver Load (0.3ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+---------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_handle
+---------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_response_frame
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (76.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (68.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (70.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (56.9ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (54.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (56.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (69.9ms)[0m DROP TABLE "shops"
+ [1m[36m (76.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:26:01', '2015-12-20 19:26:01', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:26:01', '2015-12-20 19:26:01', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:26:01', '2015-12-20 19:26:01', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:26:01', '2015-12-20 19:26:01', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:26:01', '2015-12-20 19:26:01', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:26:01', '2015-12-20 19:26:01', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:26:01', '2015-12-20 19:26:01', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:26:01', '2015-12-20 19:26:01', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:26:01', '2015-12-20 19:26:01', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:26:01', '2015-12-20 19:26:01', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:26:01', '2015-12-20 19:26:01', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:26:01', '2015-12-20 19:26:01', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:26:01', '2015-12-20 19:26:01', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:26:01', '2015-12-20 19:26:01', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:26:01', '2015-12-20 19:26:01', 298486374)[0m
+ [1m[35m (55.0ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (81.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (57.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (117.8ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (89.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.1ms)[0m DROP TABLE "shops"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:26:31', '2015-12-20 19:26:31', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:26:31', '2015-12-20 19:26:31', 298486374, 599072141)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:26:31', '2015-12-20 19:26:31', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:26:31', '2015-12-20 19:26:31', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:26:31', '2015-12-20 19:26:31', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:26:31', '2015-12-20 19:26:31', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:26:31', '2015-12-20 19:26:31', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:26:31', '2015-12-20 19:26:31', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:26:31', '2015-12-20 19:26:31', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:26:31', '2015-12-20 19:26:31', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:26:31', '2015-12-20 19:26:31', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:26:31', '2015-12-20 19:26:31', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:26:31', '2015-12-20 19:26:31', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:26:31', '2015-12-20 19:26:31', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:26:31', '2015-12-20 19:26:31', 298486374)[0m
+ [1m[35m (58.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (93.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (84.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (80.9ms)[0m DROP TABLE "shops"
+ [1m[36m (82.0ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:27:00', '2015-12-20 19:27:00', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:27:00', '2015-12-20 19:27:00', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:27:00', '2015-12-20 19:27:00', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:27:00', '2015-12-20 19:27:00', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:27:00', '2015-12-20 19:27:00', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:27:00', '2015-12-20 19:27:00', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:27:00', '2015-12-20 19:27:00', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:27:00', '2015-12-20 19:27:00', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:27:00', '2015-12-20 19:27:00', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:27:00', '2015-12-20 19:27:00', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:27:00', '2015-12-20 19:27:00', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:27:00', '2015-12-20 19:27:00', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:27:00', '2015-12-20 19:27:00', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:27:00', '2015-12-20 19:27:00', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:27:00', '2015-12-20 19:27:00', 298486374)[0m
+ [1m[35m (58.0ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (133.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (67.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.7ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:33:29', '2015-12-20 19:33:29', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:33:29', '2015-12-20 19:33:29', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:33:29', '2015-12-20 19:33:29', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:33:29', '2015-12-20 19:33:29', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:33:29', '2015-12-20 19:33:29', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:33:29', '2015-12-20 19:33:29', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:33:29', '2015-12-20 19:33:29', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:33:29', '2015-12-20 19:33:29', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:33:29', '2015-12-20 19:33:29', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:33:29', '2015-12-20 19:33:29', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:33:29', '2015-12-20 19:33:29', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:33:29', '2015-12-20 19:33:29', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:33:29', '2015-12-20 19:33:29', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:33:29', '2015-12-20 19:33:29', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:33:29', '2015-12-20 19:33:29', 298486374)[0m
+ [1m[35m (55.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (83.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (68.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (61.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (56.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:33:59', '2015-12-20 19:33:59', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:33:59', '2015-12-20 19:33:59', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:33:59', '2015-12-20 19:33:59', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:33:59', '2015-12-20 19:33:59', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:33:59', '2015-12-20 19:33:59', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:33:59', '2015-12-20 19:33:59', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:33:59', '2015-12-20 19:33:59', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:33:59', '2015-12-20 19:33:59', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:33:59', '2015-12-20 19:33:59', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:33:59', '2015-12-20 19:33:59', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:33:59', '2015-12-20 19:33:59', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:33:59', '2015-12-20 19:33:59', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:33:59', '2015-12-20 19:33:59', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:33:59', '2015-12-20 19:33:59', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:33:59', '2015-12-20 19:33:59', 298486374)[0m
+ [1m[35m (63.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (108.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:34:49', '2015-12-20 19:34:49', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:34:49', '2015-12-20 19:34:49', 298486374, 599072141)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:34:49', '2015-12-20 19:34:49', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:34:49', '2015-12-20 19:34:49', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:34:49', '2015-12-20 19:34:49', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:34:49', '2015-12-20 19:34:49', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:34:49', '2015-12-20 19:34:49', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:34:49', '2015-12-20 19:34:49', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:34:49', '2015-12-20 19:34:49', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:34:49', '2015-12-20 19:34:49', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:34:49', '2015-12-20 19:34:49', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:34:49', '2015-12-20 19:34:49', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:34:49', '2015-12-20 19:34:49', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:34:49', '2015-12-20 19:34:49', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:34:49', '2015-12-20 19:34:49', 298486374)[0m
+ [1m[35m (54.7ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (97.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.9ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (48.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (70.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:35:29', '2015-12-20 19:35:29', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:35:29', '2015-12-20 19:35:29', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:35:29', '2015-12-20 19:35:29', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:35:29', '2015-12-20 19:35:29', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:35:29', '2015-12-20 19:35:29', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:35:29', '2015-12-20 19:35:29', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:35:29', '2015-12-20 19:35:29', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:35:29', '2015-12-20 19:35:29', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:35:29', '2015-12-20 19:35:29', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:35:29', '2015-12-20 19:35:29', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:35:29', '2015-12-20 19:35:29', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:35:29', '2015-12-20 19:35:29', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:35:29', '2015-12-20 19:35:29', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:35:29', '2015-12-20 19:35:29', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:35:29', '2015-12-20 19:35:29', 298486374)[0m
+ [1m[35m (51.8ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (99.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.8ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (67.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (65.0ms)[0m DROP TABLE "shops"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:35:56', '2015-12-20 19:35:56', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:35:56', '2015-12-20 19:35:56', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:35:56', '2015-12-20 19:35:56', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:35:56', '2015-12-20 19:35:56', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:35:56', '2015-12-20 19:35:56', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:35:56', '2015-12-20 19:35:56', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:35:56', '2015-12-20 19:35:56', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:35:56', '2015-12-20 19:35:56', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:35:56', '2015-12-20 19:35:56', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:35:56', '2015-12-20 19:35:56', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:35:56', '2015-12-20 19:35:56', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:35:56', '2015-12-20 19:35:56', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:35:56', '2015-12-20 19:35:56', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:35:56', '2015-12-20 19:35:56', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:35:56', '2015-12-20 19:35:56', 298486374)[0m
+ [1m[35m (56.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (89.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (54.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (53.9ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (67.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:36:20', '2015-12-20 19:36:20', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:36:20', '2015-12-20 19:36:20', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:36:20', '2015-12-20 19:36:20', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:36:20', '2015-12-20 19:36:20', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:36:20', '2015-12-20 19:36:20', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:36:20', '2015-12-20 19:36:20', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:36:20', '2015-12-20 19:36:20', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:36:20', '2015-12-20 19:36:20', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:36:20', '2015-12-20 19:36:20', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:36:20', '2015-12-20 19:36:20', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:36:20', '2015-12-20 19:36:20', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:36:20', '2015-12-20 19:36:20', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:36:20', '2015-12-20 19:36:20', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:36:20', '2015-12-20 19:36:20', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:36:20', '2015-12-20 19:36:20', 298486374)[0m
+ [1m[35m (68.6ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (89.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (144.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (76.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.9ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (65.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:36:45', '2015-12-20 19:36:45', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:36:45', '2015-12-20 19:36:45', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:36:45', '2015-12-20 19:36:45', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:36:45', '2015-12-20 19:36:45', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:36:45', '2015-12-20 19:36:45', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:36:45', '2015-12-20 19:36:45', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:36:45', '2015-12-20 19:36:45', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:36:45', '2015-12-20 19:36:45', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:36:45', '2015-12-20 19:36:45', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:36:45', '2015-12-20 19:36:45', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:36:45', '2015-12-20 19:36:45', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:36:45', '2015-12-20 19:36:45', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:36:45', '2015-12-20 19:36:45', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:36:45', '2015-12-20 19:36:45', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:36:45', '2015-12-20 19:36:45', 298486374)[0m
+ [1m[35m (55.5ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (84.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.9ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (66.0ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:37:00', '2015-12-20 19:37:00', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:37:00', '2015-12-20 19:37:00', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:37:00', '2015-12-20 19:37:00', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:37:00', '2015-12-20 19:37:00', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:37:00', '2015-12-20 19:37:00', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:37:00', '2015-12-20 19:37:00', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:37:00', '2015-12-20 19:37:00', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:37:00', '2015-12-20 19:37:00', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:37:00', '2015-12-20 19:37:00', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:37:00', '2015-12-20 19:37:00', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:37:00', '2015-12-20 19:37:00', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:37:00', '2015-12-20 19:37:00', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:37:00', '2015-12-20 19:37:00', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:37:00', '2015-12-20 19:37:00', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:37:00', '2015-12-20 19:37:00', 298486374)[0m
+ [1m[35m (61.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (662.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:37:35', '2015-12-20 19:37:35', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:37:35', '2015-12-20 19:37:35', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:37:35', '2015-12-20 19:37:35', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:37:35', '2015-12-20 19:37:35', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:37:35', '2015-12-20 19:37:35', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:37:35', '2015-12-20 19:37:35', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:37:35', '2015-12-20 19:37:35', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:37:35', '2015-12-20 19:37:35', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:37:35', '2015-12-20 19:37:35', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:37:35', '2015-12-20 19:37:35', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:37:35', '2015-12-20 19:37:35', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:37:35', '2015-12-20 19:37:35', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:37:35', '2015-12-20 19:37:35', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:37:35', '2015-12-20 19:37:35', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:37:35', '2015-12-20 19:37:35', 298486374)[0m
+ [1m[35m (57.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (127.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (72.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:37:53', '2015-12-20 19:37:53', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:37:53', '2015-12-20 19:37:53', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:37:53', '2015-12-20 19:37:53', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:37:53', '2015-12-20 19:37:53', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:37:53', '2015-12-20 19:37:53', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:37:53', '2015-12-20 19:37:53', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:37:53', '2015-12-20 19:37:53', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:37:53', '2015-12-20 19:37:53', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:37:53', '2015-12-20 19:37:53', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:37:53', '2015-12-20 19:37:53', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:37:53', '2015-12-20 19:37:53', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:37:53', '2015-12-20 19:37:53', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:37:53', '2015-12-20 19:37:53', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:37:53', '2015-12-20 19:37:53', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:37:53', '2015-12-20 19:37:53', 298486374)[0m
+ [1m[35m (55.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (98.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (61.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (50.9ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:41:10', '2015-12-20 19:41:10', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:41:10', '2015-12-20 19:41:10', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:41:10', '2015-12-20 19:41:10', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:41:10', '2015-12-20 19:41:10', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:41:10', '2015-12-20 19:41:10', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:41:10', '2015-12-20 19:41:10', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:41:10', '2015-12-20 19:41:10', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:41:10', '2015-12-20 19:41:10', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:41:10', '2015-12-20 19:41:10', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:41:10', '2015-12-20 19:41:10', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:41:10', '2015-12-20 19:41:10', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:41:10', '2015-12-20 19:41:10', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:41:10', '2015-12-20 19:41:10', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:41:10', '2015-12-20 19:41:10', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:41:10', '2015-12-20 19:41:10', 298486374)[0m
+ [1m[35m (50.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (101.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (81.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (80.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (81.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (81.7ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (73.1ms)[0m DROP TABLE "shops"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:41:31', '2015-12-20 19:41:31', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:41:31', '2015-12-20 19:41:31', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:41:31', '2015-12-20 19:41:31', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:41:31', '2015-12-20 19:41:31', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:41:31', '2015-12-20 19:41:31', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:41:31', '2015-12-20 19:41:31', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:41:31', '2015-12-20 19:41:31', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:41:31', '2015-12-20 19:41:31', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:41:31', '2015-12-20 19:41:31', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:41:31', '2015-12-20 19:41:31', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:41:31', '2015-12-20 19:41:31', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:41:31', '2015-12-20 19:41:31', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:41:31', '2015-12-20 19:41:31', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:41:31', '2015-12-20 19:41:31', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:41:31', '2015-12-20 19:41:31', 298486374)[0m
+ [1m[35m (51.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (103.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.8ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:43:00', '2015-12-20 19:43:00', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:43:00', '2015-12-20 19:43:00', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:43:00', '2015-12-20 19:43:00', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:43:00', '2015-12-20 19:43:00', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:43:00', '2015-12-20 19:43:00', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:43:00', '2015-12-20 19:43:00', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:43:00', '2015-12-20 19:43:00', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:43:00', '2015-12-20 19:43:00', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:43:00', '2015-12-20 19:43:00', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:43:00', '2015-12-20 19:43:00', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:43:00', '2015-12-20 19:43:00', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:43:00', '2015-12-20 19:43:00', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:43:00', '2015-12-20 19:43:00', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:43:00', '2015-12-20 19:43:00', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:43:00', '2015-12-20 19:43:00', 298486374)[0m
+ [1m[35m (64.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (146.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "shops"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:43:59', '2015-12-20 19:43:59', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:43:59', '2015-12-20 19:43:59', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:43:59', '2015-12-20 19:43:59', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:43:59', '2015-12-20 19:43:59', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:43:59', '2015-12-20 19:43:59', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:43:59', '2015-12-20 19:43:59', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:43:59', '2015-12-20 19:43:59', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:43:59', '2015-12-20 19:43:59', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:43:59', '2015-12-20 19:43:59', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:43:59', '2015-12-20 19:43:59', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:43:59', '2015-12-20 19:43:59', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:43:59', '2015-12-20 19:43:59', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:43:59', '2015-12-20 19:43:59', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:43:59', '2015-12-20 19:43:59', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:43:59', '2015-12-20 19:43:59', 298486374)[0m
+ [1m[35m (68.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (106.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:44:17', '2015-12-20 19:44:17', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:44:17', '2015-12-20 19:44:17', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:44:17', '2015-12-20 19:44:17', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:44:17', '2015-12-20 19:44:17', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:44:17', '2015-12-20 19:44:17', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:44:17', '2015-12-20 19:44:17', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:44:17', '2015-12-20 19:44:17', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:44:17', '2015-12-20 19:44:17', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:44:17', '2015-12-20 19:44:17', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:44:17', '2015-12-20 19:44:17', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:44:17', '2015-12-20 19:44:17', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:44:17', '2015-12-20 19:44:17', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:44:17', '2015-12-20 19:44:17', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:44:17', '2015-12-20 19:44:17', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:44:17', '2015-12-20 19:44:17', 298486374)[0m
+ [1m[35m (65.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (93.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (72.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:44:50', '2015-12-20 19:44:50', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:44:50', '2015-12-20 19:44:50', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:44:50', '2015-12-20 19:44:50', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:44:50', '2015-12-20 19:44:50', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:44:50', '2015-12-20 19:44:50', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:44:50', '2015-12-20 19:44:50', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:44:50', '2015-12-20 19:44:50', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:44:50', '2015-12-20 19:44:50', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:44:50', '2015-12-20 19:44:50', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:44:50', '2015-12-20 19:44:50', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:44:50', '2015-12-20 19:44:50', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:44:50', '2015-12-20 19:44:50', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:44:50', '2015-12-20 19:44:50', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:44:50', '2015-12-20 19:44:50', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:44:50', '2015-12-20 19:44:50', 298486374)[0m
+ [1m[35m (55.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (95.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (61.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (68.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (47.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (70.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.6ms)[0m DROP TABLE "shops"
+ [1m[36m (73.9ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.3ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:45:30', '2015-12-20 19:45:30', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-20 19:45:30', '2015-12-20 19:45:30', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-20 19:45:30', '2015-12-20 19:45:30', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-20 19:45:30', '2015-12-20 19:45:30', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-20 19:45:30', '2015-12-20 19:45:30', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 19:45:30', '2015-12-20 19:45:30', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-20 19:45:30', '2015-12-20 19:45:30', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 19:45:30', '2015-12-20 19:45:30', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 19:45:30', '2015-12-20 19:45:30', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 19:45:30', '2015-12-20 19:45:30', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 19:45:30', '2015-12-20 19:45:30', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:45:30', '2015-12-20 19:45:30', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 19:45:30', '2015-12-20 19:45:30', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:45:30', '2015-12-20 19:45:30', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 19:45:30', '2015-12-20 19:45:30', 298486374)[0m
+ [1m[35m (61.5ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m