Fernando Alonso qualified ahead of Lance Stroll 19 times out of 22.
Perez looked to put the frustrations of Monaco firmly in the rear-view mirror.
Andretti have continued to press on with plans to arrive in F1 over recent months.
Russell out-braked himself which meant he went from first to third in the space of one corner.
Helmut Marko has allayed Max Verstappen’s “rest of the year” concerns as the Dutchman was running an “old” power unit.