It's similar to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981231 and a warning from the new gdisks version which is printed on stderr, or autopkgtest fails on stderr content by default
Using Restrictions: allow-stderr should workaround the issue