Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2433

General SCM failures on macOS slaves

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Environment:
      macOS
    • Sprint:
      DevTools-02
    • Story Points:
      4

      Description

      Seen on the mac-drive-2 slave:

      12:56:05 Cloning the remote Git repository
      12:56:05 Cloning repository https://github.com/nuxeo/nuxeo-drive.git
      12:56:05  > git init /Users/jenkins/tmp/workspace/Drive_FT-drive_master-CUACR5UOIAO62W7K2CAAQ7UISS5UUL3SF5V2PSVOUZC4CRBQLRIA/sources # timeout=10
      12:56:05 Fetching upstream changes from https://github.com/nuxeo/nuxeo-drive.git
      12:56:05  > git --version # timeout=10
      12:56:05  > git fetch --tags --progress https://github.com/nuxeo/nuxeo-drive.git +refs/heads/*:refs/remotes/origin/*
      13:01:06 ERROR: Error cloning remote repo 'origin'
      13:01:06 hudson.plugins.git.GitException: Command "git fetch --tags --progress https://github.com/nuxeo/nuxeo-drive.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
      13:01:06 stdout: 
      13:01:06 stderr: remote: Counting objects: 45125, done.        
      13:01:06 remote: Compressing objects:   1% (1/83)           
      remote: Compressing objects:   2% (2/83)           
      remote: Compressing objects:   3% (3/83)           
      remote: Compressing objects:   4% (4/83)           
      remote: Compressing objects:   6% (5/83)           
      remote: Compressing objects:   7% (6/83)           
      remote: Compressing objects:   8% (7/83)           
      remote: Compressing objects:   9% (8/83)           
      remote: Compressing objects:  10% (9/83)           
      remote: Compressing objects:  12% (10/83)           
      remote: Compressing objects:  13% (11/83)           
      remote: Compressing objects:  14% (12/83)           
      remote: Compressing objects:  15% (13/83)           
      remote: Compressing objects:  16% (14/83)           
      remote: Compressing objects:  18% (15/83)           
      remote: Compressing objects:  19% (16/83)           
      remote: Compressing objects:  20% (17/83)           
      remote: Compressing objects:  21% (18/83)           
      remote: Compressing objects:  22% (19/83)           
      remote: Compressing objects:  24% (20/83)           
      remote: Compressing objects:  25% (21/83)           
      remote: Compressing objects:  26% (22/83)           
      remote: Compressing objects:  27% (23/83)           
      remote: Compressing objects:  28% (24/83)           
      remote: Compressing objects:  30% (25/83)           
      remote: Compressing objects:  31% (26/83)           
      remote: Compressing objects:  32% (27/83)           
      remote: Compressing objects:  33% (28/83)           
      remote: Compressing objects:  34% (29/83)           
      remote: Compressing objects:  36% (30/83)           
      remote: Compressing objects:  37% (31/83)           
      remote: Compressing objects:  38% (32/83)           
      remote: Compressing objects:  39% (33/83)           
      remote: Compressing objects:  40% (34/83)           
      remote: Compressing objects:  42% (35/83)           
      remote: Compressing objects:  43% (36/83)           
      remote: Compressing objects:  44% (37/83)           
      remote: Compressing objects:  45% (38/83)           
      remote: Compressing objects:  46% (39/83)           
      remote: Compressing objects:  48% (40/83)           
      remote: Compressing objects:  49% (41/83)           
      remote: Compressing objects:  50% (42/83)           
      remote: Compressing objects:  51% (43/83)           
      remote: Compressing objects:  53% (44/83)           
      remote: Compressing objects:  54% (45/83)           
      remote: Compressing objects:  55% (46/83)           
      remote: Compressing objects:  56% (47/83)           
      remote: Compressing objects:  57% (48/83)           
      remote: Compressing objects:  59% (49/83)           
      remote: Compressing objects:  60% (50/83)           
      remote: Compressing objects:  61% (51/83)           
      remote: Compressing objects:  62% (52/83)           
      remote: Compressing objects:  63% (53/83)           
      remote: Compressing objects:  65% (54/83)           
      remote: Compressing objects:  66% (55/83)           
      remote: Compressing objects:  67% (56/83)           
      remote: Compressing objects:  68% (57/83)           
      remote: Compressing objects:  69% (58/83)           
      remote: Compressing objects:  71% (59/83)           
      remote: Compressing objects:  72% (60/83)           
      remote: Compressing objects:  73% (61/83)           
      remote: Compressing objects:  74% (62/83)           
      remote: Compressing objects:  75% (63/83)           
      remote: Compressing objects:  77% (64/83)           
      remote: Compressing objects:  78% (65/83)           
      remote: Compressing objects:  79% (66/83)           
      remote: Compressing objects:  80% (67/83)           
      remote: Compressing objects:  81% (68/83)           
      remote: Compressing objects:  83% (69/83)           
      remote: Compressing objects:  84% (70/83)           
      remote: Compressing objects:  85% (71/83)           
      remote: Compressing objects:  86% (72/83)           
      remote: Compressing objects:  87% (73/83)           
      remote: Compressing objects:  89% (74/83)           
      remote: Compressing objects:  90% (75/83)           
      remote: Compressing objects:  91% (76/83)           
      remote: Compressing objects:  92% (77/83)           
      remote: Compressing objects:  93% (78/83)           
      remote: Compressing objects:  95% (79/83)           
      remote: Compressing objects:  96% (80/83)           
      remote: Compressing objects:  97% (81/83)           
      remote: Compressing objects:  98% (82/83)           
      remote: Compressing objects: 100% (83/83)           
      remote: Compressing objects: 100% (83/83), done.        
      13:01:06 Receiving objects:   0% (1/45125)   
      Receiving objects:   0% (21/45125), 12.01 KiB | 3.00 KiB/s   
      Receiving objects:   0% (82/45125), 28.01 KiB | 6.00 KiB/s   
      Receiving objects:   0% (111/45125), 36.01 KiB | 7.00 KiB/s   
      Receiving objects:   0% (144/45125), 44.01 KiB | 7.00 KiB/s   
      Receiving objects:   0% (161/45125), 52.01 KiB | 7.00 KiB/s   
      Receiving objects:   0% (178/45125), 60.01 KiB | 2.00 KiB/s   
      Receiving objects:   0% (195/45125), 68.01 KiB | 2.00 KiB/s   
      Receiving objects:   0% (224/45125), 84.01 KiB | 1024 bytes/s   
      Receiving objects:   0% (237/45125), 92.01 KiB | 1024 bytes/s   
      Receiving objects:   0% (251/45125), 100.01 KiB | 1024 bytes/s   
      Receiving objects:   0% (264/45125), 108.01 KiB | 1024 bytes/s   
      Receiving objects:   0% (279/45125), 116.01 KiB | 1024 bytes/s   
      Receiving objects:   0% (307/45125), 132.01 KiB | 1024 bytes/s   
      Receiving objects:   0% (362/45125), 148.01 KiB | 1024 bytes/s   
      Receiving objects:   0% (389/45125), 156.01 KiB | 1024 bytes/s   
      Receiving objects:   1% (452/45125), 164.01 KiB | 1024 bytes/s   
      Receiving objects:   1% (457/45125), 172.01 KiB | 4.00 KiB/s   
      Receiving objects:   1% (492/45125), 180.01 KiB | 5.00 KiB/s   
      Receiving objects:   1% (527/45125), 188.01 KiB | 4.00 KiB/s   
      error: RPC failed; curl 56 SSLRead() return error -9806
      13:01:06 fatal: The remote end hung up unexpectedly
      13:01:06 fatal: early EOF
      13:01:06 fatal: index-pack failed
      13:01:06 
      13:01:06 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1877)
      13:01:06 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1596)
      13:01:06 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
      13:01:06 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:348)
      13:01:06 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:545)
      13:01:06 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
      13:01:06 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
      13:01:06 	at hudson.remoting.UserRequest.perform(UserRequest.java:152)
      13:01:06 	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      13:01:06 	at hudson.remoting.Request$2.run(Request.java:332)
      13:01:06 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      13:01:06 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      13:01:06 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      13:01:06 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      13:01:06 	at hudson.remoting.Engine$1$1.run(Engine.java:85)
      13:01:06 	at java.lang.Thread.run(Thread.java:748)
      13:01:06 	at ......remote call to mac-drive-2.ad.nuxeo.com(Native Method)
      13:01:06 	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
      13:01:06 	at hudson.remoting.UserResponse.retrieve(UserRequest.java:252)
      13:01:06 	at hudson.remoting.Channel.call(Channel.java:781)
      13:01:06 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
      13:01:06 	at sun.reflect.GeneratedMethodAccessor831.invoke(Unknown Source)
      13:01:06 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      13:01:06 	at java.lang.reflect.Method.invoke(Method.java:498)
      13:01:06 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
      13:01:06 	at com.sun.proxy.$Proxy153.execute(Unknown Source)
      13:01:06 	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1054)
      13:01:06 	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1094)
      13:01:06 	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
      13:01:06 	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83)
      13:01:06 	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73)
      13:01:06 	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
      13:01:06 	at hudson.security.ACL.impersonate(ACL.java:213)
      13:01:06 	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
      13:01:06 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      13:01:06 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      13:01:06 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      13:01:06 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      13:01:06 	at java.lang.Thread.run(Thread.java:745)
      

      Example job: https://qa.nuxeo.org/jenkins/job/Drive/job/FT-drive/job/master/969/execution/node/31/log/

      Note that doing a git clone manually works like a charm. I also did a network speed test and all is really fine. It seems the error happens when using the slave from Jenkins.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: