Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

WDA crashes after running for some time. #434

Closed
codeskyblue opened this issue Jan 4, 2017 · 6 comments
Closed

WDA crashes after running for some time. #434

codeskyblue opened this issue Jan 4, 2017 · 6 comments

Comments

@codeskyblue
Copy link

This is log from command line. iPhoneSE 10.2

    <DTDKProvisioningProfile 0x7fe6ddfd53a0: UUID: 89b42863-ad16-4e3f-9bde-875f42ba9f60, name: Testease QARD application for Hangzhou Netease, team: L63EW79PNY (Guangzhou NetEase Computer Systems Co., Ltd.), platform: iOS>,
    <DTDKProvisioningProfile 0x7fe6dd8ab400: UUID: d158faf3-3df8-40cf-9b79-a794a9b355b7, name: iOS Team Provisioning Profile: *, team: 74Z4C6R8NT (Shengxiang Sun), platform: iOS>
)}
                activityProgress:          -2
                activityTitle:             
                hasInternalSupport:        NO
                isSupportedOS:             YES
                developerDiskMountError:   (null)
(null)
        } (10.2 (14C92))
2017-01-04 15:03:55.990 xcodebuild[11639:1040249]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/qard2/Library/Developer/Xcode/DerivedData/WebDriverAgent-gxewymvhdhuobufklrqxhlesrdvi/Logs/Test/6D32DCEB-E241-4841-B0F4-64CB3FFBDBB1/Session-WebDriverAgentRunner-2017-01-04_150355-FcxqwP.log
MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
state->old_bundle: /var/folders/8w/s1ksh5q13kq3wvs3slfp4lg00000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/6a13766c5fb44dba91587c5e54a33d64/84ad172e22d8372eb752f413280722cdcc200954/WebDriverAgentRunner-Runner.app
state->new_bundle: /Users/qard2/Library/Developer/Xcode/DerivedData/WebDriverAgent-gxewymvhdhuobufklrqxhlesrdvi/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app
state->dst_bundle: /var/folders/8w/s1ksh5q13kq3wvs3slfp4lg00000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.fivFlu/WebDriverAgentRunner-Runner.app_sparse.ipa/Payload//WebDriverAgentRunner-Runner.app, binaryDiff flag: FALSE
        dst_ipa: /var/folders/8w/s1ksh5q13kq3wvs3slfp4lg00000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.fivFlu/WebDriverAgentRunner-Runner.app_sparse.ipa
__MDMDirectoryDiff_block_invoke.37:1473 calling writeDictToFile with: /var/folders/8w/s1ksh5q13kq3wvs3slfp4lg00000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.fivFlu/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/8w/s1ksh5q13kq3wvs3slfp4lg00000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.fivFlu/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist

Restarting after unexpected exit or crash in UITestingUITests/testRunner; summary will include totals from previous launches.

Test Suite 'Selected tests' started at 2017-01-04 15:04:05.852
Test Suite 'WebDriverAgentRunner.xctest' started at 2017-01-04 15:04:05.853
Test Suite 'WebDriverAgentRunner.xctest' failed at 2017-01-04 15:04:05.854.
         Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'WebDriverAgentLib.framework' started at 2017-01-04 15:04:05.854
Test Suite 'WebDriverAgentLib.framework' passed at 2017-01-04 15:04:05.854.
         Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'Selected tests' failed at 2017-01-04 15:04:05.855.
         Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.003) seconds
Failing tests:
        -[UITestingUITests testRunner]
** TEST FAILED **
@marekcirkos
Copy link
Contributor

Does it just die during interaction or this is after some time of being inactive? If it is due to inactivity you can use /healthcheck endpoint to keep it active. This will significantly increase its lifetime.

@marekcirkos
Copy link
Contributor

@codeskyblue Is this still an issue?

@codeskyblue
Copy link
Author

I will check tomorrow. this is die during interaction

@codeskyblue
Copy link
Author

closed for now

@anushkmittal
Copy link

bump still an issue!

@DhivyaS19
Copy link

hi @codeskyblue did you find any solution for this? because am also getting the same error

Restarting after unexpected exit or crash in UITestingUITests/testSocketRunner; summary will include totals from previous launches.

Test Suite 'Selected tests' started at 2019-05-07 14:58:30.836
Test Suite 'WebDriverAgentRunner.xctest' started at 2019-05-07 14:58:30.836
Test Suite 'WebDriverAgentRunner.xctest' failed at 2019-05-07 14:58:30.837.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'WebDriverAgentLib.framework' started at 2019-05-07 14:58:30.837
Test Suite 'WebDriverAgentLib.framework' passed at 2019-05-07 14:58:30.838.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'Selected tests' failed at 2019-05-07 14:58:30.838.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.003) seconds

Please post the fix for the above issue.

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

No branches or pull requests

4 participants