Open suhasini-Ravi opened 4 years ago
Hey, @suhasini-Ravi this is a known issue and we are currently working on this. Expect the fix in the upcoming release.
Hi @thenishant , thank you for the info. Is there any workaround for this where the test execution can be completed without force quitting.
Thanks in advance for the help
Hey @suhasini-Ravi, as of now there is no workaround and the only thing which can be done here is to retrigger/rerun
the tests.
Hey @thenishant The tests are running fine and getting executed completely when I run the iOS tests parallel.
Thank you...
@suhasini-Ravi how were you able to workaround this? Can you share your environment? I am facing this issue running tests in Distribution mode on one machine, although on my local laptop it runs fine
@alohageck0, there is no workaround for this and I'm facing the same issue even when running iOS in parallel, and since the tests are not getting completed there is no generation of the report :(
facing the same issue in 3.1.2
I found the root cause for my issue - it was jdk version. Jenkins node had Azul Zulu 8.0.222, but locally I am using AdoptOpenJDK 8.0.232.j9. When I switched to AdoptOpenJDK the issue not reproducible anymore
@thenishant , @KrishnB
Any update on this issue?
I'm facing this issue when I try to run the iOS tests by connecting both iOS and Android devices at the same time.
But when I run Android tests by connecting both platform devices, the report is generated and also completing the tests.
Hi Team,
The framework is not completing the task for iOS and is stopping after successfully running the tests and also report is not generated.
Its getting stopped at "> Building 83% > :runFragmentation" and not getting exited .
Kindly, help coz im not able to proceed further with the automation
Please find the logs below.
MacBook-Pro:Core_BDD_Framework_Mobile $ ./gradlew runFragmentation -DtestFeed=CoreBDDiOS -Dtags=@loginValidNewUser Starting a Gradle Daemon (subsequent builds will be faster) :clean :compileJava UP-TO-DATE :compileGroovy UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar :assemble :compileTestJava Note: /Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/src/test/java/pages/BasePage.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. :compileTestGroovy UP-TO-DATE :processTestResources :testClasses :test :check :build :spinServices Mongo uri mongodb://localhost:27017 Services URI http://localhost:8090/v1 Service commands [java, -jar, /Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/libs/optimus-services-2.0.jar, --port=8090, --database=optimus, --uri=mongodb://localhost:27017] :runFragmentation Notifying build start Builds Pathhttp://localhost:8090/v1/builds 2019-10-15 14:59:41 INFO DeviceMatrix:44 - [DeviceDetails{deviceName='iPhone 5s', udid='C475CE08-3284-49CA-A53A-DCB35143E2DE', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 6', udid='7A385BAA-6499-4E8F-95FD-549F9BFB3F51', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 6 Plus', udid='B31ABD1D-B396-4ED0-9B3D-306EC9E51D81', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 6s', udid='BE7E996F-F8F3-4196-A566-B1E169305DAA', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 6s Plus', udid='56BC2EF7-B217-4D37-B728-2048C552FBFE', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 7', udid='5E5EEBDB-F601-414D-8937-829E7DF16DAF', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 7 Plus', udid='1B4728F8-21B2-448C-973D-F5A61DC3451E', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 8', udid='1ADB89B1-C8C3-4A3E-AD73-619FB737825C', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 8 Plus', udid='98680FB2-2F91-4A85-A704-C393BCE6CBB9', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone SE', udid='7D7CFE1A-03FA-4354-B47D-BE1257A7725B', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone X', udid='F6B77862-5ABE-483D-894D-3D410C543694', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone Xs', udid='FEE0CF2A-1E89-485F-9CFC-B811B58F1FF3', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone Xs Max', udid='B822C8C5-564C-4015-913 2-48AB435113B0', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone Xʀ', udid='4246CB8E-2090-4B12-9961-BF9810666CF2', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='CI iOS 1', udid='', status='Available', platform=IOS, platformVersion='11.4.1', runsOn=DEVICE}]
/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/src/test/resources/CoreBDDiOS.json
Total devices -- 1
WARNING: Found tags option '~@intent,~@Intent,~@dataIntent,~@DataIntent'. Support for '@tag1,@tag2' will be removed from the next release of Cucumber-JVM. Please use '@tag or @tag2' instead
WARNING: Found tags option '~@intent,~@Intent,~@dataIntent,~@DataIntent'. Support for '~@tag' will be removed from the next release of Cucumber-JVM. Please use 'not @tag' instead.
Feature: General test cases for login page
@loginValidNewUser Scenario: Login with valid credentials then I should see the overview page # /Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/src/test/resources/features/01_login.feature:4