Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-21

Win-only 255 char limit breaks tosca test resources clone in sdc/openecomp-be repo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

       Issue: for windows only (both cmd and git-bash) we can't clone parts of this repo because the paths are over 255 chars

      see also https://jira.onap.org/browse/DCAE-24

      I raise this because confluence is weighted towards windows development (even though linux/OSX will have no issues here)

      OSX and Linux are OK as expected 

      /Users/michaelobrien/wse_onap/onap3/sdc/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection

       

      Win64 will require less than 240 chars (keep some for the /opt/git/root DIR cloning to.

       

      reproduction

      "git clone ssh://$@@gerrit.openecomp.org:29418/sdc"

      Cloning into 'sdc'...
      Receiving objects: 100% (8535/8535), 27.19 MiB | 1.28 MiB/s, done.
      remote: Total 8535 (delta 0), reused 8535 (delta 0)
      Resolving deltas: 100% (3144/3144), done.
      Checking connectivity... done.
      error: unable to create file openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection/securityrulestoportconnectiongetresource/expectedoutputfiles/MainServiceTemplate.yaml (Filename too long)
      error: unable to create file openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection/securityrulestoportconnectiongetresource/inputfiles/FEAdd_On_Module_QRouterCloudConfig (Filename too long)
      error: unable to create file openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection/securityrulestoportconnectiongetresource/inputfiles/FEAdd_On_Module_QRouterTemplate.yaml (Filename too long)
      error: unable to create file openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection/securityrulestoportconnectiongetresource/inputfiles/FEAdd_On_Module_vLBAgentCloudConfig (Filename too long)
      error: unable to create file openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection/securityrulestoportconnectiongetresource/inputfiles/FEAdd_On_Module_vLBAgentTemplate.yaml (Filename too long)
      error: unable to create file openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection/securityrulestoportconnectiongetresource/inputfiles/FEAdd_On_Module_vProbeCloudConfig (Filename too long)
      error: unable to create file openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection/securityrulestoportconnectiongetresource/inputfiles/FEAdd_On_Module_vProbeTemplate.yaml (Filename too long)
      error: unable to create file openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection/securityrulestoportconnectiongetresource/inputfiles/vlbagentdependencies_with_vLB.json (Filename too long)
      error: unable to create file openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/securityrulestoportconnection/securityrulestoportconnectiongetresource/inputfiles/vlbagentdependencies_without_vLB.json (Filename too long)
      Checking out files: 100% (6129/6129), done.
      fatal: unable to checkout working tree
      warning: Clone succeeded, but checkout failed.
      You can inspect what was checked out with 'git status'
      and retry the checkout with 'git checkout -f HEAD'
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                ml636r Michael Lando
                Reporter:
                michaelobrien Michael O'Brien
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: