PHP Unit test terminated?

I setup my configuration and not is all I am getting is 'Process finished with exit code 0'. The pane on the far left with columns labeled Test, Time Elapsed, and Results only shows the location of the test (in the Test column) and "<TERMINATED>" in the Time Elapsed column. Any ideas on how I get more information on why it didn't even run?

Comment actions Permalink

Any ideas on this. I am not sure why my tests all of a sudden stopped working.

Comment actions Permalink

No real idea.

I may only suggest to:

  1. Check idea.log for possible details (exception or something) -- "Help | Show Log in ..."
  2. Does it work if you run your tests from terminal/console (highly recommended to check) ?
  3. Backup and delete project settings (.idea subfolder) and configure project from scratch -- in case if it's something related to project settings
  4. Create and use new PHPUnit Run/Debug configuration (same as above, basically -- bit faster but less safe as does not exclude other possible factors)
  5. In case there is a problem with PHPUnit itself (corruption of some kind) -- try removing it and installing it back (PEAR/Composer/PHAR -- whatever you have there)
  6. Create brand new project with simple test -- see if it will run there (maybe some recent plugin update somehow interfere). If not -- try disabling any 3rd party plugins (not bundled ones).
Comment actions Permalink

Any update after the log and screenshot that was sent?

Comment actions Permalink

Sorry, but I have not clue what you are talking about.

Comment actions Permalink

Sorry. I sent you the attachments through email I guess you didn't get them. The .php file is the tests. The idea.log is the log file. The rest of the jpg files are screen shots of the tests and my configurations. Thank you.

unittest (1).jpg
Comment actions Permalink

1) I do not remember giving you my email address (but I think I left it once or twice on this forum)
2) Even if I did .. I have not received anything
3) I do not work for JetBrains
4) But I have looked at your screenshots/logs and found nothing that would explain what execution is interrupted (as to my level of PHPUnit/PhpStorm integration knowledge, of course)

My only suggestiongs right now would be:
1) See what will happen if instead of "Run" you hit "Debug" button -- this may give you info on where termination occurs (what line) and some ideas of why it may be happening.
2) Better submit a ticket to the Issue Tracker -- if you provide some standalone working project they could investigate it deeper.

Comment actions Permalink

I sent the email to "Andriy Bazanov" <>, which is the "from" address on the email that I received with your comments.

"Debug" unit tests result in the same symptoms.

Since I don't know what caused it I also don't know how to recreate it. I will file a bug report with the screen shots and log reports that I gave you.
Thank you.

Comment actions Permalink
I sent the email to "Andriy Bazanov" <>, which is the "from" address on the email that I received with your comments.

I see. That's a generic email address used to send all notifications from this forum. I see the same for your messages: Kevin Burton <>. I doubt anyone is checking this mail box.

"Debug" unit tests result in the same symptoms.

Did you setup breakpoints anywhere in your test ... or you run it without them. If 2nd then it is indeed makes no difference to "Run".

The idea was to step trough each method of your code to locate the line that halts the execution.

Comment actions Permalink

Hey, I have got the same error message, knowing that 

- I am  in Docker connexion.

- I ue remote PHP docker interpreter.

- My unit tests work fine in CLI

- I am on Phpstrom 2018.1

Logs from .dea.log:


2018-04-29 20:31:37,691 [2717280] ERROR - ht.daemon.impl.LineMarkersPass - PhpStorm 2018.1 Build #PS-181.4203.565
2018-04-29 20:31:37,691 [2717280] ERROR - ht.daemon.impl.LineMarkersPass - JDK: 1.8.0_152-release
2018-04-29 20:31:37,691 [2717280] ERROR - ht.daemon.impl.LineMarkersPass - VM: OpenJDK 64-Bit Server VM
2018-04-29 20:31:37,691 [2717280] ERROR - ht.daemon.impl.LineMarkersPass - Vendor: JetBrains s.r.o
2018-04-29 20:31:37,691 [2717280] ERROR - ht.daemon.impl.LineMarkersPass - OS: Linux
2018-04-29 20:31:37,691 [2717280] ERROR - ht.daemon.impl.LineMarkersPass - Last Action: Stop
2018-04-29 20:31:37,692 [2717281] ERROR - ht.daemon.impl.LineMarkersPass - Calling invokeAndWait from read-action leads to possible deadlock.
java.lang.IllegalStateException: Calling invokeAndWait from read-action leads to possible deadlock.
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(
at com.intellij.docker.compose.configuration.beans.DockerComposeConfigurationParser.saveDockerComposeFile(
at com.intellij.docker.compose.configuration.beans.DockerComposeConfigurationParser.parseBean(
at com.jetbrains.php.remote.docker.PhpDockerComposePathMappingsProvider$DockerComposeMappingsCollector.parse(
at com.jetbrains.php.remote.docker.PhpDockerComposePathMappingsProvider$DockerComposeMappingsCollector.collect(
at com.jetbrains.php.remote.docker.PhpDockerComposePathMappingsProvider.getPathMappingSettings(
at com.jetbrains.php.remote.PhpRemoteInterpreterManagerImpl.createPathMappings(
at com.jetbrains.php.remote.PhpRemoteInterpreterManagerImpl.createPathMapper(
at com.jetbrains.php.phpunit.PhpUnitTestRunLineMarkerProvider.createPathMapper(
at com.jetbrains.php.phpunit.PhpUnitTestRunLineMarkerProvider.getFilePathDeploymentAware(
at com.jetbrains.php.phpunit.PhpUnitTestRunLineMarkerProvider.getLocationHint(
at com.jetbrains.php.phpunit.PhpUnitTestRunLineMarkerProvider.getLocationHint(
at com.jetbrains.php.phpunit.PhpUnitTestRunLineMarkerProvider.getInfo(
at com.intellij.execution.lineMarker.RunLineMarkerProvider.getLineMarkerInfo(
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.a(
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.a(
at com.intellij.codeInsight.daemon.impl.Divider.divideInsideAndOutsideInOneRoot(
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(
at com.intellij.openapi.progress.impl.CoreProgressManager.a(
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.d(
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(
at com.intellij.codeInsight.daemon.impl.PassExecutorService$
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(
at java.util.concurrent.ForkJoinTask.doExec(
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(
at java.util.concurrent.ForkJoinPool.runWorker(



Comment actions Permalink

@Ajax13 Is there anything else in the log? Best would be to contact support via and troubleshoot this directly with the team.


Please sign in to leave a comment.