8 Star 4 Fork 17

src-openEuler / linux-sgx

 / 详情

[x86]sgxsdk从sp3降级到sp2告警

已完成
缺陷
创建于  
2021-11-25 11:42

降级前sp3版本:sgxsdk-2.11.100-9.oe1.x86_64
降级后sp2版本:sgxsdk-2.11.100-6.oe1.x86_64

环境:sp2环境

验证步骤:
1、只挂sp3源:
http://121.36.84.172/dailybuild/openEuler-20.03-LTS-SP3/test_openeuler-2021-11-25-06-31-07/everything/
安装sp3的包

2、回退:
开启sp2的源:
https://repo.openeuler.org/openEuler-20.03-LTS-SP2/everything/
https://repo.openeuler.org/openEuler-20.03-LTS-SP2/OS/
执行dnf downgrade降级

报错现象:

Cleanup          : sgxsdk-2.11.100-9.oe1.x86_64                     2158/2857 
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/sgx_emmt.pyo: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/sgx_emmt.pyc: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/readelf.pyo: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/readelf.pyc: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/load_symbol_cmd.pyo: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/load_symbol_cmd.pyc: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/gdb_sgx_plugin.pyo: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/gdb_sgx_plugin.pyc: remove failed: No such file or directory

评论 (2)

caodongxia 创建了缺陷

Hi caodongxia, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: sig-confidential-computing, and any of the maintainers: @blue, @chenmaodong, @itrustee_kernel, @dongdo-yao.

caodongxia 修改了描述
caodongxia 修改了描述
caodongxia 修改了标题
houmingyong 负责人设置为hzero1996
hzero1996 关联分支设置为openEuler-20.03-LTS-SP2
hzero1996 关联分支openEuler-20.03-LTS-SP2 修改为openEuler-20.03-LTS-SP3
hzero1996 关联分支openEuler-20.03-LTS-SP3 修改为openEuler-20.03-LTS-SP2

该issues是由于sp2的降级规则不正确导致:
升级sgxsdk的sp3版本后,sp2的删除规则直接将/opt/intel/sgxsdk目录删除,导致/opt/intel/sgxsdk目录丢失,在回退到sp2版本时,sp3会删除/opt/intel/sgxsdk/lib64/gdb-sgx-plugin/目录下的文件,因为目录下的文件不存在,导致issue里面的告警
sp3版本已经重构了sgxsdk的rpm打包逻辑,通过同步修改问题得到解决。
!27:[sync] PR-25: rebuild sgxsdk install package

hzero1996 任务状态待办的 修改为已完成

登录 后才可以发表评论

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

搜索帮助