I agree with Doc, what epoxy are you using. A deep pour type may give you better results. You could also do
a multiple layer pour that might work out better if not using a deep pour. Did you use a release agent on the pvc
and did you leave any epoxy inside the pvc, on the release? I would try a multiple layer pour and use a butane torch
on each layer to remove bubbles. Good luck