Bug #116845

测试 Test-ST #111337: ST测试总票

测试 Test-ST #116840: 中控联调测试-AF

【AF】【EVT3】【时间同步】时间同步中控微服务crash

Added by CD TEST-方永红 over 2 years ago. Updated over 2 years ago.

Status:CLOSEDStart date:2023-03-09
Priority:NormalDue date:
Assignee:CD Test赵飞% Done:

100%

Category:CD-FW
Target version:依赖客户及其供应商问题List
Need_Info:-- Found Version:FlatBuild_HH_MCE_FSE.M.R.user.01.00.0081.C101
Resolution:FIXED Degrated:No
Severity:Normal Verified Version:
Reproducibility:Every time Fixed Version:2023-03-23
Test Type:ST Root cause:Android升级之后设置时区需要使用Olson ID,但是中控发送过来了GMT格式的时区,导致设置时区抛出未捕获的异常

Description

【前提条件】
1、设备与中控连接

【测试步骤】
1. 打开自动亮度开关
2. adb root
3. adb shell
4. ssh 223.255.255.1
5. dbus-send --bus=tcp:host=223.255.255.1,port=55666 --type=signal / ipcl.out.to.droid.INSTRMT2VHAL_COMM array:byte:18,1,0,0,7,230,0,11,0,12,0,6,0,7,0,1

【预期结果】
1、进行上述操作后可以实现时间同步

【实际结果】
1、未实现时间同步

History

#1 Updated by CD TEST-方永红 over 2 years ago

  • Parent task changed from #111049 to #116840

#2 Updated by CD FW-程天颖 over 2 years ago

  • Status changed from New to ASSIGNED
  • Root cause set to Android升级之后设置时区需要使用Olson ID,但是中控发送过来了GMT格式的时区,导致设置时区抛出未捕获的异常

■ Current conclusion
bug已解决
■ My analysis
Android升级之后设置时区需要使用Olson ID,但是中控发送过来了GMT格式的时区,导致设置时区抛出未捕获的异常
在微服务和微设置的执行回调动作添加了所有异常的捕获,以及时区设置单独捕获IllegalArgumentException异常
■ Next action
代码入库

#3 Updated by IoT scm over 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
186941 general/platform/vendor/thundercomm/apps/MircoService Pre_figure_turbox-c2130c-la1.1-qssi12-dev
AF:MicroService:When time zone is not Olson, Time sync crash
1.Catch all exception when run common call back,Prevent server crashes
TC-RID: 1201-0206101
IssueID: TS-R-BUG-116845
Change-Id: Iff4a1dde4a9078ffbc8fe1c5fee0752439af524c

#4 Updated by IoT scm over 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
186944 general/platform/vendor/thundercomm/apps/VehicleControl Pre_figure_turbox-c2130c-la1.1-qssi12-dev
AF:MicroService:When time zone is not Olson, Time sync crash
1.Catch all exception when run common call back,Prevent MicroService and MicroSettings crashes
2.Catch IllegalArgumentException, when set time zone
TC-RID: 1201-0206101
IssueID: TS-R-BUG-116845
Change-Id: I32e73d3bb431304fc63d1e3fda97a3c11dd5b6a2

#5 Updated by CD FW-程天颖 over 2 years ago

  • % Done changed from 0 to 50

■ Current conclusion
bug已解决,添加GMT转换olson ID 兼容,可以完成时区转换,成功设置时区
■ My analysis
Android升级之后设置时区需要使用Olson ID,但是中控发送过来了GMT格式的时区,导致设置时区抛出未捕获的异常
在微服务和微设置的执行回调动作添加了所有异常的捕获,以及时区设置单独捕获IllegalArgumentException异常
■ Next action
代码入库

#6 Updated by IoT scm over 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
188578 general/platform/vendor/thundercomm/apps/VehicleControl Pre_figure_turbox-c2130c-la1.1-qssi12-dev
AF:MicroSettongs:When timezone type is GMT can`t sync timezone
TC-RID: 1201-0206101
IssueID: TS-R-BUG-116845
Change-Id: I987817c8fb05f800c2b41bd833c6d12b1310aa0a

#7 Updated by CDTS_TEST 王成 over 2 years ago

  • Target version set to 依赖客户及其供应商问题List

#8 Updated by CD FW-程天颖 over 2 years ago

  • Status changed from ASSIGNED to RESOLVED
  • Resolution changed from -- to FIXED
  • Degrated changed from -- to No
  • Fixed Version set to 2023-03-23

■ Current conclusion
bug已解决,添加GMT转换olson ID 兼容,可以完成时区转换,成功设置时区.
■ My analysis
Android升级之后设置时区需要使用Olson ID,但是中控发送过来了GMT格式的时区,导致设置时区抛出未捕获的异常
在微服务和微设置的执行回调动作添加了所有异常的捕获,以及时区设置单独捕获IllegalArgumentException异常
■ Submit URL
https://dev.thundercomm.com/gerrit/c/general/platform/vendor/thundercomm/apps/VehicleControl/+/188634

#9 Updated by CD FW-程天颖 over 2 years ago

  • Assignee changed from CD FW-程天颖 to CD TEST-方永红
  • % Done changed from 50 to 100

#10 Updated by CD TEST-方永红 over 2 years ago

  • Assignee changed from CD TEST-方永红 to CD Test赵飞

#11 Updated by CD Test赵飞 over 2 years ago

  • Status changed from RESOLVED to VERIFIED

验证版本:FlatBuild_HH_MCE_FSE.M.D.user.01.00.C102.202303260013
验证结果:PASS

#12 Updated by CD Test赵飞 over 2 years ago

  • Status changed from VERIFIED to CLOSED

Also available in: Atom PDF