android.support.test.espresso.NoMatchingViewException:在层次结构中找不到匹配的视图

android.support.test.espresso.NoMatchingViewException:在层次结构中找不到匹配的视图,android,jenkins,android-emulator,centos,android-espresso,Android,Jenkins,Android Emulator,Centos,Android Espresso,我尝试在无头jenkins(在centOS上)上运行UI测试,但出现以下错误: Starting 6 tests on test10_googleAPIs(AVD) - 4.1.2 com.MobileTornado.sdk.newclient.screens.login.MessageScreenTest > LimitMessage[test10_googleAPIs(AVD) - 4.1.2] [31mFAILED [0m android.support.test.e

我尝试在无头jenkins(在centOS上)上运行UI测试,但出现以下错误:

    Starting 6 tests on test10_googleAPIs(AVD) - 4.1.2
com.MobileTornado.sdk.newclient.screens.login.MessageScreenTest > LimitMessage[test10_googleAPIs(AVD) - 4.1.2] [31mFAILED [0m
    android.support.test.espresso.NoMatchingViewException: No views in hierarchy found matching: with id: com.MobileTornado.newclient:id/chatTab

com.MobileTornado.sdk.newclient.screens.login.MessageScreenTest > SendMessage[test10_googleAPIs(AVD) - 4.1.2] [31mFAILED [0m
    android.support.test.espresso.NoMatchingViewException: No views in hierarchy found matching: with id: com.MobileTornado.newclient:id/chatTab

com.MobileTornado.sdk.newclient.screens.login.MessageScreenTest > zzz_signOut[test10_googleAPIs(AVD) - 4.1.2] [31mFAILED [0m
Test failed to run to completion. Reason: 'Instrumentation run failed due to 'java.lang.IllegalArgumentException''. Check device logcat for details
Tests on test10_googleAPIs(AVD) - 4.1.2 failed: Instrumentation run failed due to 'java.lang.IllegalArgumentException'
:new-client:connectedDevDebugAndroidTest FAILED
詹金斯开始做测试,但失败了

我在android studio上运行此测试,在windows上也与jenkins一起运行-所有测试都通过了

emulator运行(但我没有看到,它是一台无头机器),因为在我得到以下信息之前:

$ /opt/android-sdk-linux/platform-tools/adb -s emulator-5786 wait-for-device shell getprop init.svc.bootanim
[android] Emulator reported that the startup process is 'running' 
使用: Android Studio项目,gradle 3.3,浓缩咖啡2.2.2

有什么问题