# The invalid-FIELD half of the fixture pair. The YAML is well-formed and the # document type and version are both good, so libyaml parses it happily; what # refuses it is libmodulemd's own field validator, reading a buildorder that is # not an integer. The pair therefore covers both refusal paths a bad document # can take, and a green on one with a red on the other says which layer moved. # # MEASURED on an x86-64 build of the identical release: # "Failed to parse buildorder in component: not-an-integer: The string is # not a valid integer [line 16 col 9]" --- document: modulemd version: 2 data: name: brintos-probe-badfield stream: "1" summary: a component buildorder that is not an integer description: >- Well-formed YAML that the modulemd validator must still refuse. license: module: - MIT components: rpms: alpha: rationale: The buildorder below is the defect. buildorder: not-an-integer ...