Comments (6)
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.
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.
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.
@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.
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.
@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)
- Unable to debug specs with gauge-java starting with version 0.7.8 HOT 7
- Step refactor doesn't work
- Failed to start runner. Timed out connecting to java HOT 3
- Step Implementations not found when i run my scripts in Jenkins HOT 3
- Dependency Dashboard
- Command execution problem with 2 tags (TagA & TagB or TagA,TagB) HOT 1
- Failed to start gauge API - 0.8.1 is failing on alpine images HOT 6
- error while marshaling: string field contains invalid UTF-8 HOT 1
- Require feature to skip the scenario or data iteration for condition mismatch during runtime
- Failed to update gauge-java to latest version 0.9.0 HOT 4
- Java Runner remains in Infinite Execution Mode HOT 1
- Unable to run spec file on windows10 21H2 machine HOT 2
- I need a feature that skip the scenario, if the scenario have failure
- install java plugin command not working HOT 1
- Add/execute Steps and sceanarios at Runtime
- Make test timeout configurable , "test_timeout" is not working, used it in env/default/java.properties HOT 2
- Vulnerabilities in gauge-java 0.9.1
- Compile gauge-java for Java 17 HOT 1
- gauge install java plugin failing looks like the plugin download url is down HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gauge-java.