Skip to content

Instantly share code, notes, and snippets.

@kevin-cantwell
Created April 12, 2017 01:09
Show Gist options
  • Save kevin-cantwell/74672d2e9381c5a84b8d334c8335f6f2 to your computer and use it in GitHub Desktop.
Save kevin-cantwell/74672d2e9381c5a84b8d334c8335f6f2 to your computer and use it in GitHub Desktop.
go test ./... failures wrt https://github.com/sdboyer/gps/issues/182
🍚 21:06:44[/gps (paired-lv=)]$ go test ./...
--- FAIL: TestBasicSolves (0.02s)
--- FAIL: TestBasicSolves/unlocks_dependencies_if_necessary_to_ensure_that_a_new_dependency_is_satisfied (0.00s)
solve_test.go:68: Root project is "root"
solve_test.go:68: 1 transitively valid internal packages
solve_test.go:68: 2 external packages imported from 2 projects
solve_test.go:68: (0) ✓ select (root)
solve_test.go:68: (1) ? attempt foo with 1 pkgs; at least 1 versions to try
solve_test.go:68: (1) try foo@1.0.0
solve_test.go:68: (1) ✓ select foo@1.0.0 w/1 pkgs
solve_test.go:68: (2) ? attempt bar with 1 pkgs; at least 1 versions to try
solve_test.go:68: (2) try bar@1.0.0
solve_test.go:68: (2) ✓ select bar@1.0.0 w/1 pkgs
solve_test.go:68: (3) ? attempt baz with 1 pkgs; at least 1 versions to try
solve_test.go:68: (3) try baz@1.0.0
solve_test.go:68: (3) ✓ select baz@1.0.0 w/1 pkgs
solve_test.go:68: (4) ? attempt qux with 1 pkgs; at least 1 versions to try
solve_test.go:68: (4) try qux@1.0.0
solve_test.go:68: (4) ✓ select qux@1.0.0 w/1 pkgs
solve_test.go:68: (5) ? attempt newdep with 1 pkgs; 1 versions to try
solve_test.go:68: (5) try newdep@2.0.0
solve_test.go:68: (6) ✗ newdep@2.0.0 depends on baz with >=1.5.0, but that's already selected at 1.0.0
solve_test.go:68: (5) ← no more versions of newdep to try; begin backtrack
solve_test.go:68: (4) ← backtrack: no more versions of qux to try
solve_test.go:68: (3) ? continue baz with 1 pkgs; 1 more versions to try
solve_test.go:68: (3) try baz@2.0.0
solve_test.go:68: (4) ✗ baz@2.0.0 not allowed by constraint <2.0.0:
solve_test.go:68: (4) <2.0.0 from bar@1.0.0
solve_test.go:68: (3) ← backtrack: no more versions of baz to try
solve_test.go:68: (2) ? continue bar with 1 pkgs; 1 more versions to try
solve_test.go:68: (2) try bar@2.0.0
solve_test.go:68: (3) ✗ bar@2.0.0 not allowed by constraint <2.0.0:
solve_test.go:68: (3) <2.0.0 from foo@1.0.0
solve_test.go:68: (2) ← backtrack: no more versions of bar to try
solve_test.go:68: (1) ? continue foo with 1 pkgs; 1 more versions to try
solve_test.go:68: (1) try foo@2.0.0
solve_test.go:68: (1) ✓ select foo@2.0.0 w/1 pkgs
solve_test.go:68: (2) ? attempt bar with 1 pkgs; at least 1 versions to try
solve_test.go:68: (2) try bar@1.0.0
solve_test.go:68: (2) ✓ select bar@1.0.0 w/1 pkgs
solve_test.go:68: (3) ? attempt baz with 1 pkgs; at least 1 versions to try
solve_test.go:68: (3) try baz@1.0.0
solve_test.go:68: (3) ✓ select baz@1.0.0 w/1 pkgs
solve_test.go:68: (4) ? attempt qux with 1 pkgs; at least 1 versions to try
solve_test.go:68: (4) try qux@1.0.0
solve_test.go:68: (4) ✓ select qux@1.0.0 w/1 pkgs
solve_test.go:68: (5) ? attempt newdep with 1 pkgs; 1 versions to try
solve_test.go:68: (5) try newdep@2.0.0
solve_test.go:68: (6) ✗ newdep@2.0.0 depends on baz with >=1.5.0, but that's already selected at 1.0.0
solve_test.go:68: (5) ← no more versions of newdep to try; begin backtrack
solve_test.go:68: (4) ← backtrack: no more versions of qux to try
solve_test.go:68: (3) ? continue baz with 1 pkgs; 1 more versions to try
solve_test.go:68: (3) try baz@2.0.0
solve_test.go:68: (4) ✗ baz@2.0.0 not allowed by constraint <2.0.0:
solve_test.go:68: (4) <2.0.0 from bar@1.0.0
solve_test.go:68: (3) ← backtrack: no more versions of baz to try
solve_test.go:68: (2) ? continue bar with 1 pkgs; 1 more versions to try
solve_test.go:68: (2) try bar@2.0.0
solve_test.go:68: (2) ✓ select bar@2.0.0 w/1 pkgs
solve_test.go:68: (3) ? attempt baz with 1 pkgs; at least 1 versions to try
solve_test.go:68: (3) try baz@1.0.0
solve_test.go:68: (3) ✓ select baz@1.0.0 w/1 pkgs
solve_test.go:68: (4) ? attempt qux with 1 pkgs; at least 1 versions to try
solve_test.go:68: (4) try qux@1.0.0
solve_test.go:68: (4) ✓ select qux@1.0.0 w/1 pkgs
solve_test.go:68: (5) ? attempt newdep with 1 pkgs; 1 versions to try
solve_test.go:68: (5) try newdep@2.0.0
solve_test.go:68: (6) ✗ newdep@2.0.0 depends on baz with >=1.5.0, but that's already selected at 1.0.0
solve_test.go:68: (5) ← no more versions of newdep to try; begin backtrack
solve_test.go:68: (4) ← backtrack: no more versions of qux to try
solve_test.go:68: (3) ? continue baz with 1 pkgs; 1 more versions to try
solve_test.go:68: (3) try baz@2.0.0
solve_test.go:68: (3) ✓ select baz@2.0.0 w/1 pkgs
solve_test.go:68: (4) ? attempt qux with 1 pkgs; at least 1 versions to try
solve_test.go:68: (4) try qux@1.0.0
solve_test.go:68: (4) ✓ select qux@1.0.0 w/1 pkgs
solve_test.go:68: (5) ? attempt newdep with 1 pkgs; 1 versions to try
solve_test.go:68: (5) try newdep@2.0.0
solve_test.go:68: (5) ✓ select newdep@2.0.0 w/1 pkgs
solve_test.go:68: ✓ found solution with 5 packages from 5 projects
solve_test.go:68: Solver wall times by segment:
solve_test.go:68: satisfy: 184.618µs
solve_test.go:68: select-atom: 162.901µs
solve_test.go:68: new-atom: 137.729µs
solve_test.go:68: backtrack: 83.203µs
solve_test.go:68: select-root: 59.951µs
solve_test.go:68: unselect: 59.437µs
solve_test.go:68: b-gmal: 21.734µs
solve_test.go:68: other: 4.974µs
solve_test.go:68: b-pair-rev: 3.848µs
solve_test.go:68: b-matches: 2.625µs
solve_test.go:68: b-source-exists: 2.02µs
solve_test.go:68: b-list-versions: 1.406µs
solve_test.go:68: b-pair-version: 363ns
solve_test.go:68: TOTAL: 724.809µs
solve_test.go:243: Expected version "2.0.0" of project "baz", but actual version was "2.0.0 (FAKEREV)"
--- FAIL: TestSlowVcs (0.00s)
--- FAIL: TestSlowVcs/svn-repo (0.19s)
vcs_repo_test.go:73: Unable to checkout SVN repo. Err was &vcs.RemoteError{vcsError:vcs.vcsError{s:"unable to get repository", e:(*exec.ExitError)(0xc420392b00), o:"svn: E170013: Unable to connect to a repository at URL 'https://github.com/Masterminds/VCSTestRepo/trunk'\nsvn: E230001: Server SSL certificate verification failed: issuer is not trusted\n"}}
FAIL
FAIL github.com/sdboyer/gps 21.376s
ok github.com/sdboyer/gps/internal 0.009s
ok github.com/sdboyer/gps/internal/fs 0.010s
ok github.com/sdboyer/gps/pkgtree 0.030s
ok github.com/sdboyer/gps/vendor/github.com/Masterminds/semver 0.009s
--- FAIL: TestTypeSwitch (0.06s)
repo_test.go:55: Unable to checkout SVN repo for repo switching tests. Err was Unable to get repository
repo_test.go:60: Not detecting repo switch from SVN to Git
--- FAIL: TestSvn (0.06s)
svn_test.go:53: Unable to checkout SVN repo. Err was Unable to get repository
svn_test.go:58: Problem checking out repo or SVN CheckLocal is not working
svn_test.go:64: ErrWrongRemote was not triggered for SVN
svn_test.go:70: detectVcsFromFS unable to Svn repo
svn_test.go:73: detectVcsFromFS detected instead of Svn type
svn_test.go:93: Error trying Svn Current: Unable to retrieve commit information
svn_test.go:96: Current failed to detect Svn on HEAD. Got version:
svn_test.go:102: Unable to update SVN repo version. Err was Unable to update checked out version
svn_test.go:108: Error checking checked SVN out version
svn_test.go:111: Unable to retrieve checked out version
svn_test.go:116: Error trying Svn Current for ref: Unable to retrieve commit information
svn_test.go:119: Current failed to detect Svn on HEAD. Got version:
svn_test.go:125: Unable to update repository
svn_test.go:134: Unable to retrieve checked out version
svn_test.go:140: Error checking checked out Svn commit date
svn_test.go:143: Unable to retrieve revision date
svn_test.go:171: Svn is reporting a reference is not one
svn_test.go:179: Svn incorrectly reporting dirty
svn_test.go:184: Unable to retrieve commit information
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x9eeea]
goroutine 196 [running]:
panic(0x29bb60, 0xc42000c0c0)
/usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:500 +0x1a1
testing.tRunner.func1(0xc420094f00)
/usr/local/Cellar/go/1.7.1/libexec/src/testing/testing.go:579 +0x25d
panic(0x29bb60, 0xc42000c0c0)
/usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:458 +0x243
github.com/sdboyer/gps/vendor/github.com/Masterminds/vcs.TestSvn(0xc420094f00)
/Users/kevincantwell/gdrive/Code/gopath/src/github.com/sdboyer/gps/vendor/github.com/Masterminds/vcs/svn_test.go:186 +0xc8a
testing.tRunner(0xc420094f00, 0x311440)
/usr/local/Cellar/go/1.7.1/libexec/src/testing/testing.go:610 +0x81
created by testing.(*T).Run
/usr/local/Cellar/go/1.7.1/libexec/src/testing/testing.go:646 +0x2ec
FAIL github.com/sdboyer/gps/vendor/github.com/Masterminds/vcs 23.074s
ok github.com/sdboyer/gps/vendor/github.com/armon/go-radix 0.013s
ok github.com/sdboyer/gps/vendor/github.com/sdboyer/constext 1.014s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment