alibaba / alibaba/tidevice

output: ('pidDiedCallback:', [26640])

Open
#74 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.6k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

WDA 启动失败,完整日志如下:
[I 210419 11:43:49 _device:990] BundleID: com.alipay.wda.WDAMonitorUITests.xctrunner
[I 210419 11:43:49 _device:992] DeviceIdentifier: 7637fa471c326ab50de282cf7ec18511374c5994
[I 210419 11:43:49 _device:834] SignIdentity: 'Apple Development: xuefei yu (3832536FLT)'
[I 210419 11:43:49 _device:840] CFBundleExecutable: WDAMonitorUITests-Runner
[I 210419 11:43:49 _device:871] AppContainer: /private/var/mobile/Containers/Data/Application/1B76BAFF-2910-4190-A408-DFB68E93BC65
[I 210419 11:43:50 _device:911] Launch 'com.alipay.wda.WDAMonitorUITests.xctrunner' pid: 26640
[I 210419 11:43:50 _device:936] output: ('outputReceived:fromProcess:atTime:', ['2021-04-19 11:43:50.266159+0800 WDAMonitorUITests-Runner[26640:28075754] Running tests...\n', 26640, 151112095573280])
[I 210419 11:43:50 _device:936] output: ('outputReceived:fromProcess:atTime:', ['objc[26640]: Class GCDAsyncSocketPreBuffer is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x107f9e938) and /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3c6b8). One of the two will be used. Which one is undefined.\nobjc[26640]: Class GCDAsyncReadPacket is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x107f9e988) and /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3c708). One of the two will be used. Which one is undefined.\nobjc[26640]: Class GCDAsyncWritePacket is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x107f9e9d8) and /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3c758). One of the two will be used. Which one is undefined.\nobjc[26640]: Class GCDAsyncSpecialPacket is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x107f9ea28) and /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3c7a8). One of the two will be used. Which one is undefined.\nobjc[26640]: Class GCDAsyncSocket is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x107f9ea78) and /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3c7f8). One of the two will be used. Which one is undefined.\nobjc[26640]: Class CaptureDelegate is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3e9b8) and /var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/WDAMonitorUITests (0x106ff7ee0). One of the two will be used. Which one is undefined.\nobjc[26640]: Class CvAbstractCamera is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3ea08) and /var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/WDAMonitorUITests (0x106ff7f30). One of the two will be used. Which one is undefined.\nobjc[26640]: Class CvPhotoCamera is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3ea58) and /var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/WDAMonitorUITests (0x106ff7f80). One of the two will be used. Which one is undefined.\nobjc[26640]: Class CvVideoCamera is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3eaa8) and /var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/WDAMonitorUITests (0x106ff7fd0). One of the two will be used. Which one is undefined.\nobjc[26640]: Class XNNWrapper is implemented in both /private/var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib (0x107a3eaf8) and /var/containers/Bundle/Application/CFCD03EC-255C-4113-97CD-CC506D9D4AC9/WDAMonitorUITests-Runner.app/PlugIns/WDAMonitorUITests.xctest/WDAMonitorUITests (0x106ff8020). One of the two will be used. Which one is undefined.\n', 26640, 151112096702848])
[I 210419 11:43:50 _device:1086] ProductVersion: 11.4.1
[I 210419 11:43:50 _device:1033] Start execute test plan with IDE version: 29
[I 210419 11:43:50 _device:936] output: ('pidDiedCallback:', [26640])

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the _device launch and process-output path shown in the log, then reproduce the WDAMonitorUITests-Runner failure on the reported iOS 11.4.1 environment. Investigate why the runner exits after the duplicate-class warnings and document or fix the cause, with successful WDA startup as the completion criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, python
Domain
mobile-dev, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.