Description of problem: Beaker should ignore unknown fields when importing task rpms Version-Release number of selected component (if applicable): 20 How reproducible: everytime I didn't think beaker enforced this because I was looking at an old version of the code when I discussed this with Dan.
http://gerrit.beaker-project.org/4247
Some background info: some Beaker tasks may be used both inside of Beaker through the normal task library with beah, and also outside of Beaker using restraint. Currently, if any restraint-specific fields are added to testinfo.desc Beaker will refuse to accept the task upload because unrecognised fields in testinfo.desc are treated as a "warning" by the parser. A workaround is to keep restraint-specific options in the metadata file, rather than testinfo.desc. (Need to figure out exactly what restraint-specific fields people are putting into testinfo.desc, and what the equivalents would be in metadata.)
*** Bug 1231715 has been marked as a duplicate of this bug. ***
Assuming the problematic field is RepoRequires, a workaround is to remove RepoRequires from testinfo.desc, and instead create a restraint-formatted metadata file in the task. http://restraint.readthedocs.org/en/latest/tasks.html#metadata It doesn't seem to be documented currently, but there is a repoRequires= option under [restraint], for example: https://git.beaker-project.org/cgit/restraint/tree/src/test-data/parse_metadata/dependencies/metadata
Beaker 21.0 has been released.