https://bugs.freedesktop.org/show_bug.cgi?id=62959
--- Comment #5 from Michel Dänzer michel@daenzer.net --- It's perfectly normal that some tests are skipped, but you obviously do need to set the DISPLAY environment variable appropriately for the piglit run. Something like
DISPLAY=:0 python2 piglit-run.py ...