Bug 1581161

Summary: kgb-bot-1.31-15.fc29 FTBFS: Can't call method "branch" on an undefined value at t/52-client-git.t line 356
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: kgb-botAssignee: Andrea Veri <andrea.veri>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: andrea.veri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/4502980
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-01 20:56:39 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:
Embargoed:

Description Petr Pisar 2018-05-22 09:22:44 UTC
kgb-bot-1.31-15.fc29 fails to build in F29 because tests fail:

t/51-client_branch_module.t .... ok
BUILDSTDERR: #   Failed test 'empty branch merge commit exists'
BUILDSTDERR: #   at t/52-client-git.t line 355.
BUILDSTDERR: Can't call method "branch" on an undefined value at t/52-client-git.t line 356.
BUILDSTDERR: # Looks like your test exited with 255 just after 69.
t/52-client-git.t .............. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/69 subtests 
BUILDSTDERR: #   Failed test at t/53-client-git-merges.t line 203.
BUILDSTDERR: #          got: 'a-new'
BUILDSTDERR: #     expected: 'master'
BUILDSTDERR: #   Failed test at t/53-client-git-merges.t line 204.
BUILDSTDERR: #          got: 'created new content'
BUILDSTDERR: #     expected: 'merge 'new-content' into master'
BUILDSTDERR: #   Failed test at t/53-client-git-merges.t line 209.
BUILDSTDERR: #          got: 'updated new content'
BUILDSTDERR: #     expected: 'created new content'
BUILDSTDERR: #   Failed test at t/53-client-git-merges.t line 213.
BUILDSTDERR: #          got: 'new-content'
BUILDSTDERR: #     expected: 'a-new'
BUILDSTDERR: #   Failed test at t/53-client-git-merges.t line 214.
BUILDSTDERR: #          got: 'created new content'
BUILDSTDERR: #     expected: 'updated new content'
BUILDSTDERR: #   Failed test at t/53-client-git-merges.t line 219.
BUILDSTDERR: #          got: 'updated new content'
BUILDSTDERR: #     expected: 'created new content'
BUILDSTDERR: #   Failed test 'second new-content commit exists'
BUILDSTDERR: #   at t/53-client-git-merges.t line 222.
BUILDSTDERR: Can't call method "branch" on an undefined value at t/53-client-git-merges.t line 223.
BUILDSTDERR: # Looks like your test exited with 29 just after 21.
t/53-client-git-merges.t ....... 
Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 7/21 subtests 

A difference between passing and failing build root is <https://apps.fedoraproject.org/koschei/build/4502980>. It's probably triggered by upgrading git or perl-Git.

Comment 1 Andrea Veri 2018-08-01 20:56:39 UTC
There has been at least one successfull build after mass rebuild.

kgb-bot-1.51-1.fc29:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1132991