Bug 1383087

Summary: lyra: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: lyraAssignee: Raphael Groner <projects.rg>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: projects.rg
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://apps.fedoraproject.org/koschei/package/lyra
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-10 18:38:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raphael Groner 2016-10-09 19:30:09 UTC
Description of problem:
Package lyra fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
0.5.3-1.fc26

Steps to Reproduce:
koji build --scratch f26 lyra-0.5.3-1.fc26.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/lyra

Comment 1 Raphael Groner 2016-10-09 19:32:51 UTC
Interesting parts of build.log:

[main] ERROR n.j.lyra.internal.ConnectionHandler - Connection cxn-## was closed unexpectedly
...
shouldHandleRetryableConnectionClosure(net.jodah.lyra.internal.ChannelInvocationTest)  Time elapsed: 0.046 sec  <<< FAILURE!
org.mockito.exceptions.verification.TooLittleActualInvocations: 
connection.createChannel(2);
Wanted 3 times:
-> at net.jodah.lyra.internal.AbstractFunctionalTest.verifyChannelCreations(AbstractFunctionalTest.java:251)
But was 2 times:
-> at net.jodah.lyra.internal.ConnectionHandler.createChannel(ConnectionHandler.java:205)
	at net.jodah.lyra.internal.ChannelInvocationTest.shouldHandleRetryableConnectionClosure(ChannelInvocationTest.java:102)
Results :
Failed tests: 
  ChannelInvocationTest.shouldHandleRetryableConnectionClosure:102->AbstractFunctionalTest.verifyChannelCreations:251 
connection.createChannel(2);
Wanted 3 times:
-> at net.jodah.lyra.internal.AbstractFunctionalTest.verifyChannelCreations(AbstractFunctionalTest.java:251)
But was 2 times:
-> at net.jodah.lyra.internal.ConnectionHandler.createChannel(ConnectionHandler.java:205)

Comment 2 Raphael Groner 2016-10-09 19:35:34 UTC
Scratch build as of today:
http://koji.fedoraproject.org/koji/taskinfo?taskID=16018639

shouldDropAcksForStaleDeliveryTags(net.jodah.lyra.internal.ConsumerRecoveryTest)  Time elapsed: 0.908 sec  <<< FAILURE!
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
channel.basicAck(26, false);
-> at net.jodah.lyra.internal.ConsumerRecoveryTest.shouldDropAcksForStaleDeliveryTags(ConsumerRecoveryTest.java:91)
Actual invocation has different arguments:
channel.basicAck(1, false);
-> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at net.jodah.lyra.internal.ConsumerRecoveryTest.shouldDropAcksForStaleDeliveryTags(ConsumerRecoveryTest.java:91)
Results :
Failed tests: 
  ConsumerRecoveryTest.shouldDropAcksForStaleDeliveryTags:91 
Argument(s) are different! Wanted:
channel.basicAck(26, false);
-> at net.jodah.lyra.internal.ConsumerRecoveryTest.shouldDropAcksForStaleDeliveryTags(ConsumerRecoveryTest.java:91)
Actual invocation has different arguments:
channel.basicAck(1, false);
-> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Comment 3 Raphael Groner 2016-10-10 18:38:09 UTC
Fixed magically with some other packages got rebuilt.