https://bugzilla.wikimedia.org/show_bug.cgi?id=50300

       Web browser: ---
            Bug ID: 50300
           Summary: Gerrit no more support --force-message option
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Git/Gerrit
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: has...@free.fr
                CC: christ...@quelltextlich.at, innocentkil...@gmail.com,
                    marcin.cies...@gmail.com, rlan...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

The gate-and-submit Zuul pipeline is configured to send a review to Gerrit with
--force-message .  This is needed to make sure the build result is sent back to
Gerrit even if the change has already been merged.

The Zuul stack trace is:


2013-06-27 16:59:09,034 DEBUG gerrit.Gerrit: SSH received stderr:
fatal: "--force-message" is not a valid option

2013-06-27 16:59:09,034 ERROR zuul.IndependentPipelineManager: Exception while
reporting:
Traceback (most recent call last):
  File
"/usr/local/lib/python2.7/dist-packages/zuul-ac3ba4f-py2.7.egg/zuul/scheduler.py",
line 899, in reportChange
    ret = self.sched.trigger.report(change, report, action)
  File
"/usr/local/lib/python2.7/dist-packages/zuul-ac3ba4f-py2.7.egg/zuul/trigger/gerrit.py",
line 142, in report
    message, action)
  File
"/usr/local/lib/python2.7/dist-packages/zuul-ac3ba4f-py2.7.egg/zuul/lib/gerrit.py",
line 126, in review
    out, err = self._ssh(cmd)
  File
"/usr/local/lib/python2.7/dist-packages/zuul-ac3ba4f-py2.7.egg/zuul/lib/gerrit.py",
line 178, in _ssh
    raise Exception("Gerrit error executing %s" % command)
Exception: Gerrit error executing gerrit review --project
mediawiki/extensions/AbuseFilter --message "Build succeeded.

- https://integration.wikimedia.org/ci/job/mwext-AbuseFilter-merge/220/console
: SUCCESS in 5s
- https://integration.wikimedia.org/ci/job/mwext-AbuseFilter-lint/219/console :
SUCCESS in 1s
" --verified 2 --force-message --submit --code-review 0 70767,4


Effect: Zuul no more merge anything for us :D

A workaround is to remove the 'force-message: true' in Zuul layout
configuration.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to