Your first question read "UNrestrained".
When UN-restrained, the Axial tension stress component due to Poisson effect, 0.3 * Shoop, is NOT present, as the pipe when UN-restrained is free to contract. End cap load is there however, stress = PD/4/t, since that is not the result of trying to stop a strain; it is the result of an actual direct load on the pipe, pressure acting on the end caps. If Free Contraction is allowed, there will not be any associated stress due to the Poisson effect, as you have applied no load to resist the strains and it will freely contract.
When the pipe is REstrained, with anchors at each end, meaning anchors at the joint between the end caps and pipe, end cap loads are dumped into the anchors and not transmitted past the anchors into the pipe, provided it is a full, 100% longitudinal restraing. The longitudinal stress in a REstrained pipe segment is only due to radial pressure (and makes a tension load of 0.3 * Shoop plus the thermal expansion stress.
What would you be doing, if you knew that you could not fail?