code: def worker_collectreport(self, node, rep):
          
          assert not rep.passed
          self._failed_worker_collectreport(node, rep)
docs: Emitted when a node calls the pytest_collectreport hook.
  
          Because we only need the report when there's a failure/skip, as optimization
          we only expect to receive failed/skipped reports from workers (#330).