See <https://builds.apache.org/job/Mesos-Reviewbot/19587/display/redirect>

------------------------------------------
[URLTrigger] A change within the response URL invocation (log)
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) in workspace 
<https://builds.apache.org/job/Mesos-Reviewbot/ws/>
Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/mesos.git
 > git init <https://builds.apache.org/job/Mesos-Reviewbot/ws/> # 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 config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/mesos.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > 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 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 a90ed2bf57c1f0bf67b395c57ebd0991aac2c5b0 (origin/master)
Commit message: "Add OLA to 'powered by mesos' list."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a90ed2bf57c1f0bf67b395c57ebd0991aac2c5b0
 > git rev-list a90ed2bf57c1f0bf67b395c57ebd0991aac2c5b0 # timeout=10
 > git tag -a -f -m Jenkins Build #19587 jenkins-Mesos-Reviewbot-19587 # 
 > 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/jenkins9171744355200311822.sh
+ date
Wed Sep 27 16:58:54 UTC 2017
+ pip install --user virtualenv
Requirement already satisfied (use --upgrade to upgrade): virtualenv in 
/usr/lib/python2.7/dist-packages
Cleaning up...
+ ./support/mesos-style.py
Total errors found: 0
<https://builds.apache.org/job/Mesos-Reviewbot/ws/src/python/cli_new/.virtualenv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:318:
 SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name 
Indication) extension to TLS is not available on this platform. This may cause 
the server to present an incorrect TLS certificate, which can cause validation 
failures. You can upgrade to a newer version of Python to solve this. For more 
information, see 
https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
<https://builds.apache.org/job/Mesos-Reviewbot/ws/src/python/cli_new/.virtualenv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122:
 InsecurePlatformWarning: A true SSLContext object is not available. This 
prevents urllib3 from configuring SSL appropriately and may cause certain SSL 
connections to fail. You can upgrade to a newer version of Python to solve 
this. For more information, see 
https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
<https://builds.apache.org/job/Mesos-Reviewbot/ws/src/python/cli_new/.virtualenv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122:
 InsecurePlatformWarning: A true SSLContext object is not available. This 
prevents urllib3 from configuring SSL appropriately and may cause certain SSL 
connections to fail. You can upgrade to a newer version of Python to solve 
this. For more information, see 
https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
************* 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
Virtualenv for python linter not detected ... building
Rebuilding virtualenv ...
Checking 28 Python files
Build step 'Execute shell' marked build as failure

Reply via email to