Skip to content

Instantly share code, notes, and snippets.

@Phoenix124
Last active June 5, 2020 15:27
Show Gist options
  • Save Phoenix124/0c74b9f97787dbf4b62b4db5371b126b to your computer and use it in GitHub Desktop.
Save Phoenix124/0c74b9f97787dbf4b62b4db5371b126b to your computer and use it in GitHub Desktop.
[INFO] 18:21:45 BeforeSuite start
[INFO] 18:21:45 Init Environments Queue...
[INFO] 18:21:45 Get Thread Environments...
[INFO] 18:21:45 Starting Appium Server at 127.0.0.1:4724
[Appium] Welcome to Appium v1.18.0-beta.0
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] port: 4724
[Appium] callbackPort: 4824
[Appium] sessionOverride: true
[Appium] forceIphone: true
[Appium] longStacktrace: true
[Appium] wdaLocalPort: 8104
[Appium] defaultCapabilities: {
[Appium] ensureCleanSession: false
[Appium] proxyEverything: false
[Appium] safariGarbageCollect: false
[Appium] skipLogCapture: true
[Appium] waitForQuiescence: false
[Appium] }
[Appium] relaxedSecurityEnabled: true
[Appium] Deprecated server args:
[Appium] --async-trace => --long-stacktrace
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] ensureCleanSession: false
[Appium] proxyEverything: false
[Appium] safariGarbageCollect: false
[Appium] skipLogCapture: true
[Appium] waitForQuiescence: false
[Appium] Appium REST http interface listener started on 127.0.0.1:4724
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.18.0-beta.0"}}
[HTTP] <-- GET /wd/hub/status 200 9 ms - 75
[HTTP]
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.18.0-beta.0"}}
[HTTP] <-- GET /wd/hub/status 200 1 ms - 75
[HTTP]
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.18.0-beta.0"}}
[HTTP] <-- GET /wd/hub/status 200 1 ms - 75
[INFO] 18:21:48 Appium Server started successfully!
[HTTP]
[INFO] 18:21:48 Start AppiumDriver...
[INFO] 18:21:48 UDID: D7EAE6ED-E637-41E2-916B-1DD48EE7642A
[INFO] 18:21:48 Server port: 4724
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"disableWindowAnimation":false,"noReset":false,"useJSONSource":true,"language":"ru_RU","skipLogCapture":true,"locale":"ru_RU","deviceName":"iPhone 8","fullReset":false,"useSimpleBuildTest":true,"usePrebuiltWDA":true,"xcodeSigningId":"iOS Developer","showIOSLog":true,"safariGarbageCollect":false,"acceptSslCerts":true,"showXcodeLog":false,"newCommandTimeout":600,"permissions":"{\".prerelease\":{\"contacts\":\"yes\",\"notifications\":\"yes\",\"microphone\":\"yes\",\"location\":\"always\",\"medialibrary\":\"yes\",\"photos\":\"yes\"}}","platformVersion":"13.5","automationName":"XCUITest","webStorageEnabled":true,"autoWebview":false,"platformName":"iOS","udid":"D7EAE6ED-E637-41E2-916B-1DD48EE7642A","app":"/Users/maksimliakhavets/IdeaProjects/appiumiOS/app/ Prerelease.zip","applicationCacheEnabled":true,"networkConnectionEnabled":true,"commandTimeouts":600000,"xcodeOrgId":"3ZC3LLDMV4","pageLoadStrategy":"eager","derivedDataPath":"~/Library/Developer/Xcode/Der...
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"disableWindowAnimation":false,"noReset":false,"useJSONSource":true,"language":"ru_RU","skipLogCapture":true,"locale":"ru_RU","deviceName":"iPhone 8","fullReset":false,"useSimpleBuildTest":true,"usePrebuiltWDA":true,"xcodeSigningId":"iOS Developer","showIOSLog":true,"safariGarbageCollect":false,"acceptSslCerts":true,"showXcodeLog":false,"newCommandTimeout":600,"permissions":"{\"\":{\"contacts\":\"yes\",\"notifications\":\"yes\",\"microphone\":\"yes\",\"location\":\"always\",\"medialibrary\":\"yes\",\"photos\":\"yes\"}}","platformVersion":"13.5","automationName":"XCUITest","webStorageEnabled":true,"autoWebview":false,"platformName":"iOS","udid":"D7EAE6ED-E637-41E2-916B-1DD48EE7642A","app":"/Users/maksimliakhavets/IdeaProjects/appiumiOS/app/ Prerelease.zip","applicationCacheEnabled":true,"networkConnectionEnabled":true,"commandTimeouts":600000,"xcodeOrgId":"3ZC3LLDMV4","pageLoadStrategy":"eager","derivedDataPath":"~/Library/Developer/Xcode/DerivedData/","databaseEn...
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1591370508777 (18:21:48 GMT+0300 (Moscow Standard Time))
[Appium] Appium v1.18.0-beta.0 creating new XCUITestDriver (v3.24.1) session
[debug] [Appium] There are no active sessions for cleanup
[Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {
[debug] [BaseDriver] "ensureCleanSession": false,
[debug] [BaseDriver] "proxyEverything": false,
[debug] [BaseDriver] "safariGarbageCollect": false,
[debug] [BaseDriver] "skipLogCapture": true,
[debug] [BaseDriver] "waitForQuiescence": false,
[debug] [BaseDriver] "disableWindowAnimation": false,
[debug] [BaseDriver] "noReset": false,
[debug] [BaseDriver] "useJSONSource": true,
[debug] [BaseDriver] "language": "ru_RU",
[debug] [BaseDriver] "locale": "ru_RU",
[debug] [BaseDriver] "deviceName": "iPhone 8",
[debug] [BaseDriver] "fullReset": false,
[debug] [BaseDriver] "useSimpleBuildTest": true,
[debug] [BaseDriver] "usePrebuiltWDA": true,
[debug] [BaseDriver] "xcodeSigningId": "iOS Developer",
[debug] [BaseDriver] "showIOSLog": true,
[debug] [BaseDriver] "acceptSslCerts": true,
[debug] [BaseDriver] "showXcodeLog": false,
[debug] [BaseDriver] "newCommandTimeout": 600,
[debug] [BaseDriver] "permissions": "{\"ru.\":{\"contacts\":\"yes\",\"notifications\":\"yes\",\"microphone\":\"yes\",\"location\":\"always\",\"medialibrary\":\"yes\",\"photos\":\"yes\"}}",
[debug] [BaseDriver] "platformVersion": "13.5",
[debug] [BaseDriver] "automationName": "XCUITest",
[debug] [BaseDriver] "webStorageEnabled": true,
[debug] [BaseDriver] "autoWebview": false,
[debug] [BaseDriver] "platformName": "iOS",
[debug] [BaseDriver] "udid": "D7EAE6ED-E637-41E2-916B-1DD48EE7642A",
[debug] [BaseDriver] "app": "/Users/maksimliakhavets/IdeaProjects/appiumiOS/app/.zip",
[debug] [BaseDriver] "applicationCacheEnabled": true,
[debug] [BaseDriver] "networkConnectionEnabled": true,
[debug] [BaseDriver] "commandTimeouts": 600000,
[debug] [BaseDriver] "xcodeOrgId": "3ZC3LLDMV4",
[debug] [BaseDriver] "pageLoadStrategy": "eager",
[debug] [BaseDriver] "derivedDataPath": "~/Library/Developer/Xcode/DerivedData/",
[debug] [BaseDriver] "databaseEnabled": true,
[debug] [BaseDriver] "launchTimeout": 600000,
[debug] [BaseDriver] "version": "13.5",
[debug] [BaseDriver] "wdaLocalPort": 8104,
[debug] [BaseDriver] "mjpegServerPort": 9104,
[debug] [BaseDriver] "shouldUseSingletonTestManager": false
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] ensureCleanSession
[BaseDriver] proxyEverything
[BaseDriver] disableWindowAnimation
[BaseDriver] acceptSslCerts
[BaseDriver] webStorageEnabled
[BaseDriver] applicationCacheEnabled
[BaseDriver] networkConnectionEnabled
[BaseDriver] pageLoadStrategy
[BaseDriver] databaseEnabled
[BaseDriver] version
[BaseDriver] Session created with session id: 7f48ec35-a513-4ffa-9b25-c758fb8aa295
[debug] [XCUITest] Current user: 'maksimliakhavets'
[debug] [XCUITest] Available devices:
[debug] [XCUITest] No real device with udid 'D7EAE6ED-E637-41E2-916B-1DD48EE7642A'. Looking for simulator
[iOSSim] Constructing iOS simulator for Xcode version 11.5 with udid 'D7EAE6ED-E637-41E2-916B-1DD48EE7642A'
[XCUITest] Determining device to run tests on: udid: 'D7EAE6ED-E637-41E2-916B-1DD48EE7642A', real device: false
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1591370512027 (18:21:52 GMT+0300 (Moscow Standard Time))
[BaseDriver] Using local app '/Users/maksimliakhavets/IdeaProjects/appiumiOS/app/ Prerelease.zip'
[debug] [BaseDriver] Unzipping '/Users/maksimliakhavets/IdeaProjects/appiumiOS/app/ Prerelease.zip'
[debug] [BaseDriver] Extracted 798 items from '/Users/maksimliakhavets/IdeaProjects/appiumiOS/app/ Prerelease.zip'
[debug] [BaseDriver] Matched 1 item in the extracted archive. Assuming 'forSimulator/Build/Products/Prerelease-iphonesimulator/ Prerelease.app' is the correct bundle
[BaseDriver] Unzipped local app to '/var/folders/q2/mp0gvb6s41d9jwkbvxs8x9p80000gn/T/202055-28356-1qhx4bk.5it2/ Prerelease.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1591370518826 (18:21:58 GMT+0300 (Moscow Standard Time))
[debug] [XCUITest] Checking whether app '/var/folders/q2/mp0gvb6s41d9jwkbvxs8x9p80000gn/T/202055-28356-1qhx4bk.5it2/ Prerelease.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/q2/mp0gvb6s41d9jwkbvxs8x9p80000gn/T/202055-28356-1qhx4bk.5it2/ Prerelease.app': 'ru.'
[debug] [BaseDriver] Event 'resetStarted' logged at 1591370518831 (18:21:58 GMT+0300 (Moscow Standard Time))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[debug] [BaseDriver] Event 'resetComplete' logged at 1591370519134 (18:21:59 GMT+0300 (Moscow Standard Time))
[WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
[WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[XCUITest] 'skipLogCapture' is set. Skipping starting logs such as crash, system, safari console and safari network.
[XCUITest] Setting up simulator
[debug] [iOSSim] Checking whether simulator has been run before: yes
[debug] [iOS] Setting locale information
[debug] [iOSSim] New language: ru_RU
[debug] [iOSSim] No locale updates necessary.
[debug] [iOS] No iOS / app preferences to set
[debug] [iOS] Setting did not need to be updated
[debug] [iOSSim] Setting preferences of D7EAE6ED-E637-41E2-916B-1DD48EE7642A Simulator to {"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Updated D7EAE6ED-E637-41E2-916B-1DD48EE7642A Simulator preferences at '/Users/maksimliakhavets/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"D7EAE6ED-E637-41E2-916B-1DD48EE7642A":{"ConnectHardwareKeyboard":false}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Got Simulator UI client PID: 21291
[iOSSim] Both Simulator with UDID 'D7EAE6ED-E637-41E2-916B-1DD48EE7642A' and the UI client are currently running
[debug] [BaseDriver] Event 'simStarted' logged at 1591370519539 (18:21:59 GMT+0300 (Moscow Standard Time))
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneSimulator"]
[debug] [XCUITest] Reset requested. Removing app with id 'ru.' from the device
[debug] [XCUITest] Installing '/var/folders/q2/mp0gvb6s41d9jwkbvxs8x9p80000gn/T/202055-28356-1qhx4bk.5it2/ Prerelease.app' on Simulator with UUID 'D7EAE6ED-E637-41E2-916B-1DD48EE7642A'...
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1591370523275 (18:22:03 GMT+0300 (Moscow Standard Time))
[debug] [XCUITest] Setting the requested permissions before WDA is started
[debug] [iOSSim] Setting access for 'ru.': {
[debug] [iOSSim] "contacts": "yes",
[debug] [iOSSim] "notifications": "yes",
[debug] [iOSSim] "microphone": "yes",
[debug] [iOSSim] "location": "always",
[debug] [iOSSim] "medialibrary": "yes",
[debug] [iOSSim] "photos": "yes"
[debug] [iOSSim] }
[debug] [iOSSim] Executing: applesimutils --byId D7EAE6ED-E637-41E2-916B-1DD48EE7642A --bundle ru. --setPermissions contacts\=yes\,notifications\=yes\,microphone\=yes\,location\=always\,medialibrary\=yes\,photos\=yes
[debug] [iOSSim] Command output:
[XCUITest] {"stdout":"COMMAND\n","stderr":"","code":1}
[DevCon Factory] Releasing connections for D7EAE6ED-E637-41E2-916B-1DD48EE7642A device on any port number
[DevCon Factory] No cached connections have been found
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1591370525316 (18:22:05 GMT+0300 (Moscow Standard Time))
[debug] [MJSONWP] Encountered internal error running command: Error: Command 'ps -p 22422 -o command' exited with code 1
[debug] [MJSONWP] at ChildProcess.proc.on.code (/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/node_modules/teen_process/lib/exec.js:113:19)
[debug] [MJSONWP] at ChildProcess.new_callback (/usr/local/lib/node_modules/appium/node_modules/longjohn/dist/longjohn.js:188:25)
[debug] [MJSONWP] at ChildProcess.emit (events.js:198:13)
[debug] [MJSONWP] at maybeClose (internal/child_process.js:982:16)
[debug] [MJSONWP] at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
[debug] [MJSONWP] Destroying socket connection
[HTTP] <-- POST /wd/hub/session 500 16545 ms - 188
[HTTP]
[INFO] 18:22:05 Set TMS Link for method public void tests.BaseTest.beforeSuite()
[ERROR] 18:22:05 TestAttributes annotation not set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment