{"record":{"id":"6c0b7e23068bcd4a","repo":"nodejs/node","slug":"did-not-generate-any-of-s","errorCode":null,"errorMessage":"did not generate any of %s","messagePattern":"did not generate any of (.+?)","errorType":"exception","errorClass":"MBErr","httpStatus":null,"severity":"error","filePath":"deps/v8/tools/mb/mb.py","lineNumber":760,"sourceCode":"        label = isolate_map[target]['label']\n        runtime_deps_targets = [\n            'obj/%s.runtime_deps' % label.replace(':', '/'),\n            'obj/%s.stamp.runtime_deps' % label.replace(':', '/')]\n        if self.platform == 'win32':\n          runtime_deps_targets += [ target + '.exe.runtime_deps' ]\n        else:\n          runtime_deps_targets += [ target + '.runtime_deps' ]\n      elif self.platform == 'win32':\n        runtime_deps_targets = [target + '.exe.runtime_deps']\n      else:\n        runtime_deps_targets = [target + '.runtime_deps']\n\n      for r in runtime_deps_targets:\n        runtime_deps_path = self.ToAbsPath(build_dir, r)\n        if self.Exists(runtime_deps_path):\n          break\n      else:\n        raise MBErr('did not generate any of %s' %\n                    ', '.join(runtime_deps_targets))\n\n      runtime_deps = self.ReadFile(runtime_deps_path).splitlines()\n\n      self.WriteIsolateFiles(build_dir, target, runtime_deps)\n\n    return 0\n\n  def RunGNIsolate(self):\n    target = self.args.target[0]\n    isolate_map = self.ReadIsolateMap()\n    err, labels = self.MapTargetsToLabels(isolate_map, [target])\n    if err:\n      raise MBErr(err)\n    label = labels[0]\n\n    build_dir = self.args.path[0]\n","sourceCodeStart":742,"sourceCodeEnd":778,"githubUrl":"https://github.com/nodejs/node/blob/1b2de5e052fc0fb95fd7fb6846dcec4ade598e9e/deps/v8/tools/mb/mb.py#L742-L778","documentation":"MB runs GN gen + ninja to produce a `<target>.runtime_deps` file (or platform variants like `.exe.runtime_deps` or `obj/<label>.runtime_deps`) listing the files needed to isolate a test. If none of the candidate runtime_deps files exist after the build, MB cannot write isolate files.","triggerScenarios":"Calling `mb.py isolate` (or a recipe step that drives it) against a build dir where ninja never produced the expected runtime_deps file for the target.","commonSituations":"Build dir never actually built; target name/label mismatch; stale or partially-populated build dir; ninja failed silently upstream; platform-specific path differences (win32 vs android vs posix).","solutions":["Run `mb.py gen` and then ninja-build the exact target in the same build dir before isolate.","Verify the --target label resolves to the runtime_deps path MB is searching for.","Wipe and regenerate the build dir to rule out stale state.","Re-check the ninja build log to confirm it completed without error."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"# Before calling mb.py isolate, confirm ninja produced runtime_deps.\nimport os\ncandidates = [\n    os.path.join(build_dir, 'obj', label.replace(':', '/') + '.runtime_deps'),\n    os.path.join(build_dir, target + '.runtime_deps'),\n]\nassert any(os.path.exists(p) for p in candidates), (\n    f\"no runtime_deps produced; build target {target!r} first\")","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Always run `mb.py gen` then ninja for the target before isolate.","In recipes, fail fast on ninja errors rather than letting isolate run on a partial build.","Wipe stale build dirs in clean builds."],"tags":["mb","isolate","ninja","build","v8","swarming"],"backgroundTag":null,"analyzedSha":"1b2de5e052fc0fb95fd7fb6846dcec4ade598e9e","analyzedAt":"2026-08-13T00:53:24.642Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}