In some of the cases, socialist yes, at times, communist , never for the most:
Paris Commune: 1871 (communist, anarchist, either)
Soviet Union: 1917-91 (socialist, never communist)
Mongolia: 1924-92 (you're joking, right?)
Republican Spain: 1936-39 (socialist, anarchist, communist, everything, they had pockets of everything you can imagine, but there was never an unified standard)
Albania: 1944-91 (you're joking, right?)
Yugoslavia: 1945-92 (you're joking, right?)
North Korea: 1948-94 (you're joking, right?)
People's Republic of China: 1949-78 (you're joking, right?)
North Vietnam: 1954-75(Socialist Republic of Vietnam until 1986) (you're joking, right? If anything uncle Ho was first and foremost nationalist, and then socialist)
Cuba: 1961-present (socialist, with an hint of mild stalinism)
Angola: 1974-92 (fascist? dictatorial? corrupt?)
Mozambique: 1975-90 (fascist? dictatorial? corrupt?)
Laos: 1975-89 (fascist? dictatorial? corrupt?)
Afghanistan: 1978-92 (dictatorial? corrupt?)
Nicaragua: 1979-90 (fascist? dictatorial? corrupt?)
Burkina-Faso: 1983-87 (fascist? dictatorial? corrupt?)
Zapatista-controlled Chiapas: 1994-present (tribalist / nationalist / hint of socialism?)
Venezuela: 2006-present (dictatorial? corrupt?)
Nepal: 2006-present (dictatorial? corrupt?)
It is we the workers who built these palaces and cities here in Spain and in America and everywhere. We, the workers, can build others to take their place. And better ones! We are not in the least afraid of ruins.