Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-15918

20+ minutes to clone repository

    XMLWordPrintable

Details

    Description

      Seems I've used up all my trial minutes trying to use pipelines for the first time.

      Here is my really simple pipeline yaml,

      #!yaml
      
      # This is a sample build configuration for JavaScript.
      # Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
      # Only use spaces to indent your .yml configuration.
      # -----
      # You can specify a custom docker image from Docker Hub as your build environment.
      image: arm32v7/node:8.10.0
      
      pipelines:
        default:
          - step:
              caches:
                - node
              script: # Modify the commands below to build your repository.
                - npm install
                - npm run package
      

      This is a somewhat complete project I suppose, it must compile binaries as node dependencies.

      The two npm commands take about 5 minutes to run successfully on my local environment. Not sure if that is what is hanging or if it really does take 20 minutes just to set up the build in Bitbucket.

      Here is the log, I finally killed it after 20 minutes because there is no way this is useful to me if it takes that long just to setup the environment.

      #!bash
      
      panic: standard_init_linux.go:178: exec user process caused "exec format error" [recovered]
      	panic: standard_init_linux.go:178: exec user process caused "exec format error"
      goroutine 1 [running, locked to thread]:
      panic(0x7eb2e0, 0xc82013d260)
      	/usr/lib/go1.6/src/runtime/panic.go:481 +0x3e6
      github.com/urfave/cli.HandleAction.func1(0xc8200af2f8)
      	/build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/urfave/cli/app.go:478 +0x38e
      panic(0x7eb2e0, 0xc82013d260)
      	/usr/lib/go1.6/src/runtime/panic.go:443 +0x4e9
      github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization.func1(0xc8200aec08, 0xc8200220c8, 0xc8200aed18)
      	/build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:259 +0x136
      github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization(0xc82006d630, 0x7f4c9911b6b0, 0xc82013d260)
      	/build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:277 +0x5b1
      main.glob.func8(0xc82008ca00, 0x0, 0x0)
      	/build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/main_unix.go:26 +0x68
      reflect.Value.call(0x74fac0, 0x9012a0, 0x13, 0x847808, 0x4, 0xc8200af278, 0x1, 0x1, 0x0, 0x0, ...)
      	/usr/lib/go1.6/src/reflect/value.go:435 +0x120d
      reflect.Value.Call(0x74fac0, 0x9012a0, 0x13, 0xc8200af278, 0x1, 0x1, 0x0, 0x0, 0x0)
      	/usr/lib/go1.6/src/reflect/value.go:303 +0xb1
      github.com/urfave/cli.HandleAction(0x74fac0, 0x9012a0, 0xc82008ca00, 0x0, 0x0)
      	/build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/urfave/cli/app.go:487 +0x2ee
      github.com/urfave/cli.Command.Run(0x84a6b8, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8e05e0, 0x51, 0x0, ...)
      	/build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/urfave/cli/command.go:191 +0xfec
      github.com/urfave/cli.(*App).Run(0xc820001b00, 0xc82000a100, 0x2, 0x2, 0x0, 0x0)
      	/build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/urfave/cli/app.go:240 +0xaa4
      main.main()
      	/build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/main.go:137 +0xe24
      Skipping cache upload for failed step
      + umask 000
      + GIT_LFS_SKIP_SMUDGE=1 git clone --branch="master" --depth 50 https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/acuitytech/timeclock-arm7-build-pipeline.git $BUILD_DIR ; git reset --hard 7e37c855393a17a4efa47f3a8705acc7ab81e63d ; git remote set-url origin git@bitbucket.org:acuitytech/timeclock-arm7-build-pipeline.git
      Cloning into '/opt/atlassian/pipelines/agent/build'...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            84a4496db5fb John Busciglio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: