1 ##############################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property. #
3 # Copyright (c) 2019 Nokia. #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you maynot use this file except in compliance with the License. #
8 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ##############################################################################
19 Documentation Validation, robustness and stability of Linux
21 Library OperatingSystem
24 Resource variables.resource
25 Suite Setup Open Connection And Log In
26 Suite Teardown Close All Connections
29 ${LOG} ${LOG_PATH}${/}${SUITE_NAME.replace(' ','_')}.log
33 #Run whole ltp test suite
34 # [Documentation] Wait ~5hrs to complete 2536 tests
35 # ${result}= Run Process ./runltp shell=yes cwd=/opt/ltp stdout=${LOG}
36 # Append To File ${LOG} ${result}${\n}
38 # Should Contain ${result.stdout} failed 0
40 #Run ltp syscalls test suite
41 # [Documentation] Wait ~45m for syscalls to complete
42 # ${result}= Run Process ./runltp -f syscalls shell=yes cwd=/opt/ltp stdout=${LOG}
43 # Append To File ${LOG} ${result}${\n}
45 # Should Contain ${result.stdout} failed 0
47 Run ltp syscalls madvise
48 [Documentation] Wait ~1m for madvise01-10 to complete
49 ${result}= Run Process ./runltp -f syscalls -s madvise shell=yes cwd=/opt/ltp stdout=${LOG}
50 Append To File ${LOG} ${result}${\n}
52 Should Contain ${result.stdout} failed 0
55 Open Connection And Log In
56 Open Connection ${HOST}
57 Login ${ROOTUSER} ${ROOTPSWD}