Add retry checks to TestSwarmPublishAdd Upstream-commit: 1225e3e6216b0388ed5f3985d7263efdb6e22043 Component: engine