Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-11232

[bulk-import] Could not apply patches (export OK without them)

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 1.9.0
    • None
    • Build, Dynamic Plugins
    • None

      [INFO] Apply /builds/rhidp/rhdh-plugin-catalog/overlay-repo/workspaces/bulk-import patches to 
                   /builds/rhidp/rhdh-plugin-catalog/workspaces/bulk-import ...
      Error: Patch /builds/rhidp/rhdh-plugin-catalog/overlay-repo/workspaces/bulk-import/patches/1-cve-fix-workspace-yarn.patch failed to apply in /builds/rhidp/rhdh-plugin-catalog/workspaces/bulk-import.
      Rejected hunks:
      [ERROR] Failed to apply overlay + patches to /builds/rhidp/rhdh-plugin-catalog/workspaces/bulk-import !
      === Override Sources Script ===
        Overlay root: /builds/rhidp/rhdh-plugin-catalog/overlay-repo/workspaces/bulk-import
        Source of patches: /builds/rhidp/rhdh-plugin-catalog/overlay-repo/workspaces/bulk-import/patches
        Source overlay folder: /builds/rhidp/rhdh-plugin-catalog/overlay-repo/workspaces/bulk-import
        Overlay subfolder name: overlay
        Changed working directory to: /builds/rhidp/rhdh-plugin-catalog/workspaces/bulk-import for applying patches
      Found patch files to apply in /builds/rhidp/rhdh-plugin-catalog/workspaces/bulk-import:
        - /builds/rhidp/rhdh-plugin-catalog/overlay-repo/workspaces/bulk-import/patches/1-cve-fix-workspace-yarn.patch
      Applying patch (diff -u): /builds/rhidp/rhdh-plugin-catalog/overlay-repo/workspaces/bulk-import/patches/1-cve-fix-workspace-yarn.patch
      can't find file to patch at input line 3
      Perhaps you used the wrong -p or --strip option?
      The text leading up to this was:
      --------------------------
      |--- a/workspaces/bulk-import/yarn.lock
      |+++ b/workspaces/bulk-import/yarn.lock
      --------------------------
      No file to patch.  Skipping patch.
      50 out of 50 hunks ignored
      

              Unassigned Unassigned
              nickboldt Nick Boldt
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: