[pkg-go] Bug#819641: golang-github-jinzhu-gorm: FTBFS: FAIL: TestScannableSlices (0.00s)
Chris Lamb
lamby at debian.org
Thu Mar 31 12:17:19 UTC 2016
Source: golang-github-jinzhu-gorm
Version: 0.0~git20151012.0.20e37a0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
golang-github-jinzhu-gorm fails to build from source in unstable/amd64:
[..]
dh build --buildsystem=golang --with=golang
dh_testdir -O--buildsystem=golang
dh_update_autotools_config -O--buildsystem=golang
dh_auto_configure -O--buildsystem=golang
dh_auto_build -O--buildsystem=golang
go install -v github.com/jinzhu/gorm
github.com/lib/pq/hstore
github.com/qor/inflection
github.com/jinzhu/gorm
dh_auto_test -O--buildsystem=golang
go test -v github.com/jinzhu/gorm
testing sqlite3...
=== RUN TestRegisterCallback
--- PASS: TestRegisterCallback (0.00s)
=== RUN TestRegisterCallbackWithOrder
--- PASS: TestRegisterCallbackWithOrder (0.00s)
=== RUN TestRegisterCallbackWithComplexOrder
--- PASS: TestRegisterCallbackWithComplexOrder (0.00s)
=== RUN TestReplaceCallback
[info] replacing callback `create` from /home/lamby/temp/cdt.20160331130655.2UxfTVyVK1/golang-github-jinzhu-gorm-0.0~git20151012.0.20e37a0/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_test.go:94
--- PASS: TestReplaceCallback (0.00s)
=== RUN TestRemoveCallback
[info] removing callback `create` from /home/lamby/temp/cdt.20160331130655.2UxfTVyVK1/golang-github-jinzhu-gorm-0.0~git20151012.0.20e37a0/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_test.go:107
--- PASS: TestRemoveCallback (0.00s)
=== RUN TestCloneSearch
--- PASS: TestCloneSearch (0.00s)
=== RUN TestHasOneAndHasManyAssociation
--- PASS: TestHasOneAndHasManyAssociation (0.12s)
=== RUN TestRelated
--- PASS: TestRelated (0.02s)
=== RUN TestManyToMany
--- PASS: TestManyToMany (0.47s)
=== RUN TestForeignKey
--- PASS: TestForeignKey (0.00s)
=== RUN TestRunCallbacks
--- PASS: TestRunCallbacks (0.06s)
=== RUN TestCallbacksWithErrors
--- PASS: TestCallbacksWithErrors (0.06s)
=== RUN TestCreate
--- PASS: TestCreate (0.04s)
=== RUN TestCreateWithNoGORMPrimayKey
--- PASS: TestCreateWithNoGORMPrimayKey (0.02s)
=== RUN TestCreateWithNoStdPrimaryKeyAndDefaultValues
--- PASS: TestCreateWithNoStdPrimaryKeyAndDefaultValues (0.04s)
=== RUN TestAnonymousScanner
--- PASS: TestAnonymousScanner (0.02s)
=== RUN TestAnonymousField
--- PASS: TestAnonymousField (0.02s)
=== RUN TestSelectWithCreate
--- PASS: TestSelectWithCreate (0.05s)
=== RUN TestOmitWithCreate
--- PASS: TestOmitWithCreate (0.04s)
=== RUN TestCustomizeColumn
--- PASS: TestCustomizeColumn (0.07s)
=== RUN TestCustomColumnAndIgnoredFieldClash
--- PASS: TestCustomColumnAndIgnoredFieldClash (0.02s)
=== RUN TestDdlErrors
testing sqlite3...
--- PASS: TestDdlErrors (0.00s)
=== RUN TestDelete
--- PASS: TestDelete (0.06s)
=== RUN TestInlineDelete
--- PASS: TestInlineDelete (0.07s)
=== RUN TestSoftDelete
--- PASS: TestSoftDelete (0.07s)
=== RUN TestSaveAndQueryEmbeddedStruct
--- PASS: TestSaveAndQueryEmbeddedStruct (0.06s)
=== RUN TestCalculateField
--- PASS: TestCalculateField (0.00s)
=== RUN TestJoinTable
[35m(no such table: person_addresses)[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
--- PASS: TestJoinTable (0.14s)
=== RUN TestStringPrimaryKey
--- PASS: TestStringPrimaryKey (0.03s)
=== RUN TestExceptionsWithInvalidSql
[35m(no such table: )[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
[35m(no such column: aaa)[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
--- PASS: TestExceptionsWithInvalidSql (0.00s)
[35m(no such column: sdsd.zaaa)[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
=== RUN TestSetTable
[35m(no such table: invalid_table)[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
[35m(no such table: deleted_users)[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
--- PASS: TestSetTable (0.20s)
=== RUN TestHasTable
[35m(no such table: foos)[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
--- PASS: TestHasTable (0.04s)
=== RUN TestTableName
--- PASS: TestTableName (0.00s)
=== RUN TestSqlNullValue
[35m(no such table: null_values)[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
--- PASS: TestSqlNullValue (0.07s)
=== RUN TestTransaction
[35m(NOT NULL constraint failed: null_values.name)[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
[35m(sql: Transaction has already been committed or rolled back)[0m
[33m[2016-03-31 13:07:14][0m [31;1m [0m
--- PASS: TestTransaction (0.02s)
=== RUN TestRow
--- PASS: TestRow (0.07s)
=== RUN TestRows
--- PASS: TestRows (0.06s)
=== RUN TestScan
--- PASS: TestScan (0.06s)
=== RUN TestRaw
--- PASS: TestRaw (0.08s)
=== RUN TestGroup
--- PASS: TestGroup (0.00s)
=== RUN TestJoins
--- PASS: TestJoins (0.02s)
=== RUN TestJoinsWithSelect
--- PASS: TestJoinsWithSelect (0.02s)
=== RUN TestHaving
--- PASS: TestHaving (0.00s)
=== RUN TestTimeWithZone
--- PASS: TestTimeWithZone (0.05s)
=== RUN TestHstore
--- SKIP: TestHstore (0.00s)
main_test.go:531:
=== RUN TestSetAndGet
--- PASS: TestSetAndGet (0.00s)
=== RUN TestOpenExistingDB
`` is not officially supported, running under compatibility mode.
--- PASS: TestOpenExistingDB (0.02s)
=== RUN TestIndexes
[35m(UNIQUE constraint failed: emails.user_id, emails.email)[0m
[33m[2016-03-31 13:07:15][0m [31;1m [0m
[35m(UNIQUE constraint failed: emails.user_id, emails.email)[0m
[33m[2016-03-31 13:07:15][0m [31;1m [0m
--- PASS: TestIndexes (0.15s)
=== RUN TestAutoMigration
--- PASS: TestAutoMigration (0.11s)
=== RUN TestManyToManyWithMultiPrimaryKeys
--- PASS: TestManyToManyWithMultiPrimaryKeys (0.00s)
=== RUN TestPointerFields
[35m(no such table: pointer_structs)[0m
[33m[2016-03-31 13:07:15][0m [31;1m [0m
--- PASS: TestPointerFields (0.10s)
=== RUN TestPolymorphic
--- PASS: TestPolymorphic (0.11s)
=== RUN TestPreload
--- PASS: TestPreload (0.10s)
=== RUN TestNestedPreload1
--- PASS: TestNestedPreload1 (0.09s)
=== RUN TestNestedPreload2
--- PASS: TestNestedPreload2 (0.13s)
=== RUN TestNestedPreload3
--- PASS: TestNestedPreload3 (0.13s)
=== RUN TestNestedPreload4
--- PASS: TestNestedPreload4 (0.13s)
=== RUN TestNestedPreload5
--- PASS: TestNestedPreload5 (0.15s)
=== RUN TestNestedPreload6
--- PASS: TestNestedPreload6 (0.15s)
=== RUN TestNestedPreload7
--- PASS: TestNestedPreload7 (0.17s)
=== RUN TestNestedPreload8
--- PASS: TestNestedPreload8 (0.16s)
=== RUN TestNestedPreload9
--- PASS: TestNestedPreload9 (0.20s)
=== RUN TestManyToManyPreloadWithMultiPrimaryKeys
--- PASS: TestManyToManyPreloadWithMultiPrimaryKeys (0.00s)
=== RUN TestManyToManyPreloadForPointer
--- PASS: TestManyToManyPreloadForPointer (0.14s)
=== RUN TestNilPointerSlice
--- PASS: TestNilPointerSlice (0.16s)
=== RUN TestFirstAndLast
--- PASS: TestFirstAndLast (0.04s)
=== RUN TestFirstAndLastWithNoStdPrimaryKey
--- PASS: TestFirstAndLastWithNoStdPrimaryKey (0.04s)
=== RUN TestUIntPrimaryKey
--- PASS: TestUIntPrimaryKey (0.00s)
=== RUN TestFindAsSliceOfPointers
--- PASS: TestFindAsSliceOfPointers (0.02s)
=== RUN TestSearchWithPlainSQL
--- PASS: TestSearchWithPlainSQL (0.06s)
=== RUN TestSearchWithStruct
--- PASS: TestSearchWithStruct (0.06s)
=== RUN TestSearchWithMap
--- PASS: TestSearchWithMap (0.05s)
=== RUN TestSearchWithEmptyChain
--- PASS: TestSearchWithEmptyChain (0.05s)
=== RUN TestSelect
--- PASS: TestSelect (0.03s)
=== RUN TestOrderAndPluck
--- PASS: TestOrderAndPluck (0.06s)
=== RUN TestLimit
--- PASS: TestLimit (0.09s)
=== RUN TestOffset
--- PASS: TestOffset (0.40s)
=== RUN TestOr
--- PASS: TestOr (0.07s)
=== RUN TestCount
--- PASS: TestCount (0.05s)
=== RUN TestNot
--- PASS: TestNot (0.19s)
=== RUN TestFillSmallerStruct
--- PASS: TestFillSmallerStruct (0.03s)
=== RUN TestFindOrInitialize
--- PASS: TestFindOrInitialize (0.02s)
=== RUN TestFindOrCreate
[35m(UNIQUE constraint failed: users.id)[0m
[33m[2016-03-31 13:07:18][0m [31;1m [0m
[35m(UNIQUE constraint failed: users.id)[0m
[33m[2016-03-31 13:07:18][0m [31;1m [0m
--- PASS: TestFindOrCreate (0.11s)
=== RUN TestSelectWithEscapedFieldName
[35m(no such column: email)[0m
[33m[2016-03-31 13:07:18][0m [31;1m [0m
--- PASS: TestSelectWithEscapedFieldName (0.05s)
=== RUN TestSelectWithVariables
--- PASS: TestSelectWithVariables (0.02s)
=== RUN TestSelectWithArrayInput
--- PASS: TestSelectWithArrayInput (5.01s)
=== RUN TestCurrentDatabase
--- PASS: TestCurrentDatabase (0.00s)
query_test.go:591: Got current db name: main
=== RUN TestScopes
--- PASS: TestScopes (0.00s)
=== RUN TestScannableSlices
--- FAIL: TestScannableSlices (0.00s)
panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
panic: runtime error: cgo argument has Go pointer to Go pointer
goroutine 225 [running]:
panic(0x817ae0, 0xc820620800)
/usr/lib/go/src/runtime/panic.go:464 +0x3e6
testing.tRunner.func1(0xc8206a6000)
/usr/lib/go/src/testing/testing.go:467 +0x192
panic(0x817ae0, 0xc820620800)
/usr/lib/go/src/runtime/panic.go:426 +0x4e9
github.com/mattn/go-sqlite3._cgoCheckPointer0(0x788d40, 0xc82012e914, 0x0, 0x0, 0x0, 0x76b440)
github.com/mattn/go-sqlite3/_obj/_cgo_gotypes.go:66 +0x4d
github.com/mattn/go-sqlite3.(*SQLiteStmt).bind(0xc8205be960, 0xc8205866e0, 0x2, 0x2, 0x0, 0x0)
/home/lamby/temp/cdt.20160331130655.2UxfTVyVK1/golang-github-jinzhu-gorm-0.0~git20151012.0.20e37a0/obj-x86_64-linux-gnu/src/github.com/mattn/go-sqlite3/sqlite3.go:487 +0xa39
github.com/mattn/go-sqlite3.(*SQLiteStmt).Exec(0xc8205be960, 0xc8205866e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0)
/home/lamby/temp/cdt.20160331130655.2UxfTVyVK1/golang-github-jinzhu-gorm-0.0~git20151012.0.20e37a0/obj-x86_64-linux-gnu/src/github.com/mattn/go-sqlite3/sqlite3.go:519 +0x7b
github.com/mattn/go-sqlite3.(*SQLiteConn).Exec(0xc82041ac40, 0xc8205be910, 0x44, 0xc8205866e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0)
/home/lamby/temp/cdt.20160331130655.2UxfTVyVK1/golang-github-jinzhu-gorm-0.0~git20151012.0.20e37a0/obj-x86_64-linux-gnu/src/github.com/mattn/go-sqlite3/sqlite3.go:198 +0x3b0
database/sql.(*DB).exec(0xc820184d10, 0xc8205be910, 0x44, 0xc820586620, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, ...)
/usr/lib/go/src/database/sql/sql.go:1035 +0x2c2
database/sql.(*DB).Exec(0xc820184d10, 0xc8205be910, 0x44, 0xc820586620, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0)
/usr/lib/go/src/database/sql/sql.go:1009 +0xbe
github.com/jinzhu/gorm.Create(0xc820177e00)
/home/lamby/temp/cdt.20160331130655.2UxfTVyVK1/golang-github-jinzhu-gorm-0.0~git20151012.0.20e37a0/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_create.go:73 +0x67a
github.com/jinzhu/gorm.(*Scope).callCallbacks(0xc820177e00, 0xc820126b00, 0x9, 0x10, 0x0)
/home/lamby/temp/cdt.20160331130655.2UxfTVyVK1/golang-github-jinzhu-gorm-0.0~git20151012.0.20e37a0/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/scope_private.go:320 +0x68
github.com/jinzhu/gorm.(*DB).Save(0xc8d520, 0x76acc0, 0xc82062a5c0, 0x1)
/home/lamby/temp/cdt.20160331130655.2UxfTVyVK1/golang-github-jinzhu-gorm-0.0~git20151012.0.20e37a0/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main.go:294 +0x9b
github.com/jinzhu/gorm_test.TestScannableSlices(0xc8206a6000)
/home/lamby/temp/cdt.20160331130655.2UxfTVyVK1/golang-github-jinzhu-gorm-0.0~git20151012.0.20e37a0/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/slice_test.go:22 +0x3ee
testing.tRunner(0xc8206a6000, 0xc79280)
/usr/lib/go/src/testing/testing.go:473 +0x98
created by testing.RunTests
/usr/lib/go/src/testing/testing.go:582 +0x892
exit status 2
FAIL github.com/jinzhu/gorm 11.181s
dh_auto_test: go test -v github.com/jinzhu/gorm returned exit code 1
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 1
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-github-jinzhu-gorm.0.0~git20151012.0.20e37a0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2707 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160331/4e367d73/attachment-0001.obj>
More information about the Pkg-go-maintainers
mailing list