Git Product home page Git Product logo

Failed to kill Runner: rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: INTERNAL_ERROR, debug data: io/perfmark/PerfMark about gauge-java HOT 6 OPEN

MikhailDread avatar MikhailDread commented on September 28, 2024
Failed to kill Runner: rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: INTERNAL_ERROR, debug data: io/perfmark/PerfMark

from gauge-java.

Comments (6)

sriv avatar sriv commented on September 28, 2024

hi @ZmixZ - is there a project that I can try executing to see this error? It seems like this is thrown due to some unresolved gRPC dependency.

from gauge-java.

MikhailDread avatar MikhailDread commented on September 28, 2024

Good day @sriv !
Unfortunately, I have no idea how to do this. The fact is that I get this error in general in all projects that are on Gauge:).
For example, I initially relied on the official project and there I also caught this error: https://github.com/getgauge-examples/java-gradle-selenium
Perhaps if you ask me to send you some information, I can somehow contribute to the speedy resolution of the problem?

from gauge-java.

sriv avatar sriv commented on September 28, 2024

That is strange. What command are you using to run the tests for https://github.com/getgauge-examples/java-gradle-selenium?

I use ./gradlew gauge.

The fact is that I get this error in general in all projects that are on Gauge:).

That's a bummer. Are your gauge projects using any build tool (maven/gradle)? If so, please share what commands you use to run the specs.

Also, do you see anything abnormal reported in the logs?

from gauge-java.

MikhailDread avatar MikhailDread commented on September 28, 2024

@sriv Hmm, I run my specs through Run, but before that I tried to launch gradlew gauge in my project. I'm just learning how to work with gradle. What is interesting for me was just this message (launching the browser and working out the step was not):
C:\Users\vanyushin\Documents\GitHub\Gauge-Framework-Example>gradlew gauge

BUILD SUCCESSFUL in 2s
1 actionable task: 1 executed

And for some reason I mentally dismissed it as a possible solution to the situation, but I tried to launch this project: https://github.com/getgauge-examples/java-gradle-selenium in the same way and it began to work out correctly.

My build.gradle:
plugins {
id 'java'
id "org.gauge" version "1.8.2"
id "com.gradleup.static-analysis" version "1.4"
id "com.github.spotbugs" version "4.7.4"
}

group 'org.example'
version '1.0-SNAPSHOT'

repositories {
mavenCentral()
}

dependencies {
compileOnly 'org.projectlombok:lombok:1.18.20'
implementation 'org.mybatis:mybatis:3.5.7'
implementation 'org.mariadb.jdbc:mariadb-java-client:2.7.4'
implementation 'com.thoughtworks.gauge:gauge-java:0.7.15'
implementation 'com.codeborne:selenide:5.18.1'
implementation 'io.github.bonigarcia:webdrivermanager:4.4.3'
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.10.0-RC1'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.13.0-rc1'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.13.0-rc1'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.13.0-rc1'
implementation group: 'com.google.inject', name: 'guice', version: '5.0.1'
implementation group: 'org.mybatis', name: 'mybatis-guice', version: '3.12'
}

staticAnalysis {
penalty {
maxErrors = 0
maxWarnings = 0
}
checkstyle { toolVersion = 9.0 }
pmd { }
spotbugs { }
}

test {
useJUnitPlatform()
}

gauge {
specsDir = 'specs'
inParallel = false
nodes = 1
env = 'default'
tags = 'tag1'
additionalFlags = '--verbose'
gaugeRoot = '/opt/gauge'
}

Maybe you need some specific scripts in gradlew?

from gauge-java.

sriv avatar sriv commented on September 28, 2024

Gradle caches your build, so if it feels that there is no change since the last run, it will report the status without executing it again. Can you try running gradlew --no-build-cache?

I'll investigate what's the best way to make gauge task not cacheable

from gauge-java.

MikhailDread avatar MikhailDread commented on September 28, 2024

@sriv When I run gradlew --no-build-cache, I get the exact same build success message:
C:\Users\vanyushin\Documents\GitHub\Gauge-Framework-Example>gradlew --no-build-cache

Task :help

Welcome to Gradle 7.1.

To run a build, run gradlew ...

To see a list of available tasks, run gradlew tasks

To see a list of command-line options, run gradlew --help

To see more detail about a task, run gradlew help --task

For troubleshooting, visit https://help.gradle.org

BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed

I also tried to launch using gradlew --no-build-cache gauge and gradlew clean build --no-build-cache and gradlew gauge --rerun-tasks, or, for example, killed daemons with gradlew --stop, and then tried to launch using a new build, and give and always got the same thing (message above)

from gauge-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.