question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

xhchange-binance 2 tests fail

See original GitHub issue

Gentlemen,

I am getting error on mvn package comman in develop branch. Any ideas what that might be? Using openjdk-15.0.

[ERROR] Process Exit Code: 0
k[ERROR] Crashed tests:
H[ERROR] org.knowm.xchange.binance.service.marketdata.MarketDataServiceResilienceTest
a[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
n[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-15.0.1\bin\java" -jar C:\Users\jure\AppData\Local\Temp\surefire3344733857606590647\surefirebooter3653959665010758778.jar C:\Users\jure\AppData\Local\Temp\surefire3344733857606590647 2020-11-13T10-17-02_441-jvmRun1 surefire9671589161351467059tmp surefire_02054377321870306343tmp"
d[ERROR] Process Exit Code: 0
l[ERROR] Crashed tests:
e[ERROR] org.knowm.xchange.binance.service.marketdata.MarketDataServiceResilienceTest
r[ERROR]        at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:748)
D[ERROR]        at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:305)
i[ERROR]        at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:265)
s[ERROR]        at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
p[ERROR]        at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
a[ERROR]        at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
t[ERROR]        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) c[ERROR]        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
h[ERROR]        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
i[ERROR]        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
n[ERROR]        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
g[ERROR]        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
S[ERROR]        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
e[ERROR]        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
r[ERROR]        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
v[ERROR]        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
l[ERROR]        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
e[ERROR]        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
t[ERROR]        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
,[ERROR]        at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
j[ERROR]        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
s[ERROR]        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
p[ERROR]        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
=[ERROR]        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
n[ERROR]        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
u[ERROR]        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
l[ERROR]        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
l[ERROR]        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
,[ERROR]
o[ERROR] -> [Help 1]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
jurepetroviccommented, Mar 1, 2021

Sorry, did not try the openjdk-11. I just removed the tests, temporarily “mitigating” the issue. Everything else worked fine.

Will try again, when I have some other work on that part of the code again.

Rgds, Jure

1reaction
walec51commented, Feb 28, 2021

closing due to lack of response

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unconditional Test Failures | Apple Developer Documentation
Check whether a test condition has, or doesn't have, a value. Equality and Inequality Assertions. Check whether two values are equal or unequal....
Read more >
How to Fix Flaky Tests - Semaphore CI
Randomly failing tests are the hardest to debug. Here's a framework you can use to fix them ... Step 2 – Find the...
Read more >
PublishTestResults@2 - Publish Test Results v2 task
When this boolean's value is true , the task will fail if any of the tests in the results file are marked as...
Read more >
unittest — Unit testing framework — Python 3.11.1 ...
Unittest supports skipping individual test methods and even whole classes of tests. In addition, it supports marking a test as an “expected failure,”...
Read more >
Making Maven run all tests, even when some fail
In a multi-module project, modules that depend on module that has failed tests will be skipped. Use -fn instead. – hipokito. Mar 9,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found