Signed-off-by: Yu Chuan 13186087857@163.com --- tests/install-iso-pre | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/tests/install-iso-pre b/tests/install-iso-pre index 45567feddd9c..17a821cf3c14 100755 --- a/tests/install-iso-pre +++ b/tests/install-iso-pre @@ -218,7 +218,32 @@ submit_install_iso_yaml()
submit_install_iso_firstboot_yaml() { - : + log_info "start submit install-iso-firstboot.yaml" + + local firstboot_yaml="${LKP_SRC}/jobs/install-iso-firstboot.yaml" + [ -f "${firstboot_yaml}" ] || die "cannot find ${firstboot_yaml}" + + log_info " + ${LKP_SRC}/sbin/submit + ${firstboot_yaml} + suite=install-iso-firstboot-${ROOTFS_SUFFIX} + os=${iso_os} + os_arch=${iso_arch} + os_version=${iso_version} + os_mount=local + kernel_custom_params="use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}" + testbox=$testbox + " + + ${LKP_SRC}/sbin/submit \ + ${firstboot_yaml} \ + suite=install-iso-firstboot-${ROOTFS_SUFFIX} \ + os=${iso_os} \ + os_arch=${iso_arch} \ + os_version=${iso_version} \ + os_mount=local \ + kernel_custom_params="use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}" \ + testbox=$testbox || die "submit ${firstboot_yaml} failed" }
submit_install_iso_release_yaml()
On Fri, Mar 05, 2021 at 05:00:00PM +0800, Yu Chuan wrote:
Signed-off-by: Yu Chuan 13186087857@163.com
tests/install-iso-pre | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/tests/install-iso-pre b/tests/install-iso-pre index 45567feddd9c..17a821cf3c14 100755 --- a/tests/install-iso-pre +++ b/tests/install-iso-pre @@ -218,7 +218,32 @@ submit_install_iso_yaml()
submit_install_iso_firstboot_yaml() {
- :
- log_info "start submit install-iso-firstboot.yaml"
- local firstboot_yaml="${LKP_SRC}/jobs/install-iso-firstboot.yaml"
- [ -f "${firstboot_yaml}" ] || die "cannot find ${firstboot_yaml}"
- log_info "
${LKP_SRC}/sbin/submit
${firstboot_yaml}
suite=install-iso-firstboot-${ROOTFS_SUFFIX}
os=${iso_os}
os_arch=${iso_arch}
os_version=${iso_version}
os_mount=local
kernel_custom_params=\"use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}\"
src_lv_suffix=${ROOTFS_SUFFIX} boot_lv_suffxi=${ROOTFS_SUFFIX}
testbox=$testbox
- "
- ${LKP_SRC}/sbin/submit \
${firstboot_yaml} \
suite=install-iso-firstboot-${ROOTFS_SUFFIX} \
os=${iso_os} \
os_arch=${iso_arch} \
os_version=${iso_version} \
os_mount=local \
kernel_custom_params="use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}" \
ditto.
Thanks, Xijian
testbox=$testbox || die "submit ${firstboot_yaml} failed"
}
submit_install_iso_release_yaml()
2.23.0
On Wed, Mar 10, 2021 at 11:08:29AM +0800, Xu Xijian wrote:
On Fri, Mar 05, 2021 at 05:00:00PM +0800, Yu Chuan wrote:
Signed-off-by: Yu Chuan 13186087857@163.com
tests/install-iso-pre | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/tests/install-iso-pre b/tests/install-iso-pre index 45567feddd9c..17a821cf3c14 100755 --- a/tests/install-iso-pre +++ b/tests/install-iso-pre @@ -218,7 +218,32 @@ submit_install_iso_yaml()
submit_install_iso_firstboot_yaml() {
- :
- log_info "start submit install-iso-firstboot.yaml"
- local firstboot_yaml="${LKP_SRC}/jobs/install-iso-firstboot.yaml"
- [ -f "${firstboot_yaml}" ] || die "cannot find ${firstboot_yaml}"
- log_info "
${LKP_SRC}/sbin/submit
${firstboot_yaml}
suite=install-iso-firstboot-${ROOTFS_SUFFIX}
os=${iso_os}
os_arch=${iso_arch}
os_version=${iso_version}
os_mount=local
kernel_custom_params=\"use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}\"
src_lv_suffix=${ROOTFS_SUFFIX} boot_lv_suffxi=${ROOTFS_SUFFIX}
ok
testbox=$testbox
- "
- ${LKP_SRC}/sbin/submit \
${firstboot_yaml} \
suite=install-iso-firstboot-${ROOTFS_SUFFIX} \
os=${iso_os} \
os_arch=${iso_arch} \
os_version=${iso_version} \
os_mount=local \
kernel_custom_params="use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}" \
ditto.
ok
-------- Thanks Yu Chuan
Thanks, Xijian
testbox=$testbox || die "submit ${firstboot_yaml} failed"
}
submit_install_iso_release_yaml()
2.23.0
On Fri, Mar 05, 2021 at 05:00:00PM +0800, Yu Chuan wrote:
Signed-off-by: Yu Chuan 13186087857@163.com
tests/install-iso-pre | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/tests/install-iso-pre b/tests/install-iso-pre index 45567feddd9c..17a821cf3c14 100755 --- a/tests/install-iso-pre +++ b/tests/install-iso-pre @@ -218,7 +218,32 @@ submit_install_iso_yaml()
submit_install_iso_firstboot_yaml() {
- :
- log_info "start submit install-iso-firstboot.yaml"
- local firstboot_yaml="${LKP_SRC}/jobs/install-iso-firstboot.yaml"
- [ -f "${firstboot_yaml}" ] || die "cannot find ${firstboot_yaml}"
- log_info "
${LKP_SRC}/sbin/submit
${firstboot_yaml}
suite=install-iso-firstboot-${ROOTFS_SUFFIX}
os=${iso_os}
os_arch=${iso_arch}
os_version=${iso_version}
os_mount=local
kernel_custom_params=\"use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}\"
testbox=$testbox
- "
- ${LKP_SRC}/sbin/submit \
${firstboot_yaml} \
suite=install-iso-firstboot-${ROOTFS_SUFFIX} \
os=${iso_os} \
os_arch=${iso_arch} \
os_version=${iso_version} \
os_mount=local \
kernel_custom_params="use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}" \
testbox=$testbox || die "submit ${firstboot_yaml} failed"
the cmd can be stores to a var, then since it is twice used. log_info "$str" $str
-------- Thanks, Xijian
}
submit_install_iso_release_yaml()
2.23.0
On Wed, Mar 10, 2021 at 03:19:01PM +0800, Xu Xijian wrote:
On Fri, Mar 05, 2021 at 05:00:00PM +0800, Yu Chuan wrote:
Signed-off-by: Yu Chuan 13186087857@163.com
tests/install-iso-pre | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/tests/install-iso-pre b/tests/install-iso-pre index 45567feddd9c..17a821cf3c14 100755 --- a/tests/install-iso-pre +++ b/tests/install-iso-pre @@ -218,7 +218,32 @@ submit_install_iso_yaml()
submit_install_iso_firstboot_yaml() {
- :
- log_info "start submit install-iso-firstboot.yaml"
- local firstboot_yaml="${LKP_SRC}/jobs/install-iso-firstboot.yaml"
- [ -f "${firstboot_yaml}" ] || die "cannot find ${firstboot_yaml}"
- log_info "
${LKP_SRC}/sbin/submit
${firstboot_yaml}
suite=install-iso-firstboot-${ROOTFS_SUFFIX}
os=${iso_os}
os_arch=${iso_arch}
os_version=${iso_version}
os_mount=local
kernel_custom_params=\"use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}\"
testbox=$testbox
- "
- ${LKP_SRC}/sbin/submit \
${firstboot_yaml} \
suite=install-iso-firstboot-${ROOTFS_SUFFIX} \
os=${iso_os} \
os_arch=${iso_arch} \
os_version=${iso_version} \
os_mount=local \
kernel_custom_params="use_root_partition=${ROOTFS_SUFFIX} save_root_partition=${ROOTFS_SUFFIX}" \
testbox=$testbox || die "submit ${firstboot_yaml} failed"
the cmd can be stores to a var, then since it is twice used. log_info "$str" $str
good, i'll delete the log_info directly.
-------- Thanks Yu Chuan
Thanks, Xijian
}
submit_install_iso_release_yaml()
2.23.0