timotheecour / Nim

Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that order of priority).
http://nim-lang.org/
Other
2 stars 0 forks source link

CI flaky test: git clone failed; Error: 'hg' not in PATH #299

Open timotheecour opened 4 years ago

timotheecour commented 4 years ago

https://pipelines.actions.githubusercontent.com/ZRinn1OrR0LWxU3iWy1StaQcZRN2kXW9lHWwDJ3esfasrmfdRn/_apis/pipelines/1/runs/2536/signedlogcontent/4?urlExpires=2020-06-10T01%3A25%3A50.5102548Z&urlSigningMethod=HMACV1&urlSignature=yU9EvMxCL8Q5%2FzAOXCM7cTN8b87%2BgZXgaobuquHmILI%3D

we could use the same fix as here:

          if not actionRetry(maxRetry = 3, backoffDuration = 1.0,
            (proc(): bool = nimbleInstall(installName, message))):
            r.addResult(test, targetC, "", message, reInstallFailed)
            continue
2020-06-10T01:16:35.3711730Z Category: nimble-packages-2
2020-06-10T01:16:35.3712180Z Name: https://github.com/unicredit/neo C
2020-06-10T01:16:35.3712400Z Action: run
2020-06-10T01:16:35.3712590Z Result: reInstallFailed
2020-06-10T01:16:35.3713170Z -------- Expected -------
2020-06-10T01:16:35.3713310Z 
2020-06-10T01:16:35.3713800Z --------- Given  --------
2020-06-10T01:16:35.3714460Z 'nimble install -y https://github.com/unicredit/neo' failed:
2020-06-10T01:16:35.3715020Z      Error: 'hg' not in PATH.
2020-06-10T01:16:35.3715150Z 
2020-06-10T01:16:35.3715660Z -------------------------
2020-06-10T01:16:35.3715750Z 
2020-06-10T01:16:35.3716260Z Category: nimble-packages-2
2020-06-10T01:16:35.3716540Z Name: https://gitlab.com/xomachine/NESM.git C
2020-06-10T01:16:35.3716740Z Action: run
2020-06-10T01:16:35.3716930Z Result: reInstallFailed
2020-06-10T01:16:35.3717810Z -------- Expected -------
2020-06-10T01:16:35.3717890Z 
2020-06-10T01:16:35.3718400Z --------- Given  --------
2020-06-10T01:16:35.3718600Z git clone failed:
2020-06-10T01:16:35.3719050Z $ git clone https://gitlab.com/xomachine/NESM.git pkgstemp/nesm
2020-06-10T01:16:35.3719730Z Cloning into 'pkgstemp/nesm'...
2020-06-10T01:16:35.3720520Z fatal: unable to access 'https://gitlab.com/xomachine/NESM.git/': Could not resolve host: gitlab.com
2020-06-10T01:16:35.3720640Z 
2020-06-10T01:16:35.3721230Z -------------------------
2020-06-10T01:16:35.3721440Z 
2020-06-10T01:16:35.3722040Z Category: nimble-packages-2
2020-06-10T01:16:35.3722920Z Name: https://github.com/icyphox/nicy C
2020-06-10T01:16:35.3723170Z Action: run
2020-06-10T01:16:35.3723380Z Result: reInstallFailed
2020-06-10T01:16:35.3723950Z -------- Expected -------
2020-06-10T01:16:35.3724090Z 
2020-06-10T01:16:35.3724600Z --------- Given  --------
2020-06-10T01:16:35.3724800Z git clone failed:
2020-06-10T01:16:35.3725070Z $ git clone https://github.com/icyphox/nicy pkgstemp/nicy
2020-06-10T01:16:35.3725660Z Cloning into 'pkgstemp/nicy'...
2020-06-10T01:16:35.3726950Z fatal: unable to access 'https://github.com/icyphox/nicy/': Could not resolve host: github.com
2020-06-10T01:16:35.3727160Z 
2020-06-10T01:16:35.3727740Z -------------------------
2020-06-10T01:16:35.3727820Z 
2020-06-10T01:16:35.3728400Z Category: nimble-packages-2
2020-06-10T01:16:35.3729010Z Name: https://github.com/trustable-code/NiGui C
2020-06-10T01:16:35.3729290Z Action: run
2020-06-10T01:16:35.3747190Z Result: reInstallFailed
2020-06-10T01:16:35.3748030Z -------- Expected -------
2020-06-10T01:16:35.3748120Z 
2020-06-10T01:16:35.3748680Z --------- Given  --------
2020-06-10T01:16:35.3748890Z git clone failed:
2020-06-10T01:16:35.3749660Z $ git clone https://github.com/trustable-code/NiGui pkgstemp/nigui
2020-06-10T01:16:35.3750370Z Cloning into 'pkgstemp/nigui'...
2020-06-10T01:16:35.3751240Z fatal: unable to access 'https://github.com/trustable-code/NiGui/': Could not resolve host: github.com
2020-06-10T01:16:35.3751380Z 
2020-06-10T01:16:35.3751920Z -------------------------
2020-06-10T01:16:35.3752050Z 
2020-06-10T01:16:35.3752590Z Category: nimble-packages-2
2020-06-10T01:16:35.3752760Z Name: PackageFileParsed C
2020-06-10T01:16:35.3752930Z Action: run
2020-06-10T01:16:35.3753100Z Result: reBuildFailed
2020-06-10T01:16:35.3753620Z -------- Expected -------
2020-06-10T01:16:35.3753750Z 
2020-06-10T01:16:35.3754270Z --------- Given  --------
2020-06-10T01:16:35.3754350Z 
2020-06-10T01:16:35.3754850Z -------------------------
2020-06-10T01:16:35.3754920Z 
2020-06-10T01:16:35.3935140Z Post job cleanup.
2020-06-10T01:16:35.5179310Z [command]/usr/local/bin/git version
timotheecour commented 4 years ago

