dbqp not running on mac osx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Low
|
Patrick Crews | ||
7.0 |
Fix Released
|
Low
|
Patrick Crews |
Bug Description
We see output like this (likely needs some code in netstat parsing / port management to handle the os x case:
% hades:tests hudson$ ./dbqp.py --suite=main
28 Jan 2011 20:50:14 INFO: Using Drizzle source tree:
28 Jan 2011 20:50:14 INFO: basedir:
/Users/
28 Jan 2011 20:50:14 INFO: clientbindir:
/Users/
28 Jan 2011 20:50:14 INFO: testdir:
/Users/
28 Jan 2011 20:50:14 INFO: server_version: 2011.01.2126
28 Jan 2011 20:50:14 INFO: server_compile_os: apple-darwin10.5.0
28 Jan 2011 20:50:14 INFO: server_platform: i386
28 Jan 2011 20:50:14 INFO: server_comment: (Source distribution
(drizzle-
28 Jan 2011 20:50:14 INFO: Linking workdir
/Users/
/tmp/dtr_work_sym
28 Jan 2011 20:50:14 INFO: Using testing mode: dtr
28 Jan 2011 20:50:14 INFO: Processing test suites...
28 Jan 2011 20:50:14 INFO: Found 210 test(s) for execution
28 Jan 2011 20:50:14 INFO: Creating 1 testbot(s)
<type 'exceptions.
'1.8330'
28 Jan 2011 20:50:14 INFO: Stopping all running servers...
Traceback (most recent call last):
File "./dbqp.py", line 85, in <module>
server_
File
"/Users/
line 163, in cleanup
self.
File
"/Users/
line 153, in stop_all_servers
self.
File
"/Users/
line 134, in stop_server
if server.status == 1 or server.
File
"/Users/
line 224, in ping
ping_cmd= "%s --ping --port=%d --user=root" %
(self.drizzle_
AttributeError: drizzleServer instance has no attribute
'drizzle_
Related branches
- Drizzle Developers: Pending requested
-
Diff: 172 lines (+34/-11)8 files modifiedtests/dbqp.py (+1/-1)
tests/lib/drizzle_test_run/dtr_test_management.py (+2/-2)
tests/lib/sys_mgmt/port_management.py (+3/-1)
tests/lib/test_mgmt/execution_management.py (+9/-1)
tests/lib/test_mgmt/test_execution.py (+6/-1)
tests/lib/test_mgmt/test_management.py (+2/-2)
tests/lib/test_mode.py (+1/-1)
tests/lib/test_run_options.py (+10/-2)
- Drizzle Developers: Pending requested
-
Diff: 21 lines (+8/-3)1 file modifiedtests/lib/sys_mgmt/port_management.py (+8/-3)
Changed in drizzle: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Patrick Crews (patrick-crews) |
Changed in drizzle: | |
status: | In Progress → Fix Committed |
Similar to freebsd issue - need to parse netstat differently if it's 'Darwin'. Code added. Will push / propose for merge post-testing.