Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-1045

`pdk validate` fails with `The filename or extension is too long. (206)`

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: PDK 1.6.0
    • Fix Version/s: PDK 1.6.1
    • Component/s: None
    • Environment:

      PDK 1.6.0 in windows

    • Template:
    • Acceptance Criteria:
      Hide

      PDK validate should not fail due to the number of files being sent in. 

      Show
      PDK validate should not fail due to the number of files being sent in. 
    • Team:
      Puppet Developer Experience
    • Method Found:
      Customer Feedback
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      File paths are now sent to the validator commands as relative paths to the module root rather than absolute paths. This cuts down on the length of the commands that PDK executes in order to work around the command length limit on windows.
    • QA Risk Assessment:
      Needs Assessment

      Description

      PDK validate fails with `The filename or extension is too long. (206)` even when limited to 1000 files. This seems to occur when there are many files in a deep file structure. Attached is an example file list that causes the error. 

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  bryan.jen Bryan Jen
                  Reporter:
                  jarret.lavallee Jarret Lavallee
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support