Skip to content

Instantly share code, notes, and snippets.

@bobsilverberg
Created January 16, 2013 21:52
Show Gist options
  • Select an option

  • Save bobsilverberg/4551290 to your computer and use it in GitHub Desktop.

Select an option

Save bobsilverberg/4551290 to your computer and use it in GitHub Desktop.
gaiatest --address=localhost:2828 --testvars=mine/b2g.gaia.json gaiatest/tests/manifest.ini --type=b2g-carrier
starting httpd
running webserver on http://10.251.30.149:64983/
TEST-START test_settings.py
test_get_all_settings (test_settings.TestSettings) ... ok
test_set_named_setting (test_settings.TestSettings) ... ok
test_set_volume (test_settings.TestSettings) ... ok
----------------------------------------------------------------------
Ran 3 tests in 26.113s
OK
TEST-START test_wifi_settings.py
test_set_wifi (test_wifi_settings.TestWiFiSettings) ... ok
----------------------------------------------------------------------
Ran 1 test in 9.810s
OK
TEST-START test_debug.py
test_debug_expected (test_debug.TestDebug) ... expected failure
test_debug_not_expected (test_debug.TestDebug) ... ok
----------------------------------------------------------------------
Ran 2 tests in 12.914s
OK (expected failures=1)
TEST-START test_initial_state.py
test_initial_state (test_initial_state.TestInitialState) ... ok
test_state_after_reset (test_initial_state.TestInitialState) ... ok
----------------------------------------------------------------------
Ran 2 tests in 53.705s
OK
TEST-START test_kill.py
test_kill (test_kill.TestKill) ... ok
test_kill_multiple (test_kill.TestKill) ... ok
----------------------------------------------------------------------
Ran 2 tests in 34.382s
OK
TEST-START test_killall.py
test_kill_all (test_killall.TestKillAll) ... ok
test_kill_all_twice (test_killall.TestKillAll) ... ok
test_kill_all_with_no_apps_running (test_killall.TestKillAll) ... ok
----------------------------------------------------------------------
Ran 3 tests in 65.417s
OK
TEST-START test_launch_entrypoint.py
test_launch_entrypoint (test_launch_entrypoint.TestLaunchEntrypoint) ... ok
----------------------------------------------------------------------
Ran 1 test in 14.167s
OK
TEST-START test_lock_screen.py
test_lock_unlock (test_lock_screen.TestLockScreen) ... ok
----------------------------------------------------------------------
Ran 1 test in 7.173s
OK
TEST-START test_wifi.py
test_connect_and_forget_all_networks (test_wifi.TestWiFi) ... ok
----------------------------------------------------------------------
Ran 1 test in 19.349s
OK
TEST-START test_search_marketplace_and_install_app.py
test_search_and_install_app (test_search_marketplace_and_install_app.TestSearchMarketplaceAndInstallApp) ... ERROR
ERROR
======================================================================
ERROR: test_search_and_install_app (test_search_marketplace_and_install_app.TestSearchMarketplaceAndInstallApp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/marketplace/test_search_marketplace_and_install_app.py", line 52, in test_search_and_install_app
self.wait_for_element_displayed(*self._search)
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 287, in wait_for_element_displayed
'Element %s not visible before timeout' % locator)
TEST-UNEXPECTED-FAIL | test_search_marketplace_and_install_app.py TestSearchMarketplaceAndInstallApp.test_search_and_install_app | TimeoutException: Element search-q not visible before timeout
======================================================================
ERROR: test_search_and_install_app (test_search_marketplace_and_install_app.TestSearchMarketplaceAndInstallApp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/marketplace/test_search_marketplace_and_install_app.py", line 88, in tearDown
self.apps.uninstall(APP_NAME)
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 79, in uninstall
self.marionette.execute_async_script("GaiaApps.uninstallWithName('%s')" % name)
File "/Users/bsilverberg/.virtualenvs/gaia-ui-tests/lib/python2.7/site-packages/marionette/marionette.py", line 495, in execute_async_script
specialPowers=special_powers)
File "/Users/bsilverberg/.virtualenvs/gaia-ui-tests/lib/python2.7/site-packages/marionette/marionette.py", line 243, in _send_message
self._handle_error(response)
File "/Users/bsilverberg/.virtualenvs/gaia-ui-tests/lib/python2.7/site-packages/marionette/marionette.py", line 278, in _handle_error
raise JavascriptException(message=message, status=status, stacktrace=stacktrace)
TEST-UNEXPECTED-FAIL | test_search_marketplace_and_install_app.py TestSearchMarketplaceAndInstallApp.test_search_and_install_app | JavascriptException: NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 0 [mozIDOMApplicationMgmt.uninstall]
----------------------------------------------------------------------
Ran 1 test in 49.740s
FAILED (errors=2)
TEST-START test_browser_lan.py
test_browser_lan (test_browser_lan.TestBrowserLAN) ... ok
----------------------------------------------------------------------
Ran 1 test in 40.750s
OK
TEST-START test_add_new_contact.py
test_add_new_contact (test_add_new_contact.TestContacts) ... ok
----------------------------------------------------------------------
Ran 1 test in 24.158s
OK
TEST-START test_edit_contact.py
test_edit_contact (test_edit_contact.TestContacts) ... ok
----------------------------------------------------------------------
Ran 1 test in 58.368s
OK
TEST-START test_clock_all_items_present_new_alarm.py
test_all_items_present_new_alarm (test_clock_all_items_present_new_alarm.TestClockTestAllItemsPresentNewAlarm) ... ok
----------------------------------------------------------------------
Ran 1 test in 19.679s
OK
TEST-START test_clock_create_new_alarm.py
test_clock_create_new_alarm (test_clock_create_new_alarm.TestClockCreateNewAlarm)
Add an alarm ... FAIL
test_clock_set_alarm_label (test_clock_create_new_alarm.TestClockCreateNewAlarm)
Set label of the new alarm ... FAIL
======================================================================
FAIL: test_clock_create_new_alarm (test_clock_create_new_alarm.TestClockCreateNewAlarm)
Add an alarm
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/clock/test_clock_create_new_alarm.py", line 43, in test_clock_create_new_alarm
self.assertTrue('The alarm is set for' in alarm_msg, 'Actual banner message was: "' + alarm_msg + '"')
TEST-UNEXPECTED-FAIL | test_clock_create_new_alarm.py TestClockCreateNewAlarm.test_clock_create_new_alarm | AssertionError: Actual banner message was: ""
======================================================================
FAIL: test_clock_set_alarm_label (test_clock_create_new_alarm.TestClockCreateNewAlarm)
Set label of the new alarm
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/clock/test_clock_create_new_alarm.py", line 75, in test_clock_set_alarm_label
self.assertTrue("test4321" == alarm_label, 'Actual label was: "' + alarm_label + '", not "test4321".')
TEST-UNEXPECTED-FAIL | test_clock_create_new_alarm.py TestClockCreateNewAlarm.test_clock_set_alarm_label | AssertionError: Actual label was: "Alarm", not "test4321".
----------------------------------------------------------------------
Ran 2 tests in 56.296s
FAILED (failures=2)
TEST-START test_clock_delete_alarm.py
test_clock_delete_alarm (test_clock_delete_alarm.TestClockDeleteAlarm)
Delete alarm ... ok
----------------------------------------------------------------------
Ran 1 test in 27.746s
OK
TEST-START test_clock_switch_clock_type.py
test_clock_show_time_date (test_clock_switch_clock_type.TestClockSwitchClockType)
Show the time, date ... ok
test_clock_switch_clock_type (test_clock_switch_clock_type.TestClockSwitchClockType)
Switch the clock type ... ok
----------------------------------------------------------------------
Ran 2 tests in 45.453s
OK
TEST-START test_clock_turn_on_off_alarm.py
test_clock_turn_on_off_alarm (test_clock_turn_on_off_alarm.TestClockTurnOnOffAlarm)
Turn on/off the alarm ... ok
----------------------------------------------------------------------
Ran 1 test in 60.974s
OK
TEST-START test_calendar.py
test_check_today_date (test_calendar.TestCalendar) ... ok
test_that_new_event_appears_on_all_calendar_views (test_calendar.TestCalendar) ... ok
----------------------------------------------------------------------
Ran 2 tests in 72.964s
OK
TEST-START test_camera.py
test_capture_a_photo (test_camera.TestCamera) ... ok
test_capture_a_video (test_camera.TestCamera) ... ERROR
======================================================================
ERROR: test_capture_a_video (test_camera.TestCamera)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_camera.py", line 58, in test_capture_a_video
self.wait_for_element_present(*self._video_capturing_locator)
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 260, in wait_for_element_present
'Element %s not found before timeout' % locator)
TEST-UNEXPECTED-FAIL | test_camera.py TestCamera.test_capture_a_video | TimeoutException: Element body.capturing not found before timeout
----------------------------------------------------------------------
Ran 2 tests in 102.392s
FAILED (errors=1)
TEST-START test_cards_view.py
test_cards_view (test_cards_view.TestCardsView) ... ok
test_that_app_can_be_launched_from_cards_view (test_cards_view.TestCardsView) ... ok
----------------------------------------------------------------------
Ran 2 tests in 92.246s
OK
TEST-START test_delete_app.py
test_delete_app (test_delete_app.TestDeleteApp) ... ok
----------------------------------------------------------------------
Ran 1 test in 43.479s
OK
TEST-START test_gallery.py
test_gallery_view (test_gallery.TestGallery) ... ERROR
ERROR
======================================================================
ERROR: test_gallery_view (test_gallery.TestGallery)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_gallery.py", line 26, in test_gallery_view
self.wait_for_element_displayed(*self._gallery_items_locator)
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 281, in wait_for_element_displayed
if self.marionette.find_element(by, locator).is_displayed():
File "/Users/bsilverberg/.virtualenvs/gaia-ui-tests/lib/python2.7/site-packages/marionette/marionette.py", line 502, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/Users/bsilverberg/.virtualenvs/gaia-ui-tests/lib/python2.7/site-packages/marionette/marionette.py", line 233, in _send_message
raise TimeoutException(message='socket.timeout', status=ErrorCodes.TIMEOUT, stacktrace=None)
TEST-UNEXPECTED-FAIL | test_gallery.py TestGallery.test_gallery_view | TimeoutException: socket.timeout
======================================================================
ERROR: test_gallery_view (test_gallery.TestGallery)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 338, in tearDown
screenshot = self.marionette.screenshot()[22:]
File "/Users/bsilverberg/.virtualenvs/gaia-ui-tests/lib/python2.7/site-packages/marionette/marionette.py", line 595, in screenshot
return self._send_message("screenShot", 'value', element=element, highlights=highlights)
File "/Users/bsilverberg/.virtualenvs/gaia-ui-tests/lib/python2.7/site-packages/marionette/marionette.py", line 219, in _send_message
raise MarionetteException(message="Please start a session")
TEST-UNEXPECTED-FAIL | test_gallery.py TestGallery.test_gallery_view | MarionetteException: Please start a session
----------------------------------------------------------------------
Ran 1 test in 212.084s
FAILED (errors=2)
TEST-START test_keyboard.py
test_keyboard_basic (test_keyboard.TestKeyboard) ... ERROR
======================================================================
ERROR: test_keyboard_basic (test_keyboard.TestKeyboard)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_keyboard.py", line 28, in setUp
self.app = self.apps.launch('UI tests')
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 74, in launch
self.switch_to_frame(app.frame_id, url)
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 98, in switch_to_frame
self.marionette.switch_to_frame(app_frame)
File "/Users/bsilverberg/.virtualenvs/gaia-ui-tests/lib/python2.7/site-packages/marionette/marionette.py", line 397, in switch_to_frame
response = self._send_message('switchToFrame', 'ok', element=frame.id, focus=focus)
File "/Users/bsilverberg/.virtualenvs/gaia-ui-tests/lib/python2.7/site-packages/marionette/marionette.py", line 233, in _send_message
raise TimeoutException(message='socket.timeout', status=ErrorCodes.TIMEOUT, stacktrace=None)
TEST-UNEXPECTED-FAIL | test_keyboard.py TestKeyboard.test_keyboard_basic | TimeoutException: socket.timeout
----------------------------------------------------------------------
Ran 1 test in 197.667s
FAILED (errors=1)
TEST-START test_launch_app.py
test_launch_app (test_launch_app.TestLaunchApp) ... ERROR
======================================================================
ERROR: test_launch_app (test_launch_app.TestLaunchApp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_launch_app.py", line 47, in test_launch_app
self.wait_for_element_displayed(*self._header_locator, timeout=20)
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 287, in wait_for_element_displayed
'Element %s not visible before timeout' % locator)
TEST-UNEXPECTED-FAIL | test_launch_app.py TestLaunchApp.test_launch_app | TimeoutException: Element h1 not visible before timeout
----------------------------------------------------------------------
Ran 1 test in 51.682s
FAILED (errors=1)
TEST-START test_lockscreen.py
test_unlock_swipe_to_camera (test_lockscreen.TestLockScreen) ... ERROR
test_unlock_swipe_to_homescreen (test_lockscreen.TestLockScreen) ... ERROR
======================================================================
ERROR: test_unlock_swipe_to_camera (test_lockscreen.TestLockScreen)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_lockscreen.py", line 54, in test_unlock_swipe_to_camera
self._swipe_and_unlock()
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_lockscreen.py", line 87, in _swipe_and_unlock
self.wait_for_condition(lambda m: not unlock_handle.is_displayed())
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 317, in wait_for_condition
raise TimeoutException(message)
TEST-UNEXPECTED-FAIL | test_lockscreen.py TestLockScreen.test_unlock_swipe_to_camera | TimeoutException: Condition timed out
======================================================================
ERROR: test_unlock_swipe_to_homescreen (test_lockscreen.TestLockScreen)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_lockscreen.py", line 33, in test_unlock_swipe_to_homescreen
self._swipe_and_unlock()
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_lockscreen.py", line 87, in _swipe_and_unlock
self.wait_for_condition(lambda m: not unlock_handle.is_displayed())
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 317, in wait_for_condition
raise TimeoutException(message)
TEST-UNEXPECTED-FAIL | test_lockscreen.py TestLockScreen.test_unlock_swipe_to_homescreen | TimeoutException: Condition timed out
----------------------------------------------------------------------
Ran 2 tests in 43.896s
FAILED (errors=2)
TEST-START test_music.py
test_select_album_play (test_music.TestMusic) ... ERROR
======================================================================
ERROR: test_select_album_play (test_music.TestMusic)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_music.py", line 33, in test_select_album_play
self.wait_for_element_displayed(*self._album_tile_locator, timeout=60)
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 287, in wait_for_element_displayed
'Element %s not visible before timeout' % locator)
TEST-UNEXPECTED-FAIL | test_music.py TestMusic.test_select_album_play | TimeoutException: Element #views-tiles div.tile-container not visible before timeout
----------------------------------------------------------------------
Ran 1 test in 74.708s
FAILED (errors=1)
TEST-START test_radio.py
test_radio (test_radio.TestRadio) ... ok
----------------------------------------------------------------------
Ran 1 test in 29.699s
OK
TEST-START test_video_player.py
test_play_video (test_video_player.TestVideoPlayer) ... ERROR
======================================================================
ERROR: test_play_video (test_video_player.TestVideoPlayer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/tests/test_video_player.py", line 27, in setUp
self.wait_for_element_displayed(*self._video_items_locator)
File "/Users/bsilverberg/gitRepos/gaia-ui-tests/gaiatest/gaia_test.py", line 287, in wait_for_element_displayed
'Element %s not visible before timeout' % locator)
TEST-UNEXPECTED-FAIL | test_video_player.py TestVideoPlayer.test_play_video | TimeoutException: Element ul#thumbnails li[data-name] not visible before timeout
----------------------------------------------------------------------
Ran 1 test in 23.322s
FAILED (errors=1)
SUMMARY
-------
passed: 30
failed: 13
todo: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment