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

------------------------------------------
[URLTrigger] A change within the response URL invocation (log)
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (ubuntu trusty) 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 #19603 jenkins-Mesos-Reviewbot-19603 # 
 > 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/jenkins5513253252361695787.sh
+ date
Thu Sep 28 05:39:10 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
Rebuilding virtualenv ...
Checking 28 Python files
Build step 'Execute shell' marked build as failure

Reply via email to