upstream_check