• Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • None
    • Repository (Git)
    • None

      We are running Bamboo Elastic Agents on Windows Server 2012 AMIs and are finding poor execution time when using git checkout inside a bamboo script task. We run the exact identical script in RDP on the same instance, as the same user with the same parameters and it only take 1 minute while running the task from Bamboo takes 30minutes!!! There is no network traffic as we are checking out locally.

      Does the Java process lower the priority of the child process or limit the resources a task in child process can consume. We are close to abandoning Bamboo for our builds but are reaching out in a last stitch effort to make this work.

            [BAM-14880] Git checkout unreasonably slow

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1436161 ] New: JAC Bug Workflow v3 [ 3382607 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            Marcin Gardias made changes -
            Resolution New: Obsolete [ 11 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

            The issue is related to msysgit which is obsolete.

            Marcin Gardias added a comment - The issue is related to msysgit which is obsolete.
            jonah (Inactive) made changes -
            Symptom Severity New: Major [ 14431 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1412898 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1436161 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 720624 ] New: Bamboo Workflow 2016 v1 [ 1412898 ]

            I was having a similar issue and solved it with a different workaround. I had a build plan that checked out 5 git repositories, and took 10 minutes to do so.

            Fix: I installed Git 2.7.2 on the Bamboo agent, and instructed Bamboo to use that git instead of the git packaged with Bamboo (Admin > Remote Agents > Agent > Capabilities > Git).

            After installing the new version of Git, checkouts took a matter of seconds.

            Brian Lachniet added a comment - I was having a similar issue and solved it with a different workaround. I had a build plan that checked out 5 git repositories, and took 10 minutes to do so. Fix : I installed Git 2.7.2 on the Bamboo agent, and instructed Bamboo to use that git instead of the git packaged with Bamboo (Admin > Remote Agents > Agent > Capabilities > Git). After installing the new version of Git, checkouts took a matter of seconds.
            Przemek Bruski made changes -
            Priority Original: Critical [ 2 ] New: Major [ 3 ]
            Alexey Chystoprudov made changes -
            Component/s New: Repository (Git) [ 13270 ]
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]

              Unassigned Unassigned
              16e8fd2916d2 Wayne Allan
              Affected customers:
              1 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: