Page MenuHomePhabricator

commit-message-validator prints a weird error message "Expected at least 3 lines"
Open, Needs TriagePublic

Description

With https://gerrit.wikimedia.org/r/c/pywikibot/core/+/609509 the master branch of pywkibot-core repo was merged to stable branch but the commit message validator fails due to unknown reason: https://integration.wikimedia.org/ci/job/pywikibot-core-tox-docker/10926/console

The commit message is

Stable release "3.0.20200703"

Merge branch 'master' into stable

Change-Id: I90334c7ab9bb919856a5bec0b7994fbeca1e59c0

but this error message is given:

12:25:28 commit-message run-test-pre: PYTHONHASHSEED='588013618'
12:25:28 commit-message run-test: commands[0] | commit-message-validator
12:25:28 [126] /src$ /src/.tox/commit-message/bin/commit-message-validator
12:25:28 false
12:25:28 commit-message-validator v0.6.0
12:25:28 Using GerritMessageValidator to check the commit message
12:25:28 The following errors were found:
12:25:28 Line 1: Expected at least 3 lines
12:25:28 Line 1: Expected Change-Id
12:25:28 Please review <https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines>
12:25:28 and update your commit message accordingly
12:25:28 ERROR: InvocationError for command /src/.tox/commit-message/bin/commit-message-validator (exited with code 1)

Event Timeline

Xqt created this task.Jul 4 2020, 11:51 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 4 2020, 11:51 AM
Aklapper renamed this task from commit-message-validator prints a weird error message to commit-message-validator prints a weird error message "Expected at least 3 lines".Wed, Jul 15, 12:07 PM