Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using old version of packages #375

Open
maximmi opened this issue Jan 23, 2019 · 0 comments
Open

Using old version of packages #375

maximmi opened this issue Jan 23, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@maximmi
Copy link

maximmi commented Jan 23, 2019

what

  • Issue: Current packages version is 0.1.7, dated at 7th of May 2018
  • Solution: Update to latest packages.

why

  • This version on packages is using old gomplate which may cause problems if running make build not under this specific version. Ex. if miss to run make deps it could use system gomplate and will fail.

There is some work to do for version update (investigate and fix).
Here is the output trying to run smoketest using latest packages:

htmltest -c .htmltest.smoketest.yaml --log-level 2
htmltest started at 07:02:16 on test/
========================================================================
panic: reflect.Value.MapIndex: value of type interface {} is not assignable to type string

goroutine 1 [running]:
reflect.Value.assignTo(0x6db340, 0xc0001c62f0, 0x94, 0x73f9ca, 0x16, 0x6cba60, 0x0, 0x6db340, 0xc0001c62f0, 0x94)
	/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/reflect/value.go:2269 +0x44c
reflect.Value.MapIndex(0x6dcc60, 0xc00008db00, 0x15, 0x6db340, 0xc0001c62f0, 0x94, 0x6db340, 0xc0001c6310, 0x94)
	/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/reflect/value.go:1103 +0x95
github.com/imdario/mergo.deepMerge(0x6dcc60, 0xc00008db00, 0x15, 0x6dba00, 0xc00008dad0, 0x15, 0xc000107758, 0x1, 0xc0000a37e0, 0x0, ...)
	/home/travis/gopath/src/github.com/imdario/mergo/merge.go:90 +0x475
github.com/imdario/mergo.deepMerge(0x6dca80, 0xc000098450, 0x195, 0x6dca80, 0xc00008daa0, 0x15, 0xc000107758, 0x0, 0xc0000a37e0, 0x15, ...)
	/home/travis/gopath/src/github.com/imdario/mergo/merge.go:115 +0x986
github.com/imdario/mergo.merge(0x6c0400, 0xc000098450, 0x6dca80, 0xc00008daa0, 0xc000098458, 0x1, 0x1, 0x1, 0x9)
	/home/travis/gopath/src/github.com/imdario/mergo/merge.go:251 +0x29f
github.com/imdario/mergo.MergeWithOverwrite(0x6c0400, 0xc000098450, 0x6dca80, 0xc00008daa0, 0x0, 0x0, 0x0, 0xc0000924b2, 0x0)
	/home/travis/gopath/src/github.com/imdario/mergo/merge.go:213 +0x96
github.com/wjdp/htmltest/htmltest.(*HTMLTest).setOptions(0xc0000e2fc0, 0xc00008daa0)
	/home/travis/gopath/src/github.com/wjdp/htmltest/htmltest/options.go:142 +0xaf
github.com/wjdp/htmltest/htmltest.Test(0xc00008daa0, 0x1, 0x1, 0x49)
	/home/travis/gopath/src/github.com/wjdp/htmltest/htmltest/htmltest.go:47 +0xcc
main.run(0xc00008daa0, 0xc00008daa0)
	/home/travis/gopath/src/github.com/wjdp/htmltest/main.go:159 +0x1e8
main.main()
	/home/travis/gopath/src/github.com/wjdp/htmltest/main.go:66 +0x298
Makefile:173: recipe for target 'test' failed
make[1]: *** [test] Error 2
make[1]: Leaving directory '/cp'
Makefile:177: recipe for target 'smoketest' failed
make: *** [smoketest] Error 2
@maximmi maximmi added the bug Something isn't working label Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant