(view as text)
[Running on builder: "None"]
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/python /b/build/scripts/slave/runisolatedtest.py --test_name "memory test: sql" --builder_name "Chromium Mac (valgrind)(1)" --checkout_dir /b/build/slave/chromium-dbg-mac-valgrind-1/build /b/build/slave/chromium-dbg-mac-valgrind-1/build/src/out/Release/../../../src/tools/valgrind/chrome_tests.sh -- bash /b/build/slave/chromium-dbg-mac-valgrind-1/build/src/out/Release/../../../src/tools/valgrind/chrome_tests.sh --test sql --tool memcheck --target Release --build-dir src/out
bash /b/build/slave/chromium-dbg-mac-valgrind-1/build/src/out/Release/../../../src/tools/valgrind/chrome_tests.sh --test sql --tool memcheck --target Release --build-dir src/out
Using valgrind binaries from /b/build/slave/chromium-dbg-mac-valgrind-1/build/src/out/Release/../../../src/tools/valgrind/../../third_party/valgrind/mac_10.6
Cleanup /tmp from Valgrind stuff
17:49:27 chrome_tests.py [INFO] running test sql
17:49:27 chrome_tests.py [INFO] Reading gtest exclude filter files:
17:49:27 chrome_tests.py [INFO] "tools/valgrind/gtest_exclude/sql_unittests.gtest-memcheck.txt" - not found
17:49:27 chrome_tests.py [INFO] "tools/valgrind/gtest_exclude/sql_unittests.gtest.txt" - not found
17:49:27 chrome_tests.py [INFO] "tools/valgrind/gtest_exclude/sql_unittests.gtest_mac.txt" - not found
17:49:27 chrome_tests.py [INFO] "tools/valgrind/gtest_exclude/sql_unittests.gtest-memcheck_mac.txt" - not found
17:49:27 valgrind_test.py [INFO] No real .dSYM for test_command. Line numbers will not be shown. Either tell xcode to generate .dSYM file, or use --generate_dsym option to this tool.
17:49:27 valgrind_test.py [INFO] starting execution...
17:49:27 common.py [INFO] export GTEST_DEATH_TEST_USE_FORK=1
17:49:27 common.py [INFO] export G_SLICE=always-malloc
17:49:27 common.py [INFO] export NSS_DISABLE_ARENA_FREE_LIST=1
17:49:27 common.py [INFO] export NSS_DISABLE_UNLOAD=1
17:49:27 common.py [INFO] running /b/build/slave/chromium-dbg-mac-valgrind-1/build/src/out/Release/../../../src/tools/valgrind/../../third_party/valgrind/mac_10.6/bin/valgrind --tool=memcheck --num-callers=30 --gen-suppressions=all --demangle=no --leak-check=yes --show-possibly-lost=no --smc-check=all --suppressions=/b/build/slave/chromium-dbg-mac-valgrind-1/build/src/tools/valgrind/memcheck/suppressions.txt --suppressions=/b/build/slave/chromium-dbg-mac-valgrind-1/build/src/tools/valgrind/memcheck/suppressions_mac.txt --xml=yes --xml-file=/tmp/vg_logs_3VJWAJ/memcheck.%p /b/build/slave/chromium-dbg-mac-valgrind-1/build/src/out/Release/sql_unittests --gtest_print_time --single-process-tests --test-tiny-timeout=1000, timeout 10000 sec
17:49:27 common.py [INFO] started subprocess
--6480-- /b/build/slave/chromium-dbg-mac-valgrind-1/build/src/out/Release/sql_unittests:
--6480-- dSYM directory is missing; consider using --dsymutil=yes
[==========] Running 58 tests from 6 test cases.
[----------] Global test environment set-up.
[----------] 25 tests from SQLConnectionTest
[ RUN ] SQLConnectionTest.Execute
[ OK ] SQLConnectionTest.Execute (1631 ms)
[ RUN ] SQLConnectionTest.ExecuteWithErrorCode
[ OK ] SQLConnectionTest.ExecuteWithErrorCode (67 ms)
[ RUN ] SQLConnectionTest.CachedStatement
[ OK ] SQLConnectionTest.CachedStatement (190 ms)
[ RUN ] SQLConnectionTest.IsSQLValidTest
[ OK ] SQLConnectionTest.IsSQLValidTest (45 ms)
[ RUN ] SQLConnectionTest.DoesStuffExist
[ OK ] SQLConnectionTest.DoesStuffExist (105 ms)
[ RUN ] SQLConnectionTest.GetLastInsertRowId
[ OK ] SQLConnectionTest.GetLastInsertRowId (59 ms)
[ RUN ] SQLConnectionTest.Rollback
[ OK ] SQLConnectionTest.Rollback (56 ms)
[ RUN ] SQLConnectionTest.ScopedIgnoreError
[6480:3079:0329/174935:6141285235092:ERROR:connection.cc(1060)] sqlite error 2067, errno 0: UNIQUE constraint failed: foo.id, sql: INSERT INTO foo (id) VALUES (12)
[ OK ] SQLConnectionTest.ScopedIgnoreError (315 ms)
[ RUN ] SQLConnectionTest.ErrorCallback
[6480:3079:0329/174935:6141401667777:ERROR:connection.cc(1060)] sqlite error 2067, errno 0: UNIQUE constraint failed: foo.id, sql: INSERT INTO foo (id) VALUES (12)
[6480:3079:0329/174935:6141418230744:ERROR:connection.cc(1060)] sqlite error 2067, errno 0: UNIQUE constraint failed: foo.id, sql: INSERT INTO foo (id) VALUES (12)
[6480:3079:0329/174935:6141434578100:ERROR:connection.cc(1060)] sqlite error 2067, errno 0: UNIQUE constraint failed: foo.id, sql: INSERT INTO foo (id) VALUES (12)
[6480:3079:0329/174935:6141460521829:ERROR:connection.cc(1060)] sqlite error 2067, errno 0: UNIQUE constraint failed: foo.id, sql: INSERT INTO foo (id) VALUES (12)
[ OK ] SQLConnectionTest.ErrorCallback (117 ms)
[ RUN ] SQLConnectionTest.Raze
[ OK ] SQLConnectionTest.Raze (236 ms)
[ RUN ] SQLConnectionTest.RazePageSize
[ OK ] SQLConnectionTest.RazePageSize (83 ms)
[ RUN ] SQLConnectionTest.RazeMultiple
[ OK ] SQLConnectionTest.RazeMultiple (92 ms)
[ RUN ] SQLConnectionTest.RazeLocked
[ OK ] SQLConnectionTest.RazeLocked (189 ms)
[ RUN ] SQLConnectionTest.RazeEmptyDB
[ OK ] SQLConnectionTest.RazeEmptyDB (97 ms)
[ RUN ] SQLConnectionTest.RazeNOTADB
[6480:3079:0329/174936:6142215496561:ERROR:connection.cc(1060)] sqlite error 26, errno 0: file is encrypted or is not a database, sql: PRAGMA journal_mode = PERSIST
[ OK ] SQLConnectionTest.RazeNOTADB (92 ms)
[ RUN ] SQLConnectionTest.RazeNOTADB2
[6480:3079:0329/174936:6142321470855:ERROR:connection.cc(1060)] sqlite error 26, errno 0: file is encrypted or is not a database, sql: PRAGMA journal_mode = PERSIST
[ OK ] SQLConnectionTest.RazeNOTADB2 (102 ms)
[ RUN ] SQLConnectionTest.RazeCallbackReopen
[6480:3079:0329/174936:6142445369854:ERROR:connection.cc(1060)] sqlite error 11, errno 0: database disk image is malformed, sql: PRAGMA journal_mode = PERSIST
[6480:3079:0329/174936:6142451190877:ERROR:connection.cc(1060)] sqlite error 11, errno 0: database disk image is malformed, sql: PRAGMA auto_vacuum
[6480:3079:0329/174936:6142475015802:ERROR:connection.cc(1060)] sqlite error 11, errno 0: database disk image is malformed, sql: PRAGMA journal_mode = PERSIST
[ OK ] SQLConnectionTest.RazeCallbackReopen (162 ms)
[ RUN ] SQLConnectionTest.RazeAndClose
[ OK ] SQLConnectionTest.RazeAndClose (139 ms)
[ RUN ] SQLConnectionTest.RazeAndCloseDiagnostics
[WARNING] ../../testing/gtest/src/gtest-death-test.cc:825:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 3 threads.
[ OK ] SQLConnectionTest.RazeAndCloseDiagnostics (707 ms)
[ RUN ] SQLConnectionTest.Delete
[ OK ] SQLConnectionTest.Delete (40 ms)
[ RUN ] SQLConnectionTest.UserPermission
[ OK ] SQLConnectionTest.UserPermission (139 ms)
[ RUN ] SQLConnectionTest.Poison
[ OK ] SQLConnectionTest.Poison (70 ms)
[ RUN ] SQLConnectionTest.Attach
[6480:3079:0329/174938:6143729773706:ERROR:connection.cc(1060)] sqlite error 1, errno 0: cannot ATTACH database within transaction, sql: ATTACH DATABASE ? AS ?
[6480:3079:0329/174938:6143814421764:ERROR:connection.cc(1060)] sqlite error 1, errno 0: cannot DETACH database within transaction, sql: DETACH DATABASE ?
[ OK ] SQLConnectionTest.Attach (217 ms)
[ RUN ] SQLConnectionTest.Basic_QuickIntegrityCheck
[6480:3079:0329/174938:6143954355536:ERROR:connection.cc(1060)] sqlite error 11, errno 0: database disk image is malformed, sql: PRAGMA journal_mode = PERSIST
[ OK ] SQLConnectionTest.Basic_QuickIntegrityCheck (145 ms)
[ RUN ] SQLConnectionTest.Basic_FullIntegrityCheck
[6480:3079:0329/174938:6144040227413:ERROR:connection.cc(1060)] sqlite error 11, errno 0: database disk image is malformed, sql: PRAGMA journal_mode = PERSIST
[ OK ] SQLConnectionTest.Basic_FullIntegrityCheck (76 ms)
[----------] 25 tests from SQLConnectionTest (5227 ms total)
[----------] 7 tests from SQLMetaTableTest
[ RUN ] SQLMetaTableTest.DoesTableExist
[ OK ] SQLMetaTableTest.DoesTableExist (215 ms)
[ RUN ] SQLMetaTableTest.RazeIfDeprecated
[ OK ] SQLMetaTableTest.RazeIfDeprecated (476 ms)
[ RUN ] SQLMetaTableTest.VersionNumber
[ OK ] SQLMetaTableTest.VersionNumber (89 ms)
[ RUN ] SQLMetaTableTest.StringValue
[ OK ] SQLMetaTableTest.StringValue (93 ms)
[ RUN ] SQLMetaTableTest.IntValue
[ OK ] SQLMetaTableTest.IntValue (86 ms)
[ RUN ] SQLMetaTableTest.Int64Value
[ OK ] SQLMetaTableTest.Int64Value (94 ms)
[ RUN ] SQLMetaTableTest.DeleteKey
[ OK ] SQLMetaTableTest.DeleteKey (72 ms)
[----------] 7 tests from SQLMetaTableTest (1129 ms total)
[----------] 12 tests from SQLRecoveryTest
[ RUN ] SQLRecoveryTest.RecoverBasic
[ OK ] SQLRecoveryTest.RecoverBasic (445 ms)
[ RUN ] SQLRecoveryTest.VirtualTable
[ OK ] SQLRecoveryTest.VirtualTable (310 ms)
[ RUN ] SQLRecoveryTest.RecoverCorruptIndex
[6480:3079:0329/174940:6146155298192:ERROR:connection.cc(1060)] sqlite error 11, errno 0: database disk image is malformed, sql: SELECT v FROM x WHERE id = 0
[ OK ] SQLRecoveryTest.RecoverCorruptIndex (341 ms)
[ RUN ] SQLRecoveryTest.RecoverCorruptTable
[ OK ] SQLRecoveryTest.RecoverCorruptTable (293 ms)
[ RUN ] SQLRecoveryTest.Meta
[6480:3079:0329/174941:6146904719981:ERROR:connection.cc(1060)] sqlite error 11, errno -2: unable to find backing table, sql: CREATE VIRTUAL TABLE temp.recover_meta USING recover(corrupt.meta,key TEXT NOT NULL,value ANY)
[ OK ] SQLRecoveryTest.Meta (334 ms)
[ RUN ] SQLRecoveryTest.AutoRecoverTable
[ OK ] SQLRecoveryTest.AutoRecoverTable (281 ms)
[ RUN ] SQLRecoveryTest.AutoRecoverTableWithDefault
[ OK ] SQLRecoveryTest.AutoRecoverTableWithDefault (356 ms)
[ RUN ] SQLRecoveryTest.AutoRecoverTableNullFilter
[ OK ] SQLRecoveryTest.AutoRecoverTableNullFilter (194 ms)
[ RUN ] SQLRecoveryTest.AutoRecoverTableWithRowid
[ OK ] SQLRecoveryTest.AutoRecoverTableWithRowid (190 ms)
[ RUN ] SQLRecoveryTest.AutoRecoverTableWithCompoundKey
[ OK ] SQLRecoveryTest.AutoRecoverTableWithCompoundKey (219 ms)
[ RUN ] SQLRecoveryTest.AutoRecoverTableExtendColumns
[ OK ] SQLRecoveryTest.AutoRecoverTableExtendColumns (203 ms)
[ RUN ] SQLRecoveryTest.Bug387868
[ OK ] SQLRecoveryTest.Bug387868 (316 ms)
[----------] 12 tests from SQLRecoveryTest (3493 ms total)
[----------] 6 tests from SQLiteFeaturesTest
[ RUN ] SQLiteFeaturesTest.NoFTS1
[ OK ] SQLiteFeaturesTest.NoFTS1 (47 ms)
[ RUN ] SQLiteFeaturesTest.NoFTS2
[ OK ] SQLiteFeaturesTest.NoFTS2 (30 ms)
[ RUN ] SQLiteFeaturesTest.FTS3
[ OK ] SQLiteFeaturesTest.FTS3 (137 ms)
[ RUN ] SQLiteFeaturesTest.FTS3_Prefix
[ OK ] SQLiteFeaturesTest.FTS3_Prefix (710 ms)
[ RUN ] SQLiteFeaturesTest.UsesUsleep
[6480:3079:0329/174944:6149651584837:ERROR:sqlite_features_unittest.cc(111)] Milliseconds: 7
[ OK ] SQLiteFeaturesTest.UsesUsleep (32 ms)
[ RUN ] SQLiteFeaturesTest.ForeignKeySupport
[ OK ] SQLiteFeaturesTest.ForeignKeySupport (217 ms)
[----------] 6 tests from SQLiteFeaturesTest (1177 ms total)
[----------] 5 tests from SQLStatementTest
[ RUN ] SQLStatementTest.Assign
[ OK ] SQLStatementTest.Assign (32 ms)
[ RUN ] SQLStatementTest.Run
[ OK ] SQLStatementTest.Run (62 ms)
[ RUN ] SQLStatementTest.ErrorCallback
[6480:3079:0329/174944:6150010048002:ERROR:connection.cc(1060)] sqlite error 20, errno 0: datatype mismatch, sql: INSERT INTO foo (a) VALUES (?)
[ OK ] SQLStatementTest.ErrorCallback (43 ms)
[ RUN ] SQLStatementTest.ScopedIgnoreError
[6480:3079:0329/174944:6150053524801:ERROR:connection.cc(1060)] sqlite error 20, errno 0: datatype mismatch, sql: INSERT INTO foo (a) VALUES (?)
[ OK ] SQLStatementTest.ScopedIgnoreError (43 ms)
[ RUN ] SQLStatementTest.Reset
[ OK ] SQLStatementTest.Reset (62 ms)
[----------] 5 tests from SQLStatementTest (246 ms total)
[----------] 3 tests from SQLTransactionTest
[ RUN ] SQLTransactionTest.Commit
[ OK ] SQLTransactionTest.Commit (63 ms)
[ RUN ] SQLTransactionTest.Rollback
[ OK ] SQLTransactionTest.Rollback (73 ms)
[ RUN ] SQLTransactionTest.NestedRollback
[ OK ] SQLTransactionTest.NestedRollback (70 ms)
[----------] 3 tests from SQLTransactionTest (207 ms total)
[----------] Global test environment tear-down
[==========] 58 tests from 6 test cases ran. (11605 ms total)
[ PASSED ] 58 tests.
17:49:45 common.py [INFO] process ended, did not time out
17:49:45 common.py [INFO] collecting result code
-----------------------------------------------------
Suppressions used:
count name
1 __cxa_get_globals one-time leak
75 Histograms via FactoryGet including Linear Custom Boolean and Basic
75 Intentional leak for SampleMap (stores SparseHistogram counts).
-----------------------------------------------------
17:49:45 memcheck_analyze.py [INFO] PASS! No errors found!
17:49:45 valgrind_test.py [INFO] Test execution completed successfully.
17:49:45 valgrind_test.py [INFO] Analysis completed successfully.
17:49:45 valgrind_test.py [INFO] elapsed time: 00:00:17
exit code (as seen by runtest.py): 0
@@@STEP_TEXT@memory test: sql@@@