Skip to content

Instantly share code, notes, and snippets.

View Reedyuk's full-sized avatar

Andrew Reed Reedyuk

View GitHub Profile
@Reedyuk
Reedyuk / gist:84d7aa435a39a187ae8965eb7891de25
Created March 31, 2017 09:36
Bitrise Change Test plist file
Version: 1.5.5
INFO[10:37:01] bitrise runs in CI mode
INFO[10:37:01] Running workflow: Test_Plist_Step
Switching to workflow: Test_Plist_Step
+------------------------------------------------------------------------------+
| (0) Set Base Url Xcode Plist Value |
+------------------------------------------------------------------------------+
"order": [
{
"backend_purchase_reference": "PURCHASE-D65E-1",
"event": {
"city_code": "london-uk",
"city_desc": "London",
"classes": {
"theatre": "Theatre"
},
"country_code": "uk",
@Reedyuk
Reedyuk / gist:e0a91eecdaeb45843c6ca12394567306
Created March 22, 2017 14:37
Xamarin Test Cloud Appium upload
Unhandled Exception: System.AggregateException: An error occurred while writing to logger(s). (Too many open files) ---> System.IO.IOException: Too many open files
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Interop.CheckIo[TSafeHandle](TSafeHandle handle, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(Func`1 fdFunc)
at System.ConsolePal.OpenStandardError()
at System.Console.<>c.<get_Error>b__27_0()
at System.Console.EnsureInitialized[T](T& field, Func`1 initializer)
at Microsoft.Xtc.Common.Services.Logging.SimpleConsoleLogger.WriteSimpleLog(LogLevel logLevel, String message)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
--- End of inner exception stack trace ---
import Vapor
import Foundation
import HTTP
let drop = Droplet()
class Message {
var textString: String?
var sendJson: [String: AnyObject]?
2016-12-16 08:51:48:920 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium CoreSimulatorBridge[5776]: Launch attempt #0 for bundle 'com.apple.test.WebDriverAgentRunner-Runner', have been trying to launch for 0 seconds. Modern launch services = YES
2016-12-16 08:51:48:920 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium CoreSimulatorBridge[5776]: Got LSBundleProxy for 'com.apple.test.WebDriverAgentRunner-Runner', sequenceNumber 348, cacheGUID 349A4EF3-4CD8-4013-88F7-58B7B2116CCC
2016-12-16 08:51:48:921 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium CoreSimulatorBridge[5776]: [Common] [FBSSystemService][0x318a] Sending request to open "com.apple.test.WebDriverAgentRunner-Runner"
2016-12-16 08:51:48:944 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium CoreSimulatorBridge[5776]: [Common] [FBSSystemService][0x318a] Request successful: <FBSProcessHandle: 0x7fa133f20920; XCTRunner:14833; valid: YES>
2016-12-16 08:51:48:947 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium Core
[XCUITest] UnknownError: An unknown server-side error occurred while processing the command. Original error: Failed to launch *XXXXXX* application
08:53:52 at errorFromCode (../../../lib/mjsonwp/errors.js:398:10)
08:53:52 at XCUITestDriver.callee$0$0$ (../../../lib/commands/proxy-helper.js:22:11)
08:53:52 at tryCatch (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
08:53:52 at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
08:53:52 at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
08:53:52 at GeneratorFunctionPrototype.invoke (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Path must be a string. Received undefined (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.50 seconds
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'AReed-MacBook-Pro.local', ip: '192.168.50.213', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12', java.version: '1.8.0_91'
Driver info: io.appium.java_client.ios.IOSDriver
Capabilities [{app=/Users/andrewreed/Documents/nm-appium-acceptance-tests/Nutmeg Dev.app, networkConnectionEnabled=false, noReset=false, databaseEnabled=false, deviceName=iPhone 6, fullReset=true, platform=MAC, newCommandTimeout=600, platformVersion=10.0, webStorageEnabled=false, locationContextEnabled=false, automationName=XCUITest, browserName=, takesScreenshot=true, javascriptEnabled=true, platformName=iOS}]
Session ID: 097b410
2016-09-28 12:46:42:259 - warn: [iOS] Something went wrong while launching the [undefined] app.
2016-09-28 12:46:42:308 - error: [MJSONWP] Encountered internal error running command: TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.resolve (path.js:1148:7)
at extractPlist$ (lib/extract.js:10:24)
at tryCatch (/Users/andrewreed/Documents/nm-appium-acceptance-tests/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/andrewreed/Documents/nm-appium-acceptance-tests/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/andrewreed/Documents/nm-appium-acceptance-tests/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (/Users/andrewreed/Documents/nm-appium-acceptance-tests/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at enqueueResult (/Users/andrewreed/Documents/nm-appiu
/bin/bash --login
rvm system