[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16690059#comment-16690059 ] Kirk Lund commented on GEODE-3506: -- The PR https://github.com/apache/geode/pull/2850 will also fix GEODE-3506 in addition to GEODE-5228. > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Priority: Major > Labels: CI > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667765#comment-16667765 ] Brian Rowe commented on GEODE-3506: --- One more failure here: https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK8/builds/61 > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Priority: Major > Labels: CI > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16662828#comment-16662828 ] Helena Bales commented on GEODE-3506: - Failed again on 'develop' CI Pipeline: [https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK8/builds/39] Download the log files here: http://files.apachegeode-ci.info/builds/apache-develop-main/1.8.0-build.40/test-results/integrationTest/1540410916/ > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Priority: Major > Labels: CI > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16662518#comment-16662518 ] Darrel Schneider commented on GEODE-3506: - Saw this today which seems related: org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > startDeletesStaleControlFiles FAILED [ |https://concourse.apachegeode-ci.info/builds/8557#L5bcbc7f3:665] java.lang.IllegalStateException: Status file '/tmp/junit1574730945400887391/vf.gf.locator.status' is blank > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Priority: Major > Labels: CI > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16554668#comment-16554668 ] Galen O'Sullivan commented on GEODE-3506: - I saw this in a PR run recently: http://files.apachegeode-ci.info/builds/geode-pr-2174/test-results/integrationTest/1532380769/ > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Priority: Major > Labels: CI > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16227573#comment-16227573 ] Jens Deppe commented on GEODE-3506: --- Here is a recent stacktrace for this error: {noformat} java.lang.IllegalStateException: Status file '/tmp/junit8636869968350514602/vf.gf.locator.status' is blank at org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) at org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) at org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:935) at org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:863) at org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) at org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) at org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) {noformat} > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16147967#comment-16147967 ] Kirk Lund commented on GEODE-3506: -- I'm waiting for this test to fail again with more information. > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Assignee: Kirk Lund > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16142378#comment-16142378 ] ASF GitHub Bot commented on GEODE-3506: --- Github user asfgit closed the pull request at: https://github.com/apache/geode/pull/738 > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Assignee: Kirk Lund > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16142376#comment-16142376 ] ASF subversion and git services commented on GEODE-3506: Commit a2ab230d685b8ac897a7e155474f797608f711fa in geode's branch refs/heads/develop from [~apa...@the9muses.net] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=a2ab230 ] GEODE-3506: improve validation/error checking for process file control This closes #738 > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Assignee: Kirk Lund > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16139181#comment-16139181 ] ASF GitHub Bot commented on GEODE-3506: --- GitHub user kirklund opened a pull request: https://github.com/apache/geode/pull/738 GEODE-3506: improve validation/error checking for process file control We only ever hit this failure once and I don't think it's a flaky test. This could actually be one more (last remaining?) root cause of "start locator" or "start server" hanging-while-printing-dots in GFSH. I've added what I consider to be excessive validation and error checking but it should point us at the cause if this check in FileProcessController ever fails again: if (isBlank(lines)) { throw new IllegalStateException("Status file '" + statusFile + "' is blank"); } In addition to this PR, we should consider adding more direct test coverage for ServiceState and its subclasses as well as more unit tests of the Launcher using mocks. You can merge this pull request into a Git repository by running: $ git pull https://github.com/kirklund/geode GEODE-3506-FileProcessController Alternatively you can review and apply these changes as the patch at: https://github.com/apache/geode/pull/738.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #738 commit 8edd3f0e15406082bb568de975c631de2ae373d7 Author: Kirk LundDate: 2017-08-23T21:20:18Z GEODE-3506: improve validation and error handling of process file control > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Assignee: Kirk Lund > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (GEODE-3506) LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails intermittently with IllegalStateException: Failed to read status file
[ https://issues.apache.org/jira/browse/GEODE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16138533#comment-16138533 ] Kirk Lund commented on GEODE-3506: -- I'm unable to reproduce this failure in over 1000 test runs. The failure was seen on AWS and was caused by reading zero lines in from a status file that should never be empty. > LocatorLauncherRemoteFileIntegrationTest.startDeletesStaleControlFiles fails > intermittently with IllegalStateException: Failed to read status file > -- > > Key: GEODE-3506 > URL: https://issues.apache.org/jira/browse/GEODE-3506 > Project: Geode > Issue Type: Bug > Components: gfsh, management >Reporter: Kirk Lund >Assignee: Kirk Lund > > {noformat} > org.apache.geode.distributed.LocatorLauncherRemoteFileIntegrationTest > > startDeletesStaleControlFiles FAILED > java.lang.IllegalStateException: Failed to read status file > {noformat} > Full stack trace: > {noformat} > java.lang.IllegalStateException: Failed to read status file > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:152) > at > org.apache.geode.internal.process.FileProcessController.status(FileProcessController.java:89) > at > org.apache.geode.distributed.LocatorLauncher.statusWithWorkingDirectory(LocatorLauncher.java:940) > at > org.apache.geode.distributed.LocatorLauncher.status(LocatorLauncher.java:868) > at > org.apache.geode.distributed.LocatorLauncherRemoteIntegrationTestCase.lambda$awaitStart$1(LocatorLauncherRemoteIntegrationTestCase.java:196) > at > org.awaitility.core.AssertionCondition$1.eval(AssertionCondition.java:55) > at > org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)