Closed shash431 closed 6 years ago
Hi,
Can you provide info on the following?
I am using GRADLE 4.3.1 WINDOWS I have wrapper in the framework in gradle folder please let me know if wrapper has to be used and how can i run ?
Using windows command line or IntelliJ terminal..
cd to the project root and run
gradlew.bat runScenarios
i think system.exit() in courgette class is causing the issue
thanks will try and let you know
System.exit() is needed to pass or fail the build.
This is no different to what Cucumber CLI uses.
There were failing tests. See the report at: file:///C:/Users/Shashavalil/Documents/POC/Laddu_New/courgette-Parallel_Gradle/courgette-jvm-example-master/build/reports/tests/runScenarios/index.html
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 4s 5 actionable tasks: 1 executed, 4 up-to-date
C:\Users\Shashavalil\Documents\POC\Laddu_New\courgette-Parallel_Gradle\courgette-jvm-example-master>gradlew.bat runScenarios>logs.txt Unexpected exception thrown. org.gradle.internal.remote.internal.MessageIOException: Could not write '/127.0.0.1:51655'. at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:134) at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch.run(MessageHub.java:325) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:51) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeWithNonBlockingRetry(SocketConnection.java:272) at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeBufferToChannel(SocketConnection.java:260) at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.flush(SocketConnection.java:254) at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:132) ... 7 more
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':runScenarios'.
Process 'Gradle Test Executor 11' finished with non-zero exit value 1
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 4s
C:\Users\Shashavalil\Documents\POC\Laddu_New\courgette-Parallel_Gradle\courgette-jvm-example-master>gradlew.bat runScenarios Unexpected exception thrown. org.gradle.internal.remote.internal.MessageIOException: Could not write '/127.0.0.1:51674'. at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:134) at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch.run(MessageHub.java:325) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:51) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeWithNonBlockingRetry(SocketConnection.java:272) at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeBufferToChannel(SocketConnection.java:260) at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.flush(SocketConnection.java:254) at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:132) ... 7 more
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':runScenarios'.
Process 'Gradle Test Executor 12' finished with non-zero exit value 1
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
am gegtting the above isue mentioned
Unfortunately, I'm unable to reproduce this issue.
This is working fine on linux, mac and windows.
Also, I would suggest your remove all other cucumber dependencies from the project. Courgette has cucumber dependencies added already.
Can you re-clone this project from scratch and run it without any of your test code or runners?
Once you re-clone the project, you can also just try running the gradle task directly.
Open build.gradle -> right click and runScenarios
can please look into the issue and do let me know the workaround
Not sure if a workaround is required because a lot of users are using Courgette-JVM with Windows and Gradle.
This is certainly not an issue with Courgette-JVM. You can run any one of those Courgette runners to verify yourself.
Like a JUnit test -> right click and run ../courgette-jvm-example/src/test/java/ScenarioSuite.java
hi prashant, I tried the way you mentioned above but not successful and below is the log of issue :
"C:\Program Files (x86)\Java\jdk1.8.0_144\bin\java" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Users\Shashavalil\AppData\Roaming\JetBrains\IntelliJ IDEA Community Edition 2017.2.2\lib\idea_rt.jar=52090:C:\Users\Shashavalil\AppData\Roaming\JetBrains\IntelliJ IDEA Community Edition 2017.2.2\bin" -Dfile.encoding=UTF-8 -classpath "C:\Users\Shashavalil\AppData\Roaming\JetBrains\IntelliJ IDEA Community Edition 2017.2.2\lib\idea_rt.jar;C:\Users\Shashavalil\AppData\Roaming\JetBrains\IntelliJ IDEA Community Edition 2017.2.2\plugins\junit\lib\junit-rt.jar;C:\Users\Shashavalil\AppData\Roaming\JetBrains\IntelliJ IDEA Community Edition 2017.2.2\plugins\junit\lib\junit5-rt.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\nashorn.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\ext\zipfs.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\jfxswt.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\rt.jar;C:\Users\Shashavalil\Documents\POC\Laddu_New\courgette-Parallel_Gradle\courgette-jvm-example-master\out\test\classes;C:\Users\Shashavalil\Documents\POC\Laddu_New\courgette-Parallel_Gradle\courgette-jvm-example-master\out\test\resources;C:\Users\Shashavalil\Documents\POC\Laddu_New\courgette-Parallel_Gradle\courgette-jvm-example-master\out\production\classes;C:\Users\Shashavalil\Documents\POC\Laddu_New\courgette-Parallel_Gradle\courgette-jvm-example-master\out\production\resources;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-htmlunit-driver\2.48.0\c81797a00efdbcae16d9ff7c7b9348487d45734b\selenium-htmlunit-driver-2.48.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\io.appium\java-client\4.1.2\d6cd75553b08a9f4bf478842e3b005d9339c2bea\java-client-4.1.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-java\2.53.1\d90f85f4f389aa78b2d207ca1bfcca3fdefb71f0\selenium-java-2.53.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-firefox-driver\2.53.1\5b1aa0babfb577310689a59b2ace7f342d40d70b\selenium-firefox-driver-2.53.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-ie-driver\2.53.1\63c8e86d544b39026c0f803ec3c863a144995ad6\selenium-ie-driver-2.53.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-chrome-driver\3.3.1\7f3cc4850d2bd72145a6deb54267050cad314297\selenium-chrome-driver-3.3.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-edge-driver\2.53.1\8d7ce00b6d53fd2feebd12ae831c1b35e6577e96\selenium-edge-driver-2.53.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-safari-driver\2.53.1\731e322601f56f1867e665bcb0942e154277b0cd\selenium-safari-driver-2.53.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-leg-rc\2.53.1\6ac994ea069b57e126e222374ed3ebbc85a08529\selenium-leg-rc-2.53.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-support\2.53.1\af951906201e898e1d35a9ff63b297bb633d1d03\selenium-support-2.53.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-remote-driver\3.3.1\a5a6ce12cdc15544d2c81f97766fdcb4cdbe41b0\selenium-remote-driver-3.3.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\htmlunit-driver\2.21\4c19c164835580db1d46887b43392dae0c255d50\htmlunit-driver-2.21.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\net.sourceforge.htmlunit\htmlunit\2.21\3e752dae0006ad516bf6f4138316db7b262912d0\htmlunit-2.21.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpmime\4.5.2\22b4c53dd9b6761024258de8f9240c3dce6ea368\httpmime-4.5.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpclient\4.5.2\733db77aa8d9b2d68015189df76ab06304406e50\httpclient-4.5.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.amazonaws\aws-lambda-java-core\1.1.0\b25d4345c6e9e8be78b2803dd43d812f15178a81\aws-lambda-java-core-1.1.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven.plugins\maven-shade-plugin\2.3\d136adc7abccc9c12adcad6ae7a9bc51b2b7184b\maven-shade-plugin-2.3.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\io.cucumber\gherkin\4.0.0\71e94ea28888935f1ad4ef0f869e47bd5860a63a\gherkin-4.0.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.relevantcodes\extentreports\2.41.2\f3cfee1e734668ac4e3574a9b47ad735476b4b04\extentreports-2.41.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\io.github.prashant-ramcharan\courgette-jvm\1.4.0\2c24902d1915b5e8861452cad182a90a14cb9328\courgette-jvm-1.4.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.codoid.products\fillo\1.14\9587313f6783b960acbced93dcb215407912ea64\fillo-1.14.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.slf4j\slf4j-log4j12\1.7.7\58f588119ffd1702c77ccab6acb54bfb41bed8bd\slf4j-log4j12-1.7.7.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\log4j\log4j\1.2.17\5af35056b4d257e4b64b9e8069c0746e8b08629f\log4j-1.2.17.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.sun.mail\javax.mail\1.5.0\ec2410fdf7e0a3022e7c2a2e6241039d1abc1e98\javax.mail-1.5.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\javax.mail\mail\1.4.7\9add058589d5d85adeb625859bf2c5eeaaedf12d\mail-1.4.7.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.seleniumhq.selenium\selenium-api\3.3.1\42aa8193f98460b4444296956f73872abd019d94\selenium-api-3.3.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.github.temyers\cucumber-jvm-parallel-plugin\1.3.0\e6ee0527ae6f7dd3ed7156720392bfe89ba7716\cucumber-jvm-parallel-plugin-1.3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.springframework\spring-test\4.1.3.RELEASE\568425b60fef6a88ece8e21bd1bdb7d8e4a25d36\spring-test-4.1.3.RELEASE.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.springframework\spring-context\4.3.2.RELEASE\e52782b824e097c3b1586b497fc6be0e95020770\spring-context-4.3.2.RELEASE.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.springframework\spring-aop\4.3.2.RELEASE\caef216e995f565dd4ab165ec5918ff44487615d\spring-aop-4.3.2.RELEASE.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.springframework\spring-expression\4.3.2.RELEASE\7676acd4dde9d186b7f882edce3131dc62dcb590\spring-expression-4.3.2.RELEASE.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.springframework\spring-beans\4.3.2.RELEASE\9e87f48f65a33a017f2dd027911947a28be29f93\spring-beans-4.3.2.RELEASE.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\4.3.2.RELEASE\fd2f3cf45d3c84f293cb7ee3ab7d24c979495552\spring-core-4.3.2.RELEASE.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.slf4j\slf4j-api\1.7.7\2b8019b6249bb05d81d3a3094e468753e2b21311\slf4j-api-1.7.7.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.googlecode.json-simple\json-simple\1.1.1\c9ad4a0850ab676c5c64461a05ca524cdfff59f1\json-simple-1.1.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven.plugins\maven-failsafe-plugin\2.20.1\6851cf8f02bf58c41a60a9ce2b126736c7533358\maven-failsafe-plugin-2.20.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven.surefire\maven-surefire-common\2.20.1\3ebceec48c16c5b3822b0ad978736a75154c60b0\maven-surefire-common-2.20.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-plugin-descriptor\2.2.1\68d20ae3c40c4664dc52be90338af796db7ffb32\maven-plugin-descriptor-2.2.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven.shared\maven-dependency-tree\2.1\29c4d6aeae519809b9af0607156bbdd174efb0bb\maven-dependency-tree-2.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-project\2.2.1\8239e98c16f641d55a4ad0e0bab0aee3aff8933f\maven-project-2.2.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-profile\2.2.1\3950071587027e5086e9c395574a60650c432738\maven-profile-2.2.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact-manager\2.2.1\ec355b913c34d37080810f98e3f51abecbe1572b\maven-artifact-manager-2.2.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-plugin-registry\2.2.1\72a24b7775649af78f3986b5aa7eb354b9674cfd\maven-plugin-registry-2.2.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.codehaus.plexus\plexus-container-default\1.0-alpha-9-stable-1\94aea3010e250a334d9dab7f591114cd6c767458\plexus-container-default-1.0-alpha-9-stable-1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\info.cukes\cucumber-junit\1.2.5\7cedd85f2e6b4f2fa1091c921f509275c60e7500\cucumber-junit-1.2.5.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\junit\junit\4.12\2973d150c0dc1fefe998f834810d68f278ea58ec\junit-4.12.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.testng\testng\6.8.8\c4fb20cf89d278d71667d7273fa6e6cff8b97ca9\testng-6.8.8.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\net.masterthought\cucumber-reporting\3.12.0\173efbe56976c914e3ee446ebee48c325ef751c1\cucumber-reporting-3.12.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.vafer\jdependency\0.9\cae0234718c5e22c0ae5629cfbf9c0934eee729d\jdependency-0.9.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-io\commons-io\2.5\2852e6e05fbb95076fc091f6d1780f1f8fe35e0f\commons-io-2.5.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson\2.8.0\c4ba5371a29ac9b2ad6129b1d39ea38750043eff\gson-2.8.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.googlecode.owasp-java-html-sanitizer\owasp-java-html-sanitizer\20170515.1\2ac64ee731e71b8ce411b7ff306c35eae672f6dd\owasp-java-html-sanitizer-20170515.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.google.guava\guava\21.0\3a3d111be1be1b745edfa7d91678a12d7ed38709\guava-21.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.vimalselvam\cucumber-extentsreport\3.0.1\f7a66b46cb07a9ee273af93efe595c1048c7ec7e\cucumber-extentsreport-3.0.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-compat\3.0\475f94b86858a1d4660c4b4523aa3362f28d9317\maven-compat-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-toolchain\2.2.1\be589179cfbbad11e48572bf1a28e3490c7b197\maven-toolchain-2.2.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-core\3.0\73728ce32c9016c8bd05584301fa3ba3a6f5d20a\maven-core-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-plugin-api\3.0\98f886f59bb0e69f8e86cdc082e69f2f4c13d648\maven-plugin-api-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-aether-provider\3.0\419f5eb63cf743a1a0f2a80ea5dde37fd1a4fec0\maven-aether-provider-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-model-builder\3.0\bedc161a3b07a4bcd175b9428cdf18725d292b37\maven-model-builder-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-model\3.0\24ce598c94a78341c42556fe9192dad6a2822405\maven-model-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven.plugin-tools\maven-plugin-annotations\3.3\101cb0295bb16c64e85f2b5354b57058e907b061\maven-plugin-annotations-3.3.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.0\c29cfa43ce2ba09975a07c40d7241655d7c2fa29\maven-artifact-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.sonatype.sisu\sisu-inject-plexus\1.4.2\53d863ed4879d4a43ad7aee7bc63f935cc513353\sisu-inject-plexus-1.4.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven.wagon\wagon-provider-api\1.0-beta-6\3f952e0282ae77ae59851d96bb18015e520b6208\wagon-provider-api-1.0-beta-6.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-settings-builder\3.0\8234c1bdf7a9a28c671b0abf11f8adaa66440cd\maven-settings-builder-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.sonatype.plexus\plexus-sec-dispatcher\1.3\dedc02034fb8fcd7615d66593228cb71709134b4\plexus-sec-dispatcher-1.3.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-settings\3.0\8ee129adae535dd610f2dc952fddce68ac42fd86\maven-settings-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-repository-metadata\3.0\e3c41f7565b1e189ff7a312796b9d2c470c09a8b\maven-repository-metadata-3.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.codehaus.plexus\plexus-utils\3.0.24\b4ac9780b37cb1b736eae9fbcef27609b7c911ef\plexus-utils-3.0.24.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-commons\5.0.2\33fd77f7d9f985e4b9bee5e4c3a4e480c491c404\asm-commons-5.0.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-analysis\5.0.2\570b62cab7993f9fece251e80724e9dabca6d019\asm-analysis-5.0.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-util\5.0.2\be1f344e827a01f7d97b3279354f49973075930b\asm-util-5.0.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-tree\5.0.2\407b3da4cdb780701be40ccf6e8ef540f3d5a249\asm-tree-5.0.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm\5.0.2\baa28ca0269720d94c9f0cafef35a9ac63991de7\asm-5.0.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.jdom\jdom\1.1\1d04c0f321ea337f3661cf7ede8f4c6f653a8fdd\jdom-1.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\io.cucumber\gherkin-jvm-deps\1.0.4\ab5990bf8596b504ea6618fcf2e5192d4488440e\gherkin-jvm-deps-1.0.4.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.jsoup\jsoup\1.10.3\b842f960942503cf1abbcc8c173a7f2c19d43726\jsoup-1.10.3.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.xerial\sqlite-jdbc\3.8.11.1\b33358a3e242b21f2fe518dc1471fab0a49a04a\sqlite-jdbc-3.8.11.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.freemarker\freemarker\2.3.23\cd143cd8c02a9f838e3cb75a6dfe133750437f6d\freemarker-2.3.23.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.mongodb\mongodb-driver\3.0.4\993f351546d3e462126eefb901383ccec4049c6f\mongodb-driver-3.0.4.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-validator\commons-validator\1.5.1\86d05a46e8f064b300657f751b5a98c62807e2a0\commons-validator-1.5.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.6\9d28a6b23650e8a7e9063c04588ace6cf7012c17\commons-lang3-3.6.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\cglib\cglib-nodep\3.2.4\42c972dee25a436b32c6027e848287ff47ed6750\cglib-nodep-3.2.4.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.aspectj\aspectjweaver\1.8.9\db28774f477f07220eac18d5ec9c4e01f48589d7\aspectjweaver-1.8.9.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\info.cukes\cucumber-java8\1.2.5\c211c0d6a7e7f1f892e3797b311e46158746853d\cucumber-java8-1.2.5.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\info.cukes\cucumber-java\1.2.5\2197dfa9cd7899ddce136a356994ac21f438f80\cucumber-java-1.2.5.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\info.cukes\cucumber-core\1.2.5\7255a9d8e0c3b0f9e3cd80503c91c2b088b3d9b5\cucumber-core-1.2.5.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-databind\2.8.8\bf88c7b27e95cbadce4e7c316a56c3efffda8026\jackson-databind-2.8.8.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\javax.activation\activation\1.1\e6cb541461c2834bdea3eb920f1884d1eb508b50\activation-1.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.velocity\velocity\1.7\2ceb567b8f3f21118ecdec129fe1271dbc09aa7a\velocity-1.7.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-configuration\commons-configuration\1.6\32cadde23955d7681b0d94a2715846d20b425235\commons-configuration-1.6.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-beanutils\commons-beanutils-core\1.8.0\175dc721f87e4bc5cc0573f990e28c3cf9117508\commons-beanutils-core-1.8.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-digester\commons-digester\1.8.1\3dec9b9c7ea9342d4dbe8c38560080d85b44a015\commons-digester-1.8.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-beanutils\commons-beanutils\1.9.2\7a87d845ad3a155297e8f67d9008f4c1e5656b71\commons-beanutils-1.9.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-logging\commons-logging\1.2\4bfc12adfe4842bf07b657f0369c4cb522955686\commons-logging-1.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest-core\1.3\42a25dc3219429f0e5d060061f71acb49bf010a0\hamcrest-core-1.3.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.beanshell\bsh\2.0b4\a05f0a0feefa8d8467ac80e16e7de071489f0d9c\bsh-2.0b4.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.beust\jcommander\1.27\58c9cbf0f1fa296f93c712f2cf46de50471920f9\jcommander-1.27.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-core\2.8.2\979fc0cf8460302e4ffbfe38c1b66a99450b0bb7\log4j-core-2.8.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-api\2.8.2\e590eeb783348ce8ddef205b82127f9084d82bf3\log4j-api-2.8.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\velocity-tools\velocity-tools\1.4\4e1f4d507030a00959f4c0c7fcc60b3565617d08\velocity-tools-1.4.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\joda-time\joda-time\2.9.9\f7b520c458572890807d143670c9b24f4de90897\joda-time-2.9.9.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\net.lingala.zip4j\zip4j\1.3.2\4ba84e98ee017b74cb52f45962f929a221f3074c\zip4j-1.3.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-exec\1.3\8dfb9facd0830a27b1b5f29f84593f0aeee7773b\commons-exec-1.3.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna-platform\4.1.0\23457ad1cf75c2c16763330de5565a0e67b4bc0a\jna-platform-4.1.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\4.1.0\1c12d070e602efd8021891cdd7fd18bc129372d4\jna-4.1.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.sonatype.aether\aether-impl\1.7\5cc1803eb7126f759d34007b74e6dc44e9a9fb08\aether-impl-1.7.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.sonatype.aether\aether-util\1.7\38485c9c086c3c867c2dd5371909337bd056c492\aether-util-1.7.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.sonatype.aether\aether-spi\1.7\1ea472b28d9d891d353c0311593f5e2a0e73d4be\aether-spi-1.7.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.sonatype.aether\aether-api\1.7\c491a637ee6795143b6708ce5f112e6a9f548f4\aether-api-1.7.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.codehaus.plexus\plexus-interpolation\1.14\c88dd864fe8b8256c25558ce7cd63be66ba07693\plexus-interpolation-1.14.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.codehaus.plexus\plexus-classworlds\2.2.3\93b34d7a40ed56fe33274480c5792b656d3697a9\plexus-classworlds-2.2.3.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.codehaus.plexus\plexus-component-annotations\1.5.5\c72f2660d0cbed24246ddb55d7fdc4f7374d2078\plexus-component-annotations-1.5.5.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\classworlds\classworlds\1.1-alpha-2\5adf2e681c57d7f48038b602f3ca2254ee82d47\classworlds-1.1-alpha-2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.eclipse.aether\aether-util\0.9.0.M2\b957089deb654647da320ad7507b0a4b5ce23813\aether-util-0.9.0.M2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.mongodb\mongodb-driver-core\3.0.4\adbea64839bb93c5ac07b93d9453a8710ff6ecc9\mongodb-driver-core-3.0.4.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.mongodb\bson\3.0.4\2ecf10d61967c2c0076a6f561088a0e15848c212\bson-3.0.4.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-collections\commons-collections\3.2.2\8ad72fe39fa8c91eaaf12aadb21e0c3661fe26d5\commons-collections-3.2.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\info.cukes\cucumber-html\0.2.3\624a0c986088e32910336dd77aee5191c04a8201\cucumber-html-0.2.3.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\info.cukes\cucumber-jvm-deps\1.0.5\69ed0efe4b81f05da3c0bdc7281cbdc43f5ceb26\cucumber-jvm-deps-1.0.5.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\info.cukes\gherkin\2.12.2\17138631fa20fd0e44a13e50d6b7be59cee1a94\gherkin-2.12.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\xalan\xalan\2.7.2\d55d3f02a56ec4c25695fe67e1334ff8c2ecea23\xalan-2.7.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-codec\commons-codec\1.10\4b95f4897fa13f2cd904aee711aeafc0c5295cd8\commons-codec-1.10.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\net.sourceforge.htmlunit\htmlunit-core-js\2.17\4316d68f449d42f69faf4ee255aa31b03e4f7dd5\htmlunit-core-js-2.17.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\net.sourceforge.htmlunit\neko-htmlunit\2.21\a714aa20a2a6e04ada63805e1a16ad0540aa65e\neko-htmlunit-2.21.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\xerces\xercesImpl\2.11.0\9bb329db1cfc4e22462c9d6b43a8432f5850e92c\xercesImpl-2.11.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\net.sourceforge.cssparser\cssparser\0.9.18\61c015378d27b5e245a5deb7a324c7e716b4706a\cssparser-0.9.18.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.eclipse.jetty.websocket\websocket-client\9.2.15.v20160210\ca9769107f3b8111102c5d4f482122dd116fb711\websocket-client-9.2.15.v20160210.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\commons-lang\commons-lang\2.4\16313e02a793435009f1e458fa4af5d879f6fb11\commons-lang-2.4.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven.surefire\surefire-booter\2.20.1\11583c0713fc43310f752ec59cf5e110ff52ab57\surefire-booter-2.20.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven.surefire\surefire-api\2.20.1\281785202e198b6cd2d3c75f10fb8c73f8fbbaa3\surefire-api-2.20.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.sonatype.sisu\sisu-inject-bean\1.4.2\5cf37202afbaae899d63dd51b46d173df650af1b\sisu-inject-bean-1.4.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\xalan\serializer\2.7.2\24247f3bb052ee068971393bdb83e04512bb1c3c\serializer-2.7.2.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\xml-apis\xml-apis\1.4.01\3789d9fada2d3d458c4ba2de349d48780f381ee3\xml-apis-1.4.01.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.w3c.css\sac\1.3\cdb2dcb4e22b83d6b32b93095f644c3462739e82\sac-1.3.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.eclipse.jetty.websocket\websocket-common\9.2.15.v20160210\ee5616ec65d6c8f05fe16ee4dbb6723b2ebff470\websocket-common-9.2.15.v20160210.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.eclipse.jetty\jetty-io\9.2.15.v20160210\5a3af41803c12b0f3628ed8927a8cedb42972169\jetty-io-9.2.15.v20160210.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.eclipse.jetty\jetty-util\9.2.15.v20160210\ccd245541cc63311bdcfe551525bd7d82ea5e92c\jetty-util-9.2.15.v20160210.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.maven.surefire\surefire-logger-api\2.20.1\9ed82a9e6c5a2c2c3fb339278ded02941c15a30f\surefire-logger-api-2.20.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.sonatype.sisu\sisu-guice\2.1.7\8cb56e976b8e0e7b23f2969c32bef7b830c6d6ed\sisu-guice-2.1.7-noaop.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.eclipse.jetty.websocket\websocket-api\9.2.15.v20160210\f0340017129a65097824dd62a04b3c887f397dd9\websocket-api-9.2.15.v20160210.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpcore\4.4.4\b31526a230871fbe285fbcbe2813f9c0839ae9b0\httpcore-4.4.4.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\io.netty\netty\3.5.7.Final\811465e6dfc89d7c78d21de6a9747b6046cb5403\netty-3.5.7.Final.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-annotations\2.8.0\45b426f7796b741035581a176744d91090e2e6fb\jackson-annotations-2.8.0.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.8.8\d478fb6de45a7c3d2cad07c8ad70c7f0a797a020\jackson-core-2.8.8.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\backport-util-concurrent\backport-util-concurrent\3.1\682f7ac17fed79e92f8e87d8455192b63376347b\backport-util-concurrent-3.1.jar;C:\Users\Shashavalil.gradle\caches\modules-2\files-2.1\org.sonatype.plexus\plexus-cipher\1.4\50ade46f23bb38cd984b4ec560c46223432aac38\plexus-cipher-1.4.jar" com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit4 ScenarioSuite
java.io.IOException: Cannot run program "java": CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at courgette.runtime.CourgetteFeatureRunner.run(CourgetteFeatureRunner.java:42)
at courgette.runtime.CourgetteRunner.runFeature(CourgetteRunner.java:137)
at courgette.runtime.CourgetteRunner.lambda$run$1(CourgetteRunner.java:46)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.
Process finished with exit code 1
Hi, as suggested before, can you remove all the other dependencies from the project?
Just to verify that it works on you machine, simply remove all the changes you've made and run the tests without any of your changes to this sample project
Your build.gradle file should look like this https://github.com/prashant-ramcharan/courgette-jvm-example/blob/master/build.gradle
Unable to reproduce.
Able to reproduce the issue on Windows10 based VM. I see the following error at the end of suite execution (see picture ). NOTE: the same code works perfectly (without any exceptions) on real (non-virtual) linux machine (Ubuntu 14.04). Maybe cause of the problem is in virtual environments?
This is only a Windows and Gradle issue.
It doesn't effect the Courgette runner in any way, it just writes this log to the console once the JVM has exited. This is related to System.exit().
I've seen a few people mention this now, so I will implement a workaround to this issue to address the message even though it's outside the scope of Courgette and within the scope of Gradle.
https://github.com/prashant-ramcharan/courgette-jvm/issues/64
@shash431 @yhraichonak This Gradle MessageIOException will no longer appear after the test run on Windows operating systems.
This is now released in version 2.4.2
Prashant, I am getting the below issue while running the gradle build :
Unexpected exception thrown. org.gradle.internal.remote.internal.MessageIOException: Could not write '/127.0.0.1:51060'. at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:134) at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch.run(MessageHub.java:325) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:51) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeWithNonBlockingRetry(SocketConnection.java:272) at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeBufferToChannel(SocketConnection.java:260) at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.flush(SocketConnection.java:254) at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:132) ... 7 more :runFeatures FAILED FAILURE: Build failed with an exception.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
build.gradle
apply plugin: 'java'
compileJava { sourceCompatibility = 1.8 targetCompatibility = 1.8 }
repositories { jcenter() }
dependencies { testCompile group: 'org.seleniumhq.selenium', name: 'selenium-chrome-driver', version: '3.3.1' testCompile 'io.github.prashant-ramcharan:courgette-jvm:1.4.0' compile group: 'com.amazonaws', name: 'aws-lambda-java-core', version:'1.1.0' compile group: 'org.apache.httpcomponents', name: 'httpclient', version:'4.3.5' compile group: 'org.apache.maven.plugins', name: 'maven-shade-plugin', version:'2.3' compile group: 'io.cucumber', name: 'gherkin', version:'4.0.0' compile group: 'com.relevantcodes', name: 'extentreports', version:'2.41.2' compile(group: 'io.appium', name: 'java-client', version:'4.1.2') { exclude(module: 'httpmime') exclude(module: 'httpclient') } compile group: 'com.codoid.products', name: 'fillo', version:'1.14' compile group: 'log4j', name: 'log4j', version:'1.2.17' compile group: 'org.seleniumhq.selenium', name: 'selenium-htmlunit-driver', version:'2.48.0' compile group: 'com.sun.mail', name: 'javax.mail', version:'1.5.0' compile group: 'javax.mail', name: 'mail', version:'1.4.7' compile group: 'org.seleniumhq.selenium', name: 'selenium-api', version:'2.53.1' compile group: 'com.github.temyers', name: 'cucumber-jvm-parallel-plugin', version:'1.3.0' compile group: 'info.cukes', name: 'cucumber-testng', version:'1.2.0' compile group: 'info.cukes', name: 'cucumber-junit', version:'1.2.2' compile group: 'info.cukes', name: 'cucumber-core', version:'1.2.5' compile group: 'info.cukes', name: 'cucumber-java', version:'1.2.5' compile group: 'info.cukes', name: 'cucumber-spring', version:'1.2.5' compile group: 'org.springframework', name: 'spring-core', version:'4.1.3.RELEASE' compile group: 'org.springframework', name: 'spring-test', version:'4.1.3.RELEASE' compile group: 'org.springframework', name: 'spring-context', version:'4.1.3.RELEASE' compile group: 'org.springframework', name: 'spring-beans', version:'4.1.3.RELEASE' compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.7' compile group: 'org.slf4j', name: 'slf4j-log4j12', version:'1.7.7' compile group: 'junit', name: 'junit', version:'4.12' compile group: 'org.testng', name: 'testng', version:'6.8.8' compile group: 'commons-io', name: 'commons-io', version:'2.4' / compile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version:'RELEASE' / compile group: 'com.googlecode.json-simple', name: 'json-simple', version:'1.1.1' compile group: 'com.google.code.gson', name: 'gson', version:'2.3.1' compile group: 'net.masterthought', name: 'cucumber-reporting', version:'3.12.0' compile group: 'org.seleniumhq.selenium', name: 'selenium-support', version:'2.53.1' compile group: 'org.seleniumhq.selenium', name: 'selenium-chrome-driver', version:'2.53.1' compile group: 'org.seleniumhq.selenium', name: 'selenium-firefox-driver', version:'2.53.1' compile group: 'org.seleniumhq.selenium', name: 'selenium-ie-driver', version:'2.53.1' compile group: 'com.google.guava', name: 'guava', version:'16.0.1' compile 'org.apache.maven.plugins:maven-failsafe-plugin:2.20.1' testCompile group: 'org.seleniumhq.selenium', name: 'selenium-java', version:'2.53.0' testCompile group: 'com.vimalselvam', name: 'cucumber-extentsreport', version:'3.0.1' compileOnly group: 'com.aventstack', name: 'extentreports', version:'3.0.6' }
task runFeatures(type: Test, dependsOn: testClasses) { include '**/FeatureSuite.class'
}
task runScenarios(type: Test, dependsOn: testClasses) { include '**/ScenarioSuite.class'
}
Please help me out why the issue is