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)
相關文章
- ASP.NET Core 2.0 整合測試無法執行的問題ASP.NET
- 無法執行的update問題解析
- CTS測試流程
- CTS測試與GTS測試區別
- Android CTS測試Fail項改動總結(四)AndroidAI
- Android中ImageView無法居中的問題AndroidView
- 一個不常遇到的HbuilderX自動化測試執行問題UI
- win10無法執行0xc0000142怎麼辦 win10無法執行0xc0000142的方法Win10
- unittest.TestCase中測試用例執行順序問題
- 執行spoon.bat時Kettle無法啟動問題解決BAT
- 救命!!!jenkins 中自動化測試中遇到無法解決的問題Jenkins
- 執行 測試
- VIPCA無法執行PCA
- android sdk manager網路問題無法更新Android
- 測試平臺系列(82) 解決APScheduler重複執行的問題
- 解決 sublime text3 執行python檔案無法input的問題Python
- Jmeter Arrivals thread group 在命令列執行時,無法生成測試結果JMeterthread命令列
- 測試CMS同步問題測試CMS同步問題
- Excel無法做到的問題Excel
- 滲透測試 網站安全測試行業問題分析網站行業
- Android Studio無法直接黏貼GitHub地址的問題AndroidGithub
- android單元測試遇到問題總結Android
- JSF的outputText時,無法處理換行問題JS
- eos docker執行後無法執行cleosDocker
- Java在Linux環境下執行MySQL命令無法獲取結果的問題JavaLinuxMySql
- ORA-01775無法檢視SQL執行計劃的問題的解決方案SQL
- 索引無法消除排序的問題索引排序
- 執行JPetStore的問題
- crontab的執行問題
- getView()執行次數問題(自己再次測試,順便做個記錄)View
- 測試MySQL鎖的問題MySql
- IDEA單元測試無Run視窗問題Idea
- jmeter無圖形介面執行測試並生成報告JMeter
- 整合測試時 MockMvc 無法注入MockMVC
- A/B 測試:概念 ≠ 執行
- java執行緒測試Java執行緒
- 極光推送demo在android studio中無法執行Android
- 並行執行的學習與測試並行