Opened 6 years ago

Closed 6 years ago

#56532 closed defect (fixed)

valgrind-devel @3.14.0-r2017-11-21 +gcc6 +openmpi: intermittent git-checkout failure

Reported by: majoc-at-astro (majoc-at-astro) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.4.4
Keywords: Cc: raimue (Rainer Müller)
Port: valgrind

Description

Sometimes, but not always, valgrind-devel fails to check out during our periodic nightly builds, then succeeds in a manually-initiated rerun. Logfile enclosed, but here's the top bits:

:debug:fetch system: /usr/bin/git clone --progress http://sourceware.org/git/valgrind.git /opt/local/var/macports/build_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_valgrind/valgrind-devel/work/valgrind-3.14.0-r2017-11-21 2>&1
:info:fetch Cloning into '/opt/local/var/macports/build_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_valgrind/valgrind-devel/work/valgrind-3.14.0-r2017-11-21'...
:info:fetch error: Failed to connect to sourceware.org port 80: Operation timed out (curl_result = 7, http_code = 0, sha1 = 839183ecc4b4af8b9ef4775b2cb95f20608b4981)
:info:fetch error: Unable to find 839183ecc4b4af8b9ef4775b2cb95f20608b4981 under http://sourceware.org/git/valgrind.git
:info:fetch Cannot obtain needed tree 839183ecc4b4af8b9ef4775b2cb95f20608b4981
:info:fetch while processing commit 24d9acaac7eba9ecf949faa3fc67c0273a40dab3.
:info:fetch error: fetch failed.

On investigation, http://www.valgrind.org/downloads/repository.html suggests the Portfile is checking out with the wrong URL, which may quite possibly yield timeouts or other breakage. Here's the results of some experiments, pulled from our nightly logs:

    git.url         http://sourceware.org/git/valgrind.git
00:07:40 ### (178 of 961: mp_merged.bash) port fetch valgrind-devel +gcc6 +openmpi (Thu May 24 14:21:30 BST 2018)

    git.url         git://sourceware.org/git/valgrind.git
00:01:14 ### (171 of 954: mp_merged.bash) port fetch valgrind-devel +gcc6 +openmpi (Thu May 24 00:36:29 BST 2018)

    git.url         http://repo.or.cz/valgrind.git
00:00:54 ### (178 of 961: mp_merged.bash) port fetch valgrind-devel +gcc6 +openmpi (Thu May 24 14:24:30 BST 2018)

I enclose the obvious patch for the Portfile for the last of the above, which uses the mirror suggested in http://www.valgrind.org/downloads/repository.html .

Please feel free to merge this with #56151. Thanks in advance; apologies (as ever) for errors of markup.

macOS

  • ProductVersion: 10.13.4
  • BuildVersion: 17E202

Xcode 9.2

  • Xcode: Build version 9C40b
  • clang: Apple LLVM version 9.0.0 (clang-900.0.39.2)

Attachments (2)

valgrind-devel.log.2018-05-10_00.38.54 (55.3 KB) - added by majoc-at-astro (majoc-at-astro) 6 years ago.
Portfile-valgrind.diff (373 bytes) - added by majoc-at-astro (majoc-at-astro) 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by majoc-at-astro (majoc-at-astro)

Changed 6 years ago by majoc-at-astro (majoc-at-astro)

Attachment: Portfile-valgrind.diff added

comment:1 Changed 6 years ago by raimue (Rainer Müller)

Thank you for the patch! I will switch to this Git mirror in the hope it works better. Although sourceware.org actually also lists this http:// URL for the valgrind repository.

comment:2 Changed 6 years ago by raimue (Rainer Müller)

Owner: set to raimue
Resolution: fixed
Status: newclosed

In 500e02af16a49d4830dc0560eb289d0d2702debc/macports-ports (master):

valgrind-devel: Switch to recommended Git mirror

There have been some reports that the sourceware.org Git repository does
not work reliable over HTTP. Use the Git mirror recommended by the
valgrind website at http://www.valgrind.org/downloads/repository.html

See: #56151
Closes: #56532

Note: See TracTickets for help on using tickets.