https://pipelines.actions.githubusercontent.com/ZRinn1OrR0LWxU3iWy1StaQcZRN2kXW9lHWwDJ3esfasrmfdRn/_apis/pipelines/1/runs/2570/signedlogcontent/3?urlExpires=2020-06-11T05%3A36%3A33.7214582Z&urlSigningMethod=HMACV1&urlSignature=cAW%2BohQI010%2FBGmvgM7ZVXfFh7XmcBIklDgHK6%2FZopg%3D

2020-06-11T05:05:03.8824270Z CC: testament.nim
2020-06-11T05:05:04.3013080Z Hint:  [Link]
2020-06-11T05:05:04.4708370Z Hint: 139456 lines; 3.980s; 181.828MiB peakmem; Debug build; proj: testament/testament; out: /Users/runner/runners/2.263.0/work/Nim/Nim/testament/testament [SuccessX]
2020-06-11T05:05:04.4709900Z Hint: /Users/runner/runners/2.263.0/work/Nim/Nim/testament/testament cat nimble-packages-2 [Exec]
2020-06-11T05:05:04.7450320Z Downloading Official package list
2020-06-11T05:05:05.4535860Z     Success Package list downloaded.
2020-06-11T05:11:42.5492480Z PASS: https://github.com/fowlmouth/nake/ C                         ( 2.40 sec)
2020-06-11T05:11:42.5493980Z PASS: https://github.com/unicredit/neo C                           (22.52 sec)
2020-06-11T05:11:42.5495870Z PASS: https://gitlab.com/xomachine/NESM.git C                      ( 2.39 sec)
2020-06-11T05:11:42.5496860Z PASS: https://github.com/icyphox/nicy C                            ( 2.36 sec)
2020-06-11T05:11:42.5498110Z PASS: https://github.com/trustable-code/NiGui C                    ( 2.93 sec)
2020-06-11T05:11:42.5499900Z FAIL: https://github.com/bluenote10/NimData C
2020-06-11T05:11:42.5501060Z Test "https://github.com/bluenote10/NimData" in category "nimble-packages-2"
2020-06-11T05:11:42.5501980Z Failure: reInstallFailed
2020-06-11T05:11:42.5502960Z 'nimble install -y https://github.com/bluenote10/NimData' failed:
2020-06-11T05:11:42.5506640Z      Error: 'hg' not in PATH.
2020-06-11T05:11:42.5507840Z 
2020-06-11T05:13:16.2694620Z FAIL: https://github.com/def-/nimes C
2020-06-11T05:13:16.2695650Z Test "https://github.com/def-/nimes" in category "nimble-packages-2"
2020-06-11T05:13:16.2696320Z Failure: reInstallFailed
2020-06-11T05:13:16.2697640Z 'nimble install -y https://github.com/def-/nimes' failed:
2020-06-11T05:13:16.2698270Z      Error: 'hg' not in PATH.
2020-06-11T05:13:16.2698350Z 
2020-06-11T05:14:49.9591250Z FAIL: https://github.com/vegansk/nimfp C
2020-06-11T05:14:49.9592720Z Test "https://github.com/vegansk/nimfp" in category "nimble-packages-2"
2020-06-11T05:14:49.9593690Z Failure: reInstallFailed
2020-06-11T05:14:49.9594700Z 'nimble install -y https://github.com/vegansk/nimfp' failed:
2020-06-11T05:14:49.9595580Z      Error: 'hg' not in PATH.
2020-06-11T05:14:49.9596040Z 
2020-06-11T05:16:23.5936760Z FAIL: https://github.com/Vladar4/nimgame2/ C
2020-06-11T05:16:23.5939420Z Test "https://github.com/Vladar4/nimgame2/" in category "nimble-packages-2"
2020-06-11T05:16:23.5940040Z Failure: reInstallFailed
2020-06-11T05:16:23.5940750Z 'nimble install -y https://github.com/Vladar4/nimgame2/' failed:
2020-06-11T05:16:23.5941440Z      Error: 'hg' not in PATH.
2020-06-11T05:16:23.5941570Z 
2020-06-11T05:17:57.1127390Z FAIL: https://github.com/genotrance/nimgen C
2020-06-11T05:17:57.1128330Z Test "https://github.com/genotrance/nimgen" in category "nimble-packages-2"
2020-06-11T05:17:57.1128930Z Failure: reInstallFailed
2020-06-11T05:17:57.1129590Z 'nimble install -y https://github.com/genotrance/nimgen' failed:
2020-06-11T05:17:57.1130130Z      Error: 'hg' not in PATH.
2020-06-11T05:17:57.1130220Z 
2020-06-11T05:27:53.6232390Z PASS: https://github.com/PMunch/nimlsp C                           (102.01 sec)
timotheecour commented 4 years ago

