Around 30 years ago, before the two words 'Human Factors' were linked, I'd worked all day and then most of the following night to fit and rig the ailerons on a large piston-engined aircraft. I finished the task and locked everything up. The mechanic I was working with noticed that I'd missed putting the locking wire through one of the turnbarrel holes, even though I'd made a perfect figure-of-eight.
I'd worked more or less twenty hours since clocking in and was obviously tired. The frightening thing is that I would have signed for one half of the duplicate inspections. A lesson learned...
It wasn't uncommon back then to work those sort of hours to keep aircraft serviceable as there were hefty penalty clauses if the operator couldn't keep to schedule.