Ticket #79 (closed test: invalid)

Opened 1 year ago

Last modified 1 year ago

Unable To Test With Invalid Datastore Path

Reported by: devinbhullar@gmail.com Assigned to: kindlund
Priority: lowest Milestone: 0.9
Component: HoneyClient::Manager::VM Version: none
Severity: none Keywords: 79, 80, test, datastore, path
Cc:

Description (Last modified by kindlund)

devinder@devinder-desktop:~/HoneyClient-Manager-0.99$ PERL_MM_USE_DEFAULT=1 make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/honeyclient_manager_vm.t
t/honeyclient_manager_vm....ok 1/0                                           
#   Failed test 'use HoneyClient::Manager::VM;'
t/honeyclient_manager_vm....NOK 4/0#   at t/honeyclient_manager_vm.t line 71.
#     Tried to use 'HoneyClient::Manager::VM'.
#     Error:  Error: Current datastore path (/vm/clones) does not exist!
#  at (eval 47) line 2
# Compilation failed in require at (eval 47) line 2.
# BEGIN failed--compilation aborted at t/honeyclient_manager_vm.t line 71.
# Can't load HoneyClient::Manager:VM package.  Check to make sure the package library is correctly listed within the path.
# About to run basic unit tests.
# Note: These tests *expect* VMware Server or VMware GSX to be installed and running on this system beforehand.
# About to run extended tests.
# Note: These extended tests will take *significant* time to complete (10-30 minutes).
Can't call method "dequeue_nb" on an undefined value at /home/devinder/HoneyClient-Manager-0.99/blib/lib/HoneyClient/Manager/VM.pm line 890.
END failed--call queue aborted.
# Looks like you failed 1 test of 53.
# Looks like your test died just after 53.
t/honeyclient_manager_vm....dubious                                          
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 4
        Failed 1/53 tests, 98.11% okay
Failed Test                Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/honeyclient_manager_vm.t  255 65280    53    1  4
Failed 1/1 test scripts. 1/53 subtests failed.
Files=1, Tests=53,  0 wallclock secs ( 0.59 cusr +  0.02 csys =  0.61 CPU)
Failed 1/1 test programs. 1/53 subtests failed.
make: *** [test_dynamic] Error 255
devinder@devinder-desktop:~/HoneyClient-Manager-0.99$ 

Attachments

Change History

08/27/07 20:06:05 changed by kindlund

  • status changed from new to closed.
  • description changed.
  • reporter changed from Devinder <devinbhullar@gmail.com> to devinbhullar@gmail.com.
  • type changed from bug to test.
  • summary changed from Test Failed to Unable To Test With Invalid Datastore Path.
  • priority changed from high to lowest.
  • milestone set to 0.9.
  • keywords set to 79, 80, test, datastore, path.
  • resolution set to invalid.

Hi Devinder,

You have submitted multiple tickets, regarding the issues you've had with HoneyClient::Manager::VM.

These tickets are: #79, #80

In the future, please ONLY submit one ticket per issue. If you have additional follow-up information and/or questions, feel free to add additional comments to an existing ticket.

In this specific ticket, it looks like you tried to test the !HoneyClient::Manager::VM code, but it failed with the error of:

Error: Current datastore path (/vm/clones) does not exist!

This specific issue has been documented in the UserGuide, as step 14: http://www.honeyclient.org/trac/wiki/UserGuide#InstallHoneyClient::Manager

Specifically, see this text:

# Edit the etc/honeyclient.xml file.
# Make sure the datastore_path and snapshot_path both point to valid host system directories.

This means that you MUST manually make these directories. You can do this operation, as root, by typing in the following commands:

# mkdir /vm/clones
# mkdir /vm/snapshots

If you want these directories to be someplace else, then feel free to edit the etc/honeyclient.xml file accordingly.

Regards,

— Darien


Add/Change #79 (Unable To Test With Invalid Datastore Path)




Change Properties
Action