Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
fadc9471
T
tp-qemu
项目概览
openeuler
/
tp-qemu
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tp-qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fadc9471
编写于
8月 09, 2013
作者:
Y
Yiqiao Pu
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #683 from rbbratta/autotest_regression_fixes
Various autotest_regression fixes
上级
ee7bdc1a
66b7144c
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
4 addition
and
4 deletion
+4
-4
tests/autotest_regression.py
tests/autotest_regression.py
+4
-4
未找到文件。
tests/autotest_regression.py
浏览文件 @
fadc9471
...
...
@@ -67,12 +67,12 @@ def run_autotest_regression(test, params, env):
if
autotest_commit
:
install_cmd
+=
" -c %s"
%
autotest_commit
session_server
.
cmd
(
install_cmd
,
timeout
=
autotest_install_timeout
)
vm_server
.
copy_files_from
(
guest_path
=
"/tmp/install-autotest-server*log"
,
host_path
=
test
.
resultsdir
)
except
aexpect
.
ShellCmdError
,
e
:
for
line
in
e
.
output
.
splitlines
():
logging
.
error
(
line
)
step_failures
.
append
(
step1
)
vm_server
.
copy_files_from
(
guest_path
=
"/tmp/install-autotest-server*log"
,
host_path
=
test
.
resultsdir
)
top_commit
=
None
try
:
...
...
@@ -201,7 +201,7 @@ def run_autotest_regression(test, params, env):
return
False
else
:
raise
ValueError
(
"Job %s does not show in the "
"output of %s"
%
list_jobs_cmd
)
"output of %s"
%
(
job_name
,
list_jobs_cmd
)
)
def
job_is_completed
():
return
job_is_status
(
"Completed"
)
...
...
@@ -221,7 +221,7 @@ def run_autotest_regression(test, params, env):
# Wait for the session to become unresponsive
if
not
utils_misc
.
wait_for
(
lambda
:
not
session_client
.
is_responsive
(),
timeout
=
300
):
raise
error
.
ValueError
(
"Client machine did not reboot"
)
raise
ValueError
(
"Client machine did not reboot"
)
# Establish a new client session
session_client
=
vm_client
.
wait_for_login
(
timeout
=
timeout
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录