Ticket #107 (assigned test)

Opened 1 year ago

Last modified 1 year ago

HoneyClient::Agent Tests Fail

Reported by: Christian.Seifert@gmail.com Assigned to: kindlund (accepted)
Priority: normal Milestone: 0.9
Component: HoneyClient::Agent Version: 0.99
Severity: minor Keywords: unit test, agent
Cc:

Description (Last modified by kindlund)

Running the HoneyClient::Agent test it seems like all is passing. At the end, it complains about failures and concludes with Error 255. Below the entire test output:

$ make test
/usr/bin/perl.exe "-Iinc" Makefile.PL --config= --installdeps=Algorithm::Diff,0,
Data::Compare,0,Data::Diff,0,Data::Structure::Util,0,Data::Validate::URI,0,DateT
ime,0,DateTime::HiRes,0,File::Type,0,Filesys::CygwinPaths,0,Parse::Yapp::Driver,
0,Search::Binary,0,Term::ProgressBar,0,Test::Exception,0
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/l
ib', 'blib/arch')" t/honeyclient_agent_driver.t t/honeyclient_agent_driver_brows
er_ff.t t/honeyclient_agent_driver_browser_ie.t t/honeyclient_agent_integrity_fi
lesystem.t t/honeyclient_agent_integrity_registry.t t/honeyclient_agent_integrit
y_registry_parser.t
t/honeyclient_agent_driver.......................ok
t/honeyclient_agent_driver_browser_ff............ok 3/0#
# About to run basic FF-specific browser tests.
# Note: These tests *require* network connectivity and
# *expect* FF to be installed at the following location.
#
# Process Name:         'firefox.exe'
# Process Location:     'C:\Program Files\Mozilla Firefox\firefox.exe'
#
# If FF is installed in a different location or has a different executable name,

# then please answer *NO* to the next question and update your etc/honeyclient.x
ml
# file, changing the 'process_name' and 'process_exec' elements in the
# <HoneyClient/><Agent/><Driver/><Browser/><FF/> section.
#
# Then, once updated, re-run these tests.
#

#
# About to drive FF to a specific website for *exactly* 20 seconds.
# Note: Please do *NOT* close the browser manually; the test code should close i
t automatically.
#
t/honeyclient_agent_driver_browser_ff............ok 19/0
#

#
# About to restart FF.  Please check if the "Restore Previous Session" dialog bo
x appears.
#

#
no
#
Don't know which tests failed: got 19 ok, expected 0
t/honeyclient_agent_driver_browser_ie............ok 3/0#
# About to run basic IE-specific browser tests.
# Note: These tests *require* network connectivity and
# *expect* IE to be installed at the following location.
#
# Process Name:         'iexplore.exe'
# Process Location:     'C:\Program Files\Internet Explorer\iexplore.exe'
#
# If IE is installed in a different location or has a different executable name,

# then please answer *NO* to the next question and update your etc/honeyclient.x
ml
# file, changing the 'process_name' and 'process_exec' elements in the
# <HoneyClient/><Agent/><Driver/><Browser/><IE/> section.
#
# Then, once updated, re-run these tests.
#

#
# About to drive IE to a specific website for *exactly* 20 seconds.
# Note: Please do *NOT* close the browser manually; the test code should close i
t automatically.
#
t/honeyclient_agent_driver_browser_ie............ok 19/0
#

Don't know which tests failed: got 19 ok, expected 0
t/honeyclient_agent_integrity_filesystem.........ok 2/0# These tests will create
 temporary files in /tmp.  Be sure to cleanup this directory, if any of these te
sts fail.
# Performing baseline check of the filesystem; this may take some time...
t/honeyclient_agent_integrity_filesystem.........ok
t/honeyclient_agent_integrity_registry...........ok 1/0# These tests will create
 temporary files in /tmp.  Be sure to cleanup this directory, if any of these te
sts fail.
# Performing baseline check of 'HKEY_CURRENT_USER' hive; this may take some time
...
t/honeyclient_agent_integrity_registry...........ok 38/0# Performing baseline ch
eck of 'HKEY_CURRENT_CONFIG' hive; this may take some time...
# Performing baseline check of 'HKEY_CURRENT_CONFIG' hive; this may take some ti
me...
t/honeyclient_agent_integrity_registry...........ok
t/honeyclient_agent_integrity_registry_parser....ok
Failed Test                             Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/honeyclient_agent_driver_browser_ff.t                0   ??  ??
t/honeyclient_agent_driver_browser_ie.t                0   ??  ??
Failed 2/6 test scripts. -38/157 subtests failed.
Files=6, Tests=157, 123 wallclock secs ( 5.73 cusr + 14.71 csys = 20.43 CPU)
Failed 2/6 test programs. -38/157 subtests failed.
make: *** [test_dynamic] Error 255

Attachments

Change History

09/26/07 16:37:41 changed by kindlund

  • status changed from new to assigned.
  • description changed.
  • summary changed from HoneyClient::Agent tests fail to HoneyClient::Agent Tests Fail.
  • priority changed from high to normal.
  • milestone set to 0.9.
  • keywords changed from unit test to unit test, agent.
  • type changed from issue to test.
  • severity changed from blocker to minor.

Hi Christian,

It appears that the tests that were failing were specific to IE and FF sub-modules. I'll look into the exact the issue you've encountered, but in the meantime, you can safely ignore these errors and proceed further in the installation (they're not critical).

Regards,

— Darien


Add/Change #107 (HoneyClient::Agent Tests Fail)




Change Properties
Action