harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-5007) [buildtest][eut] adaptor must check Linux limitations
Date Tue, 04 Dec 2007 09:43:43 GMT

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

Vladimir Beliaev closed HARMONY-5007.
-------------------------------------


Thanks, Stepan, it is a good knowledge of ant!

Your modification is ok. I close this JIRA.

> [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.


Mime
View raw message