[AWS Device Farm] - Error when executing on AWS DeviceFarm with Android Device

When i follow katalon’s guide about Interation AWS Devicefarm.
I got some error when executing and fail result
My log:

Feb 22, 2024 5:46:00 AM com.kms.example.aw_ios.utils.ConsoleLogger info
INFO: Execute [sh, -c, /tmp/scratchZHSEwc.scratch/test-packagegFnBri/tmp/.katalon/9.3.0/Katalon_Studio_Engine_Linux_64-9.3.0/katalonc -noSplash  -runMode=console  -projectPath="/tmp/scratchZHSEwc.scratch/test-packagegFnBri/tmp/My_Project"  -retry=0 -testSuitePath="Test Suites/AWS_TestSuite_android" -executionProfile=default -browserType=Remote -reportFolder=/tmp/customer_log_directorya8Kso3 -apiKey=b29e1a55-d0b9-4159-85c0-41740938b172 ] in /tmp/katalon-1773540344794008293

Feb 22, 2024 5:46:03 AM com.kms.example.aw_ios.utils.ConsoleLogger info
INFO: Katalonc:

Feb 22, 2024 5:46:03 AM com.kms.example.aw_ios.utils.ConsoleLogger info
INFO: An error has occurred. See the log file

Feb 22, 2024 5:46:03 AM com.kms.example.aw_ios.utils.ConsoleLogger info
INFO: /tmp/scratchZHSEwc.scratch/test-packagegFnBri/tmp/.katalon/9.3.0/Katalon_Studio_Engine_Linux_64-9.3.0/configuration/1708580762510.log.

Feb 22, 2024 5:46:03 AM com.kms.example.aw_ios.utils.ConsoleLogger info
INFO: Finished executing sh -c /tmp/scratchZHSEwc.scratch/test-packagegFnBri/tmp/.katalon/9.3.0/Katalon_Studio_Engine_Linux_64-9.3.0/katalonc -noSplash  -runMode=console  -projectPath="/tmp/scratchZHSEwc.scratch/test-packagegFnBri/tmp/My_Project"  -retry=0 -testSuitePath="Test Suites/AWS_TestSuite_android" -executionProfile=default -browserType=Remote -reportFolder=/tmp/customer_log_directorya8Kso3 -apiKey=b29e1a55-d0b9-4159-85c0-41740938b172 . Exit code: 13.

E
Time: 59.758
There was 1 failure:
1) test(com.kms.example.aws_ios.test.TestAndroid)
java.lang.AssertionError: Failed to execute Katalon
	at org.junit.Assert.fail(Assert.java:89)
	at com.kms.example.aws_ios.test.TestAndroid.test(TestAndroid.java:93)

FAILURES!!!
Tests run: 1,  Failures: 1
[DEVICEFARM] ########### Entering phase post_test ###########
 
 
[DEVICEFARM] ########### Finish executing testspec ###########
 
[DEVICEFARM] ########### Setting upload permissions ###########
 
 
[DEVICEFARM] Tearing down your device. Your tests report will come shortly.

They didn’t even give me a specific error so I could investigate. I noticed that after executing bash and then finishing, there seemed to be an error with the bash command or something similar.
What do you guys think about this issue?, can I get a specific demo project for the Android case?
pls!

1 Like

Resolve!!!

1 Like

hi, how did you resolve this issue?

Hi,

Please help share with the community how you could resolve this problem. Appreciate your help!