See 
<https://builds.apache.org/job/Mesos-Reviewbot/19585/display/redirect?page=changes>

Changes:

[bbannier] Fixed usage of 'ATOMIC_FLAG_INIT'.

[bbannier] Made explicit that we dispatch to a process manager.

[klueska] Added 'mesos agent list' command to CLI.

------------------------------------------
[URLTrigger] A change within the response URL invocation (log)
[URLTrigger] A change within the response URL invocation (log)
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
[URLTrigger] A change within the response URL invocation (log)
[URLTrigger] A change within the response URL invocation (log)
[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 1270703291a132d8d959d71bf99e4dfe4cf4292e (origin/master)
Commit message: "Added 'mesos agent list' command to CLI."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1270703291a132d8d959d71bf99e4dfe4cf4292e
 > git rev-list 53b56117befae94cdec9599c7b9bfe47ff36c968 # timeout=10
 > git tag -a -f -m Jenkins Build #19585 jenkins-Mesos-Reviewbot-19585 # 
 > 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/jenkins7092447257622562825.sh
+ date
Wed Sep 27 14:15:03 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

Reply via email to