You are not logged in.

#1 2019-04-11 16:37:27

hogan555
Member
Registered: 2019-04-11
Posts: 1

repo init hangs at "fetch"

repo --trace init -u git://android.googlesource.com/platform/manifest -b master                                                                          :(

gpg: keybox '/home/aosp/.repoconfig/gnupg/pubring.kbx' created
gpg: /home/aosp/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 16530D5E920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: key 67B7E448692B382C: public key "Conley Owens <cco3@android.com>" imported
gpg: Total number processed: 2
gpg:               imported: 2

Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Finding sources: 100% (4/4)
remote: Total 4 (delta 0), reused 4 (delta 0)
Unpacking objects: 100% (4/4), done.
From https://gerrit.googlesource.com/git-repo
   cd81dd6..eceeb1b  maint      -> origin/maint
   e57f114..0d9b16d  master     -> origin/master
: git --version 1>| 2>|
: git config --file /home/aosp/.gitconfig --null --list 1>| 2>|
Get git://android.googlesource.com/platform/manifest
: export GIT_DIR=/home/aosp/.repo/manifests.git
: git init 1>| 2>|
: git config --file /home/aosp/.repo/manifests.git/config --null --list 1>| 2>|
: git config --file /home/aosp/.repo/manifests.git/config --replace-all filter.lfs.smudge git-lfs smudge --skip -- %f 1>| 2>|
: git config --file /home/aosp/.repo/manifests.git/config --unset-all core.bare 1>| 2>|
: git config --file /home/aosp/.repo/manifests.git/config --replace-all remote.origin.url git://android.googlesource.com/platform/manifest 1>| 2>|
: git config --file /home/aosp/.repo/manifests.git/config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/* 1>| 2>|
: git fetch --progress origin --tags +refs/heads/*:refs/remotes/origin/* +refs/heads/master:refs/remotes/origin/master 1>| 2>|

In particular it hangs here:
.repo/repo/git_command.py

 def _CaptureOutput(self):
    p = self.process
    s_in = platform_utils.FileDescriptorStreams.create()
    s_in.add(p.stdout, sys.stdout, 'stdout')
    s_in.add(p.stderr, sys.stderr, 'stderr')
    self.stdout = ''
    self.stderr = ''

    while not s_in.is_done:
      in_ready = s_in.select() # here nothing happens

But: On a fresh arch everything works fine (in a vm)
aosp is a newly created user so I guess its a global settings or software thing - but where to find and how to search?

Last edited by hogan555 (2019-04-11 16:41:17)

Offline

#2 2019-05-14 00:03:47

thearchlinuxuser
Member
Registered: 2019-05-14
Posts: 5

Re: repo init hangs at "fetch"

I have the same problem. Any suggestions?

Offline

#3 2019-05-15 11:56:12

thearchlinuxuser
Member
Registered: 2019-05-14
Posts: 5

Re: repo init hangs at "fetch"

Some more information:

After running repo init, "$ pstree -lpa" shows:

  │   │   │   └─python2,1299 /home/maxx/Development/android/.repo/repo/main.py --repo-dir=/home/maxx/Development/android/.repo --wrapper-version=1.25 --wrapper-path=/usr/bin/repo -- init -u https://android.googlesource.com/platform/manifest --repo-url=https://gerrit.googlesource.com/git-repo --repo-branch=stable
  │   │   │       └─git,1345 fetch --progress origin --tags +refs/heads/*:refs/remotes/origin/* +refs/heads/master:refs/remotes/origin/master
  │   │   │           └─git-remote-http,1346 origin https://android.googlesource.com/platform/manifest
  │   │   │               └─git,1348 fetch-pack --stateless-rpc --stdin --lock-pack --thin https://android.googlesource.com/platform/manifest/

The output of repo init is the following, using "$  export GIT_CURL_VERBOSE=1; export GIT_TRACE=1;":

[maxx@max-arch-linux android]$ repo init -u https://android.googlesource.com/platform/manifest
13:31:48.091182 git.c:419               trace: built-in: git version
13:31:48.094066 git.c:419               trace: built-in: git init --quiet
13:31:48.105845 git.c:419               trace: built-in: git config remote.origin.url https://gerrit.googlesource.com/git-repo
13:31:48.111298 git.c:419               trace: built-in: git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
13:31:48.118091 git.c:419               trace: built-in: git config --get-regexp 'url.*.insteadof'
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
13:31:52.364797 git.c:419               trace: built-in: git fetch origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*'
13:31:52.365208 run-command.c:643       trace: run_command: GIT_DIR=.git git-remote-https origin https://gerrit.googlesource.com/git-repo
* Couldn't find host gerrit.googlesource.com in the .netrc file; using defaults
*   Trying 74.125.133.82...
* TCP_NODELAY set
* Connected to gerrit.googlesource.com (74.125.133.82) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.googlecode.com
*  start date: Apr 16 09:58:11 2019 GMT
*  expire date: Jul  9 09:52:00 2019 GMT
*  subjectAltName: host "gerrit.googlesource.com" matched cert's "*.googlesource.com"
*  issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x562824d07d40)
> GET /git-repo/info/refs?service=git-upload-pack HTTP/2
Host: gerrit.googlesource.com
User-Agent: git/2.21.0
Accept: */*
Accept-Encoding: deflate, gzip
Accept-Language: en-US, *;q=0.9
Pragma: no-cache

* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 200 
< cache-control: no-cache, max-age=0, must-revalidate
< content-encoding: gzip
< content-security-policy-report-only: script-src 'nonce-tjV3K0Ok5dAbaS82+7Ft0w' 'unsafe-inline' 'strict-dynamic' https: http: 'unsafe-eval';object-src 'none';base-uri 'self';report-uri https://csp.withgoogle.com/csp/gerritcodereview/1
< content-type: application/x-git-upload-pack-advertisement
< expires: Fri, 01 Jan 1980 00:00:00 GMT
< pragma: no-cache
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< date: Wed, 15 May 2019 11:36:32 GMT
< alt-svc: quic=":443"; ma=2592000; v="46,44,43,39"
< 
* Connection #0 to host gerrit.googlesource.com left intact
13:31:52.650309 run-command.c:643       trace: run_command: git fetch-pack --stateless-rpc --stdin --lock-pack --include-tag --thin https://gerrit.googlesource.com/git-repo/
13:31:52.654349 git.c:419               trace: built-in: git fetch-pack --stateless-rpc --stdin --lock-pack --include-tag --thin https://gerrit.googlesource.com/git-repo/
* Couldn't find host gerrit.googlesource.com in the .netrc file; using defaults
* Found bundle for host gerrit.googlesource.com: 0x562824cf22f0 [can multiplex]
* 17 bytes stray data read before trying h2 connection
* Re-using existing connection! (#0) with host gerrit.googlesource.com
* Connected to gerrit.googlesource.com (74.125.133.82) port 443 (#0)
* Using Stream ID: 3 (easy handle 0x562824d07d40)
> POST /git-repo/git-upload-pack HTTP/2
Host: gerrit.googlesource.com
User-Agent: git/2.21.0
Accept-Encoding: deflate, gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Content-Length: 948

* We are completely uploaded and fine
< HTTP/2 200 
< cache-control: no-cache, max-age=0, must-revalidate
< content-security-policy-report-only: script-src 'nonce-5tYVwV+240MgqFuiyT3kQw' 'unsafe-inline' 'strict-dynamic' https: http: 'unsafe-eval';object-src 'none';base-uri 'self';report-uri https://csp.withgoogle.com/csp/gerritcodereview/1
< content-type: application/x-git-upload-pack-result
< expires: Fri, 01 Jan 1980 00:00:00 GMT
< pragma: no-cache
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< date: Wed, 15 May 2019 11:36:32 GMT
< alt-svc: quic=":443"; ma=2592000; v="46,44,43,39"
< 
remote: Finding sources: 100% (6/6)
13:31:52.823306 run-command.c:643       trace: run_command: git unpack-objects --pack_header=2,6
13:31:52.827358 git.c:419               trace: built-in: git unpack-objects --pack_header=2,6
remote: Total 6 (delta 0), reused 6 (delta 0)
* Connection #0 to host gerrit.googlesource.com left intact
Unpacking objects: 100% (6/6), done.
13:31:52.869965 run-command.c:643       trace: run_command: git rev-list --objects --stdin --not --all --quiet
13:31:52.872982 git.c:419               trace: built-in: git rev-list --objects --stdin --not --all --quiet
From https://gerrit.googlesource.com/git-repo
   266f74c..f25a370  master     -> origin/master
* Closing connection 0
13:31:52.915704 run-command.c:1577      run_processes_parallel: preparing to run up to 1 tasks
13:31:52.915748 run-command.c:1609      run_processes_parallel: done
13:31:52.915860 run-command.c:643       trace: run_command: git gc --auto
13:31:52.919380 git.c:419               trace: built-in: git gc --auto
13:31:52.958002 git.c:419               trace: built-in: git update-ref refs/heads/default v1.13.2^0
13:31:52.965808 git.c:419               trace: built-in: git config branch.default.remote origin
13:31:52.972903 git.c:419               trace: built-in: git config branch.default.merge refs/heads/stable
13:31:52.978718 git.c:419               trace: built-in: git symbolic-ref HEAD refs/heads/default
13:31:52.984391 git.c:419               trace: built-in: git read-tree --reset -u -v HEAD
13:31:53.407168 git.c:419               trace: built-in: git version
Get https://android.googlesource.com/platform/manifest
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 
Server does not provide clone.bundle; ignoring.
13:31:53.636272 git.c:419               trace: built-in: git fetch --progress origin --tags '+refs/heads/*:refs/remotes/origin/*' +refs/heads/master:refs/remotes/origin/master
13:31:53.637061 run-command.c:643       trace: run_command: git-remote-https origin https://android.googlesource.com/platform/manifest
* Couldn't find host android.googlesource.com in the .netrc file; using defaults
*   Trying 66.102.1.82...
* TCP_NODELAY set
* Connected to android.googlesource.com (66.102.1.82) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.googlecode.com
*  start date: Apr 16 09:58:11 2019 GMT
*  expire date: Jul  9 09:52:00 2019 GMT
*  subjectAltName: host "android.googlesource.com" matched cert's "*.googlesource.com"
*  issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x55f1ac31ae30)
> GET /platform/manifest/info/refs?service=git-upload-pack HTTP/2
Host: android.googlesource.com
User-Agent: git/2.21.0
Accept: */*
Accept-Encoding: deflate, gzip
Accept-Language: en-US, *;q=0.9
Pragma: no-cache

* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 200 
< cache-control: no-cache, max-age=0, must-revalidate
< content-encoding: gzip
< content-security-policy-report-only: script-src 'nonce-WMH5aDTd2Od6hc2W5p36yw' 'unsafe-inline' 'strict-dynamic' https: http: 'unsafe-eval';object-src 'none';base-uri 'self';report-uri https://csp.withgoogle.com/csp/gerritcodereview/1
< content-type: application/x-git-upload-pack-advertisement
< expires: Fri, 01 Jan 1980 00:00:00 GMT
< pragma: no-cache
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< date: Wed, 15 May 2019 11:36:33 GMT
< alt-svc: quic=":443"; ma=2592000; v="46,44,43,39"
< 
* Connection #0 to host android.googlesource.com left intact
13:31:54.321008 run-command.c:643       trace: run_command: git fetch-pack --stateless-rpc --stdin --lock-pack --thin https://android.googlesource.com/platform/manifest/
13:31:54.323162 git.c:419               trace: built-in: git fetch-pack --stateless-rpc --stdin --lock-pack --thin https://android.googlesource.com/platform/manifest/
* Couldn't find host android.googlesource.com in the .netrc file; using defaults
* Found bundle for host android.googlesource.com: 0x55f1ac305250 [can multiplex]
* 17 bytes stray data read before trying h2 connection
* Re-using existing connection! (#0) with host android.googlesource.com
* Connected to android.googlesource.com (66.102.1.82) port 443 (#0)
* Using Stream ID: 3 (easy handle 0x55f1ac31ae30)
> POST /platform/manifest/git-upload-pack HTTP/2
Host: android.googlesource.com
User-Agent: git/2.21.0
Accept-Encoding: deflate, gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Content-Encoding: gzip
Content-Length: 46234

* We are completely uploaded and fine

Here, nothing happens anymore. The process does not return.

Running strace on the git-remote-http process shows tons of lines like those:

[maxx@max-arch-linux ~]$ sudo strace -p 1346
strace: Process 1346 attached
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49995})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49996})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49997})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f231ea2c4d0}, NULL, 8) = 0
select(4, [3], [3], [], {tv_sec=0, tv_usec=50000}) = 1 (out [3], left {tv_sec=0, tv_usec=49998})

Any ideas?


// Edit:

After quite some time, I get an error and the process quits:

< HTTP/2 408 
< content-type: text/html; charset=UTF-8
< referrer-policy: no-referrer
< content-length: 1557
< date: Thu, 16 May 2019 23:41:54 GMT
< alt-svc: quic=":443"; ma=2592000; v="46,44,43,39"
< 
* Connection #0 to host android.googlesource.com left intact
error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408
fatal: the remote end hung up unexpectedly
fatal: cannot obtain manifest https://android.googlesource.com/platform/manifest

Last edited by thearchlinuxuser (2019-05-17 10:37:59)

Offline

#4 2019-05-21 09:25:16

thearchlinuxuser
Member
Registered: 2019-05-14
Posts: 5

Re: repo init hangs at "fetch"

For anyone having the same problem: As a workaround, I installed Linux Mint in a virtual machine, ran repo init there, created a .tar.gz of the directory, copied it to Arch Linux and ran repo sync. This worked fine for me.

Offline

#5 2019-05-21 15:55:48

dimsuz
Member
Registered: 2011-05-01
Posts: 29

Re: repo init hangs at "fetch"

Interesting. I get exactly the same output from tools mentioned above. Googling didn't get me anywhere, would be very grateful for any advice on how to solve this without VMs...

Offline

#6 2019-05-21 22:11:13

thearchlinuxuser
Member
Registered: 2019-05-14
Posts: 5

Re: repo init hangs at "fetch"

Offline

#7 2019-05-21 22:53:00

dimsuz
Member
Registered: 2011-05-01
Posts: 29

Re: repo init hangs at "fetch"

After many hours of googling, digging into various mailing list messages and trying many different things, I finally found a solution.

What helped me was disabling http2 protocol. Git uses curl which has some kind of problem in this exact situation. So I did:

git config --global http.version HTTP/1.1

After this "repo init" (git fetch) finished successfully.

This bug report gave me a hint to try disabling HTTP/2:

https://bugs.freebsd.org/bugzilla/show_ … ?id=233177

Offline

#8 2019-07-24 16:53:26

paulyc
Member
Registered: 2019-07-24
Posts: 2

Re: repo init hangs at "fetch"

dimsuz wrote:

After many hours of googling, digging into various mailing list messages and trying many different things, I finally found a solution.

What helped me was disabling http2 protocol. Git uses curl which has some kind of problem in this exact situation. So I did:

git config --global http.version HTTP/1.1

After this "repo init" (git fetch) finished successfully.

This bug report gave me a hint to try disabling HTTP/2:

https://bugs.freebsd.org/bugzilla/show_ … ?id=233177

Thank you very much! When I could view the URL in a browser but it clearly just hung trying to download the git repo I figured it had to involve the git repo but I had no clue why.  Shows how far standards have slipped at Google [commentary redacted]

Last edited by paulyc (2019-07-24 17:28:38)

Offline

Board footer

Powered by FluxBB