Comment 2 for bug 1867904

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.opendev.org/713612
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=f77b3e30eeeb67c54244def7e50fbb68113379d3
Submitter: Zuul
Branch: master

commit f77b3e30eeeb67c54244def7e50fbb68113379d3
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 18 10:19:53 2020 +0000

    Catch json.loads exceptions in verify_device_metadata

    In case "TaggedBootDevicesTest.verify_device_metadata" "json.loads"
    method returns an exception, catch it and return "False". This could
    happen if, for example, the string to load is empty.

    Because this function is called in an active wait loop, the content
    string will be retrieved again and the check retried.

    Change-Id: Id3a5b32f8ab197bcb1c59b5f6364dde4d8648eab
    Closes-Bug: #1867904