>
> Thanks for latest version

 

> Now jenkins console output says that:


Started by user anonymous <http://localhost:8080/user/null>
Building in workspace /var/lib/jenkins/jobs/ignite2autotest/workspace
Fetching changes from the remote Git repository
Fetching upstream changes from 
file:///home/kimandrew/PycharmProjects/TestFramework
Checking out Revision b0953593b3c8848a37196ebcf01d6717c43eb954 
(origin/optimization)
Xvfb starting$ Xvfb :3 -screen 0 1366x768x24 -fbdir 
/var/lib/jenkins/2014-01-10_16-44-203342596046232664267xvfb
[workspace] $ /bin/sh -xe /tmp/hudson504829984443284425.sh
+ python run.py -t schedule

Running tests...
----------------------------------------------------------------------
  test_delete_service (schedule.test_schedule.Schedule) ... 
[[ATTACHMENT|/var/lib/jenkins/jobs/ignite2autotest/workspace/test-results/2014-01-10_16-45-33.jpg]]ERROR
 (50.690s)
  test_delete_testdrive (schedule.test_schedule.Schedule) ... 
[[ATTACHMENT|/var/lib/jenkins/jobs/ignite2autotest/workspace/test-results/2014-01-10_16-46-05.jpg]]ERROR
 (32.417s)
  test_service (schedule.test_schedule.Schedule) ... OK (43.050s)
  test_testdrive (schedule.test_schedule.Schedule) ... OK (39.857s)

======================================================================
ERROR [50.690s]: test_delete_service (schedule.test_schedule.Schedule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/jobs/ignite2autotest/workspace/test/__init__.py", line 
20, in wrapper
    f(self)
  File 
"/var/lib/jenkins/jobs/ignite2autotest/workspace/test/schedule/test_schedule.py",
 line 61, in test_delete_service
    
back_end.driver.find_element_by_partial_link_text(self.customer_fields['FirstName']).click()
  File 
"/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py",
 line 270, in find_element_by_partial_link_text
    return self.find_element(by=By.PARTIAL_LINK_TEXT, value=link_text)
  File 
"/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py",
 line 680, in find_element
    {'using': by, 'value': value})['value']
  File 
"/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py",
 line 165, in execute
    self.error_handler.check_response(response)
  File 
"/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py",
 line 164, in check_response
    raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: u'Unable to locate element: {"method":"partial 
link text","selector":"kNCsouv"}' ; Stacktrace: 
    at FirefoxDriver.prototype.findElementInternal_ 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/driver_component.js:8899)
    at FirefoxDriver.prototype.findElement 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/driver_component.js:8908)
    at DelayedCommand.prototype.executeInternal_/h 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/command_processor.js:10840)
    at DelayedCommand.prototype.executeInternal_ 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/command_processor.js:10845)
    at DelayedCommand.prototype.execute/< 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/command_processor.js:10787)
 

======================================================================
ERROR [32.417s]: test_delete_testdrive (schedule.test_schedule.Schedule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/jobs/ignite2autotest/workspace/test/__init__.py", line 
20, in wrapper
    f(self)
  File 
"/var/lib/jenkins/jobs/ignite2autotest/workspace/test/schedule/test_schedule.py",
 line 72, in test_delete_testdrive
    
back_end.driver.find_element_by_partial_link_text(self.customer_fields['FirstName']).click()
  File 
"/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py",
 line 270, in find_element_by_partial_link_text
    return self.find_element(by=By.PARTIAL_LINK_TEXT, value=link_text)
  File 
"/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py",
 line 680, in find_element
    {'using': by, 'value': value})['value']
  File 
"/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py",
 line 165, in execute
    self.error_handler.check_response(response)
  File 
"/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py",
 line 164, in check_response
    raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: u'Unable to locate element: {"method":"partial 
link text","selector":"MBXQlzr"}' ; Stacktrace: 
    at FirefoxDriver.prototype.findElementInternal_ 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/driver_component.js:8899)
    at FirefoxDriver.prototype.findElement 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/driver_component.js:8908)
    at DelayedCommand.prototype.executeInternal_/h 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/command_processor.js:10840)
    at DelayedCommand.prototype.executeInternal_ 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/command_processor.js:10845)
    at DelayedCommand.prototype.execute/< 
(file:///tmp/tmpb5Sw9W/extensions/[email protected]/components/command_processor.js:10787)
 

----------------------------------------------------------------------
Ran 4 tests in 166.015s

FAILED (errors=2)

Generating XML reports...
Xvfb stopping
Recording test resultsAttachment 
/var/lib/jenkins/jobs/ignite2autotest/workspace/test-results/2014-01-10_16-45-33.jpg]][[ATTACHMENT
 was referenced from the test 'schedule.test_schedule.Schedule-20140110164444' 
but it doesn't exist. Skipping.
Build step 'Publish JUnit test result report' changed build result to UNSTABLE
Finished: UNSTABLE

 
What does it mean?
JUnit report and screenshot, both are exist.

My python code which writing stderr looks like this.

sys.stderr.write('[[ATTACHMENT|'+screenshot_dir+'/%s.jpg' % now_time+']]')



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to