NativeScript/nativescript-tooling-qa

[flaky test] test_204_test_foreground__intent_service_without_oncreate_method_is_working_api28

dtopuzov opened this issue · 0 comments

Error Message

Element with text TAP not found!

Stacktrace

Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/tests/runtimes/android/android_service_tests.py", line 205, in test_204_test_foreground__intent_service_without_oncreate_method_is_working_api28
    Device.click(self.emulator, text="TAP", case_sensitive=True)
  File "/Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/core/utils/device/device.py", line 221, in click
    Adb.click_element_by_text(self.id, text, case_sensitive)
  File "/Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/core/utils/device/adb.py", line 205, in click_element_by_text
    assert False, 'Element with text ' + text + ' not found!'
AssertionError: Element with text TAP not found!

Standard Output

04:13:20 =============================================================
04:13:20 START TEST:  test_204_test_foreground__intent_service_without_oncreate_method_is_working_api28
04:13:20 
04:13:20 Kill tns processes.
04:13:20 Kill gradle processes.
04:13:20 Stop all running emulators...
04:13:21 Can not check if Emulator-Api28-Google is available, because avdmanager is not compatible with java 12.0.
04:13:21 Booting Emulator-Api28-Google with cmd:
04:13:21 /usr/local/share/android-sdk/emulator/emulator @Emulator-Api28-Google -port 5566 -wipe-data -no-snapshot-save -no-boot-anim -no-audio -netspeed lte
04:13:45 Emulator-Api28-Google is up and running!
04:13:45 Copy /Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/assets/runtime/android/files/android-runtime-1426/AndroidManifest.xml to /Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/TestApp/app/App_Resources/Android/src/main/AndroidManifest.xml
04:13:45 Copy /Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/assets/runtime/android/files/android-runtime-1426/app.js to /Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/TestApp/app/app.js
04:13:45 Copy /Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/assets/runtime/android/files/android-runtime-1426/main-view-model.js to /Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/TestApp/app/main-view-model.js
04:13:45 Execute command: /Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/node_modules/.bin/tns run android --path TestApp --device emulator-5566 >> /Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/out/logs/command_2019_09_24_04_13_45_727051.txt 2>&1 &
04:13:45 OUTPUT REDIRECTED: /Users/nsbuilduser/workspace/rc-android-runtime-service-tests-java12/out/logs/command_2019_09_24_04_13_45_727051.txt

04:14:39 TAP found on Emulator-Api28-Google.

History:
http://nsbuild01:8080/build/view/RC%20View/view/android-runtime%20tests/job/rc-android-runtime-service-tests-java12/64/testReport/junit/android_service_tests/AndroidServiceTests/test_204_test_foreground__intent_service_without_oncreate_method_is_working_api28/history/