See <https://builds.apache.org/job/Mesos-Reviewbot/19595/display/redirect>
------------------------------------------ [URLTrigger] A change within the response URL invocation (log) [EnvInject] - Loading node environment variables. Building remotely on H18 (ubuntu xenial) in workspace <https://builds.apache.org/job/Mesos-Reviewbot/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url > https://git-wip-us.apache.org/repos/asf/mesos.git # timeout=10 Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/mesos.git > git --version # timeout=10 > git fetch --tags --progress > https://git-wip-us.apache.org/repos/asf/mesos.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 89c6cea11427fef36b0161620c451d0587f1d205 (origin/master) Commit message: "Validated that quota requests contain unique resource names." > git config core.sparsecheckout # timeout=10 > git checkout -f 89c6cea11427fef36b0161620c451d0587f1d205 > git rev-list 89c6cea11427fef36b0161620c451d0587f1d205 # timeout=10 > git tag -a -f -m Jenkins Build #19595 jenkins-Mesos-Reviewbot-19595 # > timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content USERNAME=mesos-review [EnvInject] - Variables injected successfully. [EnvInject] - Mask passwords that will be passed as build parameters. [Mesos-Reviewbot] $ /bin/bash -xe /tmp/jenkins7264502436398675017.sh + date Wed Sep 27 22:09:05 UTC 2017 + pip install --user virtualenv Requirement already satisfied: virtualenv in /home/jenkins/.local/lib/python2.7/site-packages + ./support/mesos-style.py Total errors found: 0 ************* Module setup R: 1, 0: Similar lines in 2 files ==cli.plugins.agent.main:46 ==cli.plugins.task.main:45 } } def list(self, argv): """ List the tasks running in a cluster by checking the /tasks endpoint. """ # pylint: disable=unused-argument try: master = self.config.master() except Exception as exception: raise CLIException("Unable to get leading master address: {error}" .format(error=exception)) try: (duplicate-code) R: 1, 0: Similar lines in 2 files ==cli.tests.agent:38 ==cli.tests.task:39 def test_list(self): """ Basic test for the task `list()` sub-command. """ # Launch a master, agent, and task. master = Master() master.launch() agent = Agent() agent.launch() (duplicate-code) R: 1, 0: Similar lines in 2 files ==cli.tests.task:44 ==cli.tests.tests:37 master = Master() master.launch() agent = Agent() agent.launch() task = Task({"command": "sleep 1000"}) task.launch() (duplicate-code) R: 1, 0: Similar lines in 2 files ==cli.plugins.agent.main:60 ==cli.util:193 try: agents = http.get_json(master, "slaves")["slaves"] except Exception as exception: raise CLIException("Could not open '/slaves'" " endpoint at '{addr}': {error}" (duplicate-code) Total errors found: 52 Checking 1207 C++ files Rebuilding virtualenv ... Checking 28 Python files Build step 'Execute shell' marked build as failure
