Login Automation script which is running on local environment fails on AWS device farm

Kindly provide us the solutions for the issue described below:

When i execute script on device form getting error as given below

LoginApp failed: User not able to Login successfully expected [true] but found [false]

The script is working correctly on local environment. In video script flow, It shows that It is not able to set value to Text-field.

We also getting error in device logs as given below.

Device
QueryController
Got null root node from accessibility - Retrying…
Device
Error
libEGL
validate_display:255 error 3008 (EGL_BAD_DISPLAY)
Device
Error
QueryController
Got null root node from accessibility - Retrying…
Device
Error
QueryController
Cannot proceed when root node is null. Aborted search
Device
Error
QueryController
Got null root node from accessibility - Retrying…
Device
Error
SELinux
avc: denied { find } for service=batteryproperties scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:healthd_service:s0 tclass=service_manager
Device
Error
QueryController
Got null root node from accessibility - Retrying…
Device
Unable to open asset URL: file:///android_asset/www/fonts/roboto-Regular.ttf
Device
Error
AndroidProtocolHandler
Error
linker
readlink(’/proc/self/fd/26’) failed: Permission denied [fd=26]
Device
warning: unable to get realpath for the library “/vendor/lib/egl/eglsubAndroid.so”. Will use given name.
Device
Error
Surface
Error
linker
readlink(’/proc/self/fd/36’) failed: Permission denied [fd=36]
Device
Error
linker
warning: unable to get realpath for the library “/vendor/lib/egl/eglsubAndroid.so”. Will use given name.
Device
Error
MMApiWSBase
doRequest(): got exception: java.net.UnknownHostException: Unable to resolve host “argo.svcmot.com”: No address associated with hostname
Device
Error
MMApiWSBase
doRequest(): got exception: java.net.UnknownHostException: Unable to resolve host “argo.svcmot.com”: No address associated with hostname
Device
Error
Surface
getSlotFromBufferLocked: unknown buffer: 0xb8aa3b40
Device
Error
ACDB-LOADER
Error: ACDB get adm topology for acdb id = 62, returned = -8
Device
Error
ACDB-LOADER
Error: ACDB audproc returned = -1
Device
Error
ACDB-LOADER
Error: ACDB AudProc vol returned = -1