test-run.pl should fail over to a vanilla run if attempts to use tmpfs with --mem option fails.

Bug #675795 reported by Patrick Crews
6
This bug affects 1 person
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/test-run.pl line 1778
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

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
Revision history for this message
Patrick Crews (patrick-crews) wrote :

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
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/tests/dtr_work to /dev/shm/dtr_work_sym

Changed in drizzle:
milestone: none → future
Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

Fixed in new python based test runner

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.