getgauge / gauge-java

Java runner for Gauge
https://gauge.org
Apache License 2.0
91 stars 47 forks source link

Unable to run spec file on windows10 21H2 machine #688

Open vsr2 opened 2 years ago

vsr2 commented 2 years ago

Describe the bug [Gauge] Failed to start gauge API: Timed out connecting to java

To Reproduce Steps (or project) to reproduce the behavior:

  1. Load a gauge project in intellij
  2. Load a specification file having 3-5 scenarios
  3. Run the specification file or scenario file
  4. See error
"C:\Program Files\gauge\bin\gauge.exe" run --machine-readable --hide-suggestion --simple-console D:/Test_Automation/..../B2CSalesTests.spec
Testing started at 08:17 ...
Error ----------------------------------

[Gauge]
Failed to start gauge API: Timed out connecting to java

Logs

06-05-2022 08:24:52.694 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/json-report?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=amd64
06-05-2022 08:24:53.027 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/screenshot?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=amd64
06-05-2022 08:24:53.104 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/xml-report?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=amd64
06-05-2022 08:25:05.974 [java] [DEBUG] classpath set to C:\Program Files\Java\jdk-11.0.14!\java.base;C:\Program Files\Java\jdk-11.0.14!\java.compiler;C:\Program Files\Java\jdk-11.0.14!\java.datatransfer;C:\Program Files\Java\jdk-11.0.14!\java.desktop;C:\Program Files\Java\jdk-11.0.14!\java.instrument;C:\Program Files\Java\jdk-11.0.14!\java.logging;C:\Program Files\Java\jdk-11.0.14!\java.management;C:\Program Files\Java\jdk-11.0.14!\java.management.rmi;C:\Program Files\Java\jdk-11.0.14!\java.naming;C:\Program Files\Java\jdk-11.0.14!\java.net.http;C:\Program Files\Java\jdk-11.0.14!\java.prefs;C:\Program Files\Java\jdk-11.0.14!\java.rmi;C:\Program Files\Java\jdk-11.0.14!\java.scripting;C:\Program Files\Java\jdk-11.0.14!\java.se;C:\Program Files\Java\jdk-11.0.14!\java.security.jgss;C:\Program Files\Java\jdk-11.0.14!\java.security.sasl;C:\Program Files\Java\jdk-11.0.14!\java.smartcardio;C:\Program Files\Java\jdk-11.0.14!\java.sql;C:\Program Files\Java\jdk-11.0.14!\java.sql.rowset;C:\Program Files\Java\jdk-11.0.14!\java.transaction.xa;C:\Program Files\Java\jdk-11.0.14!\java.xml;C:\Program Files\Java\jdk-11.0.14!\java.xml.crypto;C:\Program Files\Java\jdk-11.0.14!\jdk.accessibility;C:\Program Files\Java\jdk-11.0.14!\jdk.attach;C:\Program Files\Java\jdk-11.0.14!\jdk.charsets;C:\Program Files\Java\jdk-11.0.14!\jdk.compiler;C:\Program Files\Java\jdk-11.0.14!\jdk.crypto.cryptoki;C:\Program Files\Java\jdk-11.0.14!\jdk.crypto.ec;C:\Program Files\Java\jdk-11.0.14!\jdk.crypto.mscapi;C:\Program Files\Java\jdk-11.0.14!\jdk.dynalink;C:\Program Files\Java\jdk-11.0.14!\jdk.editpad;C:\Program Files\Java\jdk-11.0.14!\jdk.hotspot.agent;C:\Program Files\Java\jdk-11.0.14!\jdk.httpserver;C:\Program Files\Java\jdk-11.0.14!\jdk.internal.ed;C:\Program Files\Java\jdk-11.0.14!\jdk.internal.jvmstat;C:\Program Files\Java\jdk-11.0.14!\jdk.internal.le;C:\Program Files\Java\jdk-11.0.14!\jdk.internal.opt;C:\Program Files\Java\jdk-11.0.14!\jdk.internal.vm.ci;C:\Program Files\Java\jdk-11.0.14!\jdk.internal.vm.compiler;C:\Program Files\Java\jdk-11.0.14!\jdk.internal.vm.compiler.management;C:\Program Files\Java\jdk-11.0.14!\jdk.jartool;C:\Program Files\Java\jdk-11.0.14!\jdk.javadoc;C:\Program Files\Java\jdk-11.0.14!\jdk.jcmd;C:\Program Files\Java\jdk-11.0.14!\jdk.jconsole;C:\Program Files\Java\jdk-11.0.14!\jdk.jdeps;C:\Program Files\Java\jdk-11.0.14!\jdk.jdi;C:\Program Files\Java\jdk-11.0.14!\jdk.jdwp.agent;C:\Program Files\Java\jdk-11.0.14!\jdk.jfr;C:\Program Files\Java\jdk-11.0.14!\jdk.jlink;C:\Program Files\Java\jdk-11.0.14!\jdk.jshell;C:\Program Files\Java\jdk-11.0.14!\jdk.jsobject;C:\Program Files\Java\jdk-11.0.14!\jdk.jstatd;C:\Program Files\Java\jdk-11.0.14!\jdk.localedata;C:\Program Files\Java\jdk-11.0.14!\jdk.management;C:\Program Files\Java\jdk-11.0.14!\jdk.management.agent;C:\Program Files\Java\jdk-11.0.14!\jdk.management.jfr;C:\Program Files\Java\jdk-11.0.14!\jdk.naming.dns;C:\Program Files\Java\jdk-11.0.14!\jdk.naming.ldap;C:\Program Files\Java\jdk-11.0.14!\jdk.naming.rmi;C:\Program Files\Java\jdk-11.0.14!\jdk.net;C:\Program Files\Java\jdk-11.0.14!\jdk.pack;C:\Program Files\Java\jdk-11.0.14!\jdk.rmic;C:\Program Files\Java\jdk-11.0.14!\jdk.scripting.nashorn;C:\Program Files\Java\jdk-11.0.14!\jdk.scripting.nashorn.shell;C:\Program Files\Java\jdk-11.0.14!\jdk.sctp;C:\Program Files\Java\jdk-11.0.14!\jdk.security.auth;C:\Program Files\Java\jdk-11.0.14!\jdk.security.jgss;C:\Program Files\Java\jdk-11.0.14!\jdk.unsupported;C:\Program Files\Java\jdk-11.0.14!\jdk.unsupported.desktop;C:\Program Files\Java\jdk-11.0.14!\jdk.xml.dom;C:\Program Files\Java\jdk-11.0.14!\jdk.zipfs;D:\Test_Automation\qa-automation\gauge\target\test-classes;D:\Test_Automation\qa-automation\gauge\target\classes;C:\Users\<user name>\.m2\repository\com\thoughtworks\gauge\gauge-java\0.8.1\gauge-java-0.8.1.jar;C:\Users\<user name>\.m2\repository\org\reflections\reflections\0.10.2\reflections-0.10.2.jar;C:\Users\<user name>\.m2\repository\org\javassist\javassist\3.28.0-GA\javassist-3.28.0-GA.jar;C:\Users\<user name>\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\<user name>\.m2\repository\com\github\javaparser\javaparser-core\3.16.3\javaparser-core-3.16.3.jar;C:\Users\<user name>\.m2\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;C:\Users\<user name>\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\<user name>\.m2\repository\com\google\protobuf\protobuf-java\3.19.3\protobuf-java-3.19.3.jar;C:\Users\<user name>\.m2\repository\com\google\guava\guava\30.1.1-jre\guava-30.1.1-jre.jar;C:\Users\<user name>\.m2\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;C:\Users\<user name>\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\<user name>\.m2\repository\org\checkerframework\checker-qual\3.8.0\checker-qual-3.8.0.jar;C:\Users\<user name>\.m2\repository\com\google\errorprone\error_prone_annotations\2.5.1\error_prone_annotations-2.5.1.jar;C:\Users\<user name>\.m2\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;C:\Users\<user name>\.m2\repository\io\grpc\grpc-netty-shaded\1.43.2\grpc-netty-shaded-1.43.2.jar;C:\Users\<user name>\.m2\repository\io\perfmark\perfmark-api\0.23.0\perfmark-api-0.23.0.jar;C:\Users\<user name>\.m2\repository\io\grpc\grpc-core\1.43.2\grpc-core-1.43.2.jar;C:\Users\<user name>\.m2\repository\com\google\android\annotations\4.1.1.4\annotations-4.1.1.4.jar;C:\Users\<user name>\.m2\repository\org\codehaus\mojo\animal-sniffer-annotations\1.19\animal-sniffer-annotations-1.19.jar;C:\Users\<user name>\.m2\repository\io\grpc\grpc-protobuf\1.43.2\grpc-protobuf-1.43.2.jar;C:\Users\<user name>\.m2\repository\io\grpc\grpc-api\1.43.2\grpc-api-1.43.2.jar;C:\Users\<user name>\.m2\repository\io\grpc\grpc-context\1.43.2\grpc-context-1.43.2.jar;C:\Users\<user name>\.m2\repository\com\google\api\grpc\proto-google-common-protos\2.0.1\proto-google-common-protos-2.0.1.jar;C:\Users\<user name>\.m2\repository\io\grpc\grpc-protobuf-lite\1.43.2\grpc-protobuf-lite-1.43.2.jar;C:\Users\<user name>\.m2\repository\io\grpc\grpc-stub\1.43.2\grpc-stub-1.43.2.jar;C:\Users\<user name>\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\<user name>\.m2\repository\org\yaml\snakeyaml\1.29\snakeyaml-1.29.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-java\4.0.0\selenium-java-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-chrome-driver\4.0.0\selenium-chrome-driver-4.0.0.jar;C:\Users\<user name>\.m2\repository\com\google\auto\service\auto-service-annotations\1.0\auto-service-annotations-1.0.jar;C:\Users\<user name>\.m2\repository\com\google\auto\service\auto-service\1.0\auto-service-1.0.jar;C:\Users\<user name>\.m2\repository\com\google\auto\auto-common\1.0\auto-common-1.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-chromium-driver\4.0.0\selenium-chromium-driver-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-json\4.0.0\selenium-json-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-devtools-v85\4.0.0\selenium-devtools-v85-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-devtools-v93\4.0.0\selenium-devtools-v93-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-devtools-v94\4.0.0\selenium-devtools-v94-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-devtools-v95\4.0.0\selenium-devtools-v95-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-edge-driver\4.0.0\selenium-edge-driver-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-firefox-driver\4.0.0\selenium-firefox-driver-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-firefox-xpi-driver\4.0.0\selenium-firefox-xpi-driver-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-ie-driver\4.0.0\selenium-ie-driver-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-opera-driver\4.0.0\selenium-opera-driver-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\4.0.0\selenium-remote-driver-4.0.0.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-buffer\4.1.68.Final\netty-buffer-4.1.68.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-codec-http\4.1.67.Final\netty-codec-http-4.1.67.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-codec\4.1.67.Final\netty-codec-4.1.67.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-handler\4.1.67.Final\netty-handler-4.1.67.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-common\4.1.68.Final\netty-common-4.1.68.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-transport-native-epoll\4.1.67.Final\netty-transport-native-epoll-4.1.67.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-transport-native-kqueue\4.1.67.Final\netty-transport-native-kqueue-4.1.67.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-transport-native-unix-common\4.1.67.Final\netty-transport-native-unix-common-4.1.67.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-transport\4.1.68.Final\netty-transport-4.1.68.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-resolver\4.1.68.Final\netty-resolver-4.1.68.Final.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-api\1.6.0\opentelemetry-api-1.6.0.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-context\1.6.0\opentelemetry-context-1.6.0.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-exporter-logging\1.6.0\opentelemetry-exporter-logging-1.6.0.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-sdk-metrics\1.6.0-alpha\opentelemetry-sdk-metrics-1.6.0-alpha.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-sdk-common\1.6.0\opentelemetry-sdk-common-1.6.0.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-sdk-extension-autoconfigure-spi\1.6.0\opentelemetry-sdk-extension-autoconfigure-spi-1.6.0.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-sdk-extension-autoconfigure\1.6.0-alpha\opentelemetry-sdk-extension-autoconfigure-1.6.0-alpha.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-sdk-trace\1.6.0\opentelemetry-sdk-trace-1.6.0.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-api-metrics\1.6.0-alpha\opentelemetry-api-metrics-1.6.0-alpha.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-sdk\1.6.0\opentelemetry-sdk-1.6.0.jar;C:\Users\<user name>\.m2\repository\io\opentelemetry\opentelemetry-semconv\1.6.0-alpha\opentelemetry-semconv-1.6.0-alpha.jar;C:\Users\<user name>\.m2\repository\io\ous\jtoml\2.0.0\jtoml-2.0.0.jar;C:\Users\<user name>\.m2\repository\net\bytebuddy\byte-buddy\1.11.19\byte-buddy-1.11.19.jar;C:\Users\<user name>\.m2\repository\org\apache\commons\commons-exec\1.3\commons-exec-1.3.jar;C:\Users\<user name>\.m2\repository\org\asynchttpclient\async-http-client\2.12.3\async-http-client-2.12.3.jar;C:\Users\<user name>\.m2\repository\org\asynchttpclient\async-http-client-netty-utils\2.12.3\async-http-client-netty-utils-2.12.3.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-codec-socks\4.1.60.Final\netty-codec-socks-4.1.60.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-handler-proxy\4.1.60.Final\netty-handler-proxy-4.1.60.Final.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-transport-native-epoll\4.1.60.Final\netty-transport-native-epoll-4.1.60.Final-linux-x86_64.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-transport-native-kqueue\4.1.60.Final\netty-transport-native-kqueue-4.1.60.Final-osx-x86_64.jar;C:\Users\<user name>\.m2\repository\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;C:\Users\<user name>\.m2\repository\com\typesafe\netty\netty-reactive-streams\2.0.4\netty-reactive-streams-2.0.4.jar;C:\Users\<user name>\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-http\4.0.0\selenium-http-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-safari-driver\4.0.0\selenium-safari-driver-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-support\4.0.0\selenium-support-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\seleniumhq\selenium\selenium-api\4.0.0\selenium-api-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\json\json\20210307\json-20210307.jar;C:\Users\<user name>\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\<user name>\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\<user name>\.m2\repository\javax\mail\mail\1.5.0-b01\mail-1.5.0-b01.jar;C:\Users\<user name>\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\<user name>\.m2\repository\io\github\bonigarcia\webdrivermanager\5.0.2\webdrivermanager-5.0.2.jar;C:\Users\<user name>\.m2\repository\org\slf4j\slf4j-api\1.7.32\slf4j-api-1.7.32.jar;C:\Users\<user name>\.m2\repository\com\google\code\gson\gson\2.8.8\gson-2.8.8.jar;C:\Users\<user name>\.m2\repository\com\github\docker-java\docker-java\3.2.11\docker-java-3.2.11.jar;C:\Users\<user name>\.m2\repository\com\github\docker-java\docker-java-core\3.2.11\docker-java-core-3.2.11.jar;C:\Users\<user name>\.m2\repository\com\github\docker-java\docker-java-api\3.2.11\docker-java-api-3.2.11.jar;C:\Users\<user name>\.m2\repository\com\github\docker-java\docker-java-transport-httpclient5\3.2.11\docker-java-transport-httpclient5-3.2.11.jar;C:\Users\<user name>\.m2\repository\com\github\docker-java\docker-java-transport\3.2.11\docker-java-transport-3.2.11.jar;C:\Users\<user name>\.m2\repository\org\apache\httpcomponents\client5\httpclient5\5.0.3\httpclient5-5.0.3.jar;C:\Users\<user name>\.m2\repository\org\apache\httpcomponents\core5\httpcore5\5.0.2\httpcore5-5.0.2.jar;C:\Users\<user name>\.m2\repository\net\java\dev\jna\jna\5.8.0\jna-5.8.0.jar;C:\Users\<user name>\.m2\repository\org\brotli\dec\0.1.2\dec-0.1.2.jar;C:\Users\<user name>\.m2\repository\org\testng\testng\7.4.0\testng-7.4.0.jar;C:\Users\<user name>\.m2\repository\com\beust\jcommander\1.78\jcommander-1.78.jar;C:\Users\<user name>\.m2\repository\org\webjars\jquery\3.5.1\jquery-3.5.1.jar;C:\Users\<user name>\.m2\repository\com\opencsv\opencsv\5.5.2\opencsv-5.5.2.jar;C:\Users\<user name>\.m2\repository\org\apache\commons\commons-text\1.9\commons-text-1.9.jar;C:\Users\<user name>\.m2\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;C:\Users\<user name>\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\<user name>\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\<user name>\.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\<user name>\.m2\repository\org\jdom\jdom2\2.0.6\jdom2-2.0.6.jar;C:\Users\<user name>\.m2\repository\mysql\mysql-connector-java\8.0.25\mysql-connector-java-8.0.25.jar;C:\Users\<user name>\.m2\repository\org\apache\poi\poi\5.0.0\poi-5.0.0.jar;C:\Users\<user name>\.m2\repository\org\slf4j\jcl-over-slf4j\1.7.30\jcl-over-slf4j-1.7.30.jar;C:\Users\<user name>\.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\<user name>\.m2\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;C:\Users\<user name>\.m2\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;C:\Users\<user name>\.m2\repository\org\apache\poi\poi-ooxml\5.0.0\poi-ooxml-5.0.0.jar;C:\Users\<user name>\.m2\repository\org\apache\poi\poi-ooxml-lite\5.0.0\poi-ooxml-lite-5.0.0.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlbeans\xmlbeans\4.0.0\xmlbeans-4.0.0.jar;C:\Users\<user name>\.m2\repository\org\apache\commons\commons-compress\1.20\commons-compress-1.20.jar;C:\Users\<user name>\.m2\repository\com\github\virtuald\curvesapi\1.06\curvesapi-1.06.jar;C:\Users\<user name>\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.68\bcpkix-jdk15on-1.68.jar;C:\Users\<user name>\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.68\bcprov-jdk15on-1.68.jar;C:\Users\<user name>\.m2\repository\org\apache\santuario\xmlsec\2.2.1\xmlsec-2.2.1.jar;C:\Users\<user name>\.m2\repository\com\fasterxml\woodstox\woodstox-core\5.2.1\woodstox-core-5.2.1.jar;C:\Users\<user name>\.m2\repository\org\codehaus\woodstox\stax2-api\4.2\stax2-api-4.2.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-all\1.13\batik-all-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-anim\1.13\batik-anim-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-shared-resources\1.13\batik-shared-resources-1.13.jar;C:\Users\<user name>\.m2\repository\xml-apis\xml-apis-ext\1.3.04\xml-apis-ext-1.3.04.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-awt-util\1.13\batik-awt-util-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\xmlgraphics-commons\2.4\xmlgraphics-commons-2.4.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-bridge\1.13\batik-bridge-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-codec\1.13\batik-codec-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-constants\1.13\batik-constants-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-css\1.13\batik-css-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-dom\1.13\batik-dom-1.13.jar;C:\Users\<user name>\.m2\repository\xalan\xalan\2.7.2\xalan-2.7.2.jar;C:\Users\<user name>\.m2\repository\xalan\serializer\2.7.2\serializer-2.7.2.jar;C:\Users\<user name>\.m2\repository\xml-apis\xml-apis\1.4.01\xml-apis-1.4.01.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-ext\1.13\batik-ext-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-extension\1.13\batik-extension-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-gui-util\1.13\batik-gui-util-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-gvt\1.13\batik-gvt-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-i18n\1.13\batik-i18n-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-parser\1.13\batik-parser-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-rasterizer-ext\1.13\batik-rasterizer-ext-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-rasterizer\1.13\batik-rasterizer-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-script\1.13\batik-script-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-slideshow\1.13\batik-slideshow-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-squiggle-ext\1.13\batik-squiggle-ext-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-squiggle\1.13\batik-squiggle-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-svg-dom\1.13\batik-svg-dom-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-svgbrowser\1.13\batik-svgbrowser-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-svggen\1.13\batik-svggen-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-svgpp\1.13\batik-svgpp-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-svgrasterizer\1.13\batik-svgrasterizer-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-swing\1.13\batik-swing-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-transcoder\1.13\batik-transcoder-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-util\1.13\batik-util-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-ttf2svg\1.13\batik-ttf2svg-1.13.jar;C:\Users\<user name>\.m2\repository\org\apache\xmlgraphics\batik-xml\1.13\batik-xml-1.13.jar;C:\Users\<user name>\.m2\repository\de\rototor\pdfbox\graphics2d\0.30\graphics2d-0.30.jar;C:\Users\<user name>\.m2\repository\org\apache\pdfbox\pdfbox\2.0.22\pdfbox-2.0.22.jar;C:\Users\<user name>\.m2\repository\org\apache\pdfbox\fontbox\2.0.22\fontbox-2.0.22.jar;C:\Users\<user name>\.m2\repository\io\rest-assured\rest-assured\4.4.0\rest-assured-4.4.0.jar;C:\Users\<user name>\.m2\repository\org\codehaus\groovy\groovy\3.0.8\groovy-3.0.8.jar;C:\Users\<user name>\.m2\repository\org\codehaus\groovy\groovy-xml\3.0.8\groovy-xml-3.0.8.jar;C:\Users\<user name>\.m2\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;C:\Users\<user name>\.m2\repository\org\apache\httpcomponents\httpcore\4.4.13\httpcore-4.4.13.jar;C:\Users\<user name>\.m2\repository\org\apache\httpcomponents\httpmime\4.5.13\httpmime-4.5.13.jar;C:\Users\<user name>\.m2\repository\org\hamcrest\hamcrest\2.1\hamcrest-2.1.jar;C:\Users\<user name>\.m2\repository\org\ccil\cowan\tagsoup\tagsoup\1.2.1\tagsoup-1.2.1.jar;C:\Users\<user name>\.m2\repository\io\rest-assured\xml-path\4.4.0\xml-path-4.4.0.jar;C:\Users\<user name>\.m2\repository\io\rest-assured\rest-assured-all\4.4.0\rest-assured-all-4.4.0.jar;C:\Users\<user name>\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\<user name>\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\<user name>\.m2\repository\com\sun\xml\bind\jaxb-impl\2.3.3\jaxb-impl-2.3.3.jar;C:\Users\<user name>\.m2\repository\org\codehaus\groovy\groovy-json\3.0.8\groovy-json-3.0.8.jar;C:\Users\<user name>\.m2\repository\io\rest-assured\json-path\4.4.0\json-path-4.4.0.jar;C:\Users\<user name>\.m2\repository\io\rest-assured\rest-assured-common\4.4.0\rest-assured-common-4.4.0.jar;C:\Users\<user name>\.m2\repository\io\rest-assured\json-schema-validator\4.4.0\json-schema-validator-4.4.0.jar;C:\Users\<user name>\.m2\repository\com\github\java-json-tools\json-schema-validator\2.2.14\json-schema-validator-2.2.14.jar;C:\Users\<user name>\.m2\repository\com\github\java-json-tools\jackson-coreutils-equivalence\1.0\jackson-coreutils-equivalence-1.0.jar;C:\Users\<user name>\.m2\repository\com\github\java-json-tools\jackson-coreutils\2.0\jackson-coreutils-2.0.jar;C:\Users\<user name>\.m2\repository\com\github\java-json-tools\msg-simple\1.2\msg-simple-1.2.jar;C:\Users\<user name>\.m2\repository\com\github\java-json-tools\btf\1.3\btf-1.3.jar;C:\Users\<user name>\.m2\repository\com\github\java-json-tools\json-schema-core\1.2.14\json-schema-core-1.2.14.jar;C:\Users\<user name>\.m2\repository\com\github\java-json-tools\uri-template\0.10\uri-template-0.10.jar;C:\Users\<user name>\.m2\repository\org\mozilla\rhino\1.7.7.2\rhino-1.7.7.2.jar;C:\Users\<user name>\.m2\repository\com\sun\mail\mailapi\1.6.2\mailapi-1.6.2.jar;C:\Users\<user name>\.m2\repository\joda-time\joda-time\2.10.5\joda-time-2.10.5.jar;C:\Users\<user name>\.m2\repository\com\googlecode\libphonenumber\libphonenumber\8.11.1\libphonenumber-8.11.1.jar;C:\Users\<user name>\.m2\repository\net\sf\jopt-simple\jopt-simple\5.0.4\jopt-simple-5.0.4.jar;C:\Users\<user name>\.m2\repository\org\hamcrest\hamcrest-all\1.3\hamcrest-all-1.3.jar;C:\Users\<user name>\.m2\repository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;C:\Users\<user name>\.m2\repository\org\jsoup\jsoup\1.14.3\jsoup-1.14.3.jar;C:\Users\<user name>\.m2\repository\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar;C:\Users\<user name>\.m2\repository\com\google\inject\guice\5.0.1\guice-5.0.1.jar;C:\Users\<user name>\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\<user name>\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\<user name>\.m2\repository\org\mongodb\mongo-java-driver\3.12.10\mongo-java-driver-3.12.10.jar;C:\Users\<user name>\.m2\repository\org\assertj\assertj-core\3.21.0\assertj-core-3.21.0.jar;C:\Users\<user name>\.m2\repository\net\lightbody\bmp\browsermob-core\2.1.5\browsermob-core-2.1.5.jar;C:\Users\<user name>\.m2\repository\net\lightbody\bmp\littleproxy\1.1.0-beta-bmp-17\littleproxy-1.1.0-beta-bmp-17.jar;C:\Users\<user name>\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.8.9\jackson-core-2.8.9.jar;C:\Users\<user name>\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.8.9\jackson-databind-2.8.9.jar;C:\Users\<user name>\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.9\jackson-annotations-2.8.9.jar;C:\Users\<user name>\.m2\repository\dnsjava\dnsjava\2.1.8\dnsjava-2.1.8.jar;C:\Users\<user name>\.m2\repository\com\jcraft\jzlib\1.1.3\jzlib-1.1.3.jar;C:\Users\<user name>\.m2\repository\io\netty\netty-all\4.0.51.Final\netty-all-4.0.51.Final.jar;C:\Users\<user name>\.m2\repository\net\lightbody\bmp\mitm\2.1.5\mitm-2.1.5.jar;C:\Users\<user name>\.m2\repository\redis\clients\jedis\3.6.3\jedis-3.6.3.jar;C:\Users\<user name>\.m2\repository\org\apache\commons\commons-pool2\2.9.0\commons-pool2-2.9.0.jar
06-05-2022 08:25:06.055 [java] [DEBUG] found java executable in C:\Program Files\Java\jdk-11.0.14\bin\java.exe
06-05-2022 08:25:06.055 [java] [DEBUG] running - C:\Program Files\Java\jdk-11.0.14\bin\java.exe [-Dfile.encoding=UTF-8 com.thoughtworks.gauge.GaugeRuntime --start]
06-05-2022 08:25:06.055 [java] [DEBUG] stdout/stderr is logged to logs\25000-java.exe.out
06-05-2022 08:25:07.044 [java] [DEBUG] multithreading is set to true
06-05-2022 08:25:07.044 [java] [DEBUG] multithreading enabled, number of threads=8
06-05-2022 08:25:22.534 [Gauge] [CRITICAL] Failed to start gauge API: Timed out connecting to java

Expected behavior Specification file should run without any error

Screenshots

Versions: -windows, 1.2.1, fa7918b -html-report (4.0.12), java (0.8.1), json-report (0.3.6), screenshot (0.1.0), xml-report (0.2.3)

Processor: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz RAM : 16.0 GB (15.7 GB usable) Type : 64-bit operating system, x64-based processor

Gauge version: 1.2.1
Commit Hash: fa7918b

Plugins
-------
html-report (4.0.12)
java (0.8.1)
json-report (0.3.6)
screenshot (0.1.0)

Additional context I know there are multiple bugs/topics are already there on the same issue but i did not find any precise answer or solution

sriv commented 2 years ago

Please use the latest gauge version. If you still face errors please inspect logs for errors and share it without any sensitive information.

In the logs folder, you may see some .out files. Please see if they yield any hints.

vsr2 commented 2 years ago

@sriv i did install latest gauge but facing same issue. gauge logs are same as old logs and .out files doesn't have much information other than "{"logLevel":"debug","message":"multithreading is set to true"} {"logLevel":"debug","message":"multithreading enabled, number of threads=8"}".