已关闭
[Bug]: checkin测试D库升级测试失败 #8345
chenbaggio创建于  7月24日关闭于  8月12日
chenbaggio
chenbaggio成员
7月24日 创建

测试类型

SQL功能

测试版本

7.0.0LTS

问题描述

在opengauss6.0.5基础上升级到opengauss 7.0.0LTS, 在升级操作过程中,报错,升级失败

失败信息摘要:

gsql:/opt/gaussdb/tmp/binary_upgrade/rollback_catalog_maindb_tmp.sql:121: ERROR:  type "sql_identifier" does not exist

操作系统和硬件信息

cpu 8 cores x86_64
memory 32G
os centos7 x86_64

测试环境

企业版单机

被测功能

opengauss跨大版本grey升级

预置条件

操作步骤

详细升级步骤可参考

https://docs.opengauss.org/zh/docs/latest/database_om_guide/performing_the_upgrade.html

当执行下面命令时候可重现

gs_upgradectl -t auto-upgrade -X /opt/cluster_config.xml --grey

预期输出

upgrade successfully

实际输出

gsql:/opt/gaussdb/tmp/binary_upgrade/rollback_catalog_maindb_tmp.sql:121: ERROR:  type "sql_identifier" does not exist

日志信息

6dc8b817b5344761b3f4eb5299fee129.txt

请参考 升级日志

提单组织

联合伙伴

测试代码

likedislike
chenbaggiochenbaggio成员
7月24日 添加了label:bug
opengauss_bot
opengauss_bot成员
7月24日 评论:

This issue requires an assignee. Since you haven't specified one, we've assigned TestManager as the default assignee for this issue.

likedislike
opengauss_botopengauss_bot成员
7月24日 将 TestManager 设为负责人
opengauss_botopengauss_bot成员
7月24日 添加了label:sig/StorageEngine,sig/AI,sig/CM,sig/CloudNative,sig/SecurityTechnology,sig/SQLEngine
opengauss_bot
opengauss_bot成员
7月24日 评论:

Welcome To openGauss Community

Hey @2504_92042799 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: StorageEngine, AI, CM, CloudNative, SecurityTechnology, SQLEngine ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @Igali, @bihua111, @cailei19, @h_ray, @levy53071, @libiao2024, @lihaixiao, @mrzack, @wangfeihuo, @wuyuechuan, @xiong_xjun, @zhangfengzhi123, @zhangxubo, @zhangzq131, @zjh_hw .

likedislike
chenbaggiochenbaggio成员
7月24日 将 ywzq1161327784 设为负责人,移除负责人 TestManager
chenbaggiochenbaggio成员
7月24日 移除了负责人 ywzq1161327784
opengauss_bot
opengauss_bot成员
7月24日 评论:

This issue requires an assignee. Since you haven't specified one, we've assigned TestManager as the default assignee for this issue.

likedislike
opengauss_botopengauss_bot成员
7月24日 将 TestManager 设为负责人
chenbaggiochenbaggio成员
7月24日 将 ywzq1161327784 设为负责人,移除负责人 TestManager
ywzq1161327784ywzq1161327784成员
7月28日 移除了负责人 ywzq1161327784
opengauss_bot
opengauss_bot成员
7月28日 评论:

This issue requires an assignee. Since you haven't specified one, we've assigned TestManager as the default assignee for this issue.

likedislike
opengauss_botopengauss_bot成员
7月28日 将 TestManager 设为负责人
ywzq1161327784ywzq1161327784成员
7月28日 将 shijuzheng1997 设为负责人,移除负责人 TestManager
shijuzheng1997
shijuzheng1997成员
7月30日 评论:

openEuler20.03 ARM
官网6.0.5 -> 7.0.0LTSB016升级成功
图片.png

图片.png

likedislike
shijuzheng1997shijuzheng1997成员
7月31日 关联了看板:openGauss 7.0.0-LTS
chenbaggio
chenbaggio成员
8月4日 评论:

@shijuzheng1997 本地D库升级失败的原因为当gs_initdb指定创建D库的时候,没有自动加载shark.so, 而升级成功的案例是在初始化后,建立D库加载shark插件等,建议做一些改进,在创建D库后要有一定形式的提示加载shark插件,要是在初始化过程,则可以直接考虑修改脚本等,创建 D 库后加载shark

likedislike
shijuzheng1997
shijuzheng1997成员
8月5日 评论:

20260805开发自验
升级
图片.png
回滚
图片.png
回滚后升级
图片.png
提交

图片.png

likedislike
shijuzheng1997shijuzheng1997成员
8月5日 issue状态由 待办的 改变为 已完成
shijuzheng1997shijuzheng1997成员
8月5日 issue状态由 已完成 改变为 待回归
lvlintao666
lvlintao666成员
8月12日 评论:

回归时间:2026.8.11
回归版本:7.0.0 B017
回归结论:通过
回归步骤:安装6.0.5版本数据库,升级到7.0.0B017
image.png

likedislike
lvlintao666lvlintao666成员
8月12日 issue状态由 待回归 改变为 已验收
lvlintao666lvlintao666成员
8月12日 关闭了 issue