← Back to team overview

openerp-community team mailing list archive

Build failed in Jenkins: OCA Review #116

 

See <http://test.savoirfairelinux.com/job/OCA%20Review/116/changes>

Changes:

[Stefan Rijnhart] [IMP] Display the age of the newest change to the MP instead of the date of proposal

------------------------------------------
Started by timer
Building remotely on OpenERP-Jenkins in workspace <http://test.savoirfairelinux.com/job/OCA%20Review/ws/>
$ bzr revision-info -d "<http://test.savoirfairelinux.com/job/OCA%20Review/ws/nag";>
info result: bzr revision-info -d <http://test.savoirfairelinux.com/job/OCA%20Review/ws/nag> returned 0. Command output: "29 stefan@xxxxxxxx-20140407094738-kycuqv5hjv4tb9c8
" stderr: ""
[nag] $ bzr pull --overwrite lp:lp-community-utils
 M  openerp-nag
All changes applied successfully.
Now on revision 30.
[nag] $ bzr revert
$ bzr revision-info -d "<http://test.savoirfairelinux.com/job/OCA%20Review/ws/nag";>
info result: bzr revision-info -d <http://test.savoirfairelinux.com/job/OCA%20Review/ws/nag> returned 0. Command output: "30 stefan@xxxxxxxx-20140420102653-7n8sqbxs86l4o1cx
" stderr: ""
[nag] $ bzr log -v -r revid:stefan@xxxxxxxx-20140407094738-kycuqv5hjv4tb9c8..revid:stefan@xxxxxxxx-20140420102653-7n8sqbxs86l4o1cx --long --show-ids
Getting local revision...
$ bzr revision-info -d "<http://test.savoirfairelinux.com/job/OCA%20Review/ws/nag";>
info result: bzr revision-info -d <http://test.savoirfairelinux.com/job/OCA%20Review/ws/nag> returned 0. Command output: "30 stefan@xxxxxxxx-20140420102653-7n8sqbxs86l4o1cx
" stderr: ""
RevisionState revno:30 revid:stefan@xxxxxxxx-20140420102653-7n8sqbxs86l4o1cx
[OCA Review] $ /bin/sh -xe /tmp/hudson5398967342738376754.sh
+ cd nag
+ tee ../output
+ ./openerp-nag -f projects --authenticated
Traceback (most recent call last):
  File "./openerp-nag", line 361, in <module>
    main()
  File "./openerp-nag", line 333, in main
    nags.extend(gen_project_nags(lp, policy, project_name))
  File "./openerp-nag", line 176, in gen_project_nags
    for nag in gen_merge_proposal_nags(lp, policy, project):
  File "./openerp-nag", line 219, in gen_merge_proposal_nags
    age >= policy.days_before_merge)):
NameError: global name 'age' is not defined
+ wc -l
+ grep -i Someone should review ../output
+ RES=0
+ [ 0 -ge 120 ]
Build step 'Execute shell' marked build as failure


Follow ups

References