Emergency services were called to a Dundee high school three days in a row as pupils ran amok and climbed on to the roof of the building.
Police and Scottish Fire and Rescue were both called to the school on Tuesday, Wednesday and Thursday this week as pupils climbed out of windows and on to the roof in one part of the school.
The incidents caused massive disruption to classes as well as putting the pupils themselves at risk.
A preliminary exam taking place in the school’s assembly hall had to be postponed while one of the incidents was ongoing.
One school insider said the incidents exposed a “crisis of discipline” at the school, which cannot be named for legal reasons.
“There were pupils on the roof on three consecutive days,” they said.
“It started with one pupil who climbed on to the roof and was running around for something like an hour and a half.
“His mum was called out and then the police were called.
“Then he came back to school the next day and goaded other pupils into climbing on to the roof as well.
“The whole school was disrupted and pupils who were sitting their prelims couldn’t do them. They had to be abandoned.”
The whistle-blower added: “It’s symptomatic of what’s going on in the school. There are good staff but there is a crisis in discipline.
“This was all happening during class time. In other schools it would be dealt with a lot more effectively.”
They added: “It is dangerous climbing on the roof and they are putting lives at risk elsewhere in the city.
“What if there was a big fire in another part of Dundee and the fire brigade were stuck at the school while pupils ran around on the roof?”
Police Scotland confirmed they had attended incidents at the school and said a 14-year-old boy has been charged.
A spokeswoman said: “Police Scotland can confirm that a 14-year-old boy has been charged in connection with an incident on Thursday January 28.
“A report will be submitted to the Youth Justice Assessor for consideration.”
She added: “Officers are working closely with local authority and parents but would like to take this opportunity to remind individuals that reckless behaviour such as this is dangerous and can cause injury.”
A spokesman for Dundee City Council said it would be inappropriate to comment.