46 Star 35 Fork 122

openEuler / infrastructure

 / 详情

OBS automate building system is not working.

已完成
任务
创建于  
2019-12-05 13:33

这是一个bug还是新特性?:

以下两者二选一,请保留一项:

  • bug

发生结果:
openeuler-rpm-build failed. @vee https://gitee.com/src-openeuler/twolame/pulls/1

期望结果:
openeuler-rpm-build pass.

如何重现(尽量详细):
retrigger a new rpm build.

补充说明?:

  • rpm src code works good. it could be built in local OSC env.
  • code below blocks the building.
    -- variable num maybe undefined if /tmp/obs_meta is empty.
    -- grep -r "twolame<" should not return null. or maybe the < is wrong added?
#!/bin/sh -x
cd "/jenkins_home/openeuler_develop/obs_meta"
rm -f /tmp/obs_meta
touch /tmp/obs_meta
if [ "twolame" == "euleros/third_party/open_source/kernelspace/kernel" ]; then
    grep -r "twolame<" | grep _service | grep -v ipvs-fnat | grep -v ipnat | grep -v ipvs-toa > /tmp/obs_meta
else
    grep -r "twolame<" | grep _service > /tmp/obs_meta
fi
while read tmp_line
do
    project=$(echo "${tmp_line}" | awk -F '/' '{print $2}')
    package=$(echo "${tmp_line}" | awk -F '/' '{print $3}')
    echo "${project} ${package}"
    ((num=num+1))
done < /tmp/obs_meta
rm -f /tmp/obs_meta
if [ $num -eq 0 ]; then
    echo "Error: On develop no match obs package rely develop twolame"
    exit 1
fi

环境情况:

  • 版本:
  • 操作系统版本 (e.g. from /etc/os-release):
  • 内核版本 (e.g. uname -a):
  • 其它:

评论 (2)

Qianbiao.NG 创建了任务

Hey @Qianbiao.NG, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developpers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/command.md to find the details.

Qianbiao.NG 修改了描述
惊奇脆片饼干 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 131257 woocupid 1578918948
Shell
1
https://gitee.com/openeuler/infrastructure.git
git@gitee.com:openeuler/infrastructure.git
openeuler
infrastructure
infrastructure

搜索帮助