[LNT] r249003 - Fix temporary DB creation for postgres as used by the unit tests
Kristof Beyls via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 05:32:08 PDT 2015
Author: kbeyls
Date: Thu Oct 1 07:32:08 2015
New Revision: 249003
URL: http://llvm.org/viewvc/llvm-project?rev=249003&view=rev
Log:
Fix temporary DB creation for postgres as used by the unit tests
The support for running the unit tests on Postgres in r248787 wasn't complete,
and this shows when running the unit tests against a patch that changes the
database schema. Particularly: sqlite has a by-default "autoincrement" feature
on integer primary keys, which is relied on. On Postgres, there is no such
feature. Instead, integer primary keys should be specified as having data type
"serial" on Postgres.
This patch adapts the create_temp_instance.py script which instantiates the
temporary database, to replace "INTEGER PRIMARY KEY" in the sql scripts into
"serial primary key" when constructing the database on Postgres.
However, that's not the end of the story. The sql scripts before specified the
integer primary key values when inserting records; which doesn't conflict with
sqlite's autoincrement on primary keys. However, in postgres, sequence objects
are used to provide new values for the serial primary keys. When primary key
values are explicitly provided, the underlying sequence objects don't get
updated. The result is that on a subsequent insertion of a row through the
sqlalchemy layer, the sequence object will provide an integer primary key
value which is already present in the table, resulting in a violated primary
key constraint and an error.
This is resolved by making sure no integer primary key values are provided in
the sql scripts. To do this, also some ID values on *_Order and *_Test tables
had to be renumbered to start from 1 instead of a higher value.
Modified:
lnt/trunk/tests/SharedInputs/SmallInstance/data/lnt_db_create.sql
lnt/trunk/tests/SharedInputs/create_temp_instance.py
lnt/trunk/tests/server/ui/Inputs/V4Pages_extra_records.sql
lnt/trunk/tests/server/ui/V4Pages.py
lnt/trunk/tests/server/ui/test_api.py
Modified: lnt/trunk/tests/SharedInputs/SmallInstance/data/lnt_db_create.sql
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/SharedInputs/SmallInstance/data/lnt_db_create.sql?rev=249003&r1=249002&r2=249003&view=diff
==============================================================================
--- lnt/trunk/tests/SharedInputs/SmallInstance/data/lnt_db_create.sql (original)
+++ lnt/trunk/tests/SharedInputs/SmallInstance/data/lnt_db_create.sql Thu Oct 1 07:32:08 2015
@@ -7,121 +7,157 @@ CREATE TABLE "SchemaVersion" (
);
INSERT INTO "SchemaVersion" VALUES('__core__',6);
CREATE TABLE "TestSuite" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"Name" VARCHAR(256),
"DBKeyName" VARCHAR(256),
"Version" VARCHAR(16),
- PRIMARY KEY ("ID"),
UNIQUE ("Name")
);
-INSERT INTO "TestSuite" VALUES(1,'nts','NT',NULL);
-INSERT INTO "TestSuite" VALUES(2,'compile','compile',NULL);
+INSERT INTO "TestSuite" ("Name", "DBKeyName") VALUES('nts','NT'); --ID 1
+INSERT INTO "TestSuite" ("Name", "DBKeyName") VALUES('compile','compile');--ID 2
CREATE TABLE "StatusKind" (
"ID" INTEGER NOT NULL,
"Name" VARCHAR(256),
- PRIMARY KEY ("ID"),
+ PRIMARY KEY ("ID"),
UNIQUE ("Name")
);
INSERT INTO "StatusKind" VALUES(0,'PASS');
INSERT INTO "StatusKind" VALUES(1,'FAIL');
INSERT INTO "StatusKind" VALUES(2,'XFAIL');
CREATE TABLE "SampleType" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"Name" VARCHAR(256),
- PRIMARY KEY ("ID"),
UNIQUE ("Name")
);
-INSERT INTO "SampleType" VALUES(1,'Real');
-INSERT INTO "SampleType" VALUES(2,'Status');
+INSERT INTO "SampleType" ("Name") VALUES('Real'); -- ID 1
+INSERT INTO "SampleType" ("Name") VALUES('Status'); -- ID 2
CREATE TABLE "TestSuiteRunFields" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"TestSuiteID" INTEGER,
"Name" VARCHAR(256),
"InfoKey" VARCHAR(256),
- PRIMARY KEY ("ID"),
FOREIGN KEY("TestSuiteID") REFERENCES "TestSuite" ("ID")
);
CREATE TABLE "TestSuiteOrderFields" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"TestSuiteID" INTEGER,
"Name" VARCHAR(256),
"InfoKey" VARCHAR(256),
"Ordinal" INTEGER,
- PRIMARY KEY ("ID"),
FOREIGN KEY("TestSuiteID") REFERENCES "TestSuite" ("ID")
);
-INSERT INTO "TestSuiteOrderFields" VALUES(1,1,'llvm_project_revision','run_order',0);
-INSERT INTO "TestSuiteOrderFields" VALUES(2,2,'llvm_project_revision','run_order',0);
+INSERT INTO "TestSuiteOrderFields" ("TestSuiteID", "Name", "InfoKey", "Ordinal")
+ VALUES(1,'llvm_project_revision','run_order',0); -- ID 1
+INSERT INTO "TestSuiteOrderFields" ("TestSuiteID", "Name", "InfoKey", "Ordinal")
+ VALUES(2,'llvm_project_revision','run_order',0); -- ID 2
CREATE TABLE "TestSuiteSampleFields" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"TestSuiteID" INTEGER,
"Name" VARCHAR(256),
"Type" INTEGER,
"InfoKey" VARCHAR(256),
status_field INTEGER, bigger_is_better INTEGER DEFAULT 0,
- PRIMARY KEY ("ID"),
FOREIGN KEY("TestSuiteID") REFERENCES "TestSuite" ("ID"),
FOREIGN KEY("Type") REFERENCES "SampleType" ("ID"),
FOREIGN KEY(status_field) REFERENCES "TestSuiteSampleFields" ("ID")
);
-INSERT INTO "TestSuiteSampleFields" VALUES(1,1,'compile_status',2,'.compile.status',NULL,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(2,1,'execution_status',2,'.exec.status',NULL,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(3,1,'compile_time',1,'.compile',1,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(4,1,'execution_time',1,'.exec',2,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(5,2,'user_status',2,'.user.status',NULL,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(6,2,'sys_status',2,'.sys.status',NULL,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(7,2,'wall_status',2,'.wall.status',NULL,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(8,2,'size_status',2,'.size.status',NULL,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(9,2,'mem_status',2,'.mem.status',NULL,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(10,2,'user_time',1,'.user',5,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(11,2,'sys_time',1,'.sys',6,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(12,2,'wall_time',1,'.wall',7,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(13,2,'size_bytes',1,'.size',8,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(14,2,'mem_bytes',1,'.mem',9,0);
-INSERT INTO "TestSuiteSampleFields" VALUES(15,1,'score',1,'.score',NULL,1);
-INSERT INTO "TestSuiteSampleFields" VALUES(16,1,'mem_bytes',1,'.mem',NULL,0);
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(1,'compile_status',2,'.compile.status',NULL,0); -- ID 1
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(1,'execution_status',2,'.exec.status',NULL,0); -- ID 2
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(1,'compile_time',1,'.compile',1,0); -- ID 3
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(1,'execution_time',1,'.exec',2,0); -- ID 4
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'user_status',2,'.user.status',NULL,0); -- ID 5
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'sys_status',2,'.sys.status',NULL,0); -- ID 6
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'wall_status',2,'.wall.status',NULL,0); -- ID 7
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'size_status',2,'.size.status',NULL,0); -- ID 8
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'mem_status',2,'.mem.status',NULL,0); -- ID 9
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'user_time',1,'.user',5,0); -- ID 10
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'sys_time',1,'.sys',6,0); -- ID 11
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'wall_time',1,'.wall',7,0); -- ID 12
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'size_bytes',1,'.size',8,0); -- ID 13
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(2,'mem_bytes',1,'.mem',9,0); -- ID 14
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(1,'score',1,'.score',NULL,1); -- ID 15
+INSERT INTO "TestSuiteSampleFields" ("TestSuiteID", "Name", "Type", "InfoKey",
+ "status_field", "bigger_is_better")
+ VALUES(1,'mem_bytes',1,'.mem',NULL,0); -- ID 16
CREATE TABLE "TestSuiteMachineFields" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"TestSuiteID" INTEGER,
"Name" VARCHAR(256),
"InfoKey" VARCHAR(256),
- PRIMARY KEY ("ID"),
FOREIGN KEY("TestSuiteID") REFERENCES "TestSuite" ("ID")
);
-INSERT INTO "TestSuiteMachineFields" VALUES(1,1,'hardware','hardware');
-INSERT INTO "TestSuiteMachineFields" VALUES(2,1,'os','os');
-INSERT INTO "TestSuiteMachineFields" VALUES(3,2,'hardware','hw.model');
-INSERT INTO "TestSuiteMachineFields" VALUES(4,2,'os_version','kern.version');
+INSERT INTO "TestSuiteMachineFields" ("TestSuiteID", "Name", "InfoKey")
+ VALUES(1,'hardware','hardware'); -- ID 1
+INSERT INTO "TestSuiteMachineFields" ("TestSuiteID", "Name", "InfoKey")
+ VALUES(1,'os','os'); -- ID 2
+INSERT INTO "TestSuiteMachineFields" ("TestSuiteID", "Name", "InfoKey")
+ VALUES(2,'hardware','hw.model'); -- ID 3
+INSERT INTO "TestSuiteMachineFields" ("TestSuiteID", "Name", "InfoKey")
+ VALUES(2,'os_version','kern.version'); -- ID 4
CREATE TABLE "NT_Order" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"NextOrder" INTEGER,
"PreviousOrder" INTEGER,
llvm_project_revision VARCHAR(256),
- PRIMARY KEY ("ID"),
FOREIGN KEY("NextOrder") REFERENCES "NT_Order" ("ID"),
FOREIGN KEY("PreviousOrder") REFERENCES "NT_Order" ("ID")
);
-INSERT INTO "NT_Order" VALUES(3,NULL,NULL,'154331');
-INSERT INTO "NT_Order" VALUES(4,3,NULL,'152289');
-UPDATE "NT_Order" SET "PreviousOrder"=4 WHERE "ID"=3; --INTO "NT_Order" VALUES(3,NULL,4,'154331');
+INSERT INTO "NT_Order" ("NextOrder", "PreviousOrder", "llvm_project_revision")
+ VALUES(NULL,NULL,'154331'); -- ID 1
+INSERT INTO "NT_Order" ("NextOrder", "PreviousOrder", "llvm_project_revision")
+ VALUES(1,NULL,'152289'); -- ID 2
+UPDATE "NT_Order" SET "PreviousOrder"=2 WHERE "ID"=1;
CREATE TABLE "NT_Machine" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"Name" VARCHAR(256),
"Parameters" BLOB,
hardware VARCHAR(256),
- os VARCHAR(256),
- PRIMARY KEY ("ID")
+ os VARCHAR(256)
);
-INSERT INTO "NT_Machine" VALUES(1,'localhost__clang_DEV__x86_64','[["name", "localhost"], ["uname", "Darwin localhost 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64"]]','x86_64','Darwin 11.3.0');
+INSERT INTO "NT_Machine" ("Name", "Parameters", "hardware", "os")
+ VALUES('localhost__clang_DEV__x86_64',
+ '[["name", "localhost"], ["uname", "Darwin localhost 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64"]]',
+ 'x86_64','Darwin 11.3.0'); -- ID 1
CREATE TABLE "NT_Test" (
- "ID" INTEGER NOT NULL,
- "Name" VARCHAR(256),
- PRIMARY KEY ("ID")
+ "ID" INTEGER PRIMARY KEY NOT NULL,
+ "Name" VARCHAR(256)
);
-INSERT INTO "NT_Test" VALUES(1,'SingleSource/UnitTests/2006-12-01-float_varg');
-INSERT INTO "NT_Test" VALUES(2,'SingleSource/UnitTests/2006-12-04-DynAllocAndRestore');
+INSERT INTO "NT_Test" ("Name")
+ VALUES('SingleSource/UnitTests/2006-12-01-float_varg'); -- ID 1
+INSERT INTO "NT_Test" ("Name")
+ VALUES('SingleSource/UnitTests/2006-12-04-DynAllocAndRestore'); -- ID 2
CREATE TABLE "NT_Run" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"MachineID" INTEGER,
"OrderID" INTEGER,
"ImportedFrom" VARCHAR(512),
@@ -129,61 +165,91 @@ CREATE TABLE "NT_Run" (
"EndTime" DATETIME,
"SimpleRunID" INTEGER,
"Parameters" BLOB,
- PRIMARY KEY ("ID"),
FOREIGN KEY("MachineID") REFERENCES "NT_Machine" ("ID"),
FOREIGN KEY("OrderID") REFERENCES "NT_Order" ("ID")
);
-INSERT INTO "NT_Run" VALUES(1,1,3,'server/db/Inputs/lnt_v0.4.0_filled_instance/lnt_tmp/default/2012-04/data-2012-04-11_16-47-40bEjSGd.plist','2012-04-11 16:28:23.000000','2012-04-11 16:28:58.000000',NULL, CAST('[["ARCH", "x86_64"], ["CC_UNDER_TEST_IS_CLANG", "1"], ["CC_UNDER_TEST_TARGET_IS_X86_64", "1"], ["DISABLE_CBE", "1"], ["DISABLE_JIT", "1"], ["ENABLE_HASHED_PROGRAM_OUTPUT", "1"], ["ENABLE_OPTIMIZED", "1"], ["LLC_OPTFLAGS", "-O3"], ["LLI_OPTFLAGS", "-O3"], ["OPTFLAGS", "-O3"], ["TARGET_CC", "None"], ["TARGET_CXX", "None"], ["TARGET_FLAGS", ""], ["TARGET_LLVMGCC", "/tmp/bin/clang"], ["TARGET_LLVMGXX", "/tmp/bin/clang++"], ["TEST", "simple"], ["USE_REFERENCE_OUTPUT", "1"], ["__report_version__", "1"], ["cc1_exec_hash", "faf962f75130a6a50b5e8f61048c27ece631d0fd"], ["cc_alt_src_branch", "trunk"], ["cc_alt_src_revision", "154329"], ["cc_as_version", "LLVM (http://llvm.org/):\n LLVM version 3.1svn\n Optimized build.\n Built Apr 9 2012 (11:55:07).\n Default target: x86_64-apple-d
arwin11.3.0\n Host CPU: corei7-avx"], ["cc_build", "DEV"], ["cc_exec_hash", "faf962f75130a6a50b5e8f61048c27ece631d0fd"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-123.2.1\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks/"], ["cc_name", "clang"], ["cc_src_branch", "trunk"], ["cc_src_revision", "154331"], ["cc_target", "x86_64-apple-macosx10.7.0"], ["cc_version", "clang version 3.1 (trunk 154331) (llvm/trunk 154329)\nTarget: x86_64-apple-darwin11.3.0\nThread model: posix\n \"/tmp/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.7.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-v\" \"-resource-dir\" \"/tmp/bin/../lib/clang/3.1\" \"-fmodule-cache-path\" \"/var/folders/32/jb9nf1gs6hx12s0brx1xdy8w0000gn/T/clang-module-cache\" \"-fdebug-compilation-
dir\" \"/tmp/SANDBOX\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime-has-arc\" \"-fobjc-runtime-has-weak\" \"-fobjc-dispatch-method=mixed\" \"-fobjc-default-synthesize-properties\" \"-fdiagnostics-show-option\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "3.1"], ["inferred_run_order", "154331"], ["sw_vers", "ProductName:\tMac OS X\nProductVersion:\t10.7.3\nBuildVersion:\t11D50b"], ["test_suite_revision", "154271"]]' AS BLOB));
-INSERT INTO "NT_Run" VALUES(2,1,4,'report.json','2012-04-11 21:13:53.000000','2012-04-11 21:14:49.000000',NULL, CAST('[["ARCH", "x86_64"], ["CC_UNDER_TEST_IS_CLANG", "1"], ["CC_UNDER_TEST_TARGET_IS_X86_64", "1"], ["DISABLE_CBE", "1"], ["DISABLE_JIT", "1"], ["ENABLE_HASHED_PROGRAM_OUTPUT", "1"], ["ENABLE_OPTIMIZED", "1"], ["LLC_OPTFLAGS", "-O3"], ["LLI_OPTFLAGS", "-O3"], ["OPTFLAGS", "-O3"], ["TARGET_CC", "None"], ["TARGET_CXX", "None"], ["TARGET_FLAGS", ""], ["TARGET_LLVMGCC", "/tmp/bin/clang"], ["TARGET_LLVMGXX", "/tmp/bin/clang++"], ["TEST", "simple"], ["USE_REFERENCE_OUTPUT", "1"], ["__report_version__", "1"], ["cc1_exec_hash", "984ed8386e2acc8aef74ac3e59ef5e18b7406257"], ["cc_alt_src_branch", "trunk"], ["cc_alt_src_revision", "152288"], ["cc_as_version", "LLVM (http://llvm.org/):\n LLVM version 3.1svn\n Optimized build.\n Built Mar 7 2012 (15:19:54).\n Default target: x86_64-apple-darwin11.3.0\n Host CPU: corei7-avx"], ["cc_build", "DEV"], ["cc_exec_hash", "984ed8386e2acc8
aef74ac3e59ef5e18b7406257"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-123.2.1\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks/"], ["cc_name", "clang"], ["cc_src_branch", "trunk"], ["cc_src_revision", "152289"], ["cc_target", "x86_64-apple-macosx10.7.0"], ["cc_version", "clang version 3.1 (trunk 152289) (llvm/trunk 152288)\nTarget: x86_64-apple-darwin11.3.0\nThread model: posix\n \"/tmp/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.7.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-pic-level\" \"1\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-v\" \"-resource-dir\" \"/tmp/bin/../lib/clang/3.1\" \"-fmodule-cache-path\" \"/var/folders/32/jb9nf1gs6hx12s0brx1xdy8w0000gn/T/clang-module-cache\" \"-fdebug-compilation-dir\" \"/tmp/SANDBOX\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector
\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime-has-arc\" \"-fobjc-runtime-has-weak\" \"-fobjc-dispatch-method=mixed\" \"-fobjc-default-synthesize-properties\" \"-fdiagnostics-show-option\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "3.1"], ["inferred_run_order", "152289"], ["sw_vers", "ProductName:\tMac OS X\nProductVersion:\t10.7.3\nBuildVersion:\t11D50b"], ["test_suite_revision", "154271"]]' AS BLOB));
+INSERT INTO "NT_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(1,1,
+ 'server/db/Inputs/lnt_v0.4.0_filled_instance/lnt_tmp/default/2012-04/data-2012-04-11_16-47-40bEjSGd.plist','2012-04-11 16:28:23.000000','2012-04-11 16:28:58.000000',
+ NULL, CAST('[["ARCH", "x86_64"], ["CC_UNDER_TEST_IS_CLANG", "1"], ["CC_UNDER_TEST_TARGET_IS_X86_64", "1"], ["DISABLE_CBE", "1"], ["DISABLE_JIT", "1"], ["ENABLE_HASHED_PROGRAM_OUTPUT", "1"], ["ENABLE_OPTIMIZED", "1"], ["LLC_OPTFLAGS", "-O3"], ["LLI_OPTFLAGS", "-O3"], ["OPTFLAGS", "-O3"], ["TARGET_CC", "None"], ["TARGET_CXX", "None"], ["TARGET_FLAGS", ""], ["TARGET_LLVMGCC", "/tmp/bin/clang"], ["TARGET_LLVMGXX", "/tmp/bin/clang++"], ["TEST", "simple"], ["USE_REFERENCE_OUTPUT", "1"], ["__report_version__", "1"], ["cc1_exec_hash", "faf962f75130a6a50b5e8f61048c27ece631d0fd"], ["cc_alt_src_branch", "trunk"], ["cc_alt_src_revision", "154329"], ["cc_as_version", "LLVM (http://llvm.org/):\n LLVM version 3.1svn\n Optimized build.\n Built Apr 9 2012 (11:55:07).\n Default target: x86_64-apple-darwin11.3.0\n Host CPU: corei7-avx"], ["cc_build", "DEV"], ["cc_exec_hash", "faf962f75130a6a50b5e8f61048c27ece631d0fd"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-123.2.1\nLibrary sear
ch paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks/"], ["cc_name", "clang"], ["cc_src_branch", "trunk"], ["cc_src_revision", "154331"], ["cc_target", "x86_64-apple-macosx10.7.0"], ["cc_version", "clang version 3.1 (trunk 154331) (llvm/trunk 154329)\nTarget: x86_64-apple-darwin11.3.0\nThread model: posix\n \"/tmp/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.7.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-v\" \"-resource-dir\" \"/tmp/bin/../lib/clang/3.1\" \"-fmodule-cache-path\" \"/var/folders/32/jb9nf1gs6hx12s0brx1xdy8w0000gn/T/clang-module-cache\" \"-fdebug-compilation-dir\" \"/tmp/SANDBOX\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime-has-arc\" \"-fobjc-runtime-has-weak\" \"
-fobjc-dispatch-method=mixed\" \"-fobjc-default-synthesize-properties\" \"-fdiagnostics-show-option\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "3.1"], ["inferred_run_order", "154331"], ["sw_vers", "ProductName:\tMac OS X\nProductVersion:\t10.7.3\nBuildVersion:\t11D50b"], ["test_suite_revision", "154271"]]' AS BLOB)
+ ); -- ID 1
+INSERT INTO "NT_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(1,2,
+ 'report.json','2012-04-11 21:13:53.000000','2012-04-11 21:14:49.000000',
+ NULL, CAST('[["ARCH", "x86_64"], ["CC_UNDER_TEST_IS_CLANG", "1"], ["CC_UNDER_TEST_TARGET_IS_X86_64", "1"], ["DISABLE_CBE", "1"], ["DISABLE_JIT", "1"], ["ENABLE_HASHED_PROGRAM_OUTPUT", "1"], ["ENABLE_OPTIMIZED", "1"], ["LLC_OPTFLAGS", "-O3"], ["LLI_OPTFLAGS", "-O3"], ["OPTFLAGS", "-O3"], ["TARGET_CC", "None"], ["TARGET_CXX", "None"], ["TARGET_FLAGS", ""], ["TARGET_LLVMGCC", "/tmp/bin/clang"], ["TARGET_LLVMGXX", "/tmp/bin/clang++"], ["TEST", "simple"], ["USE_REFERENCE_OUTPUT", "1"], ["__report_version__", "1"], ["cc1_exec_hash", "984ed8386e2acc8aef74ac3e59ef5e18b7406257"], ["cc_alt_src_branch", "trunk"], ["cc_alt_src_revision", "152288"], ["cc_as_version", "LLVM (http://llvm.org/):\n LLVM version 3.1svn\n Optimized build.\n Built Mar 7 2012 (15:19:54).\n Default target: x86_64-apple-darwin11.3.0\n Host CPU: corei7-avx"], ["cc_build", "DEV"], ["cc_exec_hash", "984ed8386e2acc8aef74ac3e59ef5e18b7406257"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-123.2.1\nLibrary sear
ch paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks/"], ["cc_name", "clang"], ["cc_src_branch", "trunk"], ["cc_src_revision", "152289"], ["cc_target", "x86_64-apple-macosx10.7.0"], ["cc_version", "clang version 3.1 (trunk 152289) (llvm/trunk 152288)\nTarget: x86_64-apple-darwin11.3.0\nThread model: posix\n \"/tmp/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.7.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-pic-level\" \"1\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-v\" \"-resource-dir\" \"/tmp/bin/../lib/clang/3.1\" \"-fmodule-cache-path\" \"/var/folders/32/jb9nf1gs6hx12s0brx1xdy8w0000gn/T/clang-module-cache\" \"-fdebug-compilation-dir\" \"/tmp/SANDBOX\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime-has-arc\" \"-fobjc-runtime-has-weak\" \"
-fobjc-dispatch-method=mixed\" \"-fobjc-default-synthesize-properties\" \"-fdiagnostics-show-option\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "3.1"], ["inferred_run_order", "152289"], ["sw_vers", "ProductName:\tMac OS X\nProductVersion:\t10.7.3\nBuildVersion:\t11D50b"], ["test_suite_revision", "154271"]]' AS BLOB)
+ ); -- ID 2
CREATE TABLE "NT_Sample" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"RunID" INTEGER,
"TestID" INTEGER,
compile_status INTEGER,
execution_status INTEGER,
compile_time FLOAT,
execution_time FLOAT, score FLOAT, "mem_bytes" FLOAT,
- PRIMARY KEY ("ID"),
FOREIGN KEY("RunID") REFERENCES "NT_Run" ("ID"),
FOREIGN KEY("TestID") REFERENCES "NT_Test" ("ID"),
FOREIGN KEY(compile_status) REFERENCES "StatusKind" ("ID"),
FOREIGN KEY(execution_status) REFERENCES "StatusKind" ("ID")
);
-INSERT INTO "NT_Sample" VALUES(1,1,1,NULL,NULL,0.007,0.0003,NULL,NULL);
-INSERT INTO "NT_Sample" VALUES(2,1,2,NULL,NULL,0.0072,0.0003,NULL,NULL);
+INSERT INTO "NT_Sample" ("RunID", "TestID", "compile_status",
+ "execution_status", "compile_time", "execution_time",
+ "score", "mem_bytes")
+ VALUES(1,1,NULL,NULL,0.007,0.0003,NULL,NULL); -- ID 1
+INSERT INTO "NT_Sample" ("RunID", "TestID", "compile_status",
+ "execution_status", "compile_time", "execution_time",
+ "score", "mem_bytes")
+ VALUES(1,2,NULL,NULL,0.0072,0.0003,NULL,NULL); -- ID 2
CREATE TABLE "compile_Machine" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"Name" VARCHAR(256),
"Parameters" BLOB,
hardware VARCHAR(256),
- os_version VARCHAR(256),
- PRIMARY KEY ("ID")
+ os_version VARCHAR(256)
);
-INSERT INTO "compile_Machine" VALUES(1,'localhost', CAST('[["hw.activecpu", "8"], ["hw.availcpu", "8"], ["hw.busfrequency", "100000000"], ["hw.busfrequency_max", "100000000"], ["hw.busfrequency_min", "100000000"], ["hw.byteorder", "1234"], ["hw.cacheconfig", "8 2 2 8 0 0 0 0 0 0"], ["hw.cachelinesize", "64"], ["hw.cachesize", "8589934592 32768 262144 6291456 0 0 0 0 0 0"], ["hw.cpu64bit_capable", "1"], ["hw.cpufamily", "1418770316"], ["hw.cpufrequency", "2200000000"], ["hw.cpufrequency_max", "2200000000"], ["hw.cpufrequency_min", "2200000000"], ["hw.cpusubtype", "4"], ["hw.cputype", "7"], ["hw.epoch", "0"], ["hw.l1dcachesize", "32768"], ["hw.l1icachesize", "32768"], ["hw.l2cachesize", "262144"], ["hw.l2settings", "1"], ["hw.logicalcpu", "8"], ["hw.logicalcpu_max", "8"], ["hw.machine", "x86_64"], ["hw.memsize", "8589934592"], ["hw.ncpu", "8"], ["hw.optional.floatingpoint", "1"], ["hw.optional.mmx", "1"], ["hw.optional.sse", "1"], ["hw.optional.sse2", "1"], ["hw.optional.sse3", "1"],
["hw.optional.sse4_1", "1"], ["hw.optional.sse4_2", "1"], ["hw.optional.supplementalsse3", "1"], ["hw.optional.x86_64", "1"], ["hw.packages", "1"], ["hw.pagesize", "4096"], ["hw.physicalcpu", "4"], ["hw.physicalcpu_max", "4"], ["hw.physmem", "2147483648"], ["hw.tbfrequency", "1000000000"], ["hw.vectorunit", "1"], ["kern.aiomax", "90"], ["kern.aioprocmax", "16"], ["kern.aiothreads", "4"], ["kern.argmax", "262144"], ["kern.clockrate: hz", "second level name clockrate: hz in kern.clockrate: hz is invalid"], ["kern.coredump", "1"], ["kern.corefile", "/cores/core.%P"], ["kern.delayterm", "0"], ["kern.hostid", "0"], ["kern.hostname", "localhost"], ["kern.job_control", "1"], ["kern.maxfiles", "12288"], ["kern.maxfilesperproc", "10240"], ["kern.maxproc", "1064"], ["kern.maxprocperuid", "709"], ["kern.maxvnodes", "132096"], ["kern.netboot", "0"], ["kern.ngroups", "16"], ["kern.nisdomainname", ""], ["kern.nx", "1"], ["kern.osrelease", "11.3.0"], ["kern.osrevision", "199506"], ["kern.ostype",
"Darwin"], ["kern.osversion", "11D50b"], ["kern.posix1version", "200112"], ["kern.procname", ""], ["kern.rage_vnode", "0"], ["kern.safeboot", "0"], ["kern.saved_ids", "1"], ["kern.securelevel", "0"], ["kern.shreg_private", "0"], ["kern.speculative_reads_disabled", "0"], ["kern.sugid_coredump", "0"], ["kern.thread_name", "kern"], ["machdep.cpu.address_bits.physical", "36"], ["machdep.cpu.address_bits.virtual", "48"], ["machdep.cpu.arch_perf.events", "0"], ["machdep.cpu.arch_perf.events_number", "7"], ["machdep.cpu.arch_perf.fixed_number", "3"], ["machdep.cpu.arch_perf.fixed_width", "48"], ["machdep.cpu.arch_perf.number", "4"], ["machdep.cpu.arch_perf.version", "3"], ["machdep.cpu.arch_perf.width", "48"], ["machdep.cpu.brand", "0"], ["machdep.cpu.brand_string", "Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz"], ["machdep.cpu.cache.L2_associativity", "8"], ["machdep.cpu.cache.linesize", "64"], ["machdep.cpu.cache.size", "256"], ["machdep.cpu.core_count", "4"], ["machdep.cpu.cores_per_packag
e", "8"], ["machdep.cpu.extfamily", "0"], ["machdep.cpu.extfeature_bits", "672139520 1"], ["machdep.cpu.extfeatures", "SYSCALL XD EM64T LAHF RDTSCP TSCI"], ["machdep.cpu.extmodel", "2"], ["machdep.cpu.family", "6"], ["machdep.cpu.feature_bits", "3219913727 532341759"], ["machdep.cpu.features", "FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 xAPIC POPCNT AES PCID XSAVE OSXSAVE TSCTMR AVX1.0"], ["machdep.cpu.logical_per_package", "16"], ["machdep.cpu.max_basic", "13"], ["machdep.cpu.max_ext", "2147483656"], ["machdep.cpu.microcode_version", "26"], ["machdep.cpu.model", "42"], ["machdep.cpu.mwait.extensions", "3"], ["machdep.cpu.mwait.linesize_max", "64"], ["machdep.cpu.mwait.linesize_min", "64"], ["machdep.cpu.mwait.sub_Cstates", "135456"], ["machdep.cpu.signature", "132775"], ["machdep.cpu.stepping", "7"], ["machdep.cpu.thermal.ACNT_
MCNT", "1"], ["machdep.cpu.thermal.dynamic_acceleration", "1"], ["machdep.cpu.thermal.sensor", "1"], ["machdep.cpu.thermal.thresholds", "2"], ["machdep.cpu.thread_count", "8"], ["machdep.cpu.tlb.data.large", "32"], ["machdep.cpu.tlb.data.large_level1", ""], ["machdep.cpu.tlb.data.small", "64"], ["machdep.cpu.tlb.data.small_level1", ""], ["machdep.cpu.tlb.inst.large", ""], ["machdep.cpu.tlb.inst.small", "64"], ["machdep.cpu.vendor", "GenuineIntel"]]' AS BLOB),'MacBookPro8,2','Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64');
-INSERT INTO "compile_Machine" VALUES(2,'MacBook-Pro.local',CAST('[["hw.activecpu", "8"], ["hw.availcpu", "sysctl: unknown oid ''hw.availcpu''"], ["hw.busfrequency", "100000000"], ["hw.busfrequency_max", "100000000"], ["hw.busfrequency_min", "100000000"], ["hw.byteorder", "1234"], ["hw.cacheconfig", "8 2 2 8 0 0 0 0 0 0"], ["hw.cachelinesize", "64"], ["hw.cachesize", "8589934592 32768 262144 6291456 0 0 0 0 0 0"], ["hw.cpu64bit_capable", "1"], ["hw.cpufamily", "526772277"], ["hw.cpufrequency", "2300000000"], ["hw.cpufrequency_max", "2300000000"], ["hw.cpufrequency_min", "2300000000"], ["hw.cpusubtype", "4"], ["hw.cputype", "7"], ["hw.epoch", "0"], ["hw.l1dcachesize", "32768"], ["hw.l1icachesize", "32768"], ["hw.l2cachesize", "262144"], ["hw.l2settings", "1"], ["hw.logicalcpu", "8"], ["hw.logicalcpu_max", "8"], ["hw.machine", "x86_64"], ["hw.memsize", "8589934592"], ["hw.ncpu", "8"], ["hw.optional.floatingpoint", "1"], ["hw.optional.mmx", "1"], ["hw.optional.sse", "1"], ["hw.optional.
sse2", "1"], ["hw.optional.sse3", "1"], ["hw.optional.sse4_1", "1"], ["hw.optional.sse4_2", "1"], ["hw.optional.supplementalsse3", "1"], ["hw.optional.x86_64", "1"], ["hw.packages", "1"], ["hw.pagesize", "4096"], ["hw.physicalcpu", "4"], ["hw.physicalcpu_max", "4"], ["hw.physmem", "2147483648"], ["hw.tbfrequency", "1000000000"], ["hw.vectorunit", "1"], ["kern.aiomax", "90"], ["kern.aioprocmax", "16"], ["kern.aiothreads", "4"], ["kern.argmax", "262144"], ["kern.clockrate: hz", "sysctl: unknown oid ''kern.clockrate: hz''"], ["kern.coredump", "1"], ["kern.corefile", "/cores/core.%P"], ["kern.delayterm", "0"], ["kern.hostid", "0"], ["kern.hostname", "MacBook-Pro.local"], ["kern.job_control", "1"], ["kern.maxfiles", "12288"], ["kern.maxfilesperproc", "10240"], ["kern.maxproc", "1064"], ["kern.maxprocperuid", "709"], ["kern.maxvnodes", "132096"], ["kern.netboot", "0"], ["kern.ngroups", "16"], ["kern.nisdomainname", ""], ["kern.nx", "1"], ["kern.osrelease", "14.0.0"], ["kern.osrevision", "
199506"], ["kern.ostype", "Darwin"], ["kern.osversion", "14A253a"], ["kern.posix1version", "200112"], ["kern.procname", ""], ["kern.rage_vnode", "0"], ["kern.safeboot", "0"], ["kern.saved_ids", "1"], ["kern.securelevel", "0"], ["kern.shreg_private", "0"], ["kern.speculative_reads_disabled", "0"], ["kern.sugid_coredump", "0"], ["kern.thread_name", "sysctl: unknown oid ''kern.thread_name''"], ["mac_addr.awdl0", "f6:cb:e5:c2:b5:98"], ["mac_addr.bridge0", "22:c9:d0:64:64:00"], ["mac_addr.en0", "20:c9:d0:46:d3:59"], ["mac_addr.en1", "32:00:17:d9:ff:a0"], ["mac_addr.en2", "32:00:17:d9:ff:a1"], ["mac_addr.en4", "a8:20:66:29:b0:6e"], ["mac_addr.p2p0", "02:c9:d0:46:d3:59"], ["machdep.cpu.address_bits.physical", "36"], ["machdep.cpu.address_bits.virtual", "48"], ["machdep.cpu.arch_perf.events", "0"], ["machdep.cpu.arch_perf.events_number", "7"], ["machdep.cpu.arch_perf.fixed_number", "3"], ["machdep.cpu.arch_perf.fixed_width", "48"], ["machdep.cpu.arch_perf.number", "4"], ["machdep.cpu.arch_p
erf.version", "3"], ["machdep.cpu.arch_perf.width", "48"], ["machdep.cpu.brand", "0"], ["machdep.cpu.brand_string", "Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz"], ["machdep.cpu.cache.L2_associativity", "8"], ["machdep.cpu.cache.linesize", "64"], ["machdep.cpu.cache.size", "256"], ["machdep.cpu.core_count", "4"], ["machdep.cpu.cores_per_package", "8"], ["machdep.cpu.extfamily", "0"], ["machdep.cpu.extfeature_bits", "4967106816"], ["machdep.cpu.extfeatures", "SYSCALL XD EM64T LAHF RDTSCP TSCI"], ["machdep.cpu.extmodel", "3"], ["machdep.cpu.family", "6"], ["machdep.cpu.feature_bits", "9203919201183202303"], ["machdep.cpu.features", "FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC POPCNT AES PCID XSAVE OSXSAVE TSCTMR AVX1.0 RDRAND F16C"], ["machdep.cpu.logical_per_package", "16"], ["machdep.cpu.max_basic", "13"], ["machdep.cpu.max_ext"
, "2147483656"], ["machdep.cpu.microcode_version", "21"], ["machdep.cpu.model", "58"], ["machdep.cpu.mwait.extensions", "3"], ["machdep.cpu.mwait.linesize_max", "64"], ["machdep.cpu.mwait.linesize_min", "64"], ["machdep.cpu.mwait.sub_Cstates", "135456"], ["machdep.cpu.signature", "198313"], ["machdep.cpu.stepping", "9"], ["machdep.cpu.thermal.ACNT_MCNT", "1"], ["machdep.cpu.thermal.dynamic_acceleration", "1"], ["machdep.cpu.thermal.sensor", "1"], ["machdep.cpu.thermal.thresholds", "2"], ["machdep.cpu.thread_count", "8"], ["machdep.cpu.tlb.data.large", "32"], ["machdep.cpu.tlb.data.large_level1", ""], ["machdep.cpu.tlb.data.small", "64"], ["machdep.cpu.tlb.data.small_level1", ""], ["machdep.cpu.tlb.inst.large", "8"], ["machdep.cpu.tlb.inst.small", "64"], ["machdep.cpu.vendor", "GenuineIntel"]]' AS BLOB),'MacBookPro10,1','Darwin Kernel Version 14.0.0: Thu May 29 20:54:07 PDT 2014; root:xnu-2763~1/DEVELOPMENT_X86_64');
+INSERT INTO "compile_Machine" ("Name", "Parameters", "hardware", "os_version")
+ VALUES('localhost',
+ CAST('[["hw.activecpu", "8"], ["hw.availcpu", "8"], ["hw.busfrequency", "100000000"], ["hw.busfrequency_max", "100000000"], ["hw.busfrequency_min", "100000000"], ["hw.byteorder", "1234"], ["hw.cacheconfig", "8 2 2 8 0 0 0 0 0 0"], ["hw.cachelinesize", "64"], ["hw.cachesize", "8589934592 32768 262144 6291456 0 0 0 0 0 0"], ["hw.cpu64bit_capable", "1"], ["hw.cpufamily", "1418770316"], ["hw.cpufrequency", "2200000000"], ["hw.cpufrequency_max", "2200000000"], ["hw.cpufrequency_min", "2200000000"], ["hw.cpusubtype", "4"], ["hw.cputype", "7"], ["hw.epoch", "0"], ["hw.l1dcachesize", "32768"], ["hw.l1icachesize", "32768"], ["hw.l2cachesize", "262144"], ["hw.l2settings", "1"], ["hw.logicalcpu", "8"], ["hw.logicalcpu_max", "8"], ["hw.machine", "x86_64"], ["hw.memsize", "8589934592"], ["hw.ncpu", "8"], ["hw.optional.floatingpoint", "1"], ["hw.optional.mmx", "1"], ["hw.optional.sse", "1"], ["hw.optional.sse2", "1"], ["hw.optional.sse3", "1"], ["hw.optional.sse4_1", "1"], ["hw.optional.s
se4_2", "1"], ["hw.optional.supplementalsse3", "1"], ["hw.optional.x86_64", "1"], ["hw.packages", "1"], ["hw.pagesize", "4096"], ["hw.physicalcpu", "4"], ["hw.physicalcpu_max", "4"], ["hw.physmem", "2147483648"], ["hw.tbfrequency", "1000000000"], ["hw.vectorunit", "1"], ["kern.aiomax", "90"], ["kern.aioprocmax", "16"], ["kern.aiothreads", "4"], ["kern.argmax", "262144"], ["kern.clockrate: hz", "second level name clockrate: hz in kern.clockrate: hz is invalid"], ["kern.coredump", "1"], ["kern.corefile", "/cores/core.%P"], ["kern.delayterm", "0"], ["kern.hostid", "0"], ["kern.hostname", "localhost"], ["kern.job_control", "1"], ["kern.maxfiles", "12288"], ["kern.maxfilesperproc", "10240"], ["kern.maxproc", "1064"], ["kern.maxprocperuid", "709"], ["kern.maxvnodes", "132096"], ["kern.netboot", "0"], ["kern.ngroups", "16"], ["kern.nisdomainname", ""], ["kern.nx", "1"], ["kern.osrelease", "11.3.0"], ["kern.osrevision", "199506"], ["kern.ostype", "Darwin"], ["kern.osversion", "11D50b"], ["k
ern.posix1version", "200112"], ["kern.procname", ""], ["kern.rage_vnode", "0"], ["kern.safeboot", "0"], ["kern.saved_ids", "1"], ["kern.securelevel", "0"], ["kern.shreg_private", "0"], ["kern.speculative_reads_disabled", "0"], ["kern.sugid_coredump", "0"], ["kern.thread_name", "kern"], ["machdep.cpu.address_bits.physical", "36"], ["machdep.cpu.address_bits.virtual", "48"], ["machdep.cpu.arch_perf.events", "0"], ["machdep.cpu.arch_perf.events_number", "7"], ["machdep.cpu.arch_perf.fixed_number", "3"], ["machdep.cpu.arch_perf.fixed_width", "48"], ["machdep.cpu.arch_perf.number", "4"], ["machdep.cpu.arch_perf.version", "3"], ["machdep.cpu.arch_perf.width", "48"], ["machdep.cpu.brand", "0"], ["machdep.cpu.brand_string", "Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz"], ["machdep.cpu.cache.L2_associativity", "8"], ["machdep.cpu.cache.linesize", "64"], ["machdep.cpu.cache.size", "256"], ["machdep.cpu.core_count", "4"], ["machdep.cpu.cores_per_package", "8"], ["machdep.cpu.extfamily", "0"], ["
machdep.cpu.extfeature_bits", "672139520 1"], ["machdep.cpu.extfeatures", "SYSCALL XD EM64T LAHF RDTSCP TSCI"], ["machdep.cpu.extmodel", "2"], ["machdep.cpu.family", "6"], ["machdep.cpu.feature_bits", "3219913727 532341759"], ["machdep.cpu.features", "FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 xAPIC POPCNT AES PCID XSAVE OSXSAVE TSCTMR AVX1.0"], ["machdep.cpu.logical_per_package", "16"], ["machdep.cpu.max_basic", "13"], ["machdep.cpu.max_ext", "2147483656"], ["machdep.cpu.microcode_version", "26"], ["machdep.cpu.model", "42"], ["machdep.cpu.mwait.extensions", "3"], ["machdep.cpu.mwait.linesize_max", "64"], ["machdep.cpu.mwait.linesize_min", "64"], ["machdep.cpu.mwait.sub_Cstates", "135456"], ["machdep.cpu.signature", "132775"], ["machdep.cpu.stepping", "7"], ["machdep.cpu.thermal.ACNT_MCNT", "1"], ["machdep.cpu.thermal.dynamic_a
cceleration", "1"], ["machdep.cpu.thermal.sensor", "1"], ["machdep.cpu.thermal.thresholds", "2"], ["machdep.cpu.thread_count", "8"], ["machdep.cpu.tlb.data.large", "32"], ["machdep.cpu.tlb.data.large_level1", ""], ["machdep.cpu.tlb.data.small", "64"], ["machdep.cpu.tlb.data.small_level1", ""], ["machdep.cpu.tlb.inst.large", ""], ["machdep.cpu.tlb.inst.small", "64"], ["machdep.cpu.vendor", "GenuineIntel"]]' AS BLOB),
+ 'MacBookPro8,2',
+ 'Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64'
+ ); -- ID 1
+INSERT INTO "compile_Machine" ("Name", "Parameters", "hardware", "os_version")
+ VALUES('MacBook-Pro.local',
+ CAST('[["hw.activecpu", "8"], ["hw.availcpu", "sysctl: unknown oid ''hw.availcpu''"], ["hw.busfrequency", "100000000"], ["hw.busfrequency_max", "100000000"], ["hw.busfrequency_min", "100000000"], ["hw.byteorder", "1234"], ["hw.cacheconfig", "8 2 2 8 0 0 0 0 0 0"], ["hw.cachelinesize", "64"], ["hw.cachesize", "8589934592 32768 262144 6291456 0 0 0 0 0 0"], ["hw.cpu64bit_capable", "1"], ["hw.cpufamily", "526772277"], ["hw.cpufrequency", "2300000000"], ["hw.cpufrequency_max", "2300000000"], ["hw.cpufrequency_min", "2300000000"], ["hw.cpusubtype", "4"], ["hw.cputype", "7"], ["hw.epoch", "0"], ["hw.l1dcachesize", "32768"], ["hw.l1icachesize", "32768"], ["hw.l2cachesize", "262144"], ["hw.l2settings", "1"], ["hw.logicalcpu", "8"], ["hw.logicalcpu_max", "8"], ["hw.machine", "x86_64"], ["hw.memsize", "8589934592"], ["hw.ncpu", "8"], ["hw.optional.floatingpoint", "1"], ["hw.optional.mmx", "1"], ["hw.optional.sse", "1"], ["hw.optional.sse2", "1"], ["hw.optional.sse3", "1"], ["hw.option
al.sse4_1", "1"], ["hw.optional.sse4_2", "1"], ["hw.optional.supplementalsse3", "1"], ["hw.optional.x86_64", "1"], ["hw.packages", "1"], ["hw.pagesize", "4096"], ["hw.physicalcpu", "4"], ["hw.physicalcpu_max", "4"], ["hw.physmem", "2147483648"], ["hw.tbfrequency", "1000000000"], ["hw.vectorunit", "1"], ["kern.aiomax", "90"], ["kern.aioprocmax", "16"], ["kern.aiothreads", "4"], ["kern.argmax", "262144"], ["kern.clockrate: hz", "sysctl: unknown oid ''kern.clockrate: hz''"], ["kern.coredump", "1"], ["kern.corefile", "/cores/core.%P"], ["kern.delayterm", "0"], ["kern.hostid", "0"], ["kern.hostname", "MacBook-Pro.local"], ["kern.job_control", "1"], ["kern.maxfiles", "12288"], ["kern.maxfilesperproc", "10240"], ["kern.maxproc", "1064"], ["kern.maxprocperuid", "709"], ["kern.maxvnodes", "132096"], ["kern.netboot", "0"], ["kern.ngroups", "16"], ["kern.nisdomainname", ""], ["kern.nx", "1"], ["kern.osrelease", "14.0.0"], ["kern.osrevision", "199506"], ["kern.ostype", "Darwin"], ["kern.osversi
on", "14A253a"], ["kern.posix1version", "200112"], ["kern.procname", ""], ["kern.rage_vnode", "0"], ["kern.safeboot", "0"], ["kern.saved_ids", "1"], ["kern.securelevel", "0"], ["kern.shreg_private", "0"], ["kern.speculative_reads_disabled", "0"], ["kern.sugid_coredump", "0"], ["kern.thread_name", "sysctl: unknown oid ''kern.thread_name''"], ["mac_addr.awdl0", "f6:cb:e5:c2:b5:98"], ["mac_addr.bridge0", "22:c9:d0:64:64:00"], ["mac_addr.en0", "20:c9:d0:46:d3:59"], ["mac_addr.en1", "32:00:17:d9:ff:a0"], ["mac_addr.en2", "32:00:17:d9:ff:a1"], ["mac_addr.en4", "a8:20:66:29:b0:6e"], ["mac_addr.p2p0", "02:c9:d0:46:d3:59"], ["machdep.cpu.address_bits.physical", "36"], ["machdep.cpu.address_bits.virtual", "48"], ["machdep.cpu.arch_perf.events", "0"], ["machdep.cpu.arch_perf.events_number", "7"], ["machdep.cpu.arch_perf.fixed_number", "3"], ["machdep.cpu.arch_perf.fixed_width", "48"], ["machdep.cpu.arch_perf.number", "4"], ["machdep.cpu.arch_perf.version", "3"], ["machdep.cpu.arch_perf.width",
"48"], ["machdep.cpu.brand", "0"], ["machdep.cpu.brand_string", "Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz"], ["machdep.cpu.cache.L2_associativity", "8"], ["machdep.cpu.cache.linesize", "64"], ["machdep.cpu.cache.size", "256"], ["machdep.cpu.core_count", "4"], ["machdep.cpu.cores_per_package", "8"], ["machdep.cpu.extfamily", "0"], ["machdep.cpu.extfeature_bits", "4967106816"], ["machdep.cpu.extfeatures", "SYSCALL XD EM64T LAHF RDTSCP TSCI"], ["machdep.cpu.extmodel", "3"], ["machdep.cpu.family", "6"], ["machdep.cpu.feature_bits", "9203919201183202303"], ["machdep.cpu.features", "FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC POPCNT AES PCID XSAVE OSXSAVE TSCTMR AVX1.0 RDRAND F16C"], ["machdep.cpu.logical_per_package", "16"], ["machdep.cpu.max_basic", "13"], ["machdep.cpu.max_ext", "2147483656"], ["machdep.cpu.microcode_version",
"21"], ["machdep.cpu.model", "58"], ["machdep.cpu.mwait.extensions", "3"], ["machdep.cpu.mwait.linesize_max", "64"], ["machdep.cpu.mwait.linesize_min", "64"], ["machdep.cpu.mwait.sub_Cstates", "135456"], ["machdep.cpu.signature", "198313"], ["machdep.cpu.stepping", "9"], ["machdep.cpu.thermal.ACNT_MCNT", "1"], ["machdep.cpu.thermal.dynamic_acceleration", "1"], ["machdep.cpu.thermal.sensor", "1"], ["machdep.cpu.thermal.thresholds", "2"], ["machdep.cpu.thread_count", "8"], ["machdep.cpu.tlb.data.large", "32"], ["machdep.cpu.tlb.data.large_level1", ""], ["machdep.cpu.tlb.data.small", "64"], ["machdep.cpu.tlb.data.small_level1", ""], ["machdep.cpu.tlb.inst.large", "8"], ["machdep.cpu.tlb.inst.small", "64"], ["machdep.cpu.vendor", "GenuineIntel"]]' AS BLOB),
+ 'MacBookPro10,1',
+ 'Darwin Kernel Version 14.0.0: Thu May 29 20:54:07 PDT 2014; root:xnu-2763~1/DEVELOPMENT_X86_64'
+ ); -- ID 2
CREATE TABLE "compile_Test" (
- "ID" INTEGER NOT NULL,
- "Name" VARCHAR(256),
- PRIMARY KEY ("ID")
+ "ID" INTEGER PRIMARY KEY NOT NULL,
+ "Name" VARCHAR(256)
);
-INSERT INTO "compile_Test" VALUES(1,'compile/OmniGroupFrameworks/NSBezierPath-OAExtensions.m/assembly/(-O0 -g)');
-INSERT INTO "compile_Test" VALUES(2,'compile/JavaScriptCore/Interpreter.cpp/init/(-O0 -g)');
+INSERT INTO "compile_Test" ("Name")
+ VALUES('compile/OmniGroupFrameworks/NSBezierPath-OAExtensions.m/assembly/(-O0 -g)'
+ ); -- ID 1
+INSERT INTO "compile_Test" ("Name")
+ VALUES('compile/JavaScriptCore/Interpreter.cpp/init/(-O0 -g)'); -- ID 2
CREATE TABLE "compile_Order" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"NextOrder" INTEGER,
"PreviousOrder" INTEGER,
llvm_project_revision VARCHAR(256),
- PRIMARY KEY ("ID"),
FOREIGN KEY("NextOrder") REFERENCES "compile_Order" ("ID"),
FOREIGN KEY("PreviousOrder") REFERENCES "compile_Order" ("ID")
);
-INSERT INTO "compile_Order" VALUES(2,NULL,NULL,'154331');
-INSERT INTO "compile_Order" VALUES(3,2,NULL,'154335');
-INSERT INTO "compile_Order" VALUES(4,3,NULL,'154339');
+INSERT INTO "compile_Order" ("NextOrder", "PreviousOrder",
+ "llvm_project_revision")
+ VALUES(NULL,NULL,'154331'); -- ID 1
+INSERT INTO "compile_Order" ("NextOrder", "PreviousOrder",
+ "llvm_project_revision")
+ VALUES(1,NULL,'154335'); -- ID 2
+INSERT INTO "compile_Order" ("NextOrder", "PreviousOrder",
+ "llvm_project_revision")
+ VALUES(2,NULL,'154339'); -- ID 3
+UPDATE "compile_Order" SET "PreviousOrder"=2 WHERE "ID"=1;
UPDATE "compile_Order" SET "PreviousOrder"=3 WHERE "ID"=2;
-UPDATE "compile_Order" SET "PreviousOrder"=3 WHERE "ID"=3;
CREATE TABLE "compile_Run" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"MachineID" INTEGER,
"OrderID" INTEGER,
"ImportedFrom" VARCHAR(512),
@@ -191,16 +257,39 @@ CREATE TABLE "compile_Run" (
"EndTime" DATETIME,
"SimpleRunID" INTEGER,
"Parameters" BLOB,
- PRIMARY KEY ("ID"),
FOREIGN KEY("MachineID") REFERENCES "compile_Machine" ("ID"),
FOREIGN KEY("OrderID") REFERENCES "compile_Order" ("ID")
);
-INSERT INTO "compile_Run" VALUES(1,1,2,'server/db/Inputs/lnt_v0.4.0_filled_instance/lnt_tmp/default/2012-04/data-2012-04-11_16-47-40o2zWJN.plist','2012-04-11 16:30:33.000000','2012-04-11 16:40:13.000000',NULL, CAST('[["__report_version__", "1"], ["cc", "/tmp/bin/clang"], ["cc1_exec_hash", "faf962f75130a6a50b5e8f61048c27ece631d0fd"], ["cc_alt_src_branch", "trunk"], ["cc_alt_src_revision", "154329"], ["cc_as_version", "LLVM (http://llvm.org/):\n LLVM version 3.1svn\n Optimized build.\n Built Apr 9 2012 (11:55:07).\n Default target: x86_64-apple-darwin11.3.0\n Host CPU: corei7-avx"], ["cc_build", "DEV"], ["cc_exec_hash", "faf962f75130a6a50b5e8f61048c27ece631d0fd"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-123.2.1\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks/"], ["cc_name", "clang"], ["cc_src_branch", "trunk"], ["cc_src_revision", "154331"], ["cc_target", "x86_64-apple-macosx10.7.0"], ["c
c_version", "clang version 3.1 (trunk 154331) (llvm/trunk 154329)\nTarget: x86_64-apple-darwin11.3.0\nThread model: posix\n \"/tmp/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.7.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-v\" \"-resource-dir\" \"/tmp/bin/../lib/clang/3.1\" \"-fmodule-cache-path\" \"/var/folders/32/jb9nf1gs6hx12s0brx1xdy8w0000gn/T/clang-module-cache\" \"-fdebug-compilation-dir\" \"/tmp/SANDBOX\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime-has-arc\" \"-fobjc-runtime-has-weak\" \"-fobjc-dispatch-method=mixed\" \"-fobjc-default-synthesize-properties\" \"-fdiagnostics-show-option\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "3.1"], ["hw.usermem", "728748032"], ["inferred_run_order", "154331"], ["kern.bootti
me", "{ sec = 1332011482, usec = 0 } Sat Mar 17 12:11:22 2012"], ["kern.usrstack", "1667633152"], ["kern.usrstack64", "140735023362048"], ["run_count", "3"], ["sys_as_version", "Apple Inc version cctools-800~266, GNU assembler version 1.38"], ["sys_cc_version", "Using built-in specs.\nTarget: i686-apple-darwin11\nConfigured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~62/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~62/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1\nThread model: posix\ngcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)"], ["sys_ld_ver
sion", "@(#)PROGRAM:ld PROJECT:ld64-123.2.1\nllvm version 2.9svn, from Apple Clang 2.0 (build 138.1)"], ["sys_xcodebuild", "Xcode 4.1\nBuild version 11A511a"]]' AS BLOB));
-INSERT INTO "compile_Run" VALUES(2,2,3,'/Users/cmatthews/src/lnt/tests/SharedInputs/SmallInstance/lnt_tmp/default/2014-06/data-2014-06-03_20-59-47BCt5TE.plist','2014-06-02 20:59:42.000000','2014-06-02 21:59:47.000000',NULL, CAST('[["__report_version__", "1"], ["cc", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"], ["cc1_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_alt_src_branch", "based on LLVM"], ["cc_alt_src_revision", "3.5svn"], ["cc_as_version", "clang: error: unsupported argument ''-v'' to option ''Wa,''"], ["cc_build", "PROD"], ["cc_dumpmachine", "x86_64-apple-darwin14.0.0"], ["cc_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks
/"], ["cc_name", "apple_clang"], ["cc_src_branch", "clang-600.0.34.2"], ["cc_src_tag", "600.0.34.2"], ["cc_target", "x86_64-apple-macosx10.10.0"], ["cc_target_assembly", "; ModuleID = ''/dev/null''\ntarget datalayout = \"e-m:o-i64:64-f80:128-n8:16:32:64-S128\"\ntarget triple = \"x86_64-apple-macosx10.10.0\"\n\n!llvm.ident = !{!0}\n\n!0 = metadata !{metadata !\"Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\"}"], ["cc_version", "Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix\n \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.10.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-mrelocation-model\" \"pic\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-target-linker-version\" \"241\" \"-v\" \"-resource-di
r\" \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0\" \"-fdebug-compilation-dir\" \"/Users/cmatthews/src/lnt/tests\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime=macosx-10.10.0\" \"-fencode-extended-block-signature\" \"-fdiagnostics-show-option\" \"-vectorize-slp\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "6.0"], ["hw.usermem", "974143488"], ["inferred_run_order", "600.0.34.2"], ["kern.boottime", "{ sec = 1401769065, usec = 0 } Mon Jun 2 21:17:45 2014"], ["kern.usrstack", "1548972032"], ["kern.usrstack64", "140734545977344"], ["run_count", "1"], ["sys_as_version", "Apple Inc version cctools-861, GNU assembler version 1.38"], ["sys_cc_version", "Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\nApple LLVM version 6.0 (clang-600.0.34) (based on LLVM 3.5
svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix"], ["sys_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: i386 x86_64 x86_64h arm64\nLTO support using: LLVM version 3.5svn"], ["sys_xcodebuild", "Xcode 6.0\nBuild version 6A233"]]' AS BLOB));
-INSERT INTO "compile_Run" VALUES(3,2,3,'/Users/cmatthews/src/lnt/tests/SharedInputs/SmallInstance/lnt_tmp/default/2014-06/data-2014-06-03_21-00-37ADDeLS.plist','2014-06-03 21:00:16.000000','2014-06-03 21:00:37.000000',NULL, CAST('[["__report_version__", "1"], ["cc", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"], ["cc1_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_alt_src_branch", "based on LLVM"], ["cc_alt_src_revision", "3.5svn"], ["cc_as_version", "clang: error: unsupported argument ''-v'' to option ''Wa,''"], ["cc_build", "PROD"], ["cc_dumpmachine", "x86_64-apple-darwin14.0.0"], ["cc_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks
/"], ["cc_name", "apple_clang"], ["cc_src_branch", "clang-600.0.34.2"], ["cc_src_tag", "600.0.34.2"], ["cc_target", "x86_64-apple-macosx10.10.0"], ["cc_target_assembly", "; ModuleID = ''/dev/null''\ntarget datalayout = \"e-m:o-i64:64-f80:128-n8:16:32:64-S128\"\ntarget triple = \"x86_64-apple-macosx10.10.0\"\n\n!llvm.ident = !{!0}\n\n!0 = metadata !{metadata !\"Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\"}"], ["cc_version", "Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix\n \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.10.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-mrelocation-model\" \"pic\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-target-linker-version\" \"241\" \"-v\" \"-resource-di
r\" \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0\" \"-fdebug-compilation-dir\" \"/Users/cmatthews/src/lnt/tests\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime=macosx-10.10.0\" \"-fencode-extended-block-signature\" \"-fdiagnostics-show-option\" \"-vectorize-slp\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "6.0"], ["hw.usermem", "1000357888"], ["inferred_run_order", "600.0.34.2"], ["kern.boottime", "{ sec = 1401769065, usec = 0 } Mon Jun 2 21:17:45 2014"], ["kern.usrstack", "1570906112"], ["kern.usrstack64", "140734551621632"], ["run_count", "3"], ["sys_as_version", "Apple Inc version cctools-861, GNU assembler version 1.38"], ["sys_cc_version", "Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\nApple LLVM version 6.0 (clang-600.0.34) (based on LLVM 3.
5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix"], ["sys_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: i386 x86_64 x86_64h arm64\nLTO support using: LLVM version 3.5svn"], ["sys_xcodebuild", "Xcode 6.0\nBuild version 6A233"]]' AS BLOB));
-INSERT INTO "compile_Run" VALUES(4,2,4,'/Users/cmatthews/src/lnt/tests/SharedInputs/SmallInstance/lnt_tmp/default/2014-06/data-2014-06-03_21-03-15G7p553.plist','2014-06-04 21:03:07.000000','2014-06-04 21:03:15.000000',NULL, CAST('[["__report_version__", "1"], ["cc", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"], ["cc1_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_alt_src_branch", "based on LLVM"], ["cc_alt_src_revision", "3.5svn"], ["cc_as_version", "clang: error: unsupported argument ''-v'' to option ''Wa,''"], ["cc_build", "PROD"], ["cc_dumpmachine", "x86_64-apple-darwin14.0.0"], ["cc_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks
/"], ["cc_name", "apple_clang"], ["cc_src_branch", "clang-600.0.34.2"], ["cc_src_tag", "600.0.34.2"], ["cc_target", "x86_64-apple-macosx10.10.0"], ["cc_target_assembly", "; ModuleID = ''/dev/null''\ntarget datalayout = \"e-m:o-i64:64-f80:128-n8:16:32:64-S128\"\ntarget triple = \"x86_64-apple-macosx10.10.0\"\n\n!llvm.ident = !{!0}\n\n!0 = metadata !{metadata !\"Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\"}"], ["cc_version", "Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix\n \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.10.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-mrelocation-model\" \"pic\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-target-linker-version\" \"241\" \"-v\" \"-resource-di
r\" \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0\" \"-fdebug-compilation-dir\" \"/Users/cmatthews/src/lnt/tests\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime=macosx-10.10.0\" \"-fencode-extended-block-signature\" \"-fdiagnostics-show-option\" \"-vectorize-slp\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "6.0"], ["hw.usermem", "998539264"], ["inferred_run_order", "600.0.34.2"], ["kern.boottime", "{ sec = 1401769065, usec = 0 } Mon Jun 2 21:17:45 2014"], ["kern.usrstack", "1383366656"], ["kern.usrstack64", "140734738419712"], ["run_count", "3"], ["sys_as_version", "Apple Inc version cctools-861, GNU assembler version 1.38"], ["sys_cc_version", "Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\nApple LLVM version 6.0 (clang-600.0.34) (based on LLVM 3.5
svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix"], ["sys_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: i386 x86_64 x86_64h arm64\nLTO support using: LLVM version 3.5svn"], ["sys_xcodebuild", "Xcode 6.0\nBuild version 6A233"]]' AS BLOB));
+INSERT INTO "compile_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(1,1,
+ 'server/db/Inputs/lnt_v0.4.0_filled_instance/lnt_tmp/default/2012-04/data-2012-04-11_16-47-40o2zWJN.plist',
+ '2012-04-11 16:30:33.000000','2012-04-11 16:40:13.000000',NULL,
+ CAST('[["__report_version__", "1"], ["cc", "/tmp/bin/clang"], ["cc1_exec_hash", "faf962f75130a6a50b5e8f61048c27ece631d0fd"], ["cc_alt_src_branch", "trunk"], ["cc_alt_src_revision", "154329"], ["cc_as_version", "LLVM (http://llvm.org/):\n LLVM version 3.1svn\n Optimized build.\n Built Apr 9 2012 (11:55:07).\n Default target: x86_64-apple-darwin11.3.0\n Host CPU: corei7-avx"], ["cc_build", "DEV"], ["cc_exec_hash", "faf962f75130a6a50b5e8f61048c27ece631d0fd"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-123.2.1\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks/"], ["cc_name", "clang"], ["cc_src_branch", "trunk"], ["cc_src_revision", "154331"], ["cc_target", "x86_64-apple-macosx10.7.0"], ["cc_version", "clang version 3.1 (trunk 154331) (llvm/trunk 154329)\nTarget: x86_64-apple-darwin11.3.0\nThread model: posix\n \"/tmp/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.7.0\" \"-E\" \
"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-v\" \"-resource-dir\" \"/tmp/bin/../lib/clang/3.1\" \"-fmodule-cache-path\" \"/var/folders/32/jb9nf1gs6hx12s0brx1xdy8w0000gn/T/clang-module-cache\" \"-fdebug-compilation-dir\" \"/tmp/SANDBOX\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime-has-arc\" \"-fobjc-runtime-has-weak\" \"-fobjc-dispatch-method=mixed\" \"-fobjc-default-synthesize-properties\" \"-fdiagnostics-show-option\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "3.1"], ["hw.usermem", "728748032"], ["inferred_run_order", "154331"], ["kern.boottime", "{ sec = 1332011482, usec = 0 } Sat Mar 17 12:11:22 2012"], ["kern.usrstack", "1667633152"], ["kern.usrstack64", "140735023362048"], ["run_count", "3"], ["sys_as_version", "Apple Inc version cctool
s-800~266, GNU assembler version 1.38"], ["sys_cc_version", "Using built-in specs.\nTarget: i686-apple-darwin11\nConfigured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~62/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~62/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1\nThread model: posix\ngcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)"], ["sys_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-123.2.1\nllvm version 2.9svn, from Apple Clang 2.0 (build 138.1)"], ["sys_xcodebuild", "Xcode 4.1\nBuild version 11A511a"]]' AS BLOB)
+ ); -- ID 1
+INSERT INTO "compile_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(2,2,
+ '/Users/cmatthews/src/lnt/tests/SharedInputs/SmallInstance/lnt_tmp/default/2014-06/data-2014-06-03_20-59-47BCt5TE.plist',
+ '2014-06-02 20:59:42.000000','2014-06-02 21:59:47.000000',NULL,
+ CAST('[["__report_version__", "1"], ["cc", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"], ["cc1_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_alt_src_branch", "based on LLVM"], ["cc_alt_src_revision", "3.5svn"], ["cc_as_version", "clang: error: unsupported argument ''-v'' to option ''Wa,''"], ["cc_build", "PROD"], ["cc_dumpmachine", "x86_64-apple-darwin14.0.0"], ["cc_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks/"], ["cc_name", "apple_clang"], ["cc_src_branch", "clang-600.0.34.2"], ["cc_src_tag", "600.0.34.2"], ["cc_target", "x86_64-apple-macosx10.10.0"], ["cc_target_assembly", "; ModuleID = ''/dev/null''\ntarget datalayout
= \"e-m:o-i64:64-f80:128-n8:16:32:64-S128\"\ntarget triple = \"x86_64-apple-macosx10.10.0\"\n\n!llvm.ident = !{!0}\n\n!0 = metadata !{metadata !\"Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\"}"], ["cc_version", "Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix\n \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.10.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-mrelocation-model\" \"pic\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-target-linker-version\" \"241\" \"-v\" \"-resource-dir\" \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0\" \"-fdebug-compilation-dir\" \"/Users/cmatthews/src/lnt/tests\" \"-ferror-limit\" \"19\" \"-fmessage-leng
th\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime=macosx-10.10.0\" \"-fencode-extended-block-signature\" \"-fdiagnostics-show-option\" \"-vectorize-slp\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "6.0"], ["hw.usermem", "974143488"], ["inferred_run_order", "600.0.34.2"], ["kern.boottime", "{ sec = 1401769065, usec = 0 } Mon Jun 2 21:17:45 2014"], ["kern.usrstack", "1548972032"], ["kern.usrstack64", "140734545977344"], ["run_count", "1"], ["sys_as_version", "Apple Inc version cctools-861, GNU assembler version 1.38"], ["sys_cc_version", "Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\nApple LLVM version 6.0 (clang-600.0.34) (based on LLVM 3.5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix"], ["sys_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: i386 x86_64 x86_64h arm64\nLTO support using: LLVM version 3.5svn"],
["sys_xcodebuild", "Xcode 6.0\nBuild version 6A233"]]' AS BLOB)
+ ); -- ID 2
+INSERT INTO "compile_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(2,2,
+ '/Users/cmatthews/src/lnt/tests/SharedInputs/SmallInstance/lnt_tmp/default/2014-06/data-2014-06-03_21-00-37ADDeLS.plist',
+ '2014-06-03 21:00:16.000000','2014-06-03 21:00:37.000000',NULL,
+ CAST('[["__report_version__", "1"], ["cc", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"], ["cc1_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_alt_src_branch", "based on LLVM"], ["cc_alt_src_revision", "3.5svn"], ["cc_as_version", "clang: error: unsupported argument ''-v'' to option ''Wa,''"], ["cc_build", "PROD"], ["cc_dumpmachine", "x86_64-apple-darwin14.0.0"], ["cc_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks/"], ["cc_name", "apple_clang"], ["cc_src_branch", "clang-600.0.34.2"], ["cc_src_tag", "600.0.34.2"], ["cc_target", "x86_64-apple-macosx10.10.0"], ["cc_target_assembly", "; ModuleID = ''/dev/null''\ntarget datalayout
= \"e-m:o-i64:64-f80:128-n8:16:32:64-S128\"\ntarget triple = \"x86_64-apple-macosx10.10.0\"\n\n!llvm.ident = !{!0}\n\n!0 = metadata !{metadata !\"Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\"}"], ["cc_version", "Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix\n \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.10.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-mrelocation-model\" \"pic\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-target-linker-version\" \"241\" \"-v\" \"-resource-dir\" \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0\" \"-fdebug-compilation-dir\" \"/Users/cmatthews/src/lnt/tests\" \"-ferror-limit\" \"19\" \"-fmessage-leng
th\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime=macosx-10.10.0\" \"-fencode-extended-block-signature\" \"-fdiagnostics-show-option\" \"-vectorize-slp\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "6.0"], ["hw.usermem", "1000357888"], ["inferred_run_order", "600.0.34.2"], ["kern.boottime", "{ sec = 1401769065, usec = 0 } Mon Jun 2 21:17:45 2014"], ["kern.usrstack", "1570906112"], ["kern.usrstack64", "140734551621632"], ["run_count", "3"], ["sys_as_version", "Apple Inc version cctools-861, GNU assembler version 1.38"], ["sys_cc_version", "Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\nApple LLVM version 6.0 (clang-600.0.34) (based on LLVM 3.5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix"], ["sys_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: i386 x86_64 x86_64h arm64\nLTO support using: LLVM version 3.5svn"],
["sys_xcodebuild", "Xcode 6.0\nBuild version 6A233"]]' AS BLOB)
+ ); -- ID 3
+INSERT INTO "compile_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(2,3,
+ '/Users/cmatthews/src/lnt/tests/SharedInputs/SmallInstance/lnt_tmp/default/2014-06/data-2014-06-03_21-03-15G7p553.plist',
+ '2014-06-04 21:03:07.000000','2014-06-04 21:03:15.000000',NULL,
+ CAST('[["__report_version__", "1"], ["cc", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"], ["cc1_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_alt_src_branch", "based on LLVM"], ["cc_alt_src_revision", "3.5svn"], ["cc_as_version", "clang: error: unsupported argument ''-v'' to option ''Wa,''"], ["cc_build", "PROD"], ["cc_dumpmachine", "x86_64-apple-darwin14.0.0"], ["cc_exec_hash", "b18490c69cebfbdd20500c473684b7093a8b2c62"], ["cc_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em\nLibrary search paths:\n\t/usr/lib\n\t/usr/local/lib\nFramework search paths:\n\t/Library/Frameworks/\n\t/System/Library/Frameworks/"], ["cc_name", "apple_clang"], ["cc_src_branch", "clang-600.0.34.2"], ["cc_src_tag", "600.0.34.2"], ["cc_target", "x86_64-apple-macosx10.10.0"], ["cc_target_assembly", "; ModuleID = ''/dev/null''\ntarget datalayout
= \"e-m:o-i64:64-f80:128-n8:16:32:64-S128\"\ntarget triple = \"x86_64-apple-macosx10.10.0\"\n\n!llvm.ident = !{!0}\n\n!0 = metadata !{metadata !\"Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\"}"], ["cc_version", "Apple LLVM version 6.0 (clang-600.0.34.2) (based on LLVM 3.5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix\n \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.10.0\" \"-E\" \"-disable-free\" \"-disable-llvm-verifier\" \"-main-file-name\" \"null\" \"-mrelocation-model\" \"pic\" \"-pic-level\" \"2\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-target-cpu\" \"core2\" \"-target-linker-version\" \"241\" \"-v\" \"-resource-dir\" \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0\" \"-fdebug-compilation-dir\" \"/Users/cmatthews/src/lnt/tests\" \"-ferror-limit\" \"19\" \"-fmessage-leng
th\" \"0\" \"-stack-protector\" \"1\" \"-mstackrealign\" \"-fblocks\" \"-fobjc-runtime=macosx-10.10.0\" \"-fencode-extended-block-signature\" \"-fdiagnostics-show-option\" \"-vectorize-slp\" \"-o\" \"-\" \"-x\" \"c\" \"/dev/null\""], ["cc_version_number", "6.0"], ["hw.usermem", "998539264"], ["inferred_run_order", "600.0.34.2"], ["kern.boottime", "{ sec = 1401769065, usec = 0 } Mon Jun 2 21:17:45 2014"], ["kern.usrstack", "1383366656"], ["kern.usrstack64", "140734738419712"], ["run_count", "3"], ["sys_as_version", "Apple Inc version cctools-861, GNU assembler version 1.38"], ["sys_cc_version", "Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\nApple LLVM version 6.0 (clang-600.0.34) (based on LLVM 3.5svn)\nTarget: x86_64-apple-darwin14.0.0\nThread model: posix"], ["sys_ld_version", "@(#)PROGRAM:ld PROJECT:ld64-241\nconfigured to support archs: i386 x86_64 x86_64h arm64\nLTO support using: LLVM version 3.5svn"],
["sys_xcodebuild", "Xcode 6.0\nBuild version 6A233"]]' AS BLOB)
+ ); -- ID 4
CREATE TABLE "compile_Sample" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"RunID" INTEGER,
"TestID" INTEGER,
user_status INTEGER,
@@ -213,7 +302,6 @@ CREATE TABLE "compile_Sample" (
wall_time FLOAT,
size_bytes FLOAT,
mem_bytes FLOAT,
- PRIMARY KEY ("ID"),
FOREIGN KEY("RunID") REFERENCES "compile_Run" ("ID"),
FOREIGN KEY("TestID") REFERENCES "compile_Test" ("ID"),
FOREIGN KEY(user_status) REFERENCES "StatusKind" ("ID"),
@@ -222,16 +310,23 @@ CREATE TABLE "compile_Sample" (
FOREIGN KEY(size_status) REFERENCES "StatusKind" ("ID"),
FOREIGN KEY(mem_status) REFERENCES "StatusKind" ("ID")
);
-INSERT INTO "compile_Sample" VALUES(1,1,1,NULL,NULL,NULL,NULL,NULL,0.336512,0.02585,0.365776,165852.0,33353728.0);
-INSERT INTO "compile_Sample" VALUES(2,1,1,NULL,NULL,NULL,NULL,NULL,0.338633,0.027111,0.367148,165852.0,33353728.0);
+INSERT INTO "compile_Sample" ("RunID", "TestID", user_status, sys_status,
+ wall_status, size_status, mem_status, user_time,
+ sys_time, wall_time, size_bytes, mem_bytes)
+ VALUES(1,1,NULL,NULL,NULL,NULL,NULL,0.336512,0.02585,0.365776,165852.0,
+ 33353728.0); -- ID 1
+INSERT INTO "compile_Sample" ("RunID", "TestID", user_status, sys_status,
+ wall_status, size_status, mem_status, user_time,
+ sys_time, wall_time, size_bytes, mem_bytes)
+ VALUES(1,1,NULL,NULL,NULL,NULL,NULL,0.338633,0.027111,0.367148,165852.0,
+ 33353728.0); -- ID 2
CREATE TABLE "NT_FieldChange" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"StartOrderID" INTEGER,
"EndOrderID" INTEGER,
"TestID" INTEGER,
"MachineID" INTEGER,
"FieldID" INTEGER,
- PRIMARY KEY ("ID"),
FOREIGN KEY("StartOrderID") REFERENCES "NT_Order" ("ID"),
FOREIGN KEY("EndOrderID") REFERENCES "NT_Order" ("ID"),
FOREIGN KEY("TestID") REFERENCES "NT_Test" ("ID"),
@@ -239,13 +334,12 @@ CREATE TABLE "NT_FieldChange" (
FOREIGN KEY("FieldID") REFERENCES "TestSuiteSampleFields" ("ID")
);
CREATE TABLE "compile_FieldChange" (
- "ID" INTEGER NOT NULL,
+ "ID" INTEGER PRIMARY KEY NOT NULL,
"StartOrderID" INTEGER,
"EndOrderID" INTEGER,
"TestID" INTEGER,
"MachineID" INTEGER,
"FieldID" INTEGER,
- PRIMARY KEY ("ID"),
FOREIGN KEY("StartOrderID") REFERENCES "compile_Order" ("ID"),
FOREIGN KEY("EndOrderID") REFERENCES "compile_Order" ("ID"),
FOREIGN KEY("TestID") REFERENCES "compile_Test" ("ID"),
Modified: lnt/trunk/tests/SharedInputs/create_temp_instance.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/SharedInputs/create_temp_instance.py?rev=249003&r1=249002&r2=249003&view=diff
==============================================================================
--- lnt/trunk/tests/SharedInputs/create_temp_instance.py (original)
+++ lnt/trunk/tests/SharedInputs/create_temp_instance.py Thu Oct 1 07:32:08 2015
@@ -44,6 +44,7 @@ def replace_sqlite_with_postgress_syntax
r"convert_to(\1, 'UTF8')")
search_replace_in_file(sql_file, "BLOB", "bytea")
search_replace_in_file(sql_file, "DATETIME", "timestamp")
+ search_replace_in_file(sql_file, "INTEGER PRIMARY KEY", "serial primary key")
def run_sql_file(db, sql_file, dest_dir):
Modified: lnt/trunk/tests/server/ui/Inputs/V4Pages_extra_records.sql
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/ui/Inputs/V4Pages_extra_records.sql?rev=249003&r1=249002&r2=249003&view=diff
==============================================================================
--- lnt/trunk/tests/server/ui/Inputs/V4Pages_extra_records.sql (original)
+++ lnt/trunk/tests/server/ui/Inputs/V4Pages_extra_records.sql Thu Oct 1 07:32:08 2015
@@ -1,28 +1,66 @@
BEGIN TRANSACTION;
-INSERT INTO "NT_Test" VALUES(87,'SingleSource/UnitTests/ObjC/block-byref-aggr');
-INSERT INTO "compile_Test" VALUES(38,'compile/403.gcc/combine.c/init/(-O0)');
+INSERT INTO "NT_Test" ("Name")
+ VALUES('SingleSource/UnitTests/ObjC/block-byref-aggr'); -- ID 3 (was 87)
+INSERT INTO "compile_Test" ("Name")
+ VALUES('compile/403.gcc/combine.c/init/(-O0)'); -- ID 3 (was 38)
-- make sure there are 3 machines - to test ?filter-machine-regex= on daily_report page
-INSERT INTO "NT_Machine" VALUES(2,'machine2','[]','AArch64','linux');
-INSERT INTO "NT_Order" VALUES(5,4,NULL,'152290');
-UPDATE "NT_Order" SET "NextOrder" = 5 WHERE "ID" = 4;
-INSERT INTO "NT_Run" VALUES(3,2,5,'run3.json','2012-04-11 16:28:23.000000','2012-04-11 16:28:58.000000',NULL,'[]');
-INSERT INTO "NT_Sample" VALUES(3,3,1,NULL,NULL,0.001,0.0001,NULL,NULL);
-INSERT INTO "NT_Machine" VALUES(3,'machine3','[]','AArch64','linux');
-INSERT INTO "NT_Order" VALUES(6,5,NULL,'152291');
-UPDATE "NT_Order" SET "PreviousOrder" = 6 WHERE "ID" = 5;
-INSERT INTO "NT_Run" VALUES(4,3,6,'run4.json','2012-04-11 16:28:24.000000','2012-04-11 16:28:59.000000',NULL,'[]');
-INSERT INTO "NT_Sample" VALUES(4,4,1,NULL,NULL,0.001,0.0001,NULL,NULL);
+INSERT INTO "NT_Machine" ("Name", "Parameters", "hardware", "os")
+ VALUES('machine2','[]','AArch64','linux'); -- ID 2
+INSERT INTO "NT_Order" ("NextOrder", "PreviousOrder", "llvm_project_revision")
+ VALUES(2,NULL,'152290'); -- ID 3
+UPDATE "NT_Order" SET "NextOrder" = 3 WHERE "ID" = 2;
+INSERT INTO "NT_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(2,3,'run3.json','2012-04-11 16:28:23.000000',
+ '2012-04-11 16:28:58.000000',NULL,'[]'); -- ID 3
+INSERT INTO "NT_Sample" ("RunID", "TestID", "compile_status",
+ "execution_status", "compile_time", "execution_time",
+ "score", "mem_bytes")
+ VALUES(3,1,NULL,NULL,0.001,0.0001,NULL,NULL); -- ID 3
+INSERT INTO "NT_Machine" ("Name", "Parameters", "hardware", "os")
+ VALUES('machine3','[]','AArch64','linux'); -- ID 3
+INSERT INTO "NT_Order" ("NextOrder", "PreviousOrder", "llvm_project_revision")
+ VALUES(3,NULL,'152291'); -- ID 4
+UPDATE "NT_Order" SET "PreviousOrder" = 4 WHERE "ID" = 3;
+INSERT INTO "NT_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(3,4,'run4.json','2012-04-11 16:28:24.000000',
+ '2012-04-11 16:28:59.000000',NULL,'[]'); -- ID 4
+INSERT INTO "NT_Sample" ("RunID", "TestID", "compile_status",
+ "execution_status", "compile_time", "execution_time",
+ "score", "mem_bytes")
+ VALUES(4,1,NULL,NULL,0.001,0.0001,NULL,NULL); -- ID 4
-- check that a regression on consecutive runs more than 1 day apart can be detected:
INSERT INTO "NT_Test" VALUES(88,'test1');
INSERT INTO "NT_Test" VALUES(89,'test2');
-INSERT INTO "NT_Order" VALUES(7,NULL,NULL,'152292');
-INSERT INTO "NT_Run" VALUES(5,2,7,'run5.json','2012-05-01 16:28:23.000000','2012-05-01 16:28:58.000000',NULL,'[]');
-INSERT INTO "NT_Sample" VALUES(5,5,88,0,0,0.001,1.0,NULL,NULL); -- passing result
-INSERT INTO "NT_Sample" VALUES(6,5,89,0,1,0.001,1.0,NULL,NULL); -- failing result
-INSERT INTO "NT_Order" VALUES(8,7,NULL,'152293');
-UPDATE "NT_Order" SET "PreviousOrder" = 8 WHERE "ID" = 7;
-INSERT INTO "NT_Run" VALUES(6,2,8,'run6.json','2012-05-03 16:28:24.000000','2012-05-03 16:28:59.000000',NULL,'[]');
-INSERT INTO "NT_Sample" VALUES(7,6,88,0,0,0.001,10.0,NULL,NULL); -- passing result 10x slower
-INSERT INTO "NT_Sample" VALUES(8,5,89,0,0,0.001,1.0,NULL,NULL); -- passing result
+INSERT INTO "NT_Order" ("NextOrder", "PreviousOrder", "llvm_project_revision")
+ VALUES(NULL,NULL,'152292'); -- ID 5
+INSERT INTO "NT_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(2,5,'run5.json','2012-05-01 16:28:23.000000',
+ '2012-05-01 16:28:58.000000',NULL,'[]'); -- ID 5
+INSERT INTO "NT_Sample" ("RunID", "TestID", "compile_status",
+ "execution_status", "compile_time", "execution_time",
+ "score", "mem_bytes")
+ VALUES(5,88,0,0,0.001,1.0,NULL,NULL); -- ID 5: passing result
+INSERT INTO "NT_Sample" ("RunID", "TestID", "compile_status",
+ "execution_status", "compile_time", "execution_time",
+ "score", "mem_bytes")
+ VALUES(5,89,0,1,0.001,1.0,NULL,NULL); -- ID 6: failing result
+INSERT INTO "NT_Order" ("NextOrder", "PreviousOrder", "llvm_project_revision")
+ VALUES(5,NULL,'152293'); -- ID 6
+UPDATE "NT_Order" SET "PreviousOrder" = 6 WHERE "ID" = 5;
+INSERT INTO "NT_Run" ("MachineID", "OrderID", "ImportedFrom", "StartTime",
+ "EndTime", "SimpleRunID", "Parameters")
+ VALUES(2,6,'run6.json','2012-05-03 16:28:24.000000',
+ '2012-05-03 16:28:59.000000',NULL,'[]'); -- ID 6
+INSERT INTO "NT_Sample" ("RunID", "TestID", "compile_status",
+ "execution_status", "compile_time", "execution_time",
+ "score", "mem_bytes")
+ VALUES(6,88,0,0,0.001,10.0,NULL,NULL); -- ID 7: passing result 10x slower
+INSERT INTO "NT_Sample" ("RunID", "TestID", "compile_status",
+ "execution_status", "compile_time", "execution_time",
+ "score", "mem_bytes")
+ VALUES(5,89,0,0,0.001,1.0,NULL,NULL); -- ID 8: passing result
COMMIT;
Modified: lnt/trunk/tests/server/ui/V4Pages.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/ui/V4Pages.py?rev=249003&r1=249002&r2=249003&view=diff
==============================================================================
--- lnt/trunk/tests/server/ui/V4Pages.py (original)
+++ lnt/trunk/tests/server/ui/V4Pages.py Thu Oct 1 07:32:08 2015
@@ -169,18 +169,18 @@ def main():
expected_code=HTTP_NOT_FOUND)
# Get a graph page. This has been changed to redirect.
- check_redirect(client, '/v4/nts/1/graph?test.87=2',
- 'v4/nts/graph\?plot\.0=1\.87\.2&highlight_run=1$')
+ check_redirect(client, '/v4/nts/1/graph?test.3=2',
+ 'v4/nts/graph\?plot\.0=1\.3\.2&highlight_run=1$')
# Get the new graph page.
- check_code(client, '/v4/nts/graph?plot.0=1.87.2')
+ check_code(client, '/v4/nts/graph?plot.0=1.3.2')
# Don't crash when requesting non-existing data
- check_code(client, '/v4/nts/graph?plot.9999=1.87.2')
- check_code(client, '/v4/nts/graph?plot.0=9999.87.2',
+ check_code(client, '/v4/nts/graph?plot.9999=1.3.2')
+ check_code(client, '/v4/nts/graph?plot.0=9999.3.2',
expected_code=HTTP_NOT_FOUND)
check_code(client, '/v4/nts/graph?plot.0=1.9999.2',
expected_code=HTTP_NOT_FOUND)
- check_code(client, '/v4/nts/graph?plot.0=1.87.9999',
+ check_code(client, '/v4/nts/graph?plot.0=1.3.9999',
expected_code=HTTP_NOT_FOUND)
# Get the mean graph page.
@@ -265,7 +265,7 @@ def main():
check_code(client, '/v4/compile/1/text_report')
# Get the new graph page.
- check_code(client, '/v4/compile/graph?plot.38=2.38.9')
+ check_code(client, '/v4/compile/graph?plot.3=2.3.9')
# Get the mean graph page.
check_code(client, 'v4/compile/graph?mean=2.9')
Modified: lnt/trunk/tests/server/ui/test_api.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/ui/test_api.py?rev=249003&r1=249002&r2=249003&view=diff
==============================================================================
--- lnt/trunk/tests/server/ui/test_api.py (original)
+++ lnt/trunk/tests/server/ui/test_api.py Thu Oct 1 07:32:08 2015
@@ -49,14 +49,14 @@ run_expected_response = [{u'end_time': u
u'id': 1,
u'machine_id': 1,
u'machine': u'/api/db_default/v4/nts/machine/1',
- u'order_id': 3,
- u'order': u'/api/db_default/v4/nts/order/3',
+ u'order_id': 1,
+ u'order': u'/api/db_default/v4/nts/order/1',
u'start_time': u'2012-04-11T16:28:23'}]
-order_expected_response = {u'id': 3,
+order_expected_response = {u'id': 1,
u'llvm_project_revision': "154331",
u'next_order_id': 0,
- u'previous_order_id': 4}
+ u'previous_order_id': 2}
class JSONAPITester(unittest.TestCase):
@@ -94,7 +94,7 @@ class JSONAPITester(unittest.TestCase):
def test_order_api(self):
""" Check /order/n returns the expected order information."""
client = self.client
- j = check_json(client, 'api/db_default/v4/nts/order/3')
+ j = check_json(client, 'api/db_default/v4/nts/order/1')
self.assertEquals(j, order_expected_response)
More information about the llvm-commits
mailing list