MarathonLabs / marathon

Cross-platform test runner
https://docs.marathonlabs.io
GNU General Public License v2.0
577 stars 120 forks source link

IOS Simulator is crashing and system is showing a alert window shows "SpringBoard quit unexpectedly". #372

Closed mohank2k closed 4 years ago

mohank2k commented 4 years ago

I have followed exact steps for the IOS with sample app provided by marathon. However the given simulator is crashing and system is showing a alert window shows "SpringBoard quit unexpectedly".
Xcode Version 11.4.1

Error Log: 11:50:15.308 [main] INFO com.malinskiy.marathon.cli.ApplicationView - Starting marathon 11:50:15.536 [main] INFO com.malinskiy.marathon.cli.config.ConfigFactory - Checking Marathonfile config D 11:50:16.346 [main @coroutine#1] Initializing IOSDeviceProvider I 11:50:16.359 [IOSDeviceProvider @coroutine#1] starts providing 1 simulator devices WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.bouncycastle.jcajce.provider.drbg.DRBG (file:/Users/mohan/Downloads/marathon-0.5.2%20source/cli/build/install/marathon/lib/bcprov-jdk15on-1.60.jar) to constructor sun.security.provider.Sun() WARNING: Please consider reporting this to the maintainers of org.bouncycastle.jcajce.provider.drbg.DRBG WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release I 11:50:17.259 [IOSDeviceProvider @coroutine#2] Client identity string: SSH-2.0-SSHJ_0.26.0 I 11:50:17.276 [IOSDeviceProvider @coroutine#2] Server identity string: SSH-2.0-OpenSSH_8.1 D 11:50:17.276 [IOSDeviceProvider @coroutine#2] Setting <> to null D 11:50:17.277 [IOSDeviceProvider @coroutine#2] Sending SSH_MSG_KEXINIT D 11:50:17.278 [IOSDeviceProvider @coroutine#2] Setting <> to SOME D 11:50:17.278 [IOSDeviceProvider @coroutine#2] Awaiting <> D 11:50:17.286 [reader] Received SSH_MSG_KEXINIT D 11:50:17.287 [reader] Negotiated algorithms: [ kex=curve25519-sha256@libssh.org; sig=ecdsa-sha2-nistp256; c2sCipher=aes128-ctr; s2cCipher=aes128-ctr; c2sMAC=hmac-sha1; s2cMAC=hmac-sha1; c2sComp=none; s2cComp=none ] D 11:50:17.308 [reader] Received kex followup data D 11:50:17.325 [reader] Trying to verify host key with net.schmizz.sshj.transport.verification.OpenSSHKnownHosts@53b778b0 D 11:50:17.326 [reader] Sending SSH_MSG_NEWKEYS D 11:50:17.326 [reader] Received SSH_MSG_NEWKEYS D 11:50:17.329 [reader] Setting <> to null D 11:50:17.329 [reader] Setting <> to SOME D 11:50:17.330 [IOSDeviceProvider @coroutine#2] Key exchange took 0.053 seconds D 11:50:17.330 [IOSDeviceProvider @coroutine#2] Setting <> to null D 11:50:17.331 [IOSDeviceProvider @coroutine#2] Sending SSH_MSG_SERVICE_REQUEST for ssh-userauth D 11:50:17.331 [IOSDeviceProvider @coroutine#2] Awaiting <> D 11:50:17.332 [reader] Setting <> to SOME D 11:50:17.332 [IOSDeviceProvider @coroutine#2] Setting active service to ssh-userauth D 11:50:17.332 [IOSDeviceProvider @coroutine#2] Setting <> to null D 11:50:17.332 [IOSDeviceProvider @coroutine#2] Trying publickey auth... D 11:50:17.332 [IOSDeviceProvider @coroutine#2] Attempting authentication using PKCS8KeyFile{resource=[PrivateKeyFileResource] /Users/mohan/.ssh/marathon} D 11:50:17.333 [IOSDeviceProvider @coroutine#2] Awaiting <> D 11:50:17.344 [reader] Asking publickey method to handle USERAUTH_60 packet D 11:50:17.344 [reader] Key acceptable, sending signed request D 11:50:17.344 [reader] Attempting authentication using PKCS8KeyFile{resource=[PrivateKeyFileResource] /Users/mohan/.ssh/marathon} D 11:50:17.415 [reader] Setting active service to ssh-connection D 11:50:17.415 [reader] Setting <> to true D 11:50:17.415 [IOSDeviceProvider @coroutine#2] publickey auth successful D 11:50:17.422 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#3] Attaching session channel (#0) D 11:50:17.423 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#3] Awaiting <<chan#0 / open>> D 11:50:17.459 [reader] Sending SSH_MSG_UNIMPLEMENTED for packet #6 D 11:50:17.459 [reader] Received SSH_MSG_DEBUG (display=false) '/Users/mohan/.ssh/authorized_keys:5: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding' D 11:50:17.459 [reader] Received SSH_MSG_DEBUG (display=false) '/Users/mohan/.ssh/authorized_keys:5: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding' D 11:50:17.460 [reader] Initialized - < session channel: id=0, recipient=0, localWin=[winSize=2097152], remoteWin=[winSize=0] > D 11:50:17.460 [reader] Setting <<chan#0 / open>> to SOME D 11:50:17.461 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#3] Will request to exec xcrun simctl list --json D 11:50:17.461 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#3] Sending channel request for exec D 11:50:17.461 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#3] Awaiting <<chan#0 / chanreq for exec>> D 11:50:17.461 [reader] Received window adjustment for 2097152 bytes D 11:50:17.462 [reader] Increasing by 2097152 up to 2097152 D 11:50:17.462 [reader] Setting <<chan#0 / chanreq for exec>> to SOME D 11:50:17.582 [reader] Consuming by 16384 down to 2080768 D 11:50:17.583 [reader] Consuming by 16384 down to 2064384 D 11:50:17.584 [reader] Consuming by 16384 down to 2048000 D 11:50:17.585 [reader] Consuming by 16384 down to 2031616 D 11:50:17.585 [reader] Consuming by 9499 down to 2022117 D 11:50:17.585 [reader] Got chan request for exit-status D 11:50:17.586 [reader] Got EOF D 11:50:17.586 [reader] Got close D 11:50:17.586 [reader] Sending close D 11:50:17.586 [reader] Forgetting session channel (#0) D 11:50:17.586 [reader] Setting <<chan#0 / close>> to SOME D 11:50:17.653 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#7] Attaching session channel (#1) D 11:50:17.653 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#7] Awaiting <<chan#1 / open>> D 11:50:17.654 [reader] Initialized - < session channel: id=1, recipient=0, localWin=[winSize=2097152], remoteWin=[winSize=0] > D 11:50:17.654 [reader] Setting <<chan#1 / open>> to SOME D 11:50:17.654 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#7] Will request to exec xcrun simctl getenv F1E4F3D9-61B4-4AA4-81DF-79A3B206499C SIMULATOR_VERSION_INFO D 11:50:17.654 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#7] Sending channel request for exec D 11:50:17.654 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#7] Awaiting <<chan#1 / chanreq for exec>> D 11:50:17.654 [reader] Received window adjustment for 2097152 bytes D 11:50:17.654 [reader] Increasing by 2097152 up to 2097152 D 11:50:17.655 [reader] Setting <<chan#1 / chanreq for exec>> to SOME D 11:50:17.730 [reader] Consuming by 152 down to 2097000 D 11:50:17.730 [reader] Got EOF D 11:50:17.730 [reader] Got chan request for exit-status D 11:50:17.730 [reader] Got close D 11:50:17.730 [reader] Sending close D 11:50:17.731 [reader] Forgetting session channel (#1) D 11:50:17.731 [reader] Setting <<chan#1 / close>> to SOME I 11:50:17.841 [main @coroutine#1] Found 19 tests in 7 files I 11:50:17.841 [main @coroutine#1] Scheduling 2 tests D 11:50:17.842 [main @coroutine#1] sample-appUITests.StoryboardTests#testButton, sample-appUITests.StoryboardTests#testLabel I 11:50:17.843 [main @coroutine#1] Output derived-data/Marathon already exists D 11:50:17.854 [main @coroutine#12] device F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost associated with poolId iPhone 11 Pro Max_com.apple.CoreSimulator.SimRuntime.iOS-13-4_omni D 11:50:17.854 [main @coroutine#12] pool actor iPhone 11 Pro Max_com.apple.CoreSimulator.SimRuntime.iOS-13-4_omni is being created D 11:50:17.871 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#15] Attaching session channel (#2) D 11:50:17.871 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#15] Awaiting <<chan#2 / open>> D 11:50:17.871 [main @coroutine#13] <D.a.C.SimRuntime.iOS-13-4_omni]> add device F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost D 11:50:17.871 [reader] Initialized - < session channel: id=2, recipient=0, localWin=[winSize=2097152], remoteWin=[winSize=0] > D 11:50:17.871 [reader] Setting <<chan#2 / open>> to SOME D 11:50:17.871 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#15] Will request to exec /usr/sbin/system_profiler -detailLevel mini -xml SPDisplaysDataType D 11:50:17.871 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#15] Sending channel request for exec D 11:50:17.871 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#15] Awaiting <<chan#2 / chanreq for exec>> D 11:50:17.872 [reader] Received window adjustment for 2097152 bytes D 11:50:17.872 [reader] Increasing by 2097152 up to 2097152 D 11:50:17.872 [reader] Setting <<chan#2 / chanreq for exec>> to SOME D 11:50:17.882 [main @coroutine#16] D.a.C.S.iOS-13-4_omni]_DeviceActor[F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost] initialize F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost D 11:50:17.886 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#21] Attaching session channel (#3) D 11:50:17.886 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#21] Awaiting <<chan#3 / open>> D 11:50:17.886 [reader] Initialized - < session channel: id=3, recipient=1, localWin=[winSize=2097152], remoteWin=[winSize=0] > D 11:50:17.886 [reader] Setting <<chan#3 / open>> to SOME D 11:50:17.886 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#21] Will request to exec mkdir -p "/tmp/marathon" D 11:50:17.886 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#21] Sending channel request for exec D 11:50:17.886 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#21] Awaiting <<chan#3 / chanreq for exec>> D 11:50:17.887 [reader] Received window adjustment for 2097152 bytes D 11:50:17.887 [reader] Increasing by 2097152 up to 2097152 D 11:50:17.887 [reader] Setting <<chan#3 / chanreq for exec>> to SOME D 11:50:17.891 [reader] Got chan request for exit-status D 11:50:17.891 [reader] Got EOF D 11:50:17.891 [reader] Got close D 11:50:17.891 [reader] Sending close D 11:50:17.891 [reader] Forgetting session channel (#3) D 11:50:17.891 [reader] Setting <<chan#3 / close>> to SOME D 11:50:18.041 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1 @prepare#20] rsync version 2.6.9 protocol version 29 D 11:50:18.043 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#25] Attaching session channel (#4) D 11:50:18.044 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#25] Awaiting <<chan#4 / open>> D 11:50:18.044 [reader] Initialized - < session channel: id=4, recipient=1, localWin=[winSize=2097152], remoteWin=[winSize=0] > D 11:50:18.044 [reader] Setting <<chan#4 / open>> to SOME D 11:50:18.044 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#25] Will request to exec ruby -e 'require "socket"; puts Addrinfo.tcp("", 0).bind {|s| s.local_address.ip_port }' D 11:50:18.044 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#25] Sending channel request for exec D 11:50:18.044 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#25] Awaiting <<chan#4 / chanreq for exec>> D 11:50:18.045 [reader] Received window adjustment for 2097152 bytes D 11:50:18.045 [reader] Increasing by 2097152 up to 2097152 D 11:50:18.045 [reader] Setting <<chan#4 / chanreq for exec>> to SOME D 11:50:18.117 [reader] Consuming by 13204 down to 2083948 D 11:50:18.122 [reader] Got chan request for exit-status D 11:50:18.122 [reader] Got EOF D 11:50:18.122 [reader] Got close D 11:50:18.122 [reader] Sending close D 11:50:18.122 [reader] Forgetting session channel (#2) D 11:50:18.123 [reader] Setting <<chan#2 / close>> to SOME D 11:50:18.167 [reader] Consuming by 6 down to 2097146 D 11:50:18.168 [reader] Got chan request for exit-status D 11:50:18.168 [reader] Got EOF D 11:50:18.168 [reader] Got close D 11:50:18.168 [reader] Sending close D 11:50:18.169 [reader] Forgetting session channel (#4) D 11:50:18.169 [reader] Setting <<chan#4 / close>> to SOME I 11:50:18.180 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1 @prepare#20] Using TCP port 49832 on device 127.0.0.1:F1E4F3D9-61B4-4AA4-81DF-79A3B206499C E 11:50:18.419 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1 @prepare#20] OpenSSH_8.1p1, LibreSSL 2.7.3 debug1: Reading configuration data /dev/null debug1: Connecting to localhost port 22. debug1: Connection established. debug1: identity file /Users/mohan/.ssh/marathon type 0 debug1: identity file /Users/mohan/.ssh/marathon-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.1 debug1: Remote protocol version 2.0, remote software version OpenSSH_8.1 debug1: match: OpenSSH_8.1 pat OpenSSH* compat 0x04000000 debug3: fd 6 is O_NONBLOCK debug1: Authenticating to localhost:22 as 'mohan' debug3: hostkeys_foreach: reading file "/Users/mohan/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file /Users/mohan/.ssh/known_hosts:8 debug3: load_hostkeys: loaded 1 keys from localhost debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c debug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com,zlib debug2: compression stoc: none,zlib@openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com debug2: compression stoc: none,zlib@openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug3: receive packet: type 31 debug1: Server host key: ecdsa-sha2-nistp256 SHA256:oWEu2sj2dmsKpjGWNXB1b6qjO0ahDaB5RugewBT+Xm0 debug3: hostkeys_foreach: reading file "/Users/mohan/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file /Users/mohan/.ssh/known_hosts:8 debug3: load_hostkeys: loaded 1 keys from localhost debug1: Host 'localhost' is known and matches the ECDSA host key. debug1: Found key in /Users/mohan/.ssh/known_hosts:8 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey out after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: set_newkeys: mode 0 debug1: rekey in after 134217728 blocks debug1: Will attempt key: /Users/mohan/.ssh/marathon RSA SHA256:PFpeU8UzyaF15VfxFof+LdCy10aqTM2dAogeOwFZV4o explicit debug2: pubkey_prepare: done debug3: send packet: type 5 debug3: receive packet: type 7 debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521> debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,password,keyboard-interactive debug3: start over, passed a different list publickey,password,keyboard-interactive debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /Users/mohan/.ssh/marathon RSA SHA256:PFpeU8UzyaF15VfxFof+LdCy10aqTM2dAogeOwFZV4o explicit debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 60 debug1: Server accepts key: /Users/mohan/.ssh/marathon RSA SHA256:PFpeU8UzyaF15VfxFof+LdCy10aqTM2dAogeOwFZV4o explicit debug3: sign_and_send_pubkey: RSA SHA256:PFpeU8UzyaF15VfxFof+LdCy10aqTM2dAogeOwFZV4o debug3: sign_and_send_pubkey: signing using rsa-sha2-512 debug3: send packet: type 50 debug3: receive packet: type 52 debug1: Authentication succeeded (publickey). Authenticated to localhost ([::1]:22). debug2: fd 7 setting O_NONBLOCK debug3: fd 8 is O_NONBLOCK debug2: fd 9 setting O_NONBLOCK debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug3: send packet: type 90 debug1: Requesting no-more-sessions@openssh.com debug3: send packet: type 80 debug1: Entering interactive session. debug1: pledge: network debug3: receive packet: type 80 debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 debug3: receive packet: type 4 debug1: Remote: /Users/mohan/.ssh/authorized_keys:5: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding debug3: receive packet: type 4 debug1: Remote: /Users/mohan/.ssh/authorized_keys:5: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding debug3: receive packet: type 91 debug2: channel_input_open_confirmation: channel 0: callback start debug2: fd 6 setting TCP_NODELAY debug3: ssh_packet_set_tos: set IPV6_TCLASS 0x20 debug2: client_session2_setup: id 0 debug1: Sending command: /usr/local/bin/rsync --server -vlogDtpr --delay-updates . /tmp/marathon/F1E4F3D9-61B4-4AA4-81DF-79A3B206499C.xctestrun debug2: channel 0: request exec confirm 1 debug3: send packet: type 98 debug2: channel_input_open_confirmation: channel 0: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug2: channel 0: rcvd adjust 2097152 debug3: receive packet: type 99 debug2: channel_input_status_confirm: type 99 id 0 debug2: exec request accepted on channel 0 debug2: channel 0: rcvd ext data 54 bash: /usr/local/bin/rsync: No such file or directory debug2: channel 0: written 54 to efd 9 debug3: receive packet: type 98 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug3: receive packet: type 98 debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0 debug2: channel 0: rcvd eow debug2: channel 0: chan_shutdown_read (i0 o0 sock -1 wfd 7 efd 9 [write]) debug2: channel 0: input open -> closed debug3: receive packet: type 96 debug2: channel 0: rcvd eof debug2: channel 0: output open -> drain debug2: channel 0: obuf empty debug2: channel 0: chan_shutdown_write (i3 o1 sock -1 wfd 8 efd 9 [write]) rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54/rsync/io.c(453) [sender=2.6.9]

E 11:50:18.648 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1 @prepare#20] OpenSSH_8.1p1, LibreSSL 2.7.3 debug1: Reading configuration data /dev/null debug1: Connecting to localhost port 22. debug1: Connection established. debug1: identity file /Users/mohan/.ssh/marathon type 0 debug1: identity file /Users/mohan/.ssh/marathon-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.1 debug1: Remote protocol version 2.0, remote software version OpenSSH_8.1 debug1: match: OpenSSH_8.1 pat OpenSSH* compat 0x04000000 debug3: fd 6 is O_NONBLOCK debug1: Authenticating to localhost:22 as 'mohan' debug3: hostkeys_foreach: reading file "/Users/mohan/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file /Users/mohan/.ssh/known_hosts:8 debug3: load_hostkeys: loaded 1 keys from localhost debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c debug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com,zlib debug2: compression stoc: none,zlib@openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com debug2: compression stoc: none,zlib@openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug3: receive packet: type 31 debug1: Server host key: ecdsa-sha2-nistp256 SHA256:oWEu2sj2dmsKpjGWNXB1b6qjO0ahDaB5RugewBT+Xm0 debug3: hostkeys_foreach: reading file "/Users/mohan/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file /Users/mohan/.ssh/known_hosts:8 debug3: load_hostkeys: loaded 1 keys from localhost debug1: Host 'localhost' is known and matches the ECDSA host key. debug1: Found key in /Users/mohan/.ssh/known_hosts:8 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey out after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: set_newkeys: mode 0 debug1: rekey in after 134217728 blocks debug1: Will attempt key: /Users/mohan/.ssh/marathon RSA SHA256:PFpeU8UzyaF15VfxFof+LdCy10aqTM2dAogeOwFZV4o explicit debug2: pubkey_prepare: done debug3: send packet: type 5 debug3: receive packet: type 7 debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521> debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,password,keyboard-interactive debug3: start over, passed a different list publickey,password,keyboard-interactive debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /Users/mohan/.ssh/marathon RSA SHA256:PFpeU8UzyaF15VfxFof+LdCy10aqTM2dAogeOwFZV4o explicit debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 60 debug1: Server accepts key: /Users/mohan/.ssh/marathon RSA SHA256:PFpeU8UzyaF15VfxFof+LdCy10aqTM2dAogeOwFZV4o explicit debug3: sign_and_send_pubkey: RSA SHA256:PFpeU8UzyaF15VfxFof+LdCy10aqTM2dAogeOwFZV4o debug3: sign_and_send_pubkey: signing using rsa-sha2-512 debug3: send packet: type 50 debug3: receive packet: type 52 debug1: Authentication succeeded (publickey). Authenticated to localhost ([::1]:22). debug2: fd 7 setting O_NONBLOCK debug3: fd 8 is O_NONBLOCK debug2: fd 9 setting O_NONBLOCK debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug3: send packet: type 90 debug1: Requesting no-more-sessions@openssh.com debug3: send packet: type 80 debug1: Entering interactive session. debug1: pledge: network debug3: receive packet: type 80 debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 debug3: receive packet: type 4 debug1: Remote: /Users/mohan/.ssh/authorized_keys:5: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding debug3: receive packet: type 4 debug1: Remote: /Users/mohan/.ssh/authorized_keys:5: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding debug3: receive packet: type 91 debug2: channel_input_open_confirmation: channel 0: callback start debug2: fd 6 setting TCP_NODELAY debug3: ssh_packet_set_tos: set IPV6_TCLASS 0x20 debug2: client_session2_setup: id 0 debug1: Sending command: /usr/local/bin/rsync --server -vlogDtpr --delay-updates . /tmp/marathon debug2: channel 0: request exec confirm 1 debug3: send packet: type 98 debug2: channel_input_open_confirmation: channel 0: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug2: channel 0: rcvd adjust 2097152 debug3: receive packet: type 99 debug2: channel_input_status_confirm: type 99 id 0 debug2: exec request accepted on channel 0 debug2: channel 0: rcvd ext data 54 bash: /usr/local/bin/rsync: No such file or directory debug2: channel 0: written 54 to efd 9 debug3: receive packet: type 96 debug2: channel 0: rcvd eof debug2: channel 0: output open -> drain debug2: channel 0: obuf empty debug2: channel 0: chan_shutdown_write (i0 o1 sock -1 wfd 8 efd 9 [write]) rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54/rsync/io.c(453) [sender=2.6.9]

D 11:50:18.650 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#29] Attaching session channel (#5) D 11:50:18.650 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#29] Awaiting <<chan#5 / open>> D 11:50:18.650 [reader] Initialized - < session channel: id=5, recipient=0, localWin=[winSize=2097152], remoteWin=[winSize=0] > D 11:50:18.650 [reader] Setting <<chan#5 / open>> to SOME D 11:50:18.650 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#29] Will request to exec /usr/bin/pkill -9 -l -f 'F1E4F3D9-61B4-4AA4-81DF-79A3B206499C' D 11:50:18.650 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#29] Sending channel request for exec D 11:50:18.651 [F1E4F3D9-61B4-4AA4-81DF-79A3B206499C@localhost-1-ssh @execBlocking#29] Awaiting <<chan#5 / chanreq for exec>> D 11:50:18.651 [reader] Received window adjustment for 2097152 bytes D 11:50:18.651 [reader] Increasing by 2097152 up to 2097152 D 11:50:18.652 [reader] Setting <<chan#5 / chanreq for exec>> to SOME

mohank2k commented 4 years ago

@mohank2k spam?

Sorry Just provided the details.

Malinskiy commented 4 years ago

Your app is crashing the simulator. Also I see that there is something wrong with your rsync:

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54/rsync/io.c(453) [sender=2.6.9]

Can you try providing the full log after you try solving the rsync problem? Maybe try out using the brew's version of rsync instead of the embedded one.

mohank2k commented 4 years ago

I resolved by brew version of rsync. Now things working fine. Thanks os much for the quick help. Btw this is great tool. Keep up the great work.