dbqp not running on mac osx

Bug #709861 reported by Patrick Crews
6
This bug affects 1 person
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/hudson/src/workspace/drizzle-build-hades
28 Jan 2011 20:50:14 INFO: clientbindir:
/Users/hudson/src/workspace/drizzle-build-hades/client
28 Jan 2011 20:50:14 INFO: testdir:
/Users/hudson/src/workspace/drizzle-build-hades/tests
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-build-hades))
28 Jan 2011 20:50:14 INFO: Linking workdir
/Users/hudson/src/workspace/drizzle-build-hades/tests/dbqp_work to
/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.Exception'> invalid literal for int() with base 10:
'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_manager.cleanup()
   File
"/Users/hudson/src/workspace/drizzle-build-hades/tests/lib/server_mgmt/server_management.py",
line 163, in cleanup
     self.stop_all_servers()
   File
"/Users/hudson/src/workspace/drizzle-build-hades/tests/lib/server_mgmt/server_management.py",
line 153, in stop_all_servers
     self.stop_server(server)
   File
"/Users/hudson/src/workspace/drizzle-build-hades/tests/lib/server_mgmt/server_management.py",
line 134, in stop_server
     if server.status == 1 or server.ping(quiet=True):
   File
"/Users/hudson/src/workspace/drizzle-build-hades/tests/lib/server_mgmt/drizzled.py",
line 224, in ping
     ping_cmd= "%s --ping --port=%d --user=root" %
(self.drizzle_client_path, self.master_port)
AttributeError: drizzleServer instance has no attribute
'drizzle_client_path'

Related branches

Changed in drizzle:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Patrick Crews (patrick-crews)
Revision history for this message
Patrick Crews (patrick-crews) wrote :

Similar to freebsd issue - need to parse netstat differently if it's 'Darwin'. Code added. Will push / propose for merge post-testing.

Changed in drizzle:
status: Confirmed → In Progress
milestone: none → 2011-01-31
Changed in drizzle:
status: In Progress → Fix Committed
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.