Android 14 CTS 測試無法執行的問題?
請教各位,我正在嘗試進行一個 android 14 的 CTS 測試。
使用的測試套件版本是:android-cts-14.0_r4,部署在 Ubuntu 22.04;
待測機器的版本是 android 14;
待測機器和測試 PC(Ubuntu 22.04)在同一個網路內,並且可以訪問外網;
根據網上某些教程的指導,也執行了這個操作:export JAVA_TOOL_OPTIONS='-Djava.net.useSystemProxies=true'
但在執行時,仍然報如下錯誤,請問該如何解決呢?
run cts -m CtsWindowManagerDeviceTestCases
11-29 16:48:31 I/TestInvocation: Starting invocation for 'cts' with '[ DeviceBuildInfo{bid=11801623, serial=5e021aec} on device '5e021aec']
11-29 16:49:16 E/ClearcutClient: Connection reset
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1505)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1420)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:580)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1430)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1401)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220)
at com.android.tradefed.clearcut.ClearcutClient.sendToClearcut(ClearcutClient.java:344)
at com.android.tradefed.clearcut.ClearcutClient.lambda$flushEvents$1(ClearcutClient.java:322)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
11-29 16:49:17 E/TestInvocation: Caught exception while running invocation
11-29 16:49:17 E/TestInvocation: Trying to access android partner remote server over internet but failed: Connection reset
com.android.tradefed.targetprep.TargetSetupError[ANDROID_PARTNER_SERVER_ERROR|500505|DEPENDENCY_ISSUE]: Trying to access android partner remote server over internet but failed: Connection reset
at com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher.resolveUrl(DynamicConfigPusher.java:307)
at com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher.setUp(DynamicConfigPusher.java:168)
at com.android.tradefed.invoker.InvocationExecution.runPreparationOnDevice(InvocationExecution.java:621)
at com.android.tradefed.invoker.InvocationExecution.runPreparersSetup(InvocationExecution.java:522)
at com.android.tradefed.invoker.InvocationExecution.doSetup(InvocationExecution.java:375)
at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:619)
at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:287)
at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:1422)
at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:689)
Caused by: java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1505)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1420)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:580)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
at java.base/java.net.URL.openStream(URL.java:1161)
at com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher.resolveUrl(DynamicConfigPusher.java:304)
... 8 more
11-29 16:49:17 W/NativeDevice: Attempting to stop logcat when not capturing for 5e021aec
11-29 16:49:17 I/SuiteResultReporter:
================= Results ==================
=============== Consumed Time ==============
Total aggregated tests run time: 0 ms
=============== Summary ===============
Total Run time: 45s
0/0 modules completed
Total Tests : 0
PASSED : 0
FAILED : 0
============== End of Results ==============
11-29 16:49:17 D/ProtoResultReporter: process final logs: /tmp/11801623/cts/inv_8710130164214771552/inv_18166749767326253075/end_host_log_373026676497100396.txt
11-29 16:49:17 I/CommandScheduler: Updating command 1 with elapsed time 45711 ms
11-29 16:49:17 I/CommandScheduler: Finalizing the logger and invocation.
11-29 16:49:17 D/ActiveTrace: Finalizing trace: /tmp/invocation-trace865291567402134760.perfetto-trace
11-29 16:49:17 D/ProtoResultReporter: process final logs: /tmp/11801623/cts/inv_8710130164214771552/inv_18166749767326253075/invocation-trace_6103377759986023515.perfetto-trace.gz
11-29 16:49:17 D/ProtoResultReporter: process final logs: /tmp/11801623/cts/inv_8710130164214771552/inv_18166749767326253075/invoc_complete_host_log_4008158419437430107.txt
11-29 16:50:02 E/ClearcutClient: Connection reset
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1505)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1420)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:580)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1430)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1401)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220)
at com.android.tradefed.clearcut.ClearcutClient.sendToClearcut(ClearcutClient.java:344)
at com.android.tradefed.clearcut.ClearcutClient.lambda$flushEvents$1(ClearcutClient.java:322)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
相關文章
- CTS測試流程
- 一個不常遇到的HbuilderX自動化測試執行問題UI
- 解決 sublime text3 執行python檔案無法input的問題Python
- 救命!!!jenkins 中自動化測試中遇到無法解決的問題Jenkins
- 極光推送demo在android studio中無法執行Android
- 測試平臺系列(82) 解決APScheduler重複執行的問題
- android單元測試遇到問題總結Android
- Jmeter Arrivals thread group 在命令列執行時,無法生成測試結果JMeterthread命令列
- Java在Linux環境下執行MySQL命令無法獲取結果的問題JavaLinuxMySql
- eos docker執行後無法執行cleosDocker
- 解決 Android 26 無法檢視系統原始碼的問題Android原始碼
- 解決Linux無法開啟android模擬器問題LinuxAndroid
- BATJ都愛問的多執行緒面試題BAT執行緒面試題
- Linux 作業系統指令碼格式問題導致指令碼無法執行Linux作業系統指令碼
- 測試CMS同步問題測試CMS同步問題
- 滲透測試 網站安全測試行業問題分析網站行業
- IDEA單元測試無Run視窗問題Idea
- 簡單幾步解決gbt_setup在win10中無法執行的問題Win10
- 解決Snackbar無法進行跨頁面展示的問題
- Web應用部署在WebLogic中Basic認證無法執行問題及解決Web
- 【Android Studio】解決 Android Studio2.2 無法輸入中文標點符號的問題Android符號
- webViewDidFinishLoad 執行多次的問題WebView
- win10系統下使命召喚14無法執行怎麼解決Win10
- android測試常用的adb命令以及進行Monkey測試Android
- vs 嘗試執行專案時出錯:無法啟動除錯。拒絕訪問。除錯
- 解決無法使用VI的問題
- Windows Defender無法開啟的問題Windows
- 測試的薪資問題
- 測試MySQL鎖的問題MySql
- 測試題14(答案解析13-17)
- jmeter無圖形介面執行測試並生成報告JMeter
- 初始配置:IntelliJ Android無法執行專案並報錯Error: Module not specifiedIntelliJAndroidError
- Linux下無法執行Color pickerLinux
- docker 中vim 命令 無法執行Docker
- 關於vue3+flask本地測試正常,放伺服器上無法通訊的問題VueFlask伺服器
- AndroidX 和 Android support 無法共存的問題Android
- 移動APP測試-Android螢幕適配問題(一)APPAndroid
- 移動APP測試:Android螢幕適配問題二APPAndroid