RubyMine coverage: An error occurred during coverage data transfer. Check logs for more details.
I run test in Docker , and it's return this error, how can I solve this?
WARN - .run.RubyCoverageSuiteListener - Error while moving coverage report:
java.io.IOException: Not implemented
at com.intellij.docker.remote.ruby.RubyDockerRemoteTransfer.moveFileToLocalPath(RubyDockerRemoteTransfer.java:89)
at org.jetbrains.plugins.ruby.coverage.run.RubyCoverageSuiteListener.coverageGathered(RubyCoverageSuiteListener.java:62)
at com.intellij.coverage.CoverageDataManagerImpl.fireCoverageGathered(CoverageDataManagerImpl.java:587)
at com.intellij.coverage.CoverageDataManagerImpl.coverageGathered(CoverageDataManagerImpl.java:339)
at com.intellij.coverage.CoverageDataManagerImpl.processGatheredCoverage(CoverageDataManagerImpl.java:449)
at com.intellij.coverage.CoverageDataManagerImpl.processGatheredCoverage(CoverageDataManagerImpl.java:423)
at com.intellij.coverage.CoverageDataManagerImpl$6.processTerminated(CoverageDataManagerImpl.java:414)
at jdk.internal.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.execution.process.ProcessHandler$2.invoke(ProcessHandler.java:247)
at com.sun.proxy.$Proxy43.processTerminated(Unknown Source)
at com.intellij.execution.process.ProcessHandler.lambda$notifyTerminated$2(ProcessHandler.java:205)
at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:280)
at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:188)
at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:184)
at com.intellij.execution.process.KillableProcessHandler.notifyProcessTerminated(KillableProcessHandler.java:148)
at com.intellij.execution.process.BaseProcessHandler.onOSProcessTerminated(BaseProcessHandler.java:61)
at com.intellij.execution.process.OSProcessHandler.onOSProcessTerminated(OSProcessHandler.java:196)
at com.intellij.execution.process.BaseOSProcessHandler$1.lambda$startNotified$0(BaseOSProcessHandler.java:98)
at com.intellij.execution.process.ProcessWaitFor.lambda$new$0(ProcessWaitFor.java:45)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:213)
at com.intellij.execution.process.ProcessWaitFor.lambda$new$1(ProcessWaitFor.java:23)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
2022-02-07 00:33:39,162 [ 217679] WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID: Run) or icon RasterizedImageDataLoader(, classLoader=com.intellij.util.lang.PathClassLoader@6bf256fa, path='general/runWithCoverage.svg')
Please sign in to leave a comment.
Could you please specify your RubyMine version? Does the same happen in 2022.1 EAP?
Same issue happens to me using Rubymine 2022.1 EAP (also with 2021.3.2. I don't know if older versions work.). This happens when trying to run rspec tests with coverage inside a docker container. Ruby 2.2.8, simplecov 0.17.
Running tests without coverage works fine.
EDIT: several issue reports exist in youtrack: https://youtrack.jetbrains.com/issue/RUBY-12337
I've got the same error when using docker compose remote interpreter on RubyMine 2022.1.2. Though it creates files `coverage/.last_run.json` and `coverage/.resultset.json.lock`.
The same issue is occurring and has not been resolved. The version that is causing this is Rubymine 2022.2.1 #RM-222.3739.56.
I'm using a remote interpreter on a docker container, and in the coverage directory I have `.last_run.json`, `.resultset.json` and `.resultset.json.lock`, and an HTML coverage report generated.
Amaranthine Kt the corresponding request (https://youtrack.jetbrains.com/issue/RUBY-12337) is still opened and planned for 2022.3