Russia and Venezuela signed an agreement on Thursday governing visits by the countries’ warships to each other’s ports, the Interfax news agency reported.