goofy: invocation: fix failure when resuming tests.

When Goofy is trying to resume tests (e.g., reboot test), it will fail
after the device is rebooted, because the dargs is not properly passed
to "invoke_pytest".

In CL:362740, we move the timing to resolve dargs before calling
invoke_pytest, and the resolved dargs should be passed to invoke_pytest.
However, when we are resuming the test, the variable that should be
passed to invoke_pytest is not initialized.

In this CL, read the resolved dargs from metadata and pass it to


Change-Id: I014dc85a61ae32d4a15599d10401cd9c81ff55d4
Commit-Ready: Wei-Han Chen <>
Tested-by: Wei-Han Chen <>
Reviewed-by: Hung-Te Lin <>
Reviewed-by: Wei-Ning Huang <>
1 file changed