Interesting. I never knew there was a canonical source for this. In Pali sources the expanded account of the Seven Suns Sutta, with its end-of-the-ĂŠon deva commotion (kappakolÄhala) is only met with in the commentaries.
Commotions are of five kinds: commotion about the eon, commotion about a wheel-turning monarch, commotion about a buddha, commotion about blessings, and commotion about munihood.
Here, when the desire-sphere devas, with loose head bands, scattered hair, and tearful faces, wiping their tears with their hands, wearing dyed clothes and with disshelved garments, wandering along the path of humans, announce, âAfter 100,000 years, the end of the eon will occur. This world will perish, the great ocean will dry up, and this great earth along with Sineru, king of mountains, will burn up and perish, and world destruction will occur up to the brahma world. Develop loving-kindness, dear sirs, develop compassion, altruistic joy, and equanimity. Attend on your mother and father, respect the elders in the family. Be vigilant! Do not be heedless!â â this is called the commotion about the eon.
(Bhikkhu Bodhi, SuttanipÄta)
More expansively in the Visuddhimagga:
When a long period has passed in this way, the water gives out here and there. Then in due course the fishes and turtles die and are reborn in the BrahmÄ world, and so are the beings in hell. Some say that the denizens of hell perish there with the appearance of the seventh sun.
Now, there is no rebirth in the BrahmÄ-world without jhÄna; and some of them, being obsessed with the scarcity of food, are unable to attain jhÄna, so how are they reborn there? By means of jhÄna obtained in the [sense-sphere] divine world.
For then the sense-sphere deities called world-marshal (loka-byƫha) deities come to know that at the end of a hundred thousand years there will be the emergence of an aeon, and they travel up and down the haunts of men, their heads bared, their hair dishevelled, with piteous faces, mopping their tears with their hands, clothed in dyed cloth, and wearing their dress in great disorder.
They make this announcement: âGood sirs, good sirs, at the end of a hundred thousand years from now there will be the emergence of an aeon. This world will be destroyed. Even the ocean will dry up. This great earth, and the Sineru King of Mountains, will be consumed and destroyed. The destruction of the earth will extend as far as the BrahmÄ-world. Develop loving-kindness, good sirs, develop compassion, gladness, equanimity, good sirs. Care for your mothers, care for your fathers, honour the elders of your clans.â
When human beings and earth deities hear their words, they mostly are filled with a sense of urgency. They become kind to each other and make merit with loving-kindness, etc., and so they are reborn in the divine world. There they eat divine food, and they do the preliminary work on the air kasina and acquire jhÄna. Others, however, are reborn in a sense-sphere divine world through kamma to be experienced in a future life. For there is no being traversing the round of rebirths who is destitute of kamma to be experienced in a future life.
They too acquire jhÄna there in the same way. All are eventually reborn in the BrahmÄ-world by acquiring jhÄna in a sense-sphere divine world in this way.