[
https://issues.apache.org/jira/browse/MESOS-9514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763747#comment-16763747
]
Till Toenshoff commented on MESOS-9514:
---------------------------------------
{noformat}
commit 761e1ca400901dd623f1cb025e1d68da9472d49c
Author: Armand Grillet <[email protected]>
Date: Fri Feb 8 17:17:11 2019 +0100
Refactored 'support/verify-reviews.py' to be closer to commit 7412179.
The goal of this commit is to make 'verify-reviews.py' as close as
possible to its last known working state (commit
74121798f24fca372180b8c4bc00b4df07d46240).
The diff between 'verify-reviews.py' at this commit and 7412179 is
available here: https://www.diffchecker.com/cmfaM83O All the new
features added since 7412179 have been added again and the code
has been made Python 3 compatible again.
The goal is to have a diff as minimal as possible with improvements
regarding logs so that we do not face CI issues anymore. Changes
have been made regarding how we run commands from the script so
that they are run from the repository instead of where the
script is being called.
Review: https://reviews.apache.org/r/69817/{noformat}
> Reviewboard bot fails on verify-reviews.py.
> -------------------------------------------
>
> Key: MESOS-9514
> URL: https://issues.apache.org/jira/browse/MESOS-9514
> Project: Mesos
> Issue Type: Bug
> Components: build
> Reporter: Till Toenshoff
> Assignee: Armand Grillet
> Priority: Major
> Labels: integration
>
> Seeing this on our Azure based Mesos CI for review requests.
> {noformat}
> Started by timer
> [EnvInject] - Loading node environment variables.
> Building remotely on dummy-slave-01 (dummy-slave) in workspace
> /home/jenkins/workspace/mesos-reviewbot
> > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
> > git config remote.origin.url https://github.com/apache/mesos # timeout=10
> Pruning obsolete local branches
> Cleaning workspace
> > git rev-parse --verify HEAD # timeout=10
> Resetting working tree
> > git reset --hard # timeout=10
> > git clean -fdx # timeout=10
> Fetching upstream changes from https://github.com/apache/mesos
> > git --version # timeout=10
> > git fetch --tags --progress https://github.com/apache/mesos
> +refs/heads/*:refs/remotes/origin/* --prune
> > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
> Checking out Revision 3478e344fb77d931f6122980c6e94cd3913c441d
> (refs/remotes/origin/master)
> > git config core.sparsecheckout # timeout=10
> > git checkout -f 3478e344fb77d931f6122980c6e94cd3913c441d
> Commit message: "Sent SIGKILL to I/O switchboard server as a safeguard."
> > git rev-list --no-walk 3478e344fb77d931f6122980c6e94cd3913c441d #
> timeout=10
> [mesos-reviewbot] $ /usr/bin/env bash /tmp/jenkins5023908134863801311.sh
> git rev-parse HEAD
> Traceback (most recent call last):
> File
> "/home/jenkins/workspace/mesos-reviewbot/mesos/support/verify-reviews.py",
> line 101, in <module>
> HEAD = shell("git rev-parse HEAD")
> File
> "/home/jenkins/workspace/mesos-reviewbot/mesos/support/verify-reviews.py",
> line 97, in shell
> out = subprocess.check_output(command, stderr=subprocess.STDOUT,
> shell=True)
> File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
> **kwargs).stdout
> File "/usr/lib/python3.5/subprocess.py", line 708, in run
> output=stdout, stderr=stderr)
> subprocess.CalledProcessError: Command 'git rev-parse HEAD' returned non-zero
> exit status 128
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE
> {noformat}
> This is happening pretty much exactly since we landed
> https://github.com/apache/mesos/commit/3badf7179992e61f30f5a79da9d481dd451c7c2f#diff-0bcbb572aad3fe39e0e5c3c8a8c3e515
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)