projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.1k stars 506 forks source link

[config_tools][regression][v2.5_rc1] config tool failed to save industry.xml with GuestFlagsOptionsType check #6075

Closed szhen11 closed 3 years ago

szhen11 commented 3 years ago

must include but not limited to the items below

HW/Board tgl-rvp

D0 MRB, APLNUC, KBLNUC, UP2 ,etc.

Build link http://sit-image.sh.intel.com/acrn_daily_build/YOCTO-2021ww21.4-2/yocto-tgl-rvp-uefi-industry/

daily/weekly build link

Image info release_2.5 branch commit: 4eb36c150d44a6360ba922f8a7d762a4158acd59

including IOC version, SOS version, SOS kernel version, UOS Type, UOS version, UOS kernel version.

Steps use config tool to load tgl-rvp.xml, load default industry.xml, and save.

clarify the reproduce steps clearly .

Expected result no errors.

clarify the expected result clearly.

Actual result

{"":"'None' '=' operator at line 1, column 55: [err:XPTY0004] Type Xsd11AtomicRestriction(name='GuestFlagsOptionsType') does not match sequence type of <Element 'guest_flag' at 0x7f8161e00450>: last call: <Element 'guest_flags' at 0x7f8161e00400>"}

clarify the actual result clearly.

Reproduce rate 100%

percentage is not acceptable, please use the actually records like 1/20, 2/20 ,etc.

Debugging info

debug logs could be put here or attached in an attachment.

schema sanity check failed for GuestFlagsOptionsType with None value regression from: https://github.com/projectacrn/acrn-hypervisor/pull/6023#issuecomment-842744039

szhen11 commented 3 years ago

[External_System_ID] ACRN-7062