https://pipelines.actions.githubusercontent.com/ZRinn1OrR0LWxU3iWy1StaQcZRN2kXW9lHWwDJ3esfasrmfdRn/_apis/pipelines/1/runs/3899/signedlogcontent/3?urlExpires=2020-07-08T20%3A25%3A26.3960810Z&urlSigningMethod=HMACV1&urlSignature=KSDQwaWzL6ZRNnoIIrW6bPbwhQz7ha4k0lsFrLVwna8%3D

2020-07-08T19:53:01.6264940Z CC: testament.nim
2020-07-08T19:53:02.1393460Z Hint:  [Link]
2020-07-08T19:53:02.3522530Z Hint: 123681 lines; 4.749s; 179.078MiB peakmem; Debug build; proj: testament/testament; out: /Users/runner/work/Nim/Nim/testament/testament [SuccessX]
2020-07-08T19:53:02.3524320Z Hint: /Users/runner/work/Nim/Nim/testament/testament cat nimble-packages-1 [Exec]
2020-07-08T19:53:02.6467790Z Downloading Official package list
2020-07-08T19:53:02.8947940Z     Success Package list downloaded.
2020-07-08T19:55:31.0039820Z PASS: https://github.com/unicredit/alea C                          (47.33 sec)
2020-07-08T19:55:31.0043340Z PASS: https://github.com/iffy/nim-argparse C                       (10.89 sec)
2020-07-08T19:55:31.0044980Z PASS: https://github.com/mratsim/Arraymancer C                     (72.64 sec)
2020-07-08T19:55:31.0048000Z PASS: https://github.com/krux02/ast-pattern-matching C             ( 2.28 sec)
2020-07-08T19:55:31.0049710Z PASS: https://github.com/tulayang/asyncmysql C                     ( 7.31 sec)
2020-07-08T19:55:31.0051440Z PASS: https://github.com/greencardamom/awk C                       ( 3.24 sec)
2020-07-08T19:55:31.0054110Z PASS: https://github.com/def-/bigints C                            ( 4.29 sec)
2020-07-08T19:55:31.0055590Z FAIL: https://github.com/bluenote10/nim-heap C
2020-07-08T19:55:31.0057280Z Test "https://github.com/bluenote10/nim-heap" in category "nimble-packages-1"
2020-07-08T19:55:31.0058900Z Failure: reInstallFailed
2020-07-08T19:55:31.0059400Z git clone failed:
2020-07-08T19:55:31.0060850Z $ git clone https://github.com/bluenote10/nim-heap pkgstemp/binaryheap
2020-07-08T19:55:31.0062200Z Cloning into 'pkgstemp/binaryheap'...
2020-07-08T19:55:31.0089750Z fatal: unable to access 'https://github.com/bluenote10/nim-heap/': Could not resolve host: github.com
2020-07-08T19:55:31.0090010Z 
2020-07-08T19:55:31.0459960Z FAIL: https://github.com/MarcAzar/BipBuffer C
2020-07-08T19:55:31.0461860Z Test "https://github.com/MarcAzar/BipBuffer" in category "nimble-packages-1"
2020-07-08T19:55:31.0463270Z Failure: reInstallFailed
2020-07-08T19:55:31.0464090Z git clone failed:
2020-07-08T19:55:31.0464770Z $ git clone https://github.com/MarcAzar/BipBuffer pkgstemp/BipBuffer
2020-07-08T19:55:31.0466220Z Cloning into 'pkgstemp/BipBuffer'...
2020-07-08T19:55:31.0467730Z fatal: unable to access 'https://github.com/MarcAzar/BipBuffer/': Could not resolve host: github.com
2020-07-08T19:55:31.0469730Z 
2020-07-08T19:55:31.0840820Z FAIL: https://github.com/status-im/nim-bncurve C
2020-07-08T19:55:31.0842760Z Test "https://github.com/status-im/nim-bncurve" in category "nimble-packages-1"
2020-07-08T19:55:31.0844720Z Failure: reInstallFailed
2020-07-08T19:55:31.0845230Z git clone failed:
2020-07-08T19:55:31.0847220Z $ git clone https://github.com/status-im/nim-bncurve pkgstemp/bncurve
2020-07-08T19:55:31.0848980Z Cloning into 'pkgstemp/bncurve'...
2020-07-08T19:55:31.0850710Z fatal: unable to access 'https://github.com/status-im/nim-bncurve/': Could not resolve host: github.com
2020-07-08T19:55:31.0850920Z 
2020-07-08T19:55:31.1297530Z FAIL: https://github.com/def-/nim-brainfuck.git C
2020-07-08T19:55:31.1298540Z Test "https://github.com/def-/nim-brainfuck.git" in category "nimble-packages-1"
2020-07-08T19:55:31.1299380Z Failure: reInstallFailed
2020-07-08T19:55:31.1299680Z git clone failed:
2020-07-08T19:55:31.1300510Z $ git clone https://github.com/def-/nim-brainfuck.git pkgstemp/brainfuck
2020-07-08T19:55:31.1301690Z Cloning into 'pkgstemp/brainfuck'...
2020-07-08T19:55:31.1302570Z fatal: unable to access 'https://github.com/def-/nim-brainfuck.git/': Could not resolve host: github.com
2020-07-08T19:55:31.1302710Z 
2020-07-08T19:55:31.1704190Z FAIL: https://github.com/disruptek/bump C
2020-07-08T19:55:31.1705320Z Test "https://github.com/disruptek/bump" in category "nimble-packages-1"
2020-07-08T19:55:31.1706340Z Failure: reInstallFailed
2020-07-08T19:55:31.1706620Z git clone failed:
2020-07-08T19:55:31.1706950Z $ git clone https://github.com/disruptek/bump pkgstemp/bump
2020-07-08T19:55:31.1707860Z Cloning into 'pkgstemp/bump'...
2020-07-08T19:55:31.1708960Z fatal: unable to access 'https://github.com/disruptek/bump/': Could not resolve host: github.com
2020-07-08T19:55:31.1709180Z 
2020-07-08T19:55:31.2226460Z FAIL: https://github.com/nim-lang/c2nim C
2020-07-08T19:55:31.2228560Z Test "https://github.com/nim-lang/c2nim" in category "nimble-packages-1"
2020-07-08T19:55:31.2230430Z Failure: reInstallFailed
2020-07-08T19:55:31.2230760Z git clone failed:
2020-07-08T19:55:31.2231510Z $ git clone https://github.com/nim-lang/c2nim pkgstemp/c2nim
2020-07-08T19:55:31.2232240Z Cloning into 'pkgstemp/c2nim'...
2020-07-08T19:55:31.2233370Z fatal: unable to access 'https://github.com/nim-lang/c2nim/': Could not resolve host: github.com
2020-07-08T19:55:31.2233610Z 
2020-07-08T19:55:31.2713170Z FAIL: https://github.com/citycide/cascade C
2020-07-08T19:55:31.2714920Z Test "https://github.com/citycide/cascade" in category "nimble-packages-1"
2020-07-08T19:55:31.2716060Z Failure: reInstallFailed
2020-07-08T19:55:31.2716490Z git clone failed:
2020-07-08T19:55:31.2717080Z $ git clone https://github.com/citycide/cascade pkgstemp/cascade
2020-07-08T19:55:31.2718310Z Cloning into 'pkgstemp/cascade'...
2020-07-08T19:55:31.2720080Z fatal: unable to access 'https://github.com/citycide/cascade/': Could not resolve host: github.com
2020-07-08T19:55:31.2720440Z 
2020-07-08T19:55:31.3117570Z FAIL: https://github.com/unicredit/cello C
2020-07-08T19:55:31.3119930Z Test "https://github.com/unicredit/cello" in category "nimble-packages-1"
2020-07-08T19:55:31.3121180Z Failure: reInstallFailed
2020-07-08T19:55:31.3121560Z git clone failed:
2020-07-08T19:55:31.3122090Z $ git clone https://github.com/unicredit/cello pkgstemp/cello
2020-07-08T19:55:31.3123200Z Cloning into 'pkgstemp/cello'...
2020-07-08T19:55:31.3124630Z fatal: unable to access 'https://github.com/unicredit/cello/': Could not resolve host: github.com
2020-07-08T19:55:31.3125380Z 
2020-07-08T19:55:31.3569280Z FAIL: https://github.com/treeform/chroma C
2020-07-08T19:55:31.3570930Z Test "https://github.com/treeform/chroma" in category "nimble-packages-1"
2020-07-08T19:55:31.3573550Z Failure: reInstallFailed
2020-07-08T19:55:31.3574200Z git clone failed:
2020-07-08T19:55:31.3574810Z $ git clone https://github.com/treeform/chroma pkgstemp/chroma
2020-07-08T19:55:31.3576490Z Cloning into 'pkgstemp/chroma'...
2020-07-08T19:55:31.3577710Z fatal: unable to access 'https://github.com/treeform/chroma/': Could not resolve host: github.com
2020-07-08T19:55:31.3577840Z 
2020-07-08T19:55:31.4067440Z FAIL: https://github.com/status-im/nim-chronicles C
2020-07-08T19:55:31.4068600Z Test "https://github.com/status-im/nim-chronicles" in category "nimble-packages-1"
2020-07-08T19:55:31.4069710Z Failure: reInstallFailed
2020-07-08T19:55:31.4069990Z git clone failed:
2020-07-08T19:55:31.4070830Z $ git clone https://github.com/status-im/nim-chronicles pkgstemp/chronicles
2020-07-08T19:55:31.4071700Z Cloning into 'pkgstemp/chronicles'...
2020-07-08T19:55:31.4072820Z fatal: unable to access 'https://github.com/status-im/nim-chronicles/': Could not resolve host: github.com
2020-07-08T19:55:31.4072950Z 
2020-07-08T19:55:31.4494910Z FAIL: https://github.com/c-blake/cligen.git C
2020-07-08T19:55:31.4497090Z Test "https://github.com/c-blake/cligen.git" in category "nimble-packages-1"
2020-07-08T19:55:31.4498330Z Failure: reInstallFailed
2020-07-08T19:55:31.4498660Z git clone failed:
2020-07-08T19:55:31.4500470Z $ git clone https://github.com/c-blake/cligen.git pkgstemp/cligen
2020-07-08T19:55:31.4502110Z Cloning into 'pkgstemp/cligen'...
2020-07-08T19:55:31.4503380Z fatal: unable to access 'https://github.com/c-blake/cligen.git/': Could not resolve host: github.com
2020-07-08T19:55:31.4503620Z 
2020-07-08T19:55:31.4896730Z FAIL: https://github.com/samuelroy/coco C
2020-07-08T19:55:31.4897810Z Test "https://github.com/samuelroy/coco" in category "nimble-packages-1"
2020-07-08T19:55:31.4898560Z Failure: reInstallFailed
2020-07-08T19:55:31.4899140Z git clone failed:
2020-07-08T19:55:31.4899450Z $ git clone https://github.com/samuelroy/coco pkgstemp/coco
2020-07-08T19:55:31.4900170Z Cloning into 'pkgstemp/coco'...
2020-07-08T19:55:31.4902390Z fatal: unable to access 'https://github.com/samuelroy/coco/': Could not resolve host: github.com
2020-07-08T19:55:31.4903310Z 
2020-07-08T19:55:31.5288980Z FAIL: https://github.com/PMunch/combparser C
2020-07-08T19:55:31.5290940Z Test "https://github.com/PMunch/combparser" in category "nimble-packages-1"
2020-07-08T19:55:31.5292370Z Failure: reInstallFailed
2020-07-08T19:55:31.5292800Z git clone failed:
2020-07-08T19:55:31.5293390Z $ git clone https://github.com/PMunch/combparser pkgstemp/combparser
2020-07-08T19:55:31.5294900Z Cloning into 'pkgstemp/combparser'...
2020-07-08T19:55:31.5296350Z fatal: unable to access 'https://github.com/PMunch/combparser/': Could not resolve host: github.com
2020-07-08T19:55:31.5296550Z 
2020-07-08T19:55:31.5703880Z FAIL: https://github.com/LemonBoy/compactdict C
2020-07-08T19:55:31.5705020Z Test "https://github.com/LemonBoy/compactdict" in category "nimble-packages-1"
2020-07-08T19:55:31.5705780Z Failure: reInstallFailed
2020-07-08T19:55:31.5706780Z git clone failed:
2020-07-08T19:55:31.5707150Z $ git clone https://github.com/LemonBoy/compactdict pkgstemp/compactdict
2020-07-08T19:55:31.5708360Z Cloning into 'pkgstemp/compactdict'...
2020-07-08T19:55:31.5709300Z fatal: unable to access 'https://github.com/LemonBoy/compactdict/': Could not resolve host: github.com
2020-07-08T19:55:31.5709430Z 
2020-07-08T19:55:31.6160920Z FAIL: https://github.com/alehander42/comprehension C
2020-07-08T19:55:31.6162860Z Test "https://github.com/alehander42/comprehension" in category "nimble-packages-1"
2020-07-08T19:55:31.6164550Z Failure: reInstallFailed
2020-07-08T19:55:31.6165060Z git clone failed:
2020-07-08T19:55:31.6166550Z $ git clone https://github.com/alehander42/comprehension pkgstemp/comprehension
2020-07-08T19:55:31.6168060Z Cloning into 'pkgstemp/comprehension'...
2020-07-08T19:55:31.6169670Z fatal: unable to access 'https://github.com/alehander42/comprehension/': Could not resolve host: github.com
2020-07-08T19:55:31.6170030Z 
2020-07-08T20:00:33.8344040Z PASS: https://github.com/FedericoCeratto/nim-dashing C             ( 2.31 sec)
2020-07-08T20:00:33.8346880Z PASS: https://github.com/Nycto/DelaunayNim C                       (15.49 sec)
2020-07-08T20:00:33.8348620Z PASS: https://github.com/docopt/docopt.nim C                       (36.67 sec)