 U.S. shale oil and gas producers Oasis Petroleum Inc and Whiting Petroleum Corp are close to agreeing an all-stock merger that could be announced as soon as this week, a source familiar with the matter said on Sunday. 