I know from the car industrie, from each car, they know from each part the whole production history. A factory, for example, is certified to produce part "A". The factory has two machines (machine "B" and "C") who could produce part "A". The factory has to produce samples with machine "B". The samples have to pass several test and get approved by all the companys, who produce bigger and bigger parts with part "A" until you get the full car. So maybe a handfull of companys have to say ok to part "A". This can take like a half year or more.
So now is machine "B" certified to produce "A" but not machine "C".
This takes all pretty long and I don't think it's done this way in the electronics world, because there are almost no callbacks. So why bother so much with the supply chain.
And not to forget, the test is just if the part does pass the tolerances in the factory. It does not test, if a guy in the factory does cheat.
Even if the factory checked "everyting" and all the details. Then comes somebody like the NSA and they just grab the package on the transport from the factory to the customer (Cisco).