phpStorm 10 remote interpreter “Debian GNU/Linux PHP 7 Development Environment” alerts

My current development environment is a Windows 10 64 bit computer. I have setup a "rasmus/php7dev" vagrant box (using VirtualBox, not Hyper-V) on my machine.

In phpStorm 10.0.3, I have successfully set up a remote PHP interpreter to the PHP interpreter in the vagrant box and I also set up unit test to be executed from the vagrant box as well.

My issue is that every time I run my unit test suite from phpStorm, many "Debian GNU/Linux PHP 7 Development Environment" alert boxes are displayed in the software. This is very annoying.

Anyone can point out the right phpStorm setting to block these popups?

8 comments

Hi there,

You can start with showing screenshots of such alerts.

You can also check idea.log file (Help | Show Log in...) to see the possible reason for them showing up.

But in general -- you can try figuring out what notification it is exactly and disabling it (changing style) in "Settings/Preferences | Appearance & Behaviour | Notifications"

0

So .. have you tried ticking that check box? Did it worked? (sorry for asking such obvious question, but you did not state this moment  in your original message)

You can also access that setting in your "Settings/Preferences | Build, Execution, Deployment | Deployment" -- find your SFTP entry there and check "Ignore info messages" option in "Advanced options..."

0

I have checked the "Do not show again box..." and pressed "Ok". Even when checked, other messages are prompted while executing (see other screenshot below). Also, the checkbox values is not remembered between executions. If I re-run the test suite, the checkbox remains unchecked.

 

 

The "Ignore info messages" settings does not fix the problem either.

0

In such case I do not know what else may be causing such behaviour and why check box is not remembered.

0

Could you, please, add #com.jetbrains.php and com.jetbrains.php strings into Help > Debug Log Settings, then reproduce the issue and send the log file to us?

0

