Package: src:golang-github-go-chef-chef
Version: 0.0.1+git20161023.60.deb8c38-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang
   dh_testdir -i -O--buildsystem=golang
   dh_update_autotools_config -i -O--buildsystem=golang
   dh_auto_configure -i -O--buildsystem=golang
   dh_auto_build -i -O--buildsystem=golang
        go install -v -p 1 github.com/go-chef/chef
github.com/go-chef/chef
   dh_auto_test -i -O--buildsystem=golang
        go test -v -p 1 github.com/go-chef/chef
=== RUN   TestACLService_Get
--- PASS: TestACLService_Get (0.00s)
=== RUN   TestACLService_Put
--- PASS: TestACLService_Put (0.00s)
=== RUN   TestClientFromJSONDecoder
--- PASS: TestClientFromJSONDecoder (0.00s)
=== RUN   TestClientsService_List
--- PASS: TestClientsService_List (0.00s)
=== RUN   TestClientsService_Get
--- PASS: TestClientsService_Get (0.00s)
=== RUN   TestClientsService_Create
--- PASS: TestClientsService_Create (0.00s)
=== RUN   TestClientsService_Delete
--- PASS: TestClientsService_Delete (0.00s)
=== RUN   TestCookbookList
apache2 => http://localhost:4000/cookbooks/apache2
 * 5.1.0
 * 4.2.0
nginx => http://localhost:4000/cookbooks/nginx
 * 1.0.0
 * 0.3.0

--- PASS: TestCookbookList (0.01s)
=== RUN   TestCookbookListAvailableVersions_0
--- PASS: TestCookbookListAvailableVersions_0 (0.00s)
=== RUN   TestCookBookDelete
--- PASS: TestCookBookDelete (0.01s)
=== RUN   TestCookBookGet
--- PASS: TestCookBookGet (0.01s)
=== RUN   TestCookBookGetAvailableVersions
apache2 => http://localhost:4000/cookbooks/apache2
 * 5.1.0
 * 4.2.0

--- PASS: TestCookBookGetAvailableVersions (0.00s)
=== RUN   TestCookBookListAllRecipes
[apache2 apache2::mod_access_compat apache2::mod_actions apache2::mod_alias]
--- PASS: TestCookBookListAllRecipes (0.01s)
=== RUN   TestDataBagsService_List
--- PASS: TestDataBagsService_List (0.00s)
=== RUN   TestDataBagsService_Create
--- PASS: TestDataBagsService_Create (0.00s)
=== RUN   TestDataBagsService_Delete
--- PASS: TestDataBagsService_Delete (0.00s)
=== RUN   TestDataBagsService_ListItems
--- PASS: TestDataBagsService_ListItems (0.00s)
=== RUN   TestDataBagsService_GetItem
--- PASS: TestDataBagsService_GetItem (0.00s)
=== RUN   TestDataBagsService_CreateItem
--- PASS: TestDataBagsService_CreateItem (0.00s)
=== RUN   TestDataBagsService_DeleteItem
--- PASS: TestDataBagsService_DeleteItem (0.00s)
=== RUN   TestDataBagsService_UpdateItem
--- PASS: TestDataBagsService_UpdateItem (0.01s)
=== RUN   TestDataBagsService_DataBagListResultString
--- FAIL: TestDataBagsService_DataBagListResultString (0.00s)
        databag_test.go:162: DataBagListResult.String returned:
                bag1 => http://localhost/data/bag1
                bag2 => http://localhost/data/bag2
                
                want:
                bag1 => http://localhost/data/bag1
                bag2 => http://localhost/data/bag2
                
=== RUN   TestEnvironmentFromJSONDecoder
--- PASS: TestEnvironmentFromJSONDecoder (0.00s)
=== RUN   TestEnvironmentsService_List
--- PASS: TestEnvironmentsService_List (0.00s)
=== RUN   TestEnvironmentsService_Get
--- PASS: TestEnvironmentsService_Get (0.01s)
=== RUN   TestEnvironmentsService_Create
--- PASS: TestEnvironmentsService_Create (0.01s)
=== RUN   TestEnvironmentsService_Put
--- PASS: TestEnvironmentsService_Put (0.01s)
=== RUN   TestEnvironmentsService_EnvironmentListResultString
--- PASS: TestEnvironmentsService_EnvironmentListResultString (0.00s)
=== RUN   TestEnvironmentsService_EnvironmentCreateResultString
--- PASS: TestEnvironmentsService_EnvironmentCreateResultString (0.00s)
=== RUN   TestAuthConfig
--- PASS: TestAuthConfig (0.00s)
=== RUN   TestBase64BlockEncodeNoLimit
--- PASS: TestBase64BlockEncodeNoLimit (0.01s)
=== RUN   TestSignRequestBadSignature
--- PASS: TestSignRequestBadSignature (0.00s)
=== RUN   TestSignRequestNoBody
--- PASS: TestSignRequestNoBody (0.01s)
=== RUN   TestSignRequestBody
--- PASS: TestSignRequestBody (0.01s)
=== RUN   TestRequest
--- PASS: TestRequest (0.01s)
=== RUN   TestRequestToEndpoint
--- PASS: TestRequestToEndpoint (0.01s)
=== RUN   TestGenerateHash

  correctly hashes a given input string ✔


1 total assertion

--- PASS: TestGenerateHash (0.00s)
=== RUN   TestGenerateSignatureError

  sig should be empty? ✔


2 total assertions


  errors for an unknown reason to fujin ✔


3 total assertions

--- PASS: TestGenerateSignatureError (0.01s)
=== RUN   TestRequestError

  should not sign a request with missing required information ✔


4 total assertions

--- PASS: TestRequestError (0.01s)
=== RUN   TestNewClient
--- PASS: TestNewClient (0.00s)
=== RUN   TestNewRequest
--- PASS: TestNewRequest (0.01s)
=== RUN   TestDo_badjson
--- PASS: TestDo_badjson (0.00s)
=== RUN   TestNodeFromJSONDecoder
--- PASS: TestNodeFromJSONDecoder (0.00s)
=== RUN   TestNode_NewNode
--- PASS: TestNode_NewNode (0.00s)
=== RUN   TestNodesService_Methods
--- PASS: TestNodesService_Methods (0.02s)
=== RUN   TestPrincipalsGet
--- PASS: TestPrincipalsGet (0.00s)
=== RUN   TestEncoderJSONReader
--- PASS: TestEncoderJSONReader (0.00s)
        reader_test.go:40: &{[123 34 78 97 109 101 34 58 34 84 101 115 116 32 
82 101 97 100 101 114 34 44 34 65 119 101 115 111 109 101 34 58 91 34 102 111 
111 34 44 34 98 97 114 34 44 34 98 97 122 34 93 44 34 79 116 104 101 114 83 116 
117 102 102 34 58 123 34 98 97 122 34 58 34 98 97 110 97 110 97 34 44 34 102 
111 111 34 58 34 98 97 114 34 125 125 10] 0 -1}
=== RUN   TestRoleName

  Role name is 'test' ✔


5 total assertions

--- PASS: TestRoleName (0.00s)
=== RUN   TestRoleFromJSONDecoder
--- PASS: TestRoleFromJSONDecoder (0.00s)
=== RUN   TestRolesService_List
--- PASS: TestRolesService_List (0.00s)
=== RUN   TestRolesService_Get
--- PASS: TestRolesService_Get (0.00s)
=== RUN   TestRolesService_Create
--- PASS: TestRolesService_Create (0.00s)
=== RUN   TestRolesService_Put
--- PASS: TestRolesService_Put (0.00s)
=== RUN   TestRolesService_RoleListResultString
--- PASS: TestRolesService_RoleListResultString (0.00s)
=== RUN   TestRolesService_RoleCreateResultString
--- PASS: TestRolesService_RoleCreateResultString (0.00s)
=== RUN   TestRolesService_Delete
--- PASS: TestRolesService_Delete (0.00s)
=== RUN   TestNodeRunList

  Node.RunList() should be a RunList ✔


6 total assertions


  Node.RunList() should be populated ✔✔✔


9 total assertions


  Empty RunList should be valid ✔


10 total assertions

--- PASS: TestNodeRunList (0.00s)
=== RUN   TestSandboxesPost
--- PASS: TestSandboxesPost (0.00s)
=== RUN   TestSandboxesPut

  Sandbox Equality ✔


11 total assertions

--- PASS: TestSandboxesPut (0.01s)
=== RUN   TestSearch_Get
--- PASS: TestSearch_Get (0.00s)
=== RUN   TestSearch_ExecDo
--- PASS: TestSearch_ExecDo (0.01s)
FAIL
exit status 1
FAIL    github.com/go-chef/chef 0.288s
dh_auto_test: go test -v -p 1 github.com/go-chef/chef returned exit code 1
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

It fails randomly. Sometimes it fails, sometimes it does not.

If you need a full build log, just say so, but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/testing/amd64/golang-github-go-chef-chef.html

with a similar error:

--- FAIL: TestClientsService_List (0.01s)
        client_test.go:47: Clients.List returned:
                client1 => http://localhost/clients/client1
                client2 => http://localhost/clients/client2
                
                want:
                client1 => http://localhost/clients/client1
                client2 => http://localhost/clients/client2

so I guess it should be easy to reproduce provided you try enough times.

Thanks.

_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to