Hi @hrishi ,
Did you do the following?
Select the Armature, go into Pose Mode, SHIFT+Select the Tube and then switch to Weight Paint Mode.
Also make sure that you have Parented correctly and that Edit > Lock Object Modes is disabled.
That’s all I can think of at the moment (but I am not a Rigger).