You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Gour Saha (JIRA)" <ji...@apache.org> on 2017/02/02 05:45:52 UTC

[jira] [Assigned] (SLIDER-1200) TestLongLivedProcess#testSetenv and TestWorkflowForkedProcessService#testSetenv fail in certain scenarios

     [ https://issues.apache.org/jira/browse/SLIDER-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gour Saha reassigned SLIDER-1200:
---------------------------------

    Assignee: Gour Saha

> TestLongLivedProcess#testSetenv and TestWorkflowForkedProcessService#testSetenv fail in certain scenarios
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SLIDER-1200
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1200
>             Project: Slider
>          Issue Type: Bug
>          Components: test
>    Affects Versions: Slider 0.91
>            Reporter: Gour Saha
>            Assignee: Gour Saha
>
> The following 2 unit tests fail in certain scenario when the containers have more than 64 env variables -
> TestLongLivedProcess#testSetenv
> TestWorkflowForkedProcessService#testSetenv
> Error msg is like -
> {code}
> Error Message
> Text "TEST-RUN-ENV-VALUE" not found in 64 lines
> [out] term=xterm
> .
> .
> Stacktrace
> java.lang.AssertionError: Text "TEST-RUN-ENV-VALUE" not found in 64 lines
> [out] term=xterm
> .
> .
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.apache.slider.server.services.workflow.WorkflowServiceTestBase.assertStringInOutput(WorkflowServiceTestBase.java:136)
>         at org.apache.slider.server.services.workflow.TestWorkflowForkedProcessService.testSetenv(TestWorkflowForkedProcessService.java:120)
> Standard Output
> 2017-02-01 19:54:17,303 [JUnit] DEBUG workflow.LongLivedProcess (LongLivedProcess.java:spawnChildProcess(293)) - Spawning process:
>  "env"
> 2017-02-01 19:54:17,306 [testSetenv-008] DEBUG workflow.LongLivedProcess (LongLivedProcess.java:run(318)) - Lifecycle callback thread running
> 2017-02-01 19:54:17,306 [testSetenv-008] DEBUG workflow.ForkedProcessService (ForkedProcessService.java:onProcessStarted(174)) - Process has started
> 2017-02-01 19:54:17,307 [testSetenv-008] DEBUG workflow.LongLivedProcess (LongLivedProcess.java:run(331)) - process testSetenv has finished
> 2017-02-01 19:54:17,307 [testSetenv-007] INFO  workflow.ForkedProcessService (LongLivedProcess.java:recordRecentLine(447)) - TERM=xterm
> .
> .
> 2017-02-01 19:54:17,346 [testSetenv-008] DEBUG workflow.ForkedProcessService (ForkedProcessService.java:onProcessExited(190)) - Process has exited with exit code 0
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)