Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-1474

evergreen test not compiling due to import cycle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2017.02.01
    • Component/s: app
    • Labels:

      Description

      https://evergreen.mongodb.com/task/mci_osx_test_evergreen_d87b405514f7369ad88ec1a8721687fb3dac4512_17_01_23_18_21_55

      [2017/01/23 13:38:04.570] go build -o bin/make-vendor scripts/make-vendor.go
      [2017/01/23 13:38:04.822] can use existing (new-style) vendoring configuration
      [2017/01/23 13:38:04.823] /Library/Developer/CommandLineTools/usr/bin/make  -C vendor/github.com/tychoish/grip vendor
      [2017/01/23 13:38:04.903] go build -o build/render-gopath buildscripts/render-gopath.go
      [2017/01/23 13:38:05.248] go build -o build/make-vendor buildscripts/make-vendor.go
      [2017/01/23 13:38:05.514] can use existing (new-style) vendoring configuration
      [2017/01/23 13:38:07.050] GOPATH=/data/mci/746117774ebd01c20622ecc7870305b7/gopath go test  -c -o bin/test.evergreen ./
      [2017/01/23 13:38:07.172] # github.com/evergreen-ci/evergreen
      [2017/01/23 13:38:07.172] import cycle not allowed in test
      [2017/01/23 13:38:07.172] package github.com/evergreen-ci/evergreen (test)
      [2017/01/23 13:38:07.172] 	imports github.com/evergreen-ci/evergreen/testutil
      [2017/01/23 13:38:07.172] 	imports github.com/evergreen-ci/evergreen
      [2017/01/23 13:38:07.172] FAIL	github.com/evergreen-ci/evergreen [setup failed]
      [2017/01/23 13:38:07.174] make: *** [bin/test.evergreen] Error 1
      [2017/01/23 13:38:07.176] Command failed: exit status 2
      [2017/01/23 13:38:07.176] Task completed - FAILURE.
      [2017/01/23 13:38:07.176] Running post-task commands.
      [2017/01/23 13:38:07.176] Running command 'gotest.parse_files' (step 1 of 1)
      [2017/01/23 13:38:07.176] Command failed: no files found to be parsed
      

        Attachments

          Activity

            People

            Assignee:
            william.banfield William Banfield
            Reporter:
            shraya.ramani Shraya Ramani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: