AppiumTestDistribution / appium-device-farm

This is an Appium 2.0 plugin designed to manage and create driver sessions on available devices.
https://devicefarm.org
Other
318 stars 98 forks source link

java.lang.NullPointerException #1065

Open xiaoliangjia111 opened 5 months ago

xiaoliangjia111 commented 5 months ago

[Xcode] [Xcode] 2024-03-27 14:27:37.729646+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:37.842285+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:37.955031+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:38.068914+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:38.183416+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:38.296934+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:38.408856+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:38.523589+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:38.638970+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:38.753294+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:38.864068+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:38.972874+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:39.082292+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:39.191932+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:39.302175+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:39.417187+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:39.532005+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:39.642270+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:39.756824+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:39.868350+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:39.978951+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:40.086968+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:40.192279+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:40.301043+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:40.408681+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:40.515263+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:40.623313+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:40.730427+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:40.837687+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:40.942621+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:41.050940+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:41.159285+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:41.267743+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:41.375119+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:41.481857+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:41.588323+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:41.698165+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:41.840151+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:41.945064+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:42.048785+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [Xcode] 2024-03-27 14:27:42.152256+0800 WebDriverAgentRunner-Runner[51644:9187193] Using general test manager [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 500: {"value":{"error":"session not created","message":"Cannot launch com.uhuo.live application. Make sure the correct bundle identifier has been provided in capabilities and check the device log for possible crash report occurrences","traceback":""},"sessionId":null} [debug] [W3C] Matched W3C error code 'session not created' to SessionNotCreatedError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (A new session could not be created. Details: Cannot launch com.uhuo.live application. Make sure the correct bundle identifier has been provided in capabilities and check the device log for possible crash report occurrences). Retrying... [Xcode] 2024-03-27 14:27:42.258439+0800 WebDriverAgentRunner-Runner[51644:9187193] The application 'com.uhuo.live' is not running in foreground after 5.00 seconds [Xcode] No tvOS simulators found! [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520863299 (14:27:43 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 214.38s Open com.uhuo.live [Xcode] [Xcode] t = 214.38s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:43.314987+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520864337 (14:27:44 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 215.42s Open com.uhuo.live [Xcode] [Xcode] t = 215.43s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:44.355687+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520865378 (14:27:45 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 216.46s Open com.uhuo.live [Xcode] [Xcode] t = 216.47s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:45.394284+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520866420 (14:27:46 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 217.51s Open com.uhuo.live [Xcode] [Xcode] t = 217.51s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:46.437671+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520867459 (14:27:47 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 218.55s Open com.uhuo.live [Xcode] [Xcode] t = 218.55s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:47.476158+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520868499 (14:27:48 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 219.58s Open com.uhuo.live [Xcode] [Xcode] t = 219.59s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:48.514720+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520869534 (14:27:49 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 220.62s Open com.uhuo.live [Xcode] [Xcode] t = 220.62s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:49.548342+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520870568 (14:27:50 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 221.65s Open com.uhuo.live [Xcode] [Xcode] t = 221.66s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:50.580979+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520871598 (14:27:51 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 222.68s Open com.uhuo.live [Xcode] [Xcode] t = 222.69s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:51.613373+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520872631 (14:27:52 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 223.72s Open com.uhuo.live [Xcode] [Xcode] t = 223.72s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:52.646538+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... No tvOS simulators found! [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520873664 (14:27:53 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 224.75s Open com.uhuo.live [Xcode] [Xcode] t = 224.75s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:53.679014+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520874697 (14:27:54 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 225.78s Open com.uhuo.live [Xcode] [Xcode] t = 225.79s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:54.716542+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520875736 (14:27:55 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 226.82s Open com.uhuo.live [Xcode] [Xcode] t = 226.83s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:55.751110+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] Event 'wdaSessionAttempted' logged at 1711520876770 (14:27:56 GMT+0800 (China Standard Time)) [debug] [XCUITestDriver@5009 (de9c87f9)] Sending createSession command to WDA [debug] [XCUITestDriver@5009 (de9c87f9)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@5009 (de9c87f9)] Proxying [POST /session] to [POST http://127.0.0.1:58444/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.uhuo.live","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":true,"maxTypingFrequency":10,"shouldUseSingletonTestManager":false,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} [Xcode] t = 227.85s Open com.uhuo.live [Xcode] [Xcode] t = 227.86s Launch com.uhuo.live [Xcode] [Xcode] 2024-03-27 14:27:56.784263+0800 WebDriverAgentRunner-Runner[51644:9187193] Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [Xcode] [XCUITestDriver@5009 (de9c87f9)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationErrorDomain Code=4 \"Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"\" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for \"com.uhuo.live\"}","traceback":"(\n\t0 CoreFoundation 0x00000001896725c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216\n\t1 libobjc.A.dylib 0x000000019d6ec42c objc_exception_throw + 60\n\t2 WebDriverAgentLib 0x0000000103694df8 swizzledLaunchApp + 1296\n\t3 XCUIAutomation 0x0000000101168154 107-[XCUIPlatformApplicationManager launchProcessWithPath:bundleID:arguments:environmentVariables:completion:]_block_invoke + 164\n\t4 XCTestCore 0x0000000100fa46e8 +[XCTFuture futureWithTimeout:description:block:] + 196\n\t5 XCUIAutomation 0x0000000101167f30 -[XCUI... [debug] [W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError [debug] [XCUITestDriver@5009 (de9c87f9)] Failed to create WDA session (Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"}). Retrying... [debug] [XCUITestDriver@5009 (de9c87f9)] InvalidArgumentError: Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} [debug] [XCUITestDriver@5009 (de9c87f9)] at errorFromW3CJsonCode (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/@appium/base-driver/lib/protocol/errors.js:1034:25) [debug] [XCUITestDriver@5009 (de9c87f9)] at ProxyRequestError.getActualError (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/@appium/base-driver/lib/protocol/errors.js:909:14) [debug] [XCUITestDriver@5009 (de9c87f9)] at JWProxy.command (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:340:19) [debug] [XCUITestDriver@5009 (de9c87f9)] at processTicksAndRejections (node:internal/process/task_queues:95:5) [debug] [XCUITestDriver@5009 (de9c87f9)] at XCUITestDriver.proxyCommand (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/lib/commands/proxy-helper.js:112:35) [debug] [XCUITestDriver@5009 (de9c87f9)] at XCUITestDriver.startWdaSession (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:1437:5) [debug] [XCUITestDriver@5009 (de9c87f9)] at /Users/sxw/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:907:15 [debug] [XCUITestDriver@5009 (de9c87f9)] at wrapped (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:95:13) [debug] [XCUITestDriver@5009 (de9c87f9)] at retry (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:68:13) [debug] [XCUITestDriver@5009 (de9c87f9)] at retryInterval (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:105:10) [debug] [XCUITestDriver@5009 (de9c87f9)] at /Users/sxw/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:901:11 [debug] [XCUITestDriver@5009 (de9c87f9)] at wrapped (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:95:13) [debug] [XCUITestDriver@5009 (de9c87f9)] at retry (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:68:13) [debug] [XCUITestDriver@5009 (de9c87f9)] at retryInterval (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:105:10) [debug] [XCUITestDriver@5009 (de9c87f9)] at /Users/sxw/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:831:7 [debug] [XCUITestDriver@5009 (de9c87f9)] Unable to start WebDriverAgent session because of xcodebuild failure: Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device. [XCUITestDriver@5009 (de9c87f9)] Quitting and uninstalling WebDriverAgent [XCUITestDriver@5009 (de9c87f9)] Shutting down sub-processes [debug] [XCUITestDriver@5009 (de9c87f9)] Uninstalling WDAs: 'com.facebook.WebDriverAgentRunner429.xctrunner' [XCUITestDriver@5009 (de9c87f9)] {} [DevCon Factory] Releasing connections for 00008020-0001101A2284003A device on any port number [DevCon Factory] Found cached connections to release: ["00008020-0001101A2284003A:58444"] [DevCon Factory] Releasing the listener for '00008020-0001101A2284003A:58444' [debug] [iProxy@00008020:58444] Closing the connection [debug] [DevCon Factory] Cached connections count: 0 [iProxy@00008020:58444] The connection has been closed [debug] [XCUITest] Did not find the temporary XCTest logs root at '/var/folders/yn/8wwxlcq162nb23pl45yvqj2c0000gn/T/com.apple.dt.XCTest/' [XCUITest] There is no /Users/sxw/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008020-0001101A2284003A/Logs folder, so not cleaning files [debug] [AppiumDriver@e43b] Event 'newSessionStarted' logged at 1711520877346 (14:27:57 GMT+0800 (China Standard Time)) [device-farm] 馃摫 Device UDID 00008020-0001101A2284003A unblocked. Reason: Session failed to create [debug] [AppiumDriver@e43b] Encountered internal error running command: Error: Unable to start WebDriverAgent session because of xcodebuild failure: Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device. [debug] [AppiumDriver@e43b] at quitAndUninstall (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:806:15) [debug] [AppiumDriver@e43b] at /Users/sxw/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:926:11 [debug] [AppiumDriver@e43b] at wrapped (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:95:13) [debug] [AppiumDriver@e43b] at retry (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:68:13) [debug] [AppiumDriver@e43b] at retryInterval (/Users/sxw/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:105:10) [debug] [AppiumDriver@e43b] at /Users/sxw/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:831:7 [HTTP] <-- POST /wd/hub/session 500 128921 ms - 1694 [HTTP] org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.uhuo.live"} Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device. Host info: host: 'CS001deMac-mini.local', ip: 'fe80:0:0:0:103e:294e:a1c6:4b4b%en0' Build info: version: '4.13.0', revision: 'ba948ece5b' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '13.2.1', java.version: '1.8.0_332' Driver info: io.appium.java_client.ios.IOSDriver Command: [null, newSession {capabilities=[{appium:account=xsceshi007, appium:app=/Users/sxw/Documents/ios/707/build/FoxLive_20240319_1524_v3.4.9_regression.ipa, appium:appPackage=com.showself.ui, appium:autoGrantPermissions=true, appium:bundleId=com.uhuo.live, appium:deviceOrientation=portrait, appium:udids=00008020-0001101A2284003A, appium:automationName=XCUITest, appium:clearSystemFiles=true, appium:deviceName=iPhone, appium:legionaccount=xsceshi007, appium:legionpassword=111111, appium:maxTypingFrequency=10, appium:notlegionaccount=18533247326, appium:notlegionpassword=111111, appium:password=111111, platformName=IOS, appium:preventWDAAttachments=true, appium:shouldUseSingletonTestManager=false, appium:showXcodeLog=true, appium:simpleIsVisibleCheck=true, appium:testroom=7090495, appium:udid=00008020-0001101A2284003A, appium:useNewWDA=false, appium:usePrebuiltWDA=true, appium:wdaConnectionTimeout=80000, appium:wdaLaunchTimeout=80000}], desiredCapabilities=Capabilities {account: xsceshi007, app: /Users/sxw/Documents/ios/70..., appPackage: com.showself.ui, appium:autoGrantPermissions: true, appium:bundleId: com.uhuo.live, appium:deviceOrientation: portrait, appium:udids: 00008020-0001101A2284003A, automationName: XCUITest, clearSystemFiles: true, deviceName: iPhone, legionaccount: xsceshi007, legionpassword: 111111, maxTypingFrequency: 10, notlegionaccount: 18533247326, notlegionpassword: 111111, password: 111111, platformName: IOS, preventWDAAttachments: true, shouldUseSingletonTestManager: false, showXcodeLog: true, simpleIsVisibleCheck: true, testroom: 7090495, udid: 00008020-0001101A2284003A, useNewWDA: false, usePrebuiltWDA: true, wdaConnectionTimeout: 80000, wdaLaunchTimeout: 80000}}] Capabilities {account: xsceshi007, app: /Users/sxw/Documents/ios/70..., appPackage: com.showself.ui, appium:autoGrantPermissions: true, appium:bundleId: com.uhuo.live, appium:deviceOrientation: portrait, appium:udids: 00008020-0001101A2284003A, automationName: XCUITest, clearSystemFiles: true, deviceName: iPhone, legionaccount: xsceshi007, legionpassword: 111111, maxTypingFrequency: 10, notlegionaccount: 18533247326, notlegionpassword: 111111, password: 111111, platformName: IOS, preventWDAAttachments: true, shouldUseSingletonTestManager: false, showXcodeLog: true, simpleIsVisibleCheck: true, testroom: 7090495, udid: 00008020-0001101A2284003A, useNewWDA: false, usePrebuiltWDA: true, wdaConnectionTimeout: 80000, wdaLaunchTimeout: 80000} at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.appium.java_client.remote.AppiumProtocolHandshake.createSession(AppiumProtocolHandshake.java:133) at io.appium.java_client.remote.AppiumProtocolHandshake.createSession(AppiumProtocolHandshake.java:102) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:182) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:602) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:274) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:163) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:101) at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:104) at com.appium.manager.AppiumDriverManager.createAppiumDriver(AppiumDriverManager.java:56) at com.appium.manager.AppiumDriverManager.initialiseDriver(AppiumDriverManager.java:46) at com.appium.manager.AppiumDriverManager.startAppiumDriverInstance(AppiumDriverManager.java:87) at com.appium.manager.AppiumParallelMethodTestListener.allocateDeviceAndStartDriver(AppiumParallelMethodTestListener.java:101) at com.appium.manager.AppiumParallelMethodTestListener.beforeInvocation(AppiumParallelMethodTestListener.java:74) at org.testng.internal.invokers.InvokedMethodListenerInvoker.invokeListener(InvokedMethodListenerInvoker.java:55) at org.testng.internal.invokers.BaseInvoker.runInvokedMethodListeners(BaseInvoker.java:67) at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:641) at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:220) at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50) at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:945) at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:193) at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) PASSED: hallPoster FAILED: searchRoomName java.lang.NullPointerException at com.appium.pages.LoginPage.login(LoginPage.java:48) at com.appium.tests.HallTest.searchRoomName(HallTest.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135) at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:673) at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:220) at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50) at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:945) at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:193) at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750)

=============================================== sanity Tests run: 2, Failures: 1, Skips: 0

@@=============================================== testApp Total tests run: 2, Passes: 1, Failures: 1, Skips: 0 1 @@2

1awais1 commented 2 weeks ago

Hi is there any update on this ? I'm facing the same issue for a different app.