Here is a dump of the idea.log file when I run the test suite (with #com.jetbrains.php and com.jetbrains.php set):

2016-03-13 00:45:48,216 [39843993] INFO - e.RemoteSdkCredentialsProducer - Updating credentials for VagrantBasedCredentialsHolder{myVagrantFolder='C:/Work', myMachineName='null'}
2016-03-13 00:45:48,217 [39843994] INFO - e.RemoteSdkCredentialsProducer - Credentials for VagrantBasedCredentialsHolder{myVagrantFolder='C:/Work', myMachineName='null'} found in cache.
2016-03-13 00:45:48,422 [39844199] INFO - sdk.transport.SshRemoteSession - New ssh session created: vagrant@127.0.0.1:2222
2016-03-13 00:45:48,466 [39844243] INFO - ugins.remotesdk.RemoteTransfer - Uploading helpers to /home/vagrant/.phpstorm_helpers
2016-03-13 00:45:48,946 [39844723] INFO - ugins.remotesdk.RemoteTransfer - Remote helpers version is PS-143.1770, local helpers version is PS-143.1770
2016-03-13 00:45:48,946 [39844723] INFO - ugins.remotesdk.RemoteTransfer - Helpers upload successfully completed
2016-03-13 00:45:50,832 [39846609] INFO - e.RemoteSdkCredentialsProducer - Credentials for VagrantBasedCredentialsHolder{myVagrantFolder='C:/Work', myMachineName='null'} found in cache.
2016-03-13 00:45:50,847 [39846624] INFO - esdk.transport.JschExecProcess - Executing ssh command: cd /var/www/projects/myproject/tests/Unit/Domain; env "JETBRAINS_REMOTE_RUN"="1" "IDE_PHPUNIT_CUSTOM_LOADER"="/var/www/projects/myproject/vendor/autoload.php" /usr/local/php70-debug/bin/php -dinclude_path=.:../bin/:../vendor/:../vendor/phpunit/phpunit/:../vendor/phpunit/php-code-coverage/:../vendor/phpunit/php-file-iterator/:../vendor/phpunit/php-text-template/:../vendor/phpunit/php-timer/:../vendor/phpunit/php-token-stream/:../vendor/phpunit/phpunit-mock-objects/:../vendor/phpunit/dbunit:../vendor/symfony/yaml/ /home/vagrant/.phpstorm_helpers/phpunit.php --configuration /var/www/projects/myproject/phpunit.xml Test\Unit\MyProject\AnotherLogger\Domain\LogTest /var/www/projects/myproject/tests/Unit/Domain/LogTest.php for vagrant@127.0.0.1:2222
2016-03-13 00:45:50,859 [39846636] DEBUG - .php.run.filters.PhpUnitFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpRemotePathMapper@1fefa2c
2016-03-13 00:45:50,859 [39846636] DEBUG - ains.php.run.filters.PhpFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpRemotePathMapper@1fefa2c
2016-03-13 00:45:50,860 [39846637] DEBUG - ains.php.run.filters.PhpFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpIdenticalPathMapper@3fc655
2016-03-13 00:45:50,860 [39846637] DEBUG - .php.run.filters.PhpUnitFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpIdenticalPathMapper@e29098
2016-03-13 00:45:50,860 [39846637] DEBUG - ains.php.run.filters.PhpFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpIdenticalPathMapper@1666a2a
2016-03-13 00:45:50,870 [39846647] DEBUG - ains.php.run.filters.PhpFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpRemotePathMapper@1fefa2c
2016-03-13 00:45:50,870 [39846647] DEBUG - .php.run.filters.PhpUnitFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpRemotePathMapper@1fefa2c
2016-03-13 00:45:50,870 [39846647] DEBUG - ains.php.run.filters.PhpFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpRemotePathMapper@1fefa2c
2016-03-13 00:45:50,899 [39846676] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: vagrant://C:/Work/usr/local/php70-debug/bin/php -dinclude_path=.:../bin/:../vendor/:../vendor/phpunit/phpunit/:../vendor/phpunit/php-code-coverage/:../vendor/phpunit/php-file-iterator/:../vendor/phpunit/php-text-template/:../vendor/phpunit/php-timer/:../vendor/phpunit/php-token-stream/:../vendor/phpunit/phpunit-mock-objects/:../vendor/phpunit/dbunit:../vendor/symfony/yaml/ /home/vagrant/.phpstorm_helpers/phpunit.php --configuration /var/www/projects/myproject/phpunit.xml Test\Unit\MyProject\AnotherLogger\Domain\LogTest /var/www/projects/myproject/tests/Unit/Domain/LogTest.php
2016-03-13 00:45:51,008 [39846785] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: PHPUnit 5.2.10 by Sebastian Bergmann and contributors.
2016-03-13 00:45:51,008 [39846785] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,015 [39846792] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,015 [39846792] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ##teamcity[testCount count='3']
2016-03-13 00:45:51,015 [39846792] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,015 [39846792] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ##teamcity[testSuiteStarted name='Test\Unit\MyProject\AnotherLogger\Domain\LogTest' locationHint='php_qn:///var/www/projects/myproject/tests/Unit/Domain/LogTest.php::\Test\Unit\MyProject\AnotherLogger\Domain\LogTest']
2016-03-13 00:45:51,015 [39846792] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,015 [39846792] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ##teamcity[testStarted name='toPreciseWeight_throwException' locationHint='php_qn:///var/www/projects/myproject/tests/Unit/Domain/LogTest.php::\Test\Unit\MyProject\AnotherLogger\Domain\LogTest::toPreciseWeight_throwException']
2016-03-13 00:45:51,058 [39846835] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,058 [39846835] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ##teamcity[testFinished name='toPreciseWeight_throwException' duration='10']
2016-03-13 00:45:51,058 [39846835] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,058 [39846835] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ##teamcity[testStarted name='getWeight_returnExpected' locationHint='php_qn:///var/www/projects/myproject/tests/Unit/Domain/LogTest.php::\Test\Unit\MyProject\AnotherLogger\Domain\LogTest::getWeight_returnExpected']
2016-03-13 00:45:51,060 [39846837] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,060 [39846837] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ##teamcity[testFinished name='getWeight_returnExpected' duration='0'
2016-03-13 00:45:51,062 [39846839] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ]
2016-03-13 00:45:51,062 [39846839] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,062 [39846839] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ##teamcity[testStarted name='getLogDate_returnExpected' locationHint='php_qn:///var/www/projects/myproject/tests/Unit/Domain/LogTest.php::\Test\Unit\MyProject\AnotherLogger\Domain\LogTest::getLogDate_returnExpected']
2016-03-13 00:45:51,064 [39846841] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,064 [39846841] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ##teamcity[testFinished name='getLogDate_returnExpected'
2016-03-13 00:45:51,066 [39846843] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: duration='0']
2016-03-13 00:45:51,066 [39846843] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,066 [39846843] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: ##teamcity[testSuiteFinished name='Test\Unit\MyProject\AnotherLogger\Domain\LogTest']
2016-03-13 00:45:51,066 [39846843] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,066 [39846843] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,066 [39846843] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: Time: 183 ms, Memory: 4.00Mb
2016-03-13 00:45:51,066 [39846843] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output:
2016-03-13 00:45:51,066 [39846843] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: OK (3 tests, 3 assertions)
2016-03-13 00:45:51,158 [39846935] DEBUG - m.jetbrains.php.run.PhpRunUtil - Output: Process finished with exit code 0
2016-03-13 00:45:51,168 [39846945] DEBUG - ains.php.run.filters.PhpFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpIdenticalPathMapper@1b8b826
2016-03-13 00:45:51,168 [39846945] DEBUG - .php.run.filters.PhpUnitFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpIdenticalPathMapper@ba2175
2016-03-13 00:45:51,168 [39846945] DEBUG - ains.php.run.filters.PhpFilter - Path mapper: com.jetbrains.php.util.pathmapper.PhpIdenticalPathMapper@15587d7
2016-03-13 00:45:51,259 [39847036] INFO - sdk.transport.SshRemoteSession - New ssh session created: vagrant@127.0.0.1:2222

0

I know it's an old issue, but I just had this problem myself and turns out there is a file /etc/issue.net (on linux guest box) which contains this message. Removing a file removes the message as well. Alternatively, change VM's /etc/ssh/sshd_config file and remove/edit line:

Banner /etc/issue.net

This should also help.

0

Please sign in to leave a comment.