wix / Detox

Gray box end-to-end testing and automation framework for mobile apps

Home Page:https://wix.github.io/Detox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPAWN_CMD increase timeout

destbg opened this issue · comments

Description

Hello, I am having a trouble with running detox on a build server. From what I am seeing, the command

17:09:14.199 detox[10764] i child-process:SPAWN_CMD C:\Users\aispp\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk
17:09:59.224 detox[10764] i child-process:SPAWN_END C:\Users\aispp\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk terminated with SIGTERM
17:09:59.340 detox[10764] i child-process:SPAWN_TRY_FAIL

is failing and retrying until it fails again. When I run the program by hand, it passes, it just takes quite a long time for it to do so. I was thinking it might be failing because of a timeout, so is there any way to increase the timeout of that command?

Here are full the logs. Unfortunately I can't provide a repo too

C:\repo>detox test -c ci --loglevel trace
17:08:50.666 detox[10928] B lifecycle node_modules\detox\local-cli\cli.js test -c ci --loglevel trace
  data: {
    "id": "621b555b-004e-0191-3f52-a5dabc2a5f00",
    "detoxConfig": {
      "configurationName": "ci",
      "apps": {
        "default": {
          "type": "android.apk",
          "binaryPath": "android/app/build/outputs/apk/e2e/release/app-e2e-release.apk",
          "build": "cd android && gradlew assembleE2eRelease assembleAndroidTest -DtestBuildType=release"
        }
      },
      "artifacts": {
        "rootDir": "artifacts\\ci.2024-06-14 14-08-50Z",
        "plugins": {
          "log": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "screenshot": {
            "enabled": true,
            "shouldTakeAutomaticSnapshots": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "video": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "instruments": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "uiHierarchy": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          }
        }
      },
      "behavior": {
        "init": {
          "keepLockFile": false,
          "reinstallApp": true,
          "exposeGlobals": true
        },
        "cleanup": {
          "shutdownDevice": false
        },
        "launchApp": "auto"
      },
      "cli": {
        "configuration": "ci",
        "loglevel": "trace",
        "start": true
      },
      "device": {
        "type": "android.emulator",
        "device": {
          "avdName": "Mobile_Device"
        }
      },
      "logger": {
        "level": "trace",
        "overrideConsole": true,
        "options": {
          "showLoggerName": true,
          "showPid": true,
          "showLevel": false,
          "showMetadata": false,
          "basepath": "C:\\repo\\node_modules\\detox\\src",
          "prefixers": {},
          "stringifiers": {}
        }
      },
      "testRunner": {
        "retries": 0,
        "forwardEnv": false,
        "detached": false,
        "bail": false,
        "jest": {
          "setupTimeout": 120000,
          "teardownTimeout": 30000,
          "retryAfterCircusRetries": false,
          "reportWorkerAssign": true
        },
        "args": {
          "$0": "jest",
          "_": [],
          "config": "e2e/jest.config.js",
          "--": []
        }
      },
      "session": {
        "autoStart": true,
        "debugSynchronization": 10000
      }
    },
    "detoxIPCServer": "primary-10928",
    "testResults": [],
    "testSessionIndex": 0,
    "workersCount": 0
  }
17:08:50.816 detox[10928] i ipc Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-10928
17:08:50.820 detox[10928] i ipc starting server on  /tmp/detox.primary-10928
17:08:50.823 detox[10928] i ipc starting TLS server false
17:08:50.828 detox[10928] i ipc starting server as Unix || Windows Socket
17:08:51.037 detox[10928] i ws-server Detox server listening on localhost:59525...
17:08:51.059 detox[10928] i lifecycle Serialized the session state at: C:\Users\admin\AppData\Local\Temp\621b555b-004e-0191-3f52-a5dabc2a5f00.detox.json
17:08:51.069 detox[10928] B lifecycle jest --config e2e/jest.config.js
Determining test suites to run...17:08:56.594 detox[10764] i ipc Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id
17:08:56.607 detox[10764] i ipc requested connection to  primary-10928 /tmp/detox.primary-10928
17:08:56.613 detox[10764] i ipc Connecting client on Unix Socket : /tmp/detox.primary-10928
17:08:56.622 detox[10764] i ipc retrying reset
17:08:56.622 detox[10928] i ipc ## socket connection to server detected ##
17:08:56.631 detox[10764] i ipc dispatching event to  primary-10928 /tmp/detox.primary-10928  :  registerContext , { id: 'secondary-10764' }
17:08:56.640 detox[10928] i ipc received event of :  registerContext { id: 'secondary-10764' }
17:08:56.643 detox[10928] i ipc dispatching event to socket  :  registerContextDone {
  testResults: [],
  testSessionIndex: 0,
  unsafe_earlyTeardown: undefined
}
17:08:56.649 detox[10764] i ipc ## received events ##
17:08:56.654 detox[10764] i ipc detected event registerContextDone { testResults: [], testSessionIndex: 0 }
17:08:57.418 detox[10764] B lifecycle e2e\suites\pk\activity.test.ts
17:08:57.517 detox[10764] B lifecycle set up environment
17:08:57.531 detox[10764] i ipc dispatching event to  primary-10928 /tmp/detox.primary-10928  :  registerWorker , { workerId: 'w1' }
17:08:57.540 detox[10928] i ipc received event of :  registerWorker { workerId: 'w1' }

 RUNS  e2e/suites/pk/activity.test.ts
17:08:57.551 detox[10764] i ipc ## received events ##socket  :  registerWorkerDone { workersCount: 1 }
17:08:57.564 detox[10764] i ipc detected event registerWorkerDone { workersCount: 1 }
17:08:58.454 detox[10764] i ipc ## received events ##
17:08:58.458 detox[10764] i ipc detected event sessionStateUpdate { workersCount: 1 }

17:08:58.591 detox[10764] i ws-client opened web socket to: ws://localhost:59525
17:08:58.601 detox[10764] i ws-client send message
  data: {"type":"login","params":{"sessionId":"19036e66-0039-26de-2fff-a0bbd3e0d7c8","role":"tester"},"messageId":0}

 RUNS  e2e/suites/pk/activity.test.ts
17:08:58.610 detox[10928] i ws-server@59531 get
  data: {"type":"login","params":{"sessionId":"19036e66-0039-26de-2fff-a0bbd3e0d7c8","role":"tester"},"messageId":0}
17:08:58.612 detox[10928] i ws-server created session 19036e66-0039-26de-2fff-a0bbd3e0d7c8
17:08:58.615 detox[10928] i ws-server@59531 send
  data: {
    "type": "loginSuccess",
    "params": {
      "testerConnected": true,
      "appConnected": false
    },
    "messageId": 0
17:08:58.623 detox[10764] i ws-client get message
  data: {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0}

17:08:58.995 detox[10764] i ipc dispatching event to  primary-10928 /tmp/detox.primary-10928  :  allocateDevice , {
  deviceConfig: { type: 'android.emulator', device: { avdName: 'Mobile_Device' } }
}

 RUNS  e2e/suites/pk/activity.test.ts
17:08:59.003 detox[10928] i ipc received event of :  allocateDevice {
  deviceConfig: { type: 'android.emulator', device: { avdName: 'Mobile_Device' } }
}
17:08:59.252 detox[10928] B device init
  args: ()
17:08:59.270 detox[10928] E device init
17:08:59.271 detox[10928] B device@0 allocate
  data: {
    "type": "android.emulator",
    "device": {
      "avdName": "Mobile_Device"
    }
  }
 RUNS  e2e/suites/pk/activity.test.ts
17:08:59.886 detox[10928] i child-process:EXEC_SUCCESS INFO    | Storing crashdata in: C:\Users\admin\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 10940
Mobile_Device

 RUNS  e2e/suites/pk/activity.test.ts
17:09:01.491 detox[10928] i child-process:EXEC_SUCCESS INFO    | Storing crashdata in: C:\Users\admin\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 6736
INFO    | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
Android emulator version 34.2.15.0 (build_id 11906825) (CL:N/A)
Copyright (C) 2006-2024 The Android Open Source Project and many others.
This program is a derivative of the QEMU CPU emulator (www.qemu.org).

  This software is licensed under the terms of the GNU General Public
  License version 2, as published by the Free Software Foundation, and
  may be copied, distributed, and modified under those terms.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

INFO    | Storing crashdata in: C:\Users\admin\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 10576
INFO    | Android emulator version 34.2.15.0 (build_id 11906825) (CL:N/A)

17:09:01.497 detox[10928] i device Detected emulator binary version { major: 34, minor: 2, patch: 15, toString: [Function: toString] }
 RUNS  e2e/suites/pk/activity.test.ts
17:09:01.941 detox[10928] i child-process:EXEC_SUCCESS List of devices attached
emulator-5554   device


17:09:01.946 detox[10928] i device:TELNET_CONNECTING port: 5554, host: localhost
17:09:02.162 detox[10928] i device:DEVICE_LOOKUP Found a matching & free device emulator-5554
17:09:02.173 detox[10928] i device settled on emulator-5554 (Mobile_Device)
  data: {
    "id": "emulator-5554",
    "adbName": "emulator-5554",
    "name": "emulator-5554 (Mobile_Device)"
  }
17:09:02.174 detox[10928] E device@0 allocate
17:09:02.177 detox[10928] B device@0 post-allocate: emulator-5554
  data: {
    "id": "emulator-5554",
    "adbName": "emulator-5554",
    "name": "emulator-5554 (Mobile_Device)"
  }
 RUNS  e2e/suites/pk/activity.test.ts
17:09:02.622 detox[10928] i child-process:EXEC_SUCCESS 1

17:09:02.624 detox[10928] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 shell "getprop ro.build.version.sdk"
17:09:03.111 detox[10928] i child-process:EXEC_SUCCESS 29

 RUNS  e2e/suites/pk/activity.test.ts
17:09:03.616 detox[10928] i child-process:EXEC_SUCCESS
17:09:03.619 detox[10928] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 shell "settings put global window_animation_scale 0"
17:09:04.136 detox[10928] i child-process:EXEC_SUCCESS
 RUNS  e2e/suites/pk/activity.test.ts
17:09:04.705 detox[10928] i child-process:EXEC_SUCCESS
17:09:04.707 detox[10928] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""
17:09:05.196 detox[10928] i child-process:EXEC_SUCCESS   mWakefulness=Awake
  mWakefulnessChanging=false
  mWakeLockSummary=0x1
  mUserActivitySummary=0x1
  mWakeUpWhenPluggedOrUnpluggedConfig=false
  mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false
  mDreamsBatteryLevelMinimumWhenPoweredConfig=-1
  mDreamsBatteryLevelMinimumWhenNotPoweredConfig=15
  mScreenBrightnessOverrideFromWindowManager=-1
  mUserActivityTimeoutOverrideFromWindowManager=-1
  mUserInactiveOverrideFromWindowManager=false

17:09:05.200 detox[10928] E device@0 post-allocate: emulator-5554
17:09:05.219 detox[10928] i ipc dispatching event to socket  :  allocateDeviceDone {
  deviceCookie: {
    id: 'emulator-5554',
    adbName: 'emulator-5554',
    name: 'emulator-5554 (Mobile_Device)'
17:09:05.224 detox[10764] i ipc ## received events ##
17:09:05.228 detox[10764] i ipc detected event allocateDeviceDone {
  deviceCookie: {
    id: 'emulator-5554',
    adbName: 'emulator-5554',
    name: 'emulator-5554 (Mobile_Device)'
  }
}
17:09:05.453 detox[10764] B artifacts-manager onBootDevice
  args: ({"deviceId":"emulator-5554"})
17:09:05.465 detox[10764] E artifacts-manager onBootDevice
17:09:05.472 detox[10764] B device installUtilBinaries
  args: ()
17:09:05.482 detox[10764] E device installUtilBinaries
17:09:05.486 detox[10764] B device selectApp
  args: ("default")
17:09:05.507 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\build-tools\34.0.0\aapt.EXE" dump badging "C:\repo\android\app\build\outputs\apk\e2e\release\app-e2e-release.apk"
17:09:05.821 detox[10764] i child-process:EXEC_SUCCESS package: name='com.REDACTED' versionCode='16' versionName='2.0.0 E2E' platformBuildVersionName='14' platformBuildVersionCode='34' compileSdkVersion='34' compileSdkVersionCodename='14'
sdkVersion:'24'
targetSdkVersion:'34'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'
uses-permission: name='android.permission.VIBRATE'
uses-permission: name='android.permission.REQUEST_INSTALL_PACKAGES'
uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
uses-permission: name='android.permission.ACCESS_COARSE_LOCATION'
uses-permission: name='android.permission.DOWNLOAD_WITHOUT_NOTIFICATION'
uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
uses-permission: name='android.permission.READ_PHONE_STATE'
uses-permission: name='android.permission.BLUETOOTH'
uses-permission: name='android.permission.BLUETOOTH_ADMIN'
uses-permission: name='android.permission.ACCESS_WIFI_STATE'
uses-permission: name='android.permission.WAKE_LOCK'
uses-permission: name='android.permission.BLUETOOTH_CONNECT'
uses-permission: name='com.google.android.c2dm.permission.RECEIVE'
uses-permission: name='com.REDACTED.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION'
uses-permission: name='com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE'
application-label:'REDACTED'
application-label-af:'REDACTED'
application-label-am:'REDACTED'
application-label-ar:'REDACTED'
application-label-as:'REDACTED'
application-label-az:'REDACTED'
application-label-be:'REDACTED'
application-label-bg:'REDACTED'
application-label-bn:'REDACTED'
application-label-bs:'REDACTED'
application-label-ca:'REDACTED'
application-label-cs:'REDACTED'
application-label-da:'REDACTED'
application-label-de:'REDACTED'
application-label-el:'REDACTED'
application-label-en-AU:'REDACTED'
application-label-en-CA:'REDACTED'
application-label-en-GB:'REDACTED'
application-label-en-IN:'REDACTED'
application-label-en-XC:'REDACTED'
application-label-es:'REDACTED'
application-label-es-419:'REDACTED'
application-label-es-ES:'REDACTED'
application-label-es-US:'REDACTED'
application-label-et:'REDACTED'
application-label-eu:'REDACTED'
application-label-fa:'REDACTED'
application-label-fi:'REDACTED'
application-label-fr:'REDACTED'
application-label-fr-CA:'REDACTED'
application-label-gl:'REDACTED'
application-label-gu:'REDACTED'
application-label-hi:'REDACTED'
application-label-hr:'REDACTED'
application-label-hu:'REDACTED'
application-label-hy:'REDACTED'
application-label-in:'REDACTED'
application-label-is:'REDACTED'
application-label-it:'REDACTED'
application-label-iw:'REDACTED'
application-label-ja:'REDACTED'
application-label-ka:'REDACTED'
application-label-kk:'REDACTED'
application-label-km:'REDACTED'
application-label-kn:'REDACTED'
application-label-ko:'REDACTED'
application-label-ky:'REDACTED'
application-label-lo:'REDACTED'
application-label-lt:'REDACTED'
application-label-lv:'REDACTED'
application-label-mk:'REDACTED'
application-label-ml:'REDACTED'
application-label-mn:'REDACTED'
application-label-mr:'REDACTED'
application-label-ms:'REDACTED'
application-label-my:'REDACTED'
application-label-nb:'REDACTED'
application-label-ne:'REDACTED'
application-label-nl:'REDACTED'
application-label-or:'REDACTED'
application-label-pa:'REDACTED'
application-label-pl:'REDACTED'
application-label-pt:'REDACTED'
application-label-pt-BR:'REDACTED'
application-label-pt-PT:'REDACTED'
application-label-ro:'REDACTED'
application-label-ru:'REDACTED'
application-label-si:'REDACTED'
application-label-sk:'REDACTED'
application-label-sl:'REDACTED'
application-label-sq:'REDACTED'
application-label-sr:'REDACTED'
application-label-sr-Latn:'REDACTED'
application-label-sv:'REDACTED'
application-label-sw:'REDACTED'
application-label-ta:'REDACTED'
application-label-te:'REDACTED'
application-label-th:'REDACTED'
application-label-tl:'REDACTED'
application-label-tr:'REDACTED'
application-label-uk:'REDACTED'
application-label-ur:'REDACTED'
application-label-uz:'REDACTED'
application-label-vi:'REDACTED'
application-label-zh-CN:'REDACTED'
application-label-zh-HK:'REDACTED'
application-label-zh-TW:'REDACTED'
application-label-zu:'REDACTED'
application-icon-120:'res/BW.xml'
application-icon-160:'res/BW.xml'
application-icon-240:'res/BW.xml'
application-icon-320:'res/BW.xml'
application-icon-480:'res/BW.xml'
application-icon-640:'res/BW.xml'
application-icon-65534:'res/BW.xml'
application: label='REDACTED' icon='res/BW.xml'
launchable-activity: name='com.REDACTED.MainActivity'  label='REDACTED' icon=''
feature-group: label=''
  uses-feature: name='android.hardware.bluetooth'
  uses-implied-feature: name='android.hardware.bluetooth' reason='requested android.permission.BLUETOOTH permission, requested android.permission.BLUETOOTH_ADMIN permission, and targetSdkVersion > 4'
  uses-feature: name='android.hardware.faketouch'
  uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
  uses-feature: name='android.hardware.location'
  uses-implied-feature: name='android.hardware.location' reason='requested android.permission.ACCESS_COARSE_LOCATION permission, and requested android.permission.ACCESS_FINE_LOCATION permission'
  uses-feature: name='android.hardware.wifi'
  uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission'
main
other-activities
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-419' 'es-ES' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu'
densities: '120' '160' '240' '320' '480' '640' '65534'
native-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64'

17:09:05.872 detox[10764] E device selectApp
17:09:05.877 detox[10764] B device uninstallApp
  args: ()
17:09:05.880 detox[10764] B artifacts-manager onBeforeUninstallApp
  args: ({"deviceId":"emulator-5554","bundleId":"com.REDACTED"})
17:09:05.883 detox[10764] E artifacts-manager onBeforeUninstallApp
17:09:05.894 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 shell "pm list packages com.REDACTED"
17:09:06.473 detox[10764] i child-process:EXEC_SUCCESS package:com.REDACTED

17:09:06.479 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 uninstall com.REDACTED
17:09:07.661 detox[10764] i child-process:EXEC_SUCCESS Success

17:09:07.666 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 shell "pm list packages com.REDACTED.test"
17:09:08.409 detox[10764] i child-process:EXEC_SUCCESS
17:09:08.413 detox[10764] E device uninstallApp
17:09:08.420 detox[10764] B device selectApp
  args: ("default")
17:09:08.431 detox[10764] B device terminateApp
  args: ()
17:09:08.441 detox[10764] B artifacts-manager onBeforeTerminateApp
  args: ({"deviceId":"emulator-5554","bundleId":"com.REDACTED"})
17:09:08.444 detox[10764] E artifacts-manager onBeforeTerminateApp
17:09:08.451 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 shell "am force-stop com.REDACTED"
17:09:09.235 detox[10764] i child-process:EXEC_SUCCESS
17:09:09.239 detox[10764] B artifacts-manager onTerminateApp
  args: ({"deviceId":"emulator-5554","bundleId":"com.REDACTED"})
17:09:09.243 detox[10764] E artifacts-manager onTerminateApp
17:09:09.246 detox[10764] E device terminateApp
17:09:09.250 detox[10764] E device selectApp
17:09:09.254 detox[10764] B device installApp
  args: ()
17:09:09.262 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\build-tools\34.0.0\aapt.EXE" dump xmlstrings "C:\repo\android\app\build\outputs\apk\e2e\release\app-e2e-release.apk" AndroidManifest.xml
17:09:09.557 detox[10764] i child-process:EXEC_SUCCESS String pool of 93 unique UTF-16 non-sorted strings, 93 entries and 0 styles using 5368 bytes:
String #0: theme
String #1: label
String #2: icon
String #3: name
String #4: protectionLevel
String #5: exported
String #6: authorities
String #7: grantUriPermissions
String #8: launchMode
String #9: configChanges
String #10: value
String #11: resource
String #12: scheme
String #13: minSdkVersion
String #14: versionCode
String #15: versionName
String #16: windowSoftInputMode
String #17: targetSdkVersion
String #18: allowBackup
String #19: largeHeap
String #20: extractNativeLibs
String #21: usesCleartextTraffic
String #22: networkSecurityConfig
String #23: roundIcon
String #24: compileSdkVersion
String #25: compileSdkVersionCodename
String #26: appComponentFactory
String #27: 14
String #28: 2.0.0 E2E
String #29: action
String #30: activity
String #31: android
String #32: android.intent.action.DOWNLOAD_COMPLETE
String #33: android.intent.action.MAIN
String #34: android.intent.action.VIEW
String #35: android.intent.category.BROWSABLE
String #36: android.intent.category.DEFAULT
String #37: android.intent.category.LAUNCHER
String #38: android.permission.ACCESS_COARSE_LOCATION
String #39: android.permission.ACCESS_FINE_LOCATION
String #40: android.permission.ACCESS_NETWORK_STATE
String #41: android.permission.ACCESS_WIFI_STATE
String #42: android.permission.BLUETOOTH
String #43: android.permission.BLUETOOTH_ADMIN
String #44: android.permission.BLUETOOTH_CONNECT
String #45: android.permission.DOWNLOAD_WITHOUT_NOTIFICATION
String #46: android.permission.INTERNET
String #47: android.permission.READ_EXTERNAL_STORAGE
String #48: android.permission.READ_PHONE_STATE
String #49: android.permission.REQUEST_INSTALL_PACKAGES
String #50: android.permission.SYSTEM_ALERT_WINDOW
String #51: android.permission.VIBRATE
String #52: android.permission.WAKE_LOCK
String #53: android.permission.WRITE_EXTERNAL_STORAGE
String #54: android.support.FILE_PROVIDER_PATHS
String #55: androidx.core.app.CoreComponentFactory
String #56: androidx.emoji2.text.EmojiCompatInitializer
String #57: androidx.lifecycle.ProcessLifecycleInitializer
String #58: androidx.startup
String #59: androidx.startup.InitializationProvider
String #60: application
String #61: category
String #62: com.ReactNativeBlobUtil.Utils.FileProvider
String #63: com.facebook.soloader.enabled
String #64: com.google.android.c2dm.permission.RECEIVE
String #65: com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE
String #66: com.google.android.gms.common.api.GoogleApiActivity
String #67: com.google.android.gms.version
String #68: com.musala.eisoukr.mobile
String #69: com.reactnativecommunity.webview.RNCWebViewFileProvider
String #70: com.REDACTED
String #71: com.REDACTED.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
String #72: com.REDACTED.MainActivity
String #73: com.REDACTED.MainApplication
String #74: com.REDACTED.androidx-startup
String #75: com.REDACTED.fileprovider
String #76: com.REDACTED.provider
String #77: com.REDACTED.utils.file.TLFileProvider
String #78: data
String #79: http://schemas.android.com/apk/res/android
String #80: https
String #81: intent
String #82: intent-filter
String #83: manifest
String #84: meta-data
String #85: package
String #86: permission
String #87: platformBuildVersionCode
String #88: platformBuildVersionName
String #89: provider
String #90: queries
String #91: uses-permission
String #92: uses-sdk

17:09:09.572 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\build-tools\34.0.0\aapt.EXE" dump xmlstrings "C:\repo\android\app\build\outputs\apk\androidTest\e2e\release\app-e2e-release-androidTest.apk" AndroidManifest.xml
17:09:09.846 detox[10764] i child-process:EXEC_SUCCESS String pool of 42 unique UTF-16 non-sorted strings, 42 entries and 0 styles using 2196 bytes:
String #0: theme
String #1: label
String #2: name
String #3: exported
String #4: priority
String #5: targetPackage
String #6: handleProfiling
String #7: functionalTest
String #8: minSdkVersion
String #9: targetSdkVersion
String #10: extractNativeLibs
String #11: compileSdkVersion
String #12: compileSdkVersionCodename
String #13: 14
String #14: Tests for com.REDACTED
String #15: activity
String #16: android
String #17: android.intent.category.LAUNCHER
String #18: android.permission.REORDER_TASKS
String #19: android.test.runner
String #20: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity
String #21: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity
String #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity
String #23: androidx.test.orchestrator
String #24: androidx.test.runner.AndroidJUnitRunner
String #25: androidx.test.services
String #26: application
String #27: category
String #28: com.google.android.apps.common.testing.services
String #29: com.REDACTED
String #30: com.REDACTED.test
String #31: http://schemas.android.com/apk/res/android
String #32: instrumentation
String #33: intent-filter
String #34: manifest
String #35: package
String #36: platformBuildVersionCode
String #37: platformBuildVersionName
String #38: queries
String #39: uses-library
String #40: uses-permission
String #41: uses-sdk

17:09:09.857 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 shell "rm -fr /data/local/tmp/detox"
17:09:10.374 detox[10764] i child-process:EXEC_SUCCESS
17:09:10.378 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 shell "mkdir -p /data/local/tmp/detox"
17:09:10.861 detox[10764] i child-process:EXEC_SUCCESS
17:09:10.865 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 push "C:\repo\android\app\build\outputs\apk\e2e\release\app-e2e-release.apk" "/data/local/tmp/detox/Application.apk"
17:09:13.478 detox[10764] i child-process:EXEC_SUCCESS C:\repo\android\app\build\outputs\apk\e2e\release\app-e2e-release.apk: 1 file pushed, 0 skipped. 54.7 MB/s (114844906 bytes in 2.001s)

17:09:13.485 detox[10764] i child-process:EXEC_CMD "C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-5554 shell "getprop ro.build.version.sdk"
17:09:14.113 detox[10764] i child-process:EXEC_SUCCESS 29

17:09:14.199 detox[10764] i child-process:SPAWN_CMD C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk
17:09:59.224 detox[10764] i child-process:SPAWN_END C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk terminated with SIGTERM
17:09:59.340 detox[10764] i child-process:SPAWN_TRY_FAIL
17:09:59.397 detox[10764] i child-process:SPAWN_CMD (Retry #1) C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk
17:10:48.322 detox[10764] i child-process:SPAWN_END C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk terminated with SIGTERM
17:10:48.536 detox[10764] i child-process:SPAWN_TRY_FAIL
17:10:48.588 detox[10764] i child-process:SPAWN_CMD (Retry #2) C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk
17:11:33.606 detox[10764] i child-process:SPAWN_END C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk terminated with SIGTERM
17:11:33.926 detox[10764] i child-process:SPAWN_TRY_FAIL
17:11:33.977 detox[10764] i child-process:SPAWN_CMD (Retry #3) C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk
17:12:18.984 detox[10764] i child-process:SPAWN_END C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk terminated with SIGTERM
17:12:18.995 detox[10764] E device installApp
  error: ChildProcessError: `C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null
      at ChildProcess.<anonymous> (C:\repo\node_modules\child-process-promise\lib\index.js:132:23)
      at ChildProcess.emit (node:events:519:28)
      at ChildProcess.cp.emit (C:\repo\node_modules\child-process-promise\node_modules\cross-spawn\lib\enoent.js:40:29)
      at maybeClose (node:internal/child_process:1105:16)
      at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)
17:12:19.010 detox[10764] E lifecycle set up environment
  error: ChildProcessError: `C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null
      at ChildProcess.<anonymous> (C:\repo\node_modules\child-process-promise\lib\index.js:132:23)
      at ChildProcess.emit (node:events:519:28)
      at ChildProcess.cp.emit (C:\repo\node_modules\child-process-promise\node_modules\cross-spawn\lib\enoent.js:40:29)
      at maybeClose (node:internal/child_process:1105:16)
      at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)
17:12:19.031 detox[10764] B lifecycle tear down environment
17:12:19.038 detox[10764] B artifacts-manager onBeforeCleanup
  args: ()
17:12:19.048 detox[10764] E artifacts-manager onBeforeCleanup

17:12:19.083 detox[10928] E ws-server@59531 connection :59525<->:59531
17:12:19.074 detox[10764] i ipc dispatching event to  primary-10928 /tmp/detox.primary-10928  :  deallocateDevice , {
  deviceCookie: {
    id: 'emulator-5554',
    adbName: 'emulator-5554',
    name: 'emulator-5554 (Mobile_Device)'
  }
}

 RUNS  e2e/suites/pk/activity.test.ts
17:12:19.101 detox[10928] i ipc received event of :  deallocateDevice {
  deviceCookie: {
    id: 'emulator-5554',
    adbName: 'emulator-5554',
    name: 'emulator-5554 (Mobile_Device)'
  }
}
17:12:19.105 detox[10928] B device@0 free: emulator-5554
  data: {}
17:12:19.175 detox[10764] i ipc ## received events ##554
17:12:19.182 detox[10764] i ipc detected event deallocateDeviceDone {}
17:12:19.191 detox[10764] E lifecycle tear down environment
17:12:19.195 detox[10764] E lifecycle e2e\suites\pk\activity.test.ts
 FAIL  e2e/suites/pk/activity.test.ts
  ● Test suite failed to run

    ChildProcessError: `C:\Users\admin\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null

      at ChildProcess.<anonymous> (node_modules/child-process-promise/lib/index.js:132:23)
      at ChildProcess.cp.emit (node_modules/child-process-promise/node_modules/cross-spawn/lib/enoent.js:40:29)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        202.426 s
Ran all test suites.
17:12:19.328 detox[10764] i ipc dispatching event to  primary-10928 /tmp/detox.primary-10928  :  reportTestResults , {
  testResults: [
    {
      success: false,
      testFilePath: 'C:\\repo\\e2e\\suites\\pk\\activity.test.ts',
      testExecError: {
        name: 'ChildProcessError',
        code: null,
        childProcess: {
          _events: {},
          _eventsCount: 2,
          _maxListeners: undefined,
          _closesNeeded: 3,
          _closesGot: 3,
          connected: false,
          signalCode: 'SIGTERM',
          exitCode: null,
          killed: true,
          spawnfile: 'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
          _handle: null,
          spawnargs: [
            'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
            '-s',
            'emulator-5554',
            'shell',
            'pm',
            'install',
            '-r',
            '-g',
            '-t',
            '/data/local/tmp/detox/Application.apk'
          ],
          pid: 3564,
          stdin: null,
          stdout: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _maxListeners: undefined,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stderr: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _maxListeners: undefined,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stdio: [ null, [Object], [Object] ]
        },
        stdout: '',
        stderr: '',
        message: '`C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null',
        stack: 'ChildProcessError: `C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null\n' +
          '    at ChildProcess.<anonymous> (C:\\repo\\node_modules\\child-process-promise\\lib\\index.js:132:23)\n' +
          '    at ChildProcess.emit (node:events:519:28)\n' +
          '    at ChildProcess.cp.emit (C:\\repo\\node_modules\\child-process-promise\\node_modules\\cross-spawn\\lib\\enoent.js:40:29)\n' +
          '    at maybeClose (node:internal/child_process:1105:16)\n' +
          '    at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)'
      },
      isPermanentFailure: false
    }
  ]
}
17:12:19.371 detox[10928] i ipc received event of :  reportTestResults {
  testResults: [
    {
      success: false,
      testFilePath: 'C:\\repo\\e2e\\suites\\pk\\activity.test.ts',
      testExecError: {
        name: 'ChildProcessError',
        code: null,
        childProcess: {
          _events: {},
          _eventsCount: 2,
          _closesNeeded: 3,
          _closesGot: 3,
          connected: false,
          signalCode: 'SIGTERM',
          exitCode: null,
          killed: true,
          spawnfile: 'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
          _handle: null,
          spawnargs: [
            'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
            '-s',
            'emulator-5554',
            'shell',
            'pm',
            'install',
            '-r',
            '-g',
            '-t',
            '/data/local/tmp/detox/Application.apk'
          ],
          pid: 3564,
          stdin: null,
          stdout: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stderr: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stdio: [ null, [Object], [Object] ]
        },
        stdout: '',
        stderr: '',
        message: '`C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null',
        stack: 'ChildProcessError: `C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null\n' +
          '    at ChildProcess.<anonymous> (C:\\repo\\node_modules\\child-process-promise\\lib\\index.js:132:23)\n' +
          '    at ChildProcess.emit (node:events:519:28)\n' +
          '    at ChildProcess.cp.emit (C:\\repo\\node_modules\\child-process-promise\\node_modules\\cross-spawn\\lib\\enoent.js:40:29)\n' +
          '    at maybeClose (node:internal/child_process:1105:16)\n' +
          '    at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)'
      },
      isPermanentFailure: false
    }
  ]
}
17:12:19.430 detox[10928] i ipc dispatching event to socket  :  reportTestResultsDone {
  testResults: [
    {
      success: false,
      testFilePath: 'C:\\repo\\e2e\\suites\\pk\\activity.test.ts',
      testExecError: {
        name: 'ChildProcessError',
        code: null,
        childProcess: {
          _events: {},
          _eventsCount: 2,
          _closesNeeded: 3,
          _closesGot: 3,
          connected: false,
          signalCode: 'SIGTERM',
          exitCode: null,
          killed: true,
          spawnfile: 'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
          _handle: null,
          spawnargs: [
            'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
            '-s',
            'emulator-5554',
            'shell',
            'pm',
            'install',
            '-r',
            '-g',
            '-t',
            '/data/local/tmp/detox/Application.apk'
          ],
          pid: 3564,
          stdin: null,
          stdout: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stderr: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stdio: [ null, [Object], [Object] ]
        },
        stdout: '',
        stderr: '',
        message: '`C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null',
        stack: 'ChildProcessError: `C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null\n' +
          '    at ChildProcess.<anonymous> (C:\\repo\\node_modules\\child-process-promise\\lib\\index.js:132:23)\n' +
          '    at ChildProcess.emit (node:events:519:28)\n' +
          '    at ChildProcess.cp.emit (C:\\repo\\node_modules\\child-process-promise\\node_modules\\cross-spawn\\lib\\enoent.js:40:29)\n' +
          '    at maybeClose (node:internal/child_process:1105:16)\n' +
          '    at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)'
      },
      isPermanentFailure: false
    }
  ]
}
17:12:19.491 detox[10764] i ipc ## received events ##
17:12:19.492 detox[10928] i ipc broadcasting event to all known sockets listening to  \\.\pipe\tmp-detox.primary-10928  :   sessionStateUpdate {
  testResults: [
    {
      success: false,
      testFilePath: 'C:\\repo\\e2e\\suites\\pk\\activity.test.ts',
      testExecError: {
        name: 'ChildProcessError',
        code: null,
        childProcess: {
          _events: {},
          _eventsCount: 2,
          _closesNeeded: 3,
          _closesGot: 3,
          connected: false,
          signalCode: 'SIGTERM',
          exitCode: null,
          killed: true,
          spawnfile: 'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
          _handle: null,
          spawnargs: [
            'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
            '-s',
            'emulator-5554',
            'shell',
            'pm',
            'install',
            '-r',
            '-g',
            '-t',
            '/data/local/tmp/detox/Application.apk'
          ],
          pid: 3564,
          stdin: null,
          stdout: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stderr: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stdio: [ null, [Object], [Object] ]
        },
        stdout: '',
        stderr: '',
        message: '`C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null',
        stack: 'ChildProcessError: `C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null\n' +
          '    at ChildProcess.<anonymous> (C:\\repo\\node_modules\\child-process-promise\\lib\\index.js:132:23)\n' +
          '    at ChildProcess.emit (node:events:519:28)\n' +
          '    at ChildProcess.cp.emit (C:\\repo\\node_modules\\child-process-promise\\node_modules\\cross-spawn\\lib\\enoent.js:40:29)\n' +
          '    at maybeClose (node:internal/child_process:1105:16)\n' +
          '    at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)'
      },
      isPermanentFailure: false
    }
  ]
}
17:12:19.536 detox[10764] i ipc detected event reportTestResultsDone {
  testResults: [
    {
      success: false,
      testFilePath: 'C:\\repo\\e2e\\suites\\pk\\activity.test.ts',
      testExecError: {
        name: 'ChildProcessError',
        code: null,
        childProcess: {
          _events: {},
          _eventsCount: 2,
          _closesNeeded: 3,
          _closesGot: 3,
          connected: false,
          signalCode: 'SIGTERM',
          exitCode: null,
          killed: true,
          spawnfile: 'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
          _handle: null,
          spawnargs: [
            'C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE',
            '-s',
            'emulator-5554',
            'shell',
            'pm',
            'install',
            '-r',
            '-g',
            '-t',
            '/data/local/tmp/detox/Application.apk'
          ],
          pid: 3564,
          stdin: null,
          stdout: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stderr: {
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: null,
            _closeAfterHandlingError: false,
            _events: [Object],
            _readableState: [Object],
            _writableState: [Object],
            allowHalfOpen: false,
            _eventsCount: 3,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null
          },
          stdio: [ null, [Object], [Object] ]
        },
        stdout: '',
        stderr: '',
        message: '`C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null',
        stack: 'ChildProcessError: `C:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.EXE -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk` failed with code null\n' +
          '    at ChildProcess.<anonymous> (C:\\repo\\node_modules\\child-process-promise\\lib\\index.js:132:23)\n' +
          '    at ChildProcess.emit (node:events:519:28)\n' +
          '    at ChildProcess.cp.emit (C:\\repo\\node_modules\\child-process-promise\\node_modules\\cross-spawn\\lib\\enoent.js:40:29)\n' +
          '    at maybeClose (node:internal/child_process:1105:16)\n' +
          '    at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)'
      },
      isPermanentFailure: false
    }
  ]
}
17:12:19.686 detox[10764] i ipc connection closed primary-10928 /tmp/detox.primary-10928 0 tries remaining of 0
17:12:19.686 detox[10928] i ipc socket disconnected secondary-10764
17:12:19.690 detox[10764] i ipc secondary-10764 exceeded connection rety amount of  or stopRetrying flag set.
17:12:19.777 detox[10928] E lifecycle Command failed with exit code = 1:
jest --config e2e/jest.config.js
17:12:19.783 detox[10928] B device cleanup
  args: ()
17:12:19.808 detox[10928] E device cleanup
17:12:19.814 detox[10928] i ws-server Detox server has been closed gracefully
17:12:19.827 detox[10928] E lifecycle node_modules\detox\local-cli\cli.js test -c ci --loglevel trace

Your environment

Detox version: 20.22.2
React Native version: 0.74.2
Node version: 20.14.0
Device model: 1080x1920 hdpi 10 in Android 10 x86
OS: Windows 10
Test-runner (select one): jest

I think I can answer my own question, in detox/src/devices/common/drivers/android/exec/ADB.js on line 11, there is this:
const INSTALL_TIMEOUT = 45000
So what I am really asking here is if we could have a way to change it from the .detoxrc.js file 🙏

I've made it so with a script on the build server it will change the timeout before it compiles the app. Still would like to see an official way of changing this, but until there is one, I at least have something that works