[error] upload_config upload_to_target_dir /cci/build-config/vue . /lkp/lkp/src/lib/upload.sh . /lkp/lkp/src/lib/env.sh '[' -n 1 ']' return local dir=/cci/build-config/vue grep -v @ ls -F /cci/build-config/vue ls: cannot access '/cci/build-config/vue': No such file or directory
Signed-off-by: Liu Shaofei 370072077@qq.com --- tests/build-pkg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/build-pkg b/tests/build-pkg index 44bd1c10d..801649cf4 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -48,7 +48,10 @@ get_config()
upload_config() { - upload_to_target_dir "${cci_dir}/${pkgname}" + local upload_dir="${cci_dir}/${pkgname}" + [ -d "${upload_dir}" ] || return + + upload_to_target_dir "${upload_dir}" }
mount_dest()
On Tue, Dec 29, 2020 at 09:00:15PM +0800, Liu Shaofei wrote:
[error] upload_config upload_to_target_dir /cci/build-config/vue . /lkp/lkp/src/lib/upload.sh . /lkp/lkp/src/lib/env.sh '[' -n 1 ']' return local dir=/cci/build-config/vue grep -v @ ls -F /cci/build-config/vue ls: cannot access '/cci/build-config/vue': No such file or directory
Signed-off-by: Liu Shaofei 370072077@qq.com
tests/build-pkg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/build-pkg b/tests/build-pkg index 44bd1c10d..801649cf4 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -48,7 +48,10 @@ get_config()
upload_config() {
- upload_to_target_dir "${cci_dir}/${pkgname}"
- local upload_dir="${cci_dir}/${pkgname}"
- [ -d "${upload_dir}" ] || return
- upload_to_target_dir "${upload_dir}"
there are mkdir operation in get_cofig, so we can change mkdir -p ${cci_dir}/${pkgname} in get_config and test [ -d "{cci_dir}/${pkgname}" ] || return
Thanks, Yong
On Wed, Dec 30, 2020 at 08:56:02AM +0800, Wang Yong wrote:
On Tue, Dec 29, 2020 at 09:00:15PM +0800, Liu Shaofei wrote:
[error] upload_config upload_to_target_dir /cci/build-config/vue . /lkp/lkp/src/lib/upload.sh . /lkp/lkp/src/lib/env.sh '[' -n 1 ']' return local dir=/cci/build-config/vue grep -v @ ls -F /cci/build-config/vue ls: cannot access '/cci/build-config/vue': No such file or directory
Signed-off-by: Liu Shaofei 370072077@qq.com
tests/build-pkg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/build-pkg b/tests/build-pkg index 44bd1c10d..801649cf4 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -48,7 +48,10 @@ get_config()
upload_config() {
- upload_to_target_dir "${cci_dir}/${pkgname}"
- local upload_dir="${cci_dir}/${pkgname}"
- [ -d "${upload_dir}" ] || return
- upload_to_target_dir "${upload_dir}"
there are mkdir operation in get_cofig, so we can change mkdir -p ${cci_dir}/${pkgname} in get_config and test [ -d "{cci_dir}/${pkgname}" ] || return
please check patch V2 and V3, and view error location.
Thanks, Liushaofei
Thanks, Yong