Closed Foxboron closed 5 years ago
Thanks for catching this, @Foxboron! The problem seems to be that in the latest in-toto version we have nicely formatted multi-line error messages for rule verification errors, which the transport just relays to apt, which in turn breaks the lined-based message parsing...
I'll follow up with a PR that encodes the error message.
Awesome :)
Description of issue or feature request:
deserialize_one
attempts to parse theMessage:
field in the test suite indevelop
duringtest_bad_target
and fails to do so. Should be easy to replicate withtox -e py37
Current behavior:
message_str
We are failing the check in the loop as the
.splitlines()
will provide lines with only one string.Traceback:
Expected behavior: I'm a little bit unsure if the error is that we are unable to parse
Message:
or if the fact that we have in-toto failure messages inMessage:
.