Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-5064

git fetch sometimes fails with "Broken pipe"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • master
    • Gerrit
    • None

    Description

      I'm trying to fetch tqtc/lts-6.2 in qtdeclarative from Australia but keep getting this error:

      mitch@Mitchs-MacBook-Pro qtdeclarative % git fetch
      tsremote: Counting objects: 2909, done
      remote: Finding sources: 100% (1727/1727)
      client_loop: send disconnect: Broken pipe MiB | 113.00 KiB/s  
      fetch-pack: unexpected disconnect while reading sideband packet
      fatal: early EOF
      fatal: fetch-pack: invalid index-pack output
      [...]
      mitch@Mitchs-MacBook-Pro qtdeclarative % git fetch                           
      remote: Counting objects: 2909, done
      remote: Finding sources: 100% (1727/1727)
      client_loop: send disconnect: Broken pipe MiB | 215.00 KiB/s  
      fetch-pack: unexpected disconnect while reading sideband packet
      fatal: early EOF
      fatal: fetch-pack: invalid index-pack output
      mitch@Mitchs-MacBook-Pro qtdeclarative % git fetch
      remote: Counting objects: 2909, done
      remote: Finding sources: 100% (1727/1727)
      client_loop: send disconnect: Broken pipe MiB | 116.00 KiB/s  
      fetch-pack: unexpected disconnect while reading sideband packet
      fatal: early EOF
      fatal: fetch-pack: invalid index-pack output
      

      After trying again a fourth or fifth time, it worked:

      mitch@Mitchs-MacBook-Pro qtdeclarative % git fetch
      remote: Counting objects: 2909, done
      remote: Finding sources: 100% (1727/1727)
      remote: Total 1727 (delta 470), reused 611 (delta 470)
      Receiving objects: 100% (1727/1727), 2.78 MiB | 909.00 KiB/s, done.
      Resolving deltas: 100% (470/470), completed with 255 local objects.
      From ssh://codereview.qt-project.org:29418/qt/tqtc-qtdeclarative
         fa8dc8c40b..d72f98dc8b  tqtc/lts-6.2   -> origin/tqtc/lts-6.2
         7eb012ebd9..6ec334034a  6.3            -> origin/6.3
         5b60917821..050aee3bd2  6.4            -> origin/6.4
         6638f9af0f..4bf6f07d78  dev            -> origin/dev
         aeedbf923d..f9022e847f  tqtc/lts-5.15  -> origin/tqtc/lts-5.15
       * [new branch]            tqtc/lts-6.2.5 -> origin/tqtc/lts-6.2.5
       * [new tag]               v6.4.0-beta1   -> v6.4.0-beta1
      

      I have no issues fetching from code.qt.io:

      mitch@Mitchs-MacBook-Pro qtdeclarative % git fetch
      remote: Counting objects: 521, done.
      remote: Compressing objects: 100% (433/433), done.
      remote: Total 521 (delta 441), reused 125 (delta 88)
      Receiving objects: 100% (521/521), 95.21 KiB | 274.00 KiB/s, done.
      Resolving deltas: 100% (441/441), completed with 170 local objects.
      From git://code.qt.io/qt/qtdeclarative
         9b22095657..6ec334034a  6.3        -> origin/6.3
         ca6fd19154..050aee3bd2  6.4        -> origin/6.4
         83a306f7d8..4bf6f07d78  dev        -> origin/dev
      

      Nor when fetching from a non-LTS Gerrit remote:

      mitch@Mitchs-MacBook-Pro qtdeclarative % git fetch gerrit dev
      From ssh://codereview.qt-project.org:29418/qt/qtdeclarative
       * branch                  dev        -> FETCH_HEAD
       * [new branch]            dev        -> gerrit/dev
      mitch@Mitchs-MacBook-Pro qtdeclarative % git remote show gerrit
      * remote gerrit
        Fetch URL: ssh://mitch_curtis@codereview.qt-project.org:29418/qt/qtdeclarative.git
        Push  URL: ssh://mitch_curtis@codereview.qt-project.org:29418/qt/qtdeclarative.git
        HEAD branch: dev
        Remote branches:
          5.10                       new (next fetch will store in remotes/gerrit)
      [...]
      

      Attachments

        Activity

          People

            gerrit-admin Gerrit Admin
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: