This giant tube, reminds me from a book by Philip K. Dick... it was called... Yeah: Rama.
A giant ship, much bigger than earth is spoted entering the Sol system. It's a giant tube, with no mark on it. Scientists are send on it to found out wha it is, before it leaves Sol. Thre are 3 sentient species in it, leaving in the inner wall of the cylinder.