You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Stepan Mishura (JIRA)" <ji...@apache.org> on 2007/12/04 07:33:43 UTC

[jira] Resolved: (HARMONY-5007) [buildtest][eut] adaptor must check Linux limitations

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

Stepan Mishura resolved HARMONY-5007.
-------------------------------------

    Resolution: Fixed

Thanks Vladimir - the modified patch was applied to BTI branch 2.0 at r600801. (I've converted shell script to ANT's exec.)
Please check that everything works as you expected.

> [buildtest][eut] adaptor must check Linux limitations
> -----------------------------------------------------
>
>                 Key: HARMONY-5007
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5007
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: build - test - ci
>         Environment: Linux
>            Reporter: Vladimir Beliaev
>            Assignee: Stepan Mishura
>         Attachments: 01-H5007.sh, 02-H5007.patch
>
>
> EUT may fail due to resources limitation on the current machine. Like there should be set:
>     # max memory size 
>     ulimit -m 2000000
>     # stack size
>     ulimit -s 8182
>     # open files
>     ulimit -n 8192
> I think it worth checking from adaptors these settings are in place be running EUT... This would safe a lot of time for evaluating EUT failures caused by host limitations.
> If someone knows a good way to get the shell command information to ant context - you welcome to share it (I'm not 'ant' expert)... I'm going to use something like:
>     <target name="check-linux-limitation" if="is.linux">
>         <exec executable="sh"
>               dir="${basedir}"
>               failonerror="false"
>               logError="false"
>               resultproperty="ulimit.memory.size">
>               <arg value="-c" />
>               <arg value="ulimit -m" />
>         </exec>
>        <!-- check value of ulimit.memory.size, fail if there is issue-->
>     </target>
> Thanks
> Vladimir Beliaev

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.