test-run.pl should fail over to a vanilla run if attempts to use tmpfs with --mem option fails.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Patrick Crews | ||
7.0 |
Fix Released
|
Medium
|
Patrick Crews |
Bug Description
Drizzle Version 2010.11.1911
Using tmpfs in /dev/shm
Using DTR_BUILD_THREAD = 1801
Using MASTER_MYPORT = 8010
Using MASTER_MYPORT1 = 8011
Using SLAVE_MYPORT = 8012
Using SLAVE_MYPORT1 = 8013
Using SLAVE_MYPORT2 = 8014
Using MC_PORT = 8020
Using PBMS_PORT = 8021
Killing Possible Leftover Processes
Removing Stale Files
Creating Directories
mkdir /dev/shm/var1801: Permission denied at ../../tests/
gmake[4]: *** [test-drizzle] Error 13
I have seen failed test runs where we either die at this step or when we try to create the symlink to the /dev/shm directory.
I think the test runner should fail over to a standard run in such a case as this is how the mem option is described.
Related branches
- Patrick Crews: Needs Resubmitting
- Lee Bieber (community): Needs Fixing
-
Diff: 4137 lines (+3158/-95)87 files modified.bzrignore (+1/-0)
plugin/filesystem_engine/tests/r/basic_create_table.result (+6/-6)
plugin/filesystem_engine/tests/r/basic_delete.result (+1/-1)
plugin/filesystem_engine/tests/r/basic_insert.result (+1/-1)
plugin/filesystem_engine/tests/r/basic_select.result (+1/-1)
plugin/filesystem_engine/tests/r/basic_update.result (+1/-1)
plugin/filesystem_engine/tests/r/multiple_update.result (+1/-1)
plugin/filesystem_engine/tests/r/rnd_pos.result (+1/-1)
plugin/filesystem_engine/tests/r/select_big_file.result (+1/-1)
plugin/filesystem_engine/tests/r/select_chop_line.result (+1/-1)
plugin/filesystem_engine/tests/r/select_cpuinfo.result (+2/-2)
plugin/filesystem_engine/tests/r/select_meminfo.result (+2/-2)
plugin/filesystem_engine/tests/r/select_separator_mode_weak.result (+1/-1)
plugin/filesystem_engine/tests/r/select_short_line.result (+1/-1)
plugin/filesystem_engine/tests/r/select_skip_blank_line.result (+1/-1)
plugin/filesystem_engine/tests/r/select_with_escaped_character.result (+1/-2)
plugin/filesystem_engine/tests/r/select_with_omit_field.result (+1/-1)
plugin/filesystem_engine/tests/r/select_with_separators.result (+1/-1)
plugin/filesystem_engine/tests/t/basic_create_table.test (+11/-5)
plugin/filesystem_engine/tests/t/basic_delete.test (+2/-1)
plugin/filesystem_engine/tests/t/basic_insert.test (+2/-1)
plugin/filesystem_engine/tests/t/basic_select.test (+2/-1)
plugin/filesystem_engine/tests/t/basic_update.test (+2/-1)
plugin/filesystem_engine/tests/t/multiple_update.test (+2/-1)
plugin/filesystem_engine/tests/t/rnd_pos.test (+3/-2)
plugin/filesystem_engine/tests/t/select_big_file.test (+2/-1)
plugin/filesystem_engine/tests/t/select_chop_line.test (+2/-1)
plugin/filesystem_engine/tests/t/select_cpuinfo.test (+3/-1)
plugin/filesystem_engine/tests/t/select_meminfo.test (+3/-1)
plugin/filesystem_engine/tests/t/select_separator_mode_weak.test (+2/-1)
plugin/filesystem_engine/tests/t/select_short_line.test (+2/-1)
plugin/filesystem_engine/tests/t/select_skip_blank_line.test (+2/-1)
plugin/filesystem_engine/tests/t/select_with_escaped_character.test (+2/-2)
plugin/filesystem_engine/tests/t/select_with_omit_field.test (+3/-2)
plugin/filesystem_engine/tests/t/select_with_separators.test (+3/-2)
plugin/filtered_replicator/tests/t/var_filteredschemas.test (+2/-1)
plugin/filtered_replicator/tests/t/var_filteredtables.test (+2/-2)
plugin/filtered_replicator/tests/t/var_schemaregex.test (+2/-1)
plugin/filtered_replicator/tests/t/var_tableregex.test (+2/-2)
plugin/innobase/tests/t/innodb_bug53756-master.opt (+0/-1)
plugin/storage_engine_api_tester/tests/t/txn_log_insert.test (+2/-2)
plugin/storage_engine_api_tester/tests/t/txn_log_rollback_large_stmt.test (+2/-1)
plugin/transaction_log/tests/r/truncate_log.result (+2/-2)
plugin/transaction_log/tests/t/alter.test (+2/-2)
plugin/transaction_log/tests/t/alter_schema.test (+2/-1)
plugin/transaction_log/tests/t/auto_commit.test (+2/-1)
plugin/transaction_log/tests/t/blob.test (+2/-1)
plugin/transaction_log/tests/t/create_select.test (+2/-1)
plugin/transaction_log/tests/t/create_table.test (+2/-1)
plugin/transaction_log/tests/t/delete.test (+2/-1)
plugin/transaction_log/tests/t/embedded_quotes.test (+2/-1)
plugin/transaction_log/tests/t/insert.test (+2/-1)
plugin/transaction_log/tests/t/insert_multi.test (+2/-1)
plugin/transaction_log/tests/t/insert_on_duplicate_update.test (+2/-1)
plugin/transaction_log/tests/t/insert_select.test (+2/-1)
plugin/transaction_log/tests/t/multi_column_primary_key.test (+2/-1)
plugin/transaction_log/tests/t/multi_table.test (+2/-1)
plugin/transaction_log/tests/t/no_modification.test (+2/-1)
plugin/transaction_log/tests/t/no_primary_key.test (+2/-1)
plugin/transaction_log/tests/t/null_values.test (+2/-1)
plugin/transaction_log/tests/t/rand.test (+2/-1)
plugin/transaction_log/tests/t/rename.test (+2/-1)
plugin/transaction_log/tests/t/replace.test (+2/-1)
plugin/transaction_log/tests/t/rollback.test (+2/-1)
plugin/transaction_log/tests/t/rollback_statement.test (+4/-3)
plugin/transaction_log/tests/t/schema.test (+2/-1)
plugin/transaction_log/tests/t/select_for_update.test (+2/-1)
plugin/transaction_log/tests/t/temp_tables.test (+2/-2)
plugin/transaction_log/tests/t/truncate.test (+2/-1)
plugin/transaction_log/tests/t/truncate_log.test (+4/-2)
plugin/transaction_log/tests/t/update.test (+2/-1)
tests/dbqp.py (+72/-0)
tests/include.am (+4/-0)
tests/lib/drizzle_test_run/dtr_test_execution.py (+159/-0)
tests/lib/drizzle_test_run/dtr_test_management.py (+393/-0)
tests/lib/server_mgmt/drizzled.py (+269/-0)
tests/lib/server_mgmt/server_management.py (+299/-0)
tests/lib/sys_mgmt/codeTree.py (+151/-0)
tests/lib/sys_mgmt/logging_management.py (+103/-0)
tests/lib/sys_mgmt/port_management.py (+172/-0)
tests/lib/sys_mgmt/system_management.py (+438/-0)
tests/lib/sys_mgmt/time_management.py (+103/-0)
tests/lib/test_mgmt/execution_management.py (+121/-0)
tests/lib/test_mgmt/test_execution.py (+145/-0)
tests/lib/test_mgmt/test_management.py (+264/-0)
tests/lib/test_mode.py (+45/-0)
tests/lib/test_run_options.py (+273/-0)
Changed in drizzle: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Patrick Crews (patrick-crews) |
Changed in drizzle: | |
status: | Confirmed → Triaged |
status: | Triaged → Fix Committed |
Changed in drizzle: | |
milestone: | none → future |
Linked branch contains python test-runner implementation.
By default, we try to symlink our workdir to a shm location, and failover to normal file system if we can't find anything
./test-run.py --suite=main update key tests/dtr_ work to /dev/shm/ dtr_work_ sym
13 Jan 2011 12:57:52 INFO: Using Drizzle source tree:
13 Jan 2011 12:57:52 INFO: basedir: drizzle
13 Jan 2011 12:57:52 INFO: clientbindir: drizzle/client
13 Jan 2011 12:57:52 INFO: testdir: drizzle/tests
13 Jan 2011 12:57:52 INFO: server_version: 2011.01.2070
13 Jan 2011 12:57:52 INFO: server_compile_os: unknown-linux-gnu
13 Jan 2011 12:57:52 INFO: server_platform: x86_64
13 Jan 2011 12:57:52 INFO: server_comment: (Source distribution (drizzle-build))
13 Jan 2011 12:57:52 INFO: Linking workdir drizzle/