Nagios Integration with Selenium Issues.
Posted: Thu Jul 16, 2015 5:34 am
Hi Team,
While Integrating Nagios XI with selenium, I am following installation guide as given in the link below:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
During Test-WWW-Selenium-1.36.tar.gz installation I am facing issues as shown below.
Issues are coing after "make test" command.
Thanks
Naman
While Integrating Nagios XI with selenium, I am following installation guide as given in the link below:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
During Test-WWW-Selenium-1.36.tar.gz installation I am facing issues as shown below.
Issues are coing after "make test" command.
Code: Select all
make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ........... ok
t/01_load.t .............. ok
t/interweb.t ............. skipped: not running live interweb tests
t/selenium-compat.t ...... 1/27
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Looks like you failed 1 test of 27.
t/selenium-compat.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/27 subtests
t/selenium-core.t ........ 1/?
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Looks like you failed 1 test of 151.
t/selenium-core.t ........ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/151 subtests
t/selenium-dwim.t ........ 1/30
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Looks like you failed 7 tests of 30.
t/selenium-dwim.t ........ Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/30 subtests
t/selenium-rc.t .......... 1/50
# Failed test at t/selenium-rc.t line 151.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Ffoo.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Ffoo.com'
# Looks like you failed 1 test of 50.
t/selenium-rc.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/50 subtests
t/test-selenium.t ........ ok
t/test_default_server.t .. skipped: No selenium server found!
t/test_google.t .......... skipped: No selenium server found!
t/test_i18n.t ............ skipped: No selenium server found!
t/timeouts.t ............. 1/5
# Failed test at t/WWW/Selenium.pm line 40.
# got: 'cmd=getNewBrowserSession&1=*firefox&2=http%3A%2F%2Fexample.com'
# expected: 'cmd=getNewBrowserSession&1=%2Afirefox&2=http%3A%2F%2Fexample.com'
# Looks like you failed 1 test of 5.
t/timeouts.t ............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
Test Summary Report
-------------------
t/selenium-compat.t (Wstat: 256 Tests: 27 Failed: 1)
Failed test: 4
Non-zero exit status: 1
t/selenium-core.t (Wstat: 256 Tests: 151 Failed: 1)
Failed test: 5
Non-zero exit status: 1
t/selenium-dwim.t (Wstat: 1792 Tests: 30 Failed: 7)
Failed tests: 4, 8, 13, 17, 21, 25, 29
Non-zero exit status: 7
t/selenium-rc.t (Wstat: 256 Tests: 50 Failed: 1)
Failed test: 13
Non-zero exit status: 1
t/timeouts.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=12, Tests=332, 1 wallclock secs ( 0.07 usr 0.03 sys + 0.52 cusr 0.11 csys = 0.73 CPU)
Result: FAIL
Failed 5/12 test programs. 11/332 subtests failed.
make: *** [test_dynamic] Error 1Naman