Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flaky test] test_204_test_foreground__intent_service_without_oncreate_method_is_working_api28 #375

Open
dtopuzov opened this issue Sep 24, 2019 · 0 comments

Comments

@dtopuzov
Copy link
Contributor

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant