[pkg-go] Bug#860705: golang-github-shopify-sarama: FTBFS on i386: dh_auto_test: go test -v -p 1 github.com/Shopify/sarama github.com/Shopify/sarama/mocks returned exit code 1
Lucas Nussbaum
lucas at debian.org
Wed Apr 19 07:38:46 UTC 2017
Source: golang-github-shopify-sarama
Version: 1.9.0-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170418-i386 qa-ftbfs
Justification: FTBFS in stretch on i386
Hi,
During a rebuild of all packages in stretch (in a stretch chroot, not a
sid chroot), your package failed to build on i386.
Relevant part (hopefully):
> debian/rules build
> 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 -p 1 github.com/Shopify/sarama github.com/Shopify/sarama/mocks
> github.com/davecgh/go-spew/spew
> github.com/eapache/go-resiliency/breaker
> github.com/eapache/queue
> github.com/golang/snappy
> github.com/klauspost/crc32
> github.com/Shopify/sarama
> github.com/Shopify/sarama/mocks
> dh_auto_test -O--buildsystem=golang
> go test -v -p 1 github.com/Shopify/sarama github.com/Shopify/sarama/mocks
> === RUN TestAsyncProducer
> --- PASS: TestAsyncProducer (0.00s)
> === RUN TestAsyncProducerMultipleFlushes
> --- PASS: TestAsyncProducerMultipleFlushes (0.00s)
> === RUN TestAsyncProducerMultipleBrokers
> --- PASS: TestAsyncProducerMultipleBrokers (0.00s)
> === RUN TestAsyncProducerCustomPartitioner
> --- PASS: TestAsyncProducerCustomPartitioner (0.00s)
> === RUN TestAsyncProducerFailureRetry
> --- PASS: TestAsyncProducerFailureRetry (0.00s)
> === RUN TestAsyncProducerEncoderFailures
> --- PASS: TestAsyncProducerEncoderFailures (0.00s)
> === RUN TestAsyncProducerBrokerBounce
> --- PASS: TestAsyncProducerBrokerBounce (0.00s)
> === RUN TestAsyncProducerBrokerBounceWithStaleMetadata
> --- PASS: TestAsyncProducerBrokerBounceWithStaleMetadata (0.00s)
> === RUN TestAsyncProducerMultipleRetries
> --- PASS: TestAsyncProducerMultipleRetries (0.00s)
> === RUN TestAsyncProducerOutOfRetries
> --- SKIP: TestAsyncProducerOutOfRetries (0.00s)
> async_producer_test.go:485: Enable once bug #294 is fixed.
> === RUN TestAsyncProducerRetryWithReferenceOpen
> --- PASS: TestAsyncProducerRetryWithReferenceOpen (0.00s)
> === RUN TestAsyncProducerFlusherRetryCondition
> --- PASS: TestAsyncProducerFlusherRetryCondition (0.05s)
> === RUN TestAsyncProducerRetryShutdown
> --- PASS: TestAsyncProducerRetryShutdown (0.01s)
> === RUN TestBrokerAccessors
> --- PASS: TestBrokerAccessors (0.00s)
> === RUN TestSimpleBrokerCommunication
> --- PASS: TestSimpleBrokerCommunication (0.00s)
> === RUN TestSimpleClient
> --- PASS: TestSimpleClient (0.00s)
> === RUN TestCachedPartitions
> --- PASS: TestCachedPartitions (0.00s)
> === RUN TestClientDoesntCachePartitionsForTopicsWithErrors
> --- PASS: TestClientDoesntCachePartitionsForTopicsWithErrors (0.00s)
> === RUN TestClientSeedBrokers
> --- PASS: TestClientSeedBrokers (0.00s)
> === RUN TestClientMetadata
> --- PASS: TestClientMetadata (0.00s)
> === RUN TestClientGetOffset
> --- PASS: TestClientGetOffset (0.00s)
> === RUN TestClientReceivingUnknownTopic
> --- PASS: TestClientReceivingUnknownTopic (0.00s)
> === RUN TestClientReceivingPartialMetadata
> --- PASS: TestClientReceivingPartialMetadata (0.00s)
> === RUN TestClientRefreshBehaviour
> --- PASS: TestClientRefreshBehaviour (0.00s)
> === RUN TestClientResurrectDeadSeeds
> --- PASS: TestClientResurrectDeadSeeds (0.00s)
> === RUN TestClientCoordinatorWithConsumerOffsetsTopic
> --- PASS: TestClientCoordinatorWithConsumerOffsetsTopic (0.25s)
> === RUN TestClientCoordinatorWithoutConsumerOffsetsTopic
> --- PASS: TestClientCoordinatorWithoutConsumerOffsetsTopic (2.00s)
> === RUN TestClientAutorefreshShutdownRace
> --- PASS: TestClientAutorefreshShutdownRace (0.13s)
> === RUN TestDefaultConfigValidates
> --- PASS: TestDefaultConfigValidates (0.00s)
> === RUN TestClientIDValidates
> --- PASS: TestClientIDValidates (0.00s)
> === RUN TestConsumerGroupMemberMetadata
> --- PASS: TestConsumerGroupMemberMetadata (0.00s)
> === RUN TestConsumerGroupMemberAssignment
> --- PASS: TestConsumerGroupMemberAssignment (0.00s)
> === RUN TestConsumerMetadataRequest
> --- PASS: TestConsumerMetadataRequest (0.00s)
> === RUN TestConsumerMetadataResponseError
> --- PASS: TestConsumerMetadataResponseError (0.00s)
> === RUN TestConsumerMetadataResponseSuccess
> --- PASS: TestConsumerMetadataResponseSuccess (0.00s)
> === RUN TestConsumerOffsetManual
> --- PASS: TestConsumerOffsetManual (0.00s)
> === RUN TestConsumerOffsetNewest
> --- PASS: TestConsumerOffsetNewest (0.00s)
> === RUN TestConsumerRecreate
> --- PASS: TestConsumerRecreate (0.00s)
> === RUN TestConsumerDuplicate
> --- PASS: TestConsumerDuplicate (0.00s)
> === RUN TestConsumerLeaderRefreshError
> --- PASS: TestConsumerLeaderRefreshError (0.60s)
> === RUN TestConsumerInvalidTopic
> --- PASS: TestConsumerInvalidTopic (0.00s)
> === RUN TestConsumerClosePartitionWithoutLeader
> --- PASS: TestConsumerClosePartitionWithoutLeader (0.30s)
> === RUN TestConsumerShutsDownOutOfRange
> --- PASS: TestConsumerShutsDownOutOfRange (0.00s)
> === RUN TestConsumerExtraOffsets
> --- PASS: TestConsumerExtraOffsets (0.00s)
> === RUN TestConsumerNonSequentialOffsets
> --- PASS: TestConsumerNonSequentialOffsets (0.00s)
> === RUN TestConsumerRebalancingMultiplePartitions
> --- PASS: TestConsumerRebalancingMultiplePartitions (0.21s)
> === RUN TestConsumerInterleavedClose
> --- PASS: TestConsumerInterleavedClose (0.10s)
> === RUN TestConsumerBounceWithReferenceOpen
> --- PASS: TestConsumerBounceWithReferenceOpen (0.11s)
> === RUN TestConsumerOffsetOutOfRange
> --- PASS: TestConsumerOffsetOutOfRange (0.00s)
> === RUN TestDescribeGroupsRequest
> --- PASS: TestDescribeGroupsRequest (0.00s)
> === RUN TestDescribeGroupsResponse
> --- PASS: TestDescribeGroupsResponse (0.00s)
> === RUN TestFetchRequest
> --- PASS: TestFetchRequest (0.00s)
> === RUN TestEmptyFetchResponse
> --- PASS: TestEmptyFetchResponse (0.00s)
> === RUN TestOneMessageFetchResponse
> --- PASS: TestOneMessageFetchResponse (0.00s)
> === RUN TestHeartbeatRequest
> --- PASS: TestHeartbeatRequest (0.00s)
> === RUN TestHeartbeatResponse
> --- PASS: TestHeartbeatResponse (0.00s)
> === RUN TestJoinGroupRequest
> --- PASS: TestJoinGroupRequest (0.00s)
> === RUN TestJoinGroupResponse
> --- PASS: TestJoinGroupResponse (0.00s)
> === RUN TestLeaveGroupRequest
> --- PASS: TestLeaveGroupRequest (0.00s)
> === RUN TestLeaveGroupResponse
> --- PASS: TestLeaveGroupResponse (0.00s)
> === RUN TestListGroupsRequest
> --- PASS: TestListGroupsRequest (0.00s)
> === RUN TestListGroupsResponse
> --- PASS: TestListGroupsResponse (0.00s)
> === RUN TestMessageEncoding
> --- PASS: TestMessageEncoding (0.00s)
> === RUN TestMessageDecoding
> --- PASS: TestMessageDecoding (0.00s)
> === RUN TestMessageDecodingBulkSnappy
> --- PASS: TestMessageDecodingBulkSnappy (0.00s)
> === RUN TestMessageDecodingBulkGzip
> --- PASS: TestMessageDecodingBulkGzip (0.00s)
> === RUN TestMetadataRequest
> --- PASS: TestMetadataRequest (0.00s)
> === RUN TestEmptyMetadataResponse
> --- PASS: TestEmptyMetadataResponse (0.00s)
> === RUN TestMetadataResponseWithBrokers
> --- PASS: TestMetadataResponseWithBrokers (0.00s)
> === RUN TestMetadataResponseWithTopics
> --- PASS: TestMetadataResponseWithTopics (0.00s)
> === RUN TestOffsetCommitRequestV0
> --- PASS: TestOffsetCommitRequestV0 (0.00s)
> === RUN TestOffsetCommitRequestV1
> --- PASS: TestOffsetCommitRequestV1 (0.00s)
> === RUN TestOffsetCommitRequestV2
> --- PASS: TestOffsetCommitRequestV2 (0.00s)
> === RUN TestEmptyOffsetCommitResponse
> --- PASS: TestEmptyOffsetCommitResponse (0.00s)
> === RUN TestNormalOffsetCommitResponse
> --- PASS: TestNormalOffsetCommitResponse (0.00s)
> === RUN TestOffsetFetchRequest
> --- PASS: TestOffsetFetchRequest (0.00s)
> === RUN TestEmptyOffsetFetchResponse
> --- PASS: TestEmptyOffsetFetchResponse (0.00s)
> === RUN TestNormalOffsetFetchResponse
> --- PASS: TestNormalOffsetFetchResponse (0.00s)
> === RUN TestNewOffsetManager
> --- PASS: TestNewOffsetManager (0.00s)
> === RUN TestOffsetManagerFetchInitialFail
> --- PASS: TestOffsetManagerFetchInitialFail (0.00s)
> === RUN TestOffsetManagerFetchInitialLoadInProgress
> --- PASS: TestOffsetManagerFetchInitialLoadInProgress (0.25s)
> === RUN TestPartitionOffsetManagerInitialOffset
> --- PASS: TestPartitionOffsetManagerInitialOffset (0.00s)
> === RUN TestPartitionOffsetManagerNextOffset
> --- PASS: TestPartitionOffsetManagerNextOffset (0.00s)
> === RUN TestPartitionOffsetManagerMarkOffset
> --- PASS: TestPartitionOffsetManagerMarkOffset (0.00s)
> === RUN TestPartitionOffsetManagerMarkOffsetWithRetention
> --- PASS: TestPartitionOffsetManagerMarkOffsetWithRetention (0.00s)
> === RUN TestPartitionOffsetManagerCommitErr
> --- PASS: TestPartitionOffsetManagerCommitErr (0.01s)
> === RUN TestAbortPartitionOffsetManager
> --- PASS: TestAbortPartitionOffsetManager (0.00s)
> === RUN TestOffsetRequest
> --- PASS: TestOffsetRequest (0.00s)
> === RUN TestEmptyOffsetResponse
> --- PASS: TestEmptyOffsetResponse (0.00s)
> === RUN TestNormalOffsetResponse
> --- PASS: TestNormalOffsetResponse (0.00s)
> === RUN TestRandomPartitioner
> --- PASS: TestRandomPartitioner (0.00s)
> === RUN TestRoundRobinPartitioner
> --- PASS: TestRoundRobinPartitioner (0.00s)
> === RUN TestHashPartitioner
> --- PASS: TestHashPartitioner (0.01s)
> === RUN TestManualPartitioner
> --- PASS: TestManualPartitioner (0.00s)
> === RUN TestProduceRequest
> --- PASS: TestProduceRequest (0.00s)
> === RUN TestProduceResponse
> --- PASS: TestProduceResponse (0.00s)
> === RUN TestProduceSetInitial
> --- PASS: TestProduceSetInitial (0.00s)
> === RUN TestProduceSetAddingMessages
> --- PASS: TestProduceSetAddingMessages (0.00s)
> === RUN TestProduceSetPartitionTracking
> --- PASS: TestProduceSetPartitionTracking (0.00s)
> === RUN TestProduceSetRequestBuilding
> --- PASS: TestProduceSetRequestBuilding (0.00s)
> === RUN TestResponseHeader
> --- PASS: TestResponseHeader (0.00s)
> === RUN TestSnappyEncode
> --- PASS: TestSnappyEncode (0.00s)
> === RUN TestSnappyDecode
> --- PASS: TestSnappyDecode (0.00s)
> === RUN TestSnappyDecodeStreams
> --- PASS: TestSnappyDecodeStreams (0.00s)
> === RUN TestSyncGroupRequest
> --- PASS: TestSyncGroupRequest (0.00s)
> === RUN TestSyncGroupResponse
> --- PASS: TestSyncGroupResponse (0.00s)
> === RUN TestSyncProducer
> --- PASS: TestSyncProducer (0.00s)
> === RUN TestConcurrentSyncProducer
> --- PASS: TestConcurrentSyncProducer (0.00s)
> === RUN TestSyncProducerToNonExistingTopic
> --- PASS: TestSyncProducerToNonExistingTopic (0.00s)
> PASS
> ok github.com/Shopify/sarama 4.128s
> === RUN TestMockAsyncProducerImplementsAsyncProducerInterface
> --- PASS: TestMockAsyncProducerImplementsAsyncProducerInterface (0.00s)
> === RUN TestProducerReturnsExpectationsToChannels
> --- PASS: TestProducerReturnsExpectationsToChannels (0.00s)
> === RUN TestProducerWithTooFewExpectations
> --- PASS: TestProducerWithTooFewExpectations (0.00s)
> === RUN TestProducerWithTooManyExpectations
> --- PASS: TestProducerWithTooManyExpectations (0.00s)
> === RUN TestMockConsumerImplementsConsumerInterface
> --- PASS: TestMockConsumerImplementsConsumerInterface (0.00s)
> === RUN TestConsumerHandlesExpectations
> --- FAIL: TestConsumerHandlesExpectations (0.00s)
> consumer.go:195: Expectations set on test/0, but no partition consumer was started.
> 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=0x0 pc=0x80cc15c]
>
> goroutine 13 [running]:
> panic(0x816dba0, 0x18552008)
> /usr/lib/go-1.7/src/runtime/panic.go:500 +0x331
> testing.tRunner.func1(0x1850aa80)
> /usr/lib/go-1.7/src/testing/testing.go:579 +0x14f
> panic(0x816dba0, 0x18552008)
> /usr/lib/go-1.7/src/runtime/panic.go:458 +0x40b
> sync/atomic.AddUint64(0x1851649c, 0x1, 0x0, 0x81790c0, 0x1)
> /usr/lib/go-1.7/src/sync/atomic/asm_386.s:112 +0xc
> github.com/Shopify/sarama/mocks.(*PartitionConsumer).YieldMessage(0x18516460, 0x18514690)
> /<<PKGBUILDDIR>>/obj-i686-linux-gnu/src/github.com/Shopify/sarama/mocks/consumer.go:269 +0xc5
> github.com/Shopify/sarama/mocks.TestConsumerHandlesExpectations(0x1850aa80)
> /<<PKGBUILDDIR>>/obj-i686-linux-gnu/src/github.com/Shopify/sarama/mocks/consumer_test.go:30 +0x1fe
> testing.tRunner(0x1850aa80, 0x819f8ac)
> /usr/lib/go-1.7/src/testing/testing.go:610 +0x8c
> created by testing.(*T).Run
> /usr/lib/go-1.7/src/testing/testing.go:646 +0x2a5
> exit status 2
> FAIL github.com/Shopify/sarama/mocks 0.007s
> dh_auto_test: go test -v -p 1 github.com/Shopify/sarama github.com/Shopify/sarama/mocks returned exit code 1
The full build log is available from:
http://aws-logs.debian.net/2017/04/18/golang-github-shopify-sarama_1.9.0-1_testing-i386.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-go-maintainers
mailing list