{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7804","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7804/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7804/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7804/events","html_url":"https://github.com/appium/appium/issues/7804","id":205491911,"number":7804,"title":"Appium-1.6.4-beta-WebDriverAgent stuck on createSession","user":{"login":"saikrishna321","id":4045041,"avatar_url":"https://avatars.githubusercontent.com/u/4045041?v=3","gravatar_id":"","url":"https://api.github.com/users/saikrishna321","html_url":"https://github.com/saikrishna321","followers_url":"https://api.github.com/users/saikrishna321/followers","following_url":"https://api.github.com/users/saikrishna321/following{/other_user}","gists_url":"https://api.github.com/users/saikrishna321/gists{/gist_id}","starred_url":"https://api.github.com/users/saikrishna321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saikrishna321/subscriptions","organizations_url":"https://api.github.com/users/saikrishna321/orgs","repos_url":"https://api.github.com/users/saikrishna321/repos","events_url":"https://api.github.com/users/saikrishna321/events{/privacy}","received_events_url":"https://api.github.com/users/saikrishna321/received_events","type":"User","site_admin":false},"labels":[{"id":143265062,"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-06T05:36:27Z","updated_at":"2017-02-06T05:44:09Z","closed_at":null,"body":"Appium] Welcome to Appium v1.6.4-beta\r\n[Appium] Non-default server args:\r\n[Appium]   address: '127.0.0.1'\r\n[Appium]   port: 60899\r\n[Appium]   sessionOverride: true\r\n[Appium]   log: '/Users/saikrisv/git/new_appium_parallel/AppiumTestDistribution/target/appiumlogs/ffa50fa3ec0764135fb32ab7024a30a929af5093__HomePageTest2.txt'\r\n[Appium]   tmpDir: '/Users/saikrisv/git/new_appium_parallel/AppiumTestDistribution/target/tmp_60899'\r\n[Appium]   webkitDebugProxyPort: 60833\r\n[Appium] Appium REST http interface listener started on 127.0.0.1:60899\r\n[HTTP] --> GET /wd/hub/status {}\r\n[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []\r\n[debug] [MJSONWP] Responding to client with driver.getStatus() result: {\"build\":{\"version\":\"1.6.4-beta\",\"revision\":null}}\r\n[HTTP] <-- GET /wd/hub/status 200 14 ms - 88 \r\nBefore Class called11\r\ncom.test.site.HomePageTest2\r\nSetting iOS Desired Capabilities:\r\nFeb 06, 2017 10:59:33 AM org.openqa.selenium.remote.ProtocolHandshake createSession\r\nINFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end\r\n[HTTP] --> POST /wd/hub/session {\"capabilities\":{\"desiredCapabilities\":{\"app\":\"/Users/saikrisv/git/VodQaAdvancedAppium/VodQAReactNative.ipa\",\"platformVersion\":\"10.0\",\"bundleId\":\"XXXXX\",\"automationName\":\"XCuiTest\",\"udid\":\"ffa50fa3ec0764135fb32ab7024a30a929af5093\",\"platformName\":\"iOS\",\"deviceName\":\"iPhone\",\"autoAcceptAlerts\":true},\"requiredCapabilities\":{}},\"desiredCapabilities\":{\"app\":\"/Users/saikrisv/git/VodQaAdvancedAppium/VodQAReactNative.ipa\",\"platformVersion\":\"10.0\",\"bundleId\":\"XXXX\",\"automationName\":\"XCuiTest\",\"udid\":\"ffa50fa3ec0764135fb32ab7024a30a929af5093\",\"platformName\":\"iOS\",\"deviceName\":\"iPhone\",\"autoAcceptAlerts\":true},\"requiredCapabilities\":{}}\r\n[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{\"app\":\"/Users/saikrisv/git/VodQaAdvancedAppium/VodQAReactNative.ipa\",\"platformVersion\":\"10.0\",\"bundleId\":\"XXXX\",\"automationName\":\"XCuiTest\",\"udid\":\"ffa50fa3ec0764135fb32ab7024a30a929af5093\",\"platformName\":\"iOS\",\"deviceName\":\"iPhone\",\"autoAcceptAlerts\":true},{},{\"desiredCapabilities\":{\"app\":\"/Users/saikrisv/git/VodQaAdvancedAppium/VodQAReactNative.ipa\",\"platformVersion\":\"10.0\",\"bundleId\":\"XXXX\",\"automationName\":\"XCuiTest\",\"udid\":\"ffa50fa3ec0764135fb32ab7024a30a929af5093\",\"platformName\":\"iOS\",\"deviceName\":\"iPhone\",\"autoAcceptAlerts\":true},\"requiredCapabilities\":{}},null,null]\r\n[Appium] Creating new XCUITestDriver (v2.7.0) session\r\n[Appium] Capabilities:\r\n[Appium]   app: '/Users/saikrisv/git/VodQaAdvancedAppium/VodQAReactNative.ipa'\r\n[Appium]   platformVersion: '10.0'\r\n[Appium]   bundleId: 'XXXXX'\r\n[Appium]   automationName: 'XCuiTest'\r\n[Appium]   udid: 'ffa50fa3ec0764135fb32ab7024a30a929af5093'\r\n[Appium]   platformName: 'iOS'\r\n[Appium]   deviceName: 'iPhone'\r\n[Appium]   autoAcceptAlerts: true\r\n[debug] [XCUITest] XCUITestDriver version: 2.7.0\r\n[XCUITest] The capabilities 'autoAcceptAlerts' and 'autoDismissAlerts' do not work for XCUITest-based tests. Please adjust your alert handling accordingly.\r\n[BaseDriver] Session created with session id: 76bab1ad-a8b9-4240-9b96-b14bd902d5de\r\n[debug] [XCUITest] Xcode version set to '8.2'\r\n[debug] [XCUITest] iOS SDK Version set to '10.2'\r\n[debug] [XCUITest] Available devices: ffa50fa3ec0764135fb32ab7024a30a929af5093\r\n[debug] [XCUITest] Creating iDevice object with udid 'ffa50fa3ec0764135fb32ab7024a30a929af5093'\r\n[XCUITest] Determining device to run tests on: udid: 'ffa50fa3ec0764135fb32ab7024a30a929af5093', real device: true\r\n[BaseDriver] Using local app '/Users/saikrisv/git/VodQaAdvancedAppium/VodQAReactNative.ipa'\r\n[debug] [BaseDriver] Copying local zip to tmp dir\r\n[debug] [BaseDriver] Unzipping /var/folders/yx/q5fqv2j55_ddwj2m5_x8jv7h0000gn/T/201716-8339-1uw6ymc.banufh6w29/appium-app.zip\r\n[debug] [BaseDriver] Testing zip archive: /var/folders/yx/q5fqv2j55_ddwj2m5_x8jv7h0000gn/T/201716-8339-1uw6ymc.banufh6w29/appium-app.zip\r\n[BaseDriver] Unzipped local app to '/var/folders/yx/q5fqv2j55_ddwj2m5_x8jv7h0000gn/T/201716-8339-1uw6ymc.banufh6w29/Payload/VodQAReactNative.app'\r\n[debug] [XCUITest] Checking whether app '/var/folders/yx/q5fqv2j55_ddwj2m5_x8jv7h0000gn/T/201716-8339-1uw6ymc.banufh6w29/Payload/VodQAReactNative.app' is actually present on file system\r\n[debug] [XCUITest] App is present\r\n[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog\r\n[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'\r\n[debug] [XCUITest] Reset: running ios real device reset flow\r\n[XCUITest] Setting up real device\r\n[debug] [XCUITest] App is not installed. Will try to install.\r\n[debug] [XCUITest] App installed successfully.\r\n[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'\r\n[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'\r\n[XCUITest] Launching WebDriverAgent on the device\r\n[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'\r\n[debug] [XCUITest] Killing hanging processes\r\n[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=ffa50fa3ec0764135fb32ab7024a30a929af5093 -configuration Debug' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'\r\n[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB\r\n[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start\r\n[debug] [XCUITest] Log file for xcodebuild test: /Users/saikrisv/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/C8065F3B-FCFF-49EC-B101-F9288E73B759/Session-WebDriverAgentRunner-2017-02-06_105941-cgqL3p.log\r\n[debug] [XCUITest] WebDriverAgent successfully started after 9765ms\r\n[debug] [XCUITest] Sending createSession command to WDA\r\n[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {\"desiredCapabilities\":{\"bundleId\":\"XXXXX\",\"arguments\":[],\"environment\":{},\"shouldWaitForQuiescence\":true}}\r\n\r\n**Note::** open the WebDriverAgent app but fails to open the AUT. Was working fine with previous version. \r\n\r\n@mykola-mokhnach @imurchie any help on this pls\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/277591428","html_url":"https://github.com/appium/appium/issues/7804#issuecomment-277591428","issue_url":"https://api.github.com/repos/appium/appium/issues/7804","id":277591428,"user":{"login":"saikrishna321","id":4045041,"avatar_url":"https://avatars.githubusercontent.com/u/4045041?v=3","gravatar_id":"","url":"https://api.github.com/users/saikrishna321","html_url":"https://github.com/saikrishna321","followers_url":"https://api.github.com/users/saikrishna321/followers","following_url":"https://api.github.com/users/saikrishna321/following{/other_user}","gists_url":"https://api.github.com/users/saikrishna321/gists{/gist_id}","starred_url":"https://api.github.com/users/saikrishna321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saikrishna321/subscriptions","organizations_url":"https://api.github.com/users/saikrishna321/orgs","repos_url":"https://api.github.com/users/saikrishna321/repos","events_url":"https://api.github.com/users/saikrishna321/events{/privacy}","received_events_url":"https://api.github.com/users/saikrishna321/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T05:44:09Z","updated_at":"2017-02-06T05:44:09Z","body":"When running the command manually \r\n\r\n```\r\nxcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=ffa50fa3ec0764135fb32ab7024a30a929af5093 -configuration Debug' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent\r\n\r\n\r\n~/git/new_appium_parallel/AppiumTestDistribution(branch:master*) » xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=ffa50fa3ec0764135fb32ab7024a30a929af5093 -configuration Debug' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent\r\n=== BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH THE DEFAULT CONFIGURATION (Release) ===\r\n\r\nCheck dependencies\r\n\r\n=== BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH THE DEFAULT CONFIGURATION (Release) ===\r\n\r\nCheck dependencies\r\n\r\n** TEST BUILD SUCCEEDED **\r\n\r\n2017-02-06 11:09:55.939 xcodebuild[8496:456229]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:\r\n/Users/saikrisv/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/B180F14E-DB21-47B9-A778-708F1382C9D8/Session-WebDriverAgentRunner-2017-02-06_110955-ImenQW.log\r\n2017-02-06 11:09:55.939 xcodebuild[8496:456191] [MT] IDETestOperationsObserverDebug: (BD6E1A6A-5335-4D12-84B2-4CA8216311D6) Beginning test session WebDriverAgentRunner-BD6E1A6A-5335-4D12-84B2-4CA8216311D6 at 2017-02-06 11:09:55.939 with Xcode 8C38 on target <DVTiOSDevice: 0x7feb3411b960> {\r\n                deviceSerialNumber:         FK1Q1BRXG5QQ\r\n                identifier:                 ffa50fa3ec0764135fb32ab7024a30a929af5093\r\n                deviceClass:                iPhone\r\n                deviceName:                 iPhone\r\n                deviceIdentifier:           ffa50fa3ec0764135fb32ab7024a30a929af5093\r\n                productVersion:             10.1.1\r\n                buildVersion:               14B100\r\n                deviceSoftwareVersion:      10.1.1 (14B100)\r\n                deviceArchitecture:         arm64\r\n                deviceTotalCapacity:        11839356928\r\n                deviceAvailableCapacity:    8182550528\r\n                deviceIsTransient:          NO\r\n                ignored:                    NO\r\n                deviceIsBusy:               NO\r\n                deviceIsActivated:          YES\r\n                deviceActivationState:      Activated\r\n                deviceType:                 <DVTDeviceType:0x7feb31c1fa90 Xcode.DeviceType.iPhone>\r\n                supportedDeviceFamilies:    (\r\n    1\r\n)\r\n                applications:              (null)\r\n                provisioningProfiles:      (null)\r\n                activityProgress:          -2\r\n                activityTitle:             \r\n                hasInternalSupport:        NO\r\n                isSupportedOS:             YES\r\n                developerDiskMountError:   (null)\r\n(null)\r\n        } (10.1.1 (14B100))\r\nwriteDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/yx/q5fqv2j55_ddwj2m5_x8jv7h0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/20cb09cbbe3b7f5a073e79366e7d2765/ffa50fa3ec0764135fb32ab7024a30a929af5093/ManifestCache.plist\r\n2017-02-06 11:10:01.589 xcodebuild[8496:456191] Error Domain=IDETestOperationsObserverErrorDomain Code=5 \"Early unexpected exit, operation never finished bootstrapping - no restart will be attempted\" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}\r\n** TEST EXECUTE FAILED **\r\n\r\n```\r\n\r\n"}}
{"actor":{"display_login":"saikrishna321"}}