Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 46.22 KB | None | 0 0
  1. [root@cl7x64 rpm-tests]# /opt/alt/python35/bin/pytest -k test_modsec_rule_disabled_global --junit-xml=report.xml --verbose --capture=no -m "not slow" .
  2. ============================================================================================= test session starts ==============================================================================================
  3. platform linux -- Python 3.5.7, pytest-4.6.3, py-1.8.0, pluggy-0.12.0 -- /opt/alt/python35/bin/python3
  4. cachedir: .pytest_cache
  5. rootdir: /root/defence360/src/rpm-tests, inifile: pytest.ini
  6. collected 146 items / 145 deselected / 1 selected                                                                                                                                                              
  7.  
  8. test_modsec_rules_disabling.py::test_modsec_rule_disabled_global FAILED
  9.  
  10. =================================================================================================== FAILURES ===================================================================================================
  11. _______________________________________________________________________________________ test_modsec_rule_disabled_global _______________________________________________________________________________________
  12.  
  13. self = <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>
  14.  
  15.     def _new_conn(self):
  16.         """ Establish a socket connection and set nodelay settings on it.
  17.    
  18.        :return: New socket connection.
  19.        """
  20.         extra_kw = {}
  21.         if self.source_address:
  22.             extra_kw['source_address'] = self.source_address
  23.    
  24.         if self.socket_options:
  25.             extra_kw['socket_options'] = self.socket_options
  26.    
  27.         try:
  28.             conn = connection.create_connection(
  29. >               (self.host, self.port), self.timeout, **extra_kw)
  30.  
  31. /opt/alt/python35/lib/python3.5/site-packages/requests/packages/urllib3/connection.py:142:
  32. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  33.  
  34. address = ('rosario-mills.biz', 80), timeout = None, source_address = None, socket_options = [(6, 1, 1)]
  35.  
  36.     def create_connection(address, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
  37.                           source_address=None, socket_options=None):
  38.         """Connect to *address* and return the socket object.
  39.    
  40.        Convenience function.  Connect to *address* (a 2-tuple ``(host,
  41.        port)``) and return the socket object.  Passing the optional
  42.        *timeout* parameter will set the timeout on the socket instance
  43.        before attempting to connect.  If no *timeout* is supplied, the
  44.        global default timeout setting returned by :func:`getdefaulttimeout`
  45.        is used.  If *source_address* is set it must be a tuple of (host, port)
  46.        for the socket to bind as a source address before making the connection.
  47.        An host of '' or port 0 tells the OS to use the default.
  48.        """
  49.    
  50.         host, port = address
  51.         if host.startswith('['):
  52.             host = host.strip('[]')
  53.         err = None
  54.         for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
  55.             af, socktype, proto, canonname, sa = res
  56.             sock = None
  57.             try:
  58.                 sock = socket.socket(af, socktype, proto)
  59.    
  60.                 # If provided, set socket level options before connecting.
  61.                 # This is the only addition urllib3 makes to this function.
  62.                 _set_socket_options(sock, socket_options)
  63.    
  64.                 if timeout is not socket._GLOBAL_DEFAULT_TIMEOUT:
  65.                     sock.settimeout(timeout)
  66.                 if source_address:
  67.                     sock.bind(source_address)
  68.                 sock.connect(sa)
  69.                 return sock
  70.    
  71.             except socket.error as e:
  72.                 err = e
  73.                 if sock is not None:
  74.                     sock.close()
  75.                     sock = None
  76.    
  77.         if err is not None:
  78. >           raise err
  79.  
  80. /opt/alt/python35/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py:91:
  81. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  82.  
  83. address = ('rosario-mills.biz', 80), timeout = None, source_address = None, socket_options = [(6, 1, 1)]
  84.  
  85.     def create_connection(address, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
  86.                           source_address=None, socket_options=None):
  87.         """Connect to *address* and return the socket object.
  88.    
  89.        Convenience function.  Connect to *address* (a 2-tuple ``(host,
  90.        port)``) and return the socket object.  Passing the optional
  91.        *timeout* parameter will set the timeout on the socket instance
  92.        before attempting to connect.  If no *timeout* is supplied, the
  93.        global default timeout setting returned by :func:`getdefaulttimeout`
  94.        is used.  If *source_address* is set it must be a tuple of (host, port)
  95.        for the socket to bind as a source address before making the connection.
  96.        An host of '' or port 0 tells the OS to use the default.
  97.        """
  98.    
  99.         host, port = address
  100.         if host.startswith('['):
  101.             host = host.strip('[]')
  102.         err = None
  103.         for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
  104.             af, socktype, proto, canonname, sa = res
  105.             sock = None
  106.             try:
  107.                 sock = socket.socket(af, socktype, proto)
  108.    
  109.                 # If provided, set socket level options before connecting.
  110.                 # This is the only addition urllib3 makes to this function.
  111.                 _set_socket_options(sock, socket_options)
  112.    
  113.                 if timeout is not socket._GLOBAL_DEFAULT_TIMEOUT:
  114.                     sock.settimeout(timeout)
  115.                 if source_address:
  116.                     sock.bind(source_address)
  117. >               sock.connect(sa)
  118. E               ConnectionRefusedError: [Errno 111] Connection refused
  119.  
  120. /opt/alt/python35/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py:81: ConnectionRefusedError
  121.  
  122. During handling of the above exception, another exception occurred:
  123.  
  124. self = <requests.packages.urllib3.connectionpool.HTTPConnectionPool object at 0x7f366300cb38>, method = 'GET', url = '/ready.html', body = None
  125. headers = {'Connection': 'keep-alive', 'User-Agent': 'python-requests/2.10.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*'}, retries = Retry(total=0, connect=None, read=False, redirect=None)
  126. redirect = False, assert_same_host = False, timeout = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f366300c7b8>, pool_timeout = None, release_conn = True, chunked = False
  127. response_kw = {'decode_content': False, 'preload_content': False}, conn = None, err = None, clean_exit = False, timeout_obj = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f366300c550>
  128. is_new_proxy_conn = False
  129.  
  130.     def urlopen(self, method, url, body=None, headers=None, retries=None,
  131.                 redirect=True, assert_same_host=True, timeout=_Default,
  132.                 pool_timeout=None, release_conn=None, chunked=False,
  133.                 **response_kw):
  134.         """
  135.        Get a connection from the pool and perform an HTTP request. This is the
  136.        lowest level call for making a request, so you'll need to specify all
  137.        the raw details.
  138.    
  139.        .. note::
  140.    
  141.           More commonly, it's appropriate to use a convenience method provided
  142.           by :class:`.RequestMethods`, such as :meth:`request`.
  143.    
  144.        .. note::
  145.    
  146.           `release_conn` will only behave as expected if
  147.           `preload_content=False` because we want to make
  148.           `preload_content=False` the default behaviour someday soon without
  149.           breaking backwards compatibility.
  150.    
  151.        :param method:
  152.            HTTP request method (such as GET, POST, PUT, etc.)
  153.    
  154.        :param body:
  155.            Data to send in the request body (useful for creating
  156.            POST requests, see HTTPConnectionPool.post_url for
  157.            more convenience).
  158.    
  159.        :param headers:
  160.            Dictionary of custom headers to send, such as User-Agent,
  161.            If-None-Match, etc. If None, pool headers are used. If provided,
  162.            these headers completely replace any pool-specific headers.
  163.    
  164.        :param retries:
  165.            Configure the number of retries to allow before raising a
  166.            :class:`~urllib3.exceptions.MaxRetryError` exception.
  167.    
  168.            Pass ``None`` to retry until you receive a response. Pass a
  169.            :class:`~urllib3.util.retry.Retry` object for fine-grained control
  170.            over different types of retries.
  171.            Pass an integer number to retry connection errors that many times,
  172.            but no other types of errors. Pass zero to never retry.
  173.    
  174.            If ``False``, then retries are disabled and any exception is raised
  175.            immediately. Also, instead of raising a MaxRetryError on redirects,
  176.            the redirect response will be returned.
  177.    
  178.        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
  179.    
  180.        :param redirect:
  181.            If True, automatically handle redirects (status codes 301, 302,
  182.            303, 307, 308). Each redirect counts as a retry. Disabling retries
  183.            will disable redirect, too.
  184.    
  185.        :param assert_same_host:
  186.            If ``True``, will make sure that the host of the pool requests is
  187.            consistent else will raise HostChangedError. When False, you can
  188.            use the pool on an HTTP proxy and request foreign hosts.
  189.    
  190.        :param timeout:
  191.            If specified, overrides the default timeout for this one
  192.            request. It may be a float (in seconds) or an instance of
  193.            :class:`urllib3.util.Timeout`.
  194.    
  195.        :param pool_timeout:
  196.            If set and the pool is set to block=True, then this method will
  197.            block for ``pool_timeout`` seconds and raise EmptyPoolError if no
  198.            connection is available within the time period.
  199.    
  200.        :param release_conn:
  201.            If False, then the urlopen call will not release the connection
  202.            back into the pool once a response is received (but will release if
  203.            you read the entire contents of the response such as when
  204.            `preload_content=True`). This is useful if you're not preloading
  205.            the response's content immediately. You will need to call
  206.            ``r.release_conn()`` on the response ``r`` to return the connection
  207.            back into the pool. If None, it takes the value of
  208.            ``response_kw.get('preload_content', True)``.
  209.    
  210.        :param chunked:
  211.            If True, urllib3 will send the body using chunked transfer
  212.            encoding. Otherwise, urllib3 will send the body using the standard
  213.            content-length form. Defaults to False.
  214.    
  215.        :param \**response_kw:
  216.            Additional parameters are passed to
  217.            :meth:`urllib3.response.HTTPResponse.from_httplib`
  218.        """
  219.         if headers is None:
  220.             headers = self.headers
  221.    
  222.         if not isinstance(retries, Retry):
  223.             retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
  224.    
  225.         if release_conn is None:
  226.             release_conn = response_kw.get('preload_content', True)
  227.    
  228.         # Check host
  229.         if assert_same_host and not self.is_same_host(url):
  230.             raise HostChangedError(self, url, retries)
  231.    
  232.         conn = None
  233.    
  234.         # Merge the proxy headers. Only do this in HTTP. We have to copy the
  235.         # headers dict so we can safely change it without those changes being
  236.         # reflected in anyone else's copy.
  237.         if self.scheme == 'http':
  238.             headers = headers.copy()
  239.             headers.update(self.proxy_headers)
  240.    
  241.         # Must keep the exception bound to a separate variable or else Python 3
  242.         # complains about UnboundLocalError.
  243.         err = None
  244.    
  245.         # Keep track of whether we cleanly exited the except block. This
  246.         # ensures we do proper cleanup in finally.
  247.         clean_exit = False
  248.    
  249.         try:
  250.             # Request a connection from the queue.
  251.             timeout_obj = self._get_timeout(timeout)
  252.             conn = self._get_conn(timeout=pool_timeout)
  253.    
  254.             conn.timeout = timeout_obj.connect_timeout
  255.    
  256.             is_new_proxy_conn = self.proxy is not None and not getattr(conn, 'sock', None)
  257.             if is_new_proxy_conn:
  258.                 self._prepare_proxy(conn)
  259.    
  260.             # Make the request on the httplib connection object.
  261.             httplib_response = self._make_request(conn, method, url,
  262.                                                   timeout=timeout_obj,
  263.                                                   body=body, headers=headers,
  264. >                                                 chunked=chunked)
  265.  
  266. /opt/alt/python35/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py:578:
  267. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  268.  
  269. self = <requests.packages.urllib3.connectionpool.HTTPConnectionPool object at 0x7f366300cb38>, conn = <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>, method = 'GET'
  270. url = '/ready.html', timeout = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f366300c550>, chunked = False
  271. httplib_request_kw = {'body': None, 'headers': {'Connection': 'keep-alive', 'User-Agent': 'python-requests/2.10.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*'}}
  272. timeout_obj = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f366300c518>
  273.  
  274.     def _make_request(self, conn, method, url, timeout=_Default, chunked=False,
  275.                       **httplib_request_kw):
  276.         """
  277.        Perform a request on a given urllib connection object taken from our
  278.        pool.
  279.    
  280.        :param conn:
  281.            a connection from one of our connection pools
  282.    
  283.        :param timeout:
  284.            Socket timeout in seconds for the request. This can be a
  285.            float or integer, which will set the same timeout value for
  286.            the socket connect and the socket read, or an instance of
  287.            :class:`urllib3.util.Timeout`, which gives you more fine-grained
  288.            control over your timeouts.
  289.        """
  290.         self.num_requests += 1
  291.    
  292.         timeout_obj = self._get_timeout(timeout)
  293.         timeout_obj.start_connect()
  294.         conn.timeout = timeout_obj.connect_timeout
  295.    
  296.         # Trigger any extra validation we need to do.
  297.         try:
  298.             self._validate_conn(conn)
  299.         except (SocketTimeout, BaseSSLError) as e:
  300.             # Py2 raises this as a BaseSSLError, Py3 raises it as socket timeout.
  301.             self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
  302.             raise
  303.    
  304.         # conn.request() calls httplib.*.request, not the method in
  305.         # urllib3.request. It also calls makefile (recv) on the socket.
  306.         if chunked:
  307.             conn.request_chunked(method, url, **httplib_request_kw)
  308.         else:
  309. >           conn.request(method, url, **httplib_request_kw)
  310.  
  311. /opt/alt/python35/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py:362:
  312. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  313.  
  314. self = <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>, method = 'GET', url = '/ready.html', body = None
  315. headers = {'Connection': 'keep-alive', 'User-Agent': 'python-requests/2.10.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*'}
  316.  
  317.     def request(self, method, url, body=None, headers={}):
  318.         """Send a complete request to the server."""
  319. >       self._send_request(method, url, body, headers)
  320.  
  321. /opt/alt/python35/lib64/python3.5/http/client.py:1107:
  322. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  323.  
  324. self = <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>, method = 'GET', url = '/ready.html', body = None
  325. headers = {'Connection': 'keep-alive', 'User-Agent': 'python-requests/2.10.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*'}
  326.  
  327.     def _send_request(self, method, url, body, headers):
  328.         # Honor explicitly requested Host: and Accept-Encoding: headers.
  329.         header_names = dict.fromkeys([k.lower() for k in headers])
  330.         skips = {}
  331.         if 'host' in header_names:
  332.             skips['skip_host'] = 1
  333.         if 'accept-encoding' in header_names:
  334.             skips['skip_accept_encoding'] = 1
  335.    
  336.         self.putrequest(method, url, **skips)
  337.    
  338.         if 'content-length' not in header_names:
  339.             self._set_content_length(body, method)
  340.         for hdr, value in headers.items():
  341.             self.putheader(hdr, value)
  342.         if isinstance(body, str):
  343.             # RFC 2616 Section 3.7.1 says that text default has a
  344.             # default charset of iso-8859-1.
  345.             body = _encode(body, 'body')
  346. >       self.endheaders(body)
  347.  
  348. /opt/alt/python35/lib64/python3.5/http/client.py:1152:
  349. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  350.  
  351. self = <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>, message_body = None
  352.  
  353.     def endheaders(self, message_body=None):
  354.         """Indicate that the last header line has been sent to the server.
  355.    
  356.        This method sends the request to the server.  The optional message_body
  357.        argument can be used to pass a message body associated with the
  358.        request.  The message body will be sent in the same packet as the
  359.        message headers if it is a string, otherwise it is sent as a separate
  360.        packet.
  361.        """
  362.         if self.__state == _CS_REQ_STARTED:
  363.             self.__state = _CS_REQ_SENT
  364.         else:
  365.             raise CannotSendHeader()
  366. >       self._send_output(message_body)
  367.  
  368. /opt/alt/python35/lib64/python3.5/http/client.py:1103:
  369. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  370.  
  371. self = <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>, message_body = None
  372.  
  373.     def _send_output(self, message_body=None):
  374.         """Send the currently buffered request and clear the buffer.
  375.    
  376.        Appends an extra \\r\\n to the buffer.
  377.        A message_body may be specified, to be appended to the request.
  378.        """
  379.         self._buffer.extend((b"", b""))
  380.         msg = b"\r\n".join(self._buffer)
  381.         del self._buffer[:]
  382.    
  383. >       self.send(msg)
  384.  
  385. /opt/alt/python35/lib64/python3.5/http/client.py:934:
  386. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  387.  
  388. self = <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>
  389. data = b'GET /ready.html HTTP/1.1\r\nHost: rosario-mills.biz\r\nConnection: keep-alive\r\nUser-Agent: python-requests/2.10.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\n\r\n'
  390.  
  391.     def send(self, data):
  392.         """Send `data' to the server.
  393.        ``data`` can be a string object, a bytes object, an array object, a
  394.        file-like object that supports a .read() method, or an iterable object.
  395.        """
  396.    
  397.        if self.sock is None:
  398.            if self.auto_open:
  399. >               self.connect()
  400.  
  401. /opt/alt/python35/lib64/python3.5/http/client.py:877:
  402. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  403.  
  404. self = <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>
  405.  
  406.    def connect(self):
  407. >       conn = self._new_conn()
  408.  
  409. /opt/alt/python35/lib/python3.5/site-packages/requests/packages/urllib3/connection.py:167:
  410. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  411.  
  412. self = <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>
  413.  
  414.    def _new_conn(self):
  415.        """ Establish a socket connection and set nodelay settings on it.
  416.    
  417.        :return: New socket connection.
  418.        """
  419.        extra_kw = {}
  420.        if self.source_address:
  421.            extra_kw['source_address'] = self.source_address
  422.    
  423.        if self.socket_options:
  424.            extra_kw['socket_options'] = self.socket_options
  425.    
  426.        try:
  427.            conn = connection.create_connection(
  428.                (self.host, self.port), self.timeout, **extra_kw)
  429.    
  430.        except SocketTimeout as e:
  431.            raise ConnectTimeoutError(
  432.                self, "Connection to %s timed out. (connect timeout=%s)" %
  433.                (self.host, self.timeout))
  434.    
  435.        except SocketError as e:
  436.            raise NewConnectionError(
  437. >               self, "Failed to establish a new connection: %s" % e)
  438. E           requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>: Failed to establish a new connection: [Errno 111] Connection refused
  439.  
  440. /opt/alt/python35/lib/python3.5/site-packages/requests/packages/urllib3/connection.py:151: NewConnectionError
  441.  
  442. During handling of the above exception, another exception occurred:
  443.  
  444. self = <requests.adapters.HTTPAdapter object at 0x7f366300c630>, request = <PreparedRequest [GET]>, stream = False, timeout = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f366300c7b8>
  445. verify = True, cert = None, proxies = OrderedDict()
  446.  
  447.    def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
  448.        """Sends PreparedRequest object. Returns Response object.
  449.    
  450.        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
  451.        :param stream: (optional) Whether to stream the request content.
  452.        :param timeout: (optional) How long to wait for the server to send
  453.            data before giving up, as a float, or a :ref:`(connect timeout,
  454.            read timeout) <timeouts>` tuple.
  455.        :type timeout: float or tuple
  456.        :param verify: (optional) Whether to verify SSL certificates.
  457.        :param cert: (optional) Any user-provided SSL certificate to be trusted.
  458.        :param proxies: (optional) The proxies dictionary to apply to the request.
  459.        """
  460.    
  461.        conn = self.get_connection(request.url, proxies)
  462.    
  463.        self.cert_verify(conn, request.url, verify, cert)
  464.        url = self.request_url(request, proxies)
  465.        self.add_headers(request)
  466.    
  467.        chunked = not (request.body is None or 'Content-Length' in request.headers)
  468.    
  469.        if isinstance(timeout, tuple):
  470.            try:
  471.                connect, read = timeout
  472.                timeout = TimeoutSauce(connect=connect, read=read)
  473.            except ValueError as e:
  474.                # this may raise a string formatting error.
  475.                err = ("Invalid timeout {0}. Pass a (connect, read) "
  476.                       "timeout tuple, or a single float to set "
  477.                       "both timeouts to the same value".format(timeout))
  478.                raise ValueError(err)
  479.        else:
  480.            timeout = TimeoutSauce(connect=timeout, read=timeout)
  481.    
  482.        try:
  483.            if not chunked:
  484.                resp = conn.urlopen(
  485.                    method=request.method,
  486.                    url=url,
  487.                    body=request.body,
  488.                    headers=request.headers,
  489.                    redirect=False,
  490.                    assert_same_host=False,
  491.                    preload_content=False,
  492.                    decode_content=False,
  493.                    retries=self.max_retries,
  494. >                   timeout=timeout
  495.                )
  496.  
  497. /opt/alt/python35/lib/python3.5/site-packages/requests/adapters.py:403:
  498. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  499.  
  500. self = <requests.packages.urllib3.connectionpool.HTTPConnectionPool object at 0x7f366300cb38>, method = 'GET', url = '/ready.html', body = None
  501. headers = {'Connection': 'keep-alive', 'User-Agent': 'python-requests/2.10.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*'}, retries = Retry(total=0, connect=None, read=False, redirect=None)
  502. redirect = False, assert_same_host = False, timeout = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f366300c7b8>, pool_timeout = None, release_conn = True, chunked = False
  503. response_kw = {'decode_content': False, 'preload_content': False}, conn = None, err = None, clean_exit = False, timeout_obj = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f366300c550>
  504. is_new_proxy_conn = False
  505.  
  506.    def urlopen(self, method, url, body=None, headers=None, retries=None,
  507.                redirect=True, assert_same_host=True, timeout=_Default,
  508.                pool_timeout=None, release_conn=None, chunked=False,
  509.                **response_kw):
  510.        """
  511.        Get a connection from the pool and perform an HTTP request. This is the
  512.        lowest level call for making a request, so you'll need to specify all
  513.        the raw details.
  514.    
  515.        .. note::
  516.    
  517.           More commonly, it's appropriate to use a convenience method provided
  518.           by :class:`.RequestMethods`, such as :meth:`request`.
  519.    
  520.        .. note::
  521.    
  522.           `release_conn` will only behave as expected if
  523.           `preload_content=False` because we want to make
  524.           `preload_content=False` the default behaviour someday soon without
  525.           breaking backwards compatibility.
  526.    
  527.        :param method:
  528.            HTTP request method (such as GET, POST, PUT, etc.)
  529.    
  530.        :param body:
  531.            Data to send in the request body (useful for creating
  532.            POST requests, see HTTPConnectionPool.post_url for
  533.            more convenience).
  534.    
  535.        :param headers:
  536.            Dictionary of custom headers to send, such as User-Agent,
  537.            If-None-Match, etc. If None, pool headers are used. If provided,
  538.            these headers completely replace any pool-specific headers.
  539.    
  540.        :param retries:
  541.            Configure the number of retries to allow before raising a
  542.            :class:`~urllib3.exceptions.MaxRetryError` exception.
  543.    
  544.            Pass ``None`` to retry until you receive a response. Pass a
  545.            :class:`~urllib3.util.retry.Retry` object for fine-grained control
  546.            over different types of retries.
  547.            Pass an integer number to retry connection errors that many times,
  548.            but no other types of errors. Pass zero to never retry.
  549.    
  550.            If ``False``, then retries are disabled and any exception is raised
  551.            immediately. Also, instead of raising a MaxRetryError on redirects,
  552.            the redirect response will be returned.
  553.    
  554.        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
  555.    
  556.        :param redirect:
  557.            If True, automatically handle redirects (status codes 301, 302,
  558.            303, 307, 308). Each redirect counts as a retry. Disabling retries
  559.            will disable redirect, too.
  560.    
  561.        :param assert_same_host:
  562.            If ``True``, will make sure that the host of the pool requests is
  563.            consistent else will raise HostChangedError. When False, you can
  564.            use the pool on an HTTP proxy and request foreign hosts.
  565.    
  566.        :param timeout:
  567.            If specified, overrides the default timeout for this one
  568.            request. It may be a float (in seconds) or an instance of
  569.            :class:`urllib3.util.Timeout`.
  570.    
  571.        :param pool_timeout:
  572.            If set and the pool is set to block=True, then this method will
  573.            block for ``pool_timeout`` seconds and raise EmptyPoolError if no
  574.            connection is available within the time period.
  575.    
  576.        :param release_conn:
  577.            If False, then the urlopen call will not release the connection
  578.            back into the pool once a response is received (but will release if
  579.            you read the entire contents of the response such as when
  580.            `preload_content=True`). This is useful if you're not preloading
  581.            the response's content immediately. You will need to call
  582.            ``r.release_conn()`` on the response ``r`` to return the connection
  583.            back into the pool. If None, it takes the value of
  584.            ``response_kw.get('preload_content', True)``.
  585.    
  586.        :param chunked:
  587.            If True, urllib3 will send the body using chunked transfer
  588.            encoding. Otherwise, urllib3 will send the body using the standard
  589.            content-length form. Defaults to False.
  590.    
  591.        :param \**response_kw:
  592.            Additional parameters are passed to
  593.            :meth:`urllib3.response.HTTPResponse.from_httplib`
  594.        """
  595.        if headers is None:
  596.            headers = self.headers
  597.    
  598.        if not isinstance(retries, Retry):
  599.            retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
  600.    
  601.        if release_conn is None:
  602.            release_conn = response_kw.get('preload_content', True)
  603.    
  604.        # Check host
  605.        if assert_same_host and not self.is_same_host(url):
  606.            raise HostChangedError(self, url, retries)
  607.    
  608.        conn = None
  609.    
  610.        # Merge the proxy headers. Only do this in HTTP. We have to copy the
  611.        # headers dict so we can safely change it without those changes being
  612.        # reflected in anyone else's copy.
  613.        if self.scheme == 'http':
  614.            headers = headers.copy()
  615.            headers.update(self.proxy_headers)
  616.    
  617.        # Must keep the exception bound to a separate variable or else Python 3
  618.        # complains about UnboundLocalError.
  619.        err = None
  620.    
  621.        # Keep track of whether we cleanly exited the except block. This
  622.        # ensures we do proper cleanup in finally.
  623.        clean_exit = False
  624.    
  625.        try:
  626.            # Request a connection from the queue.
  627.            timeout_obj = self._get_timeout(timeout)
  628.            conn = self._get_conn(timeout=pool_timeout)
  629.    
  630.            conn.timeout = timeout_obj.connect_timeout
  631.    
  632.            is_new_proxy_conn = self.proxy is not None and not getattr(conn, 'sock', None)
  633.            if is_new_proxy_conn:
  634.                self._prepare_proxy(conn)
  635.    
  636.            # Make the request on the httplib connection object.
  637.            httplib_response = self._make_request(conn, method, url,
  638.                                                  timeout=timeout_obj,
  639.                                                  body=body, headers=headers,
  640.                                                  chunked=chunked)
  641.    
  642.            # If we're going to release the connection in ``finally:``, then
  643.            # the response doesn't need to know about the connection. Otherwise
  644.            # it will also try to release it and we'll have a double-release
  645.            # mess.
  646.            response_conn = conn if not release_conn else None
  647.    
  648.            # Import httplib's response into our own wrapper object
  649.            response = HTTPResponse.from_httplib(httplib_response,
  650.                                                 pool=self,
  651.                                                 connection=response_conn,
  652.                                                 **response_kw)
  653.    
  654.            # Everything went great!
  655.            clean_exit = True
  656.    
  657.        except Empty:
  658.            # Timed out by queue.
  659.            raise EmptyPoolError(self, "No pool connections are available.")
  660.    
  661.        except (BaseSSLError, CertificateError) as e:
  662.            # Close the connection. If a connection is reused on which there
  663.            # was a Certificate error, the next request will certainly raise
  664.            # another Certificate error.
  665.            clean_exit = False
  666.            raise SSLError(e)
  667.    
  668.        except SSLError:
  669.            # Treat SSLError separately from BaseSSLError to preserve
  670.            # traceback.
  671.            clean_exit = False
  672.            raise
  673.    
  674.        except (TimeoutError, HTTPException, SocketError, ProtocolError) as e:
  675.            # Discard the connection for these exceptions. It will be
  676.            # be replaced during the next _get_conn() call.
  677.            clean_exit = False
  678.    
  679.            if isinstance(e, (SocketError, NewConnectionError)) and self.proxy:
  680.                e = ProxyError('Cannot connect to proxy.', e)
  681.            elif isinstance(e, (SocketError, HTTPException)):
  682.                e = ProtocolError('Connection aborted.', e)
  683.    
  684.            retries = retries.increment(method, url, error=e, _pool=self,
  685. >                                       _stacktrace=sys.exc_info()[2])
  686.  
  687. /opt/alt/python35/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py:623:
  688. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  689.  
  690. self = Retry(total=0, connect=None, read=False, redirect=None), method = 'GET', url = '/ready.html', response = None
  691. error = NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>: Failed to establish a new connection: [Errno 111] Connection refused',)
  692. _pool = <requests.packages.urllib3.connectionpool.HTTPConnectionPool object at 0x7f366300cb38>, _stacktrace = <traceback object at 0x7f3663014b88>
  693.  
  694.    def increment(self, method=None, url=None, response=None, error=None,
  695.                  _pool=None, _stacktrace=None):
  696.        """ Return a new Retry object with incremented retry counters.
  697.    
  698.        :param response: A response object, or None, if the server did not
  699.            return a response.
  700.        :type response: :class:`~urllib3.response.HTTPResponse`
  701.        :param Exception error: An error encountered during the request, or
  702.            None if the response was received successfully.
  703.    
  704.        :return: A new ``Retry`` object.
  705.        """
  706.        if self.total is False and error:
  707.            # Disabled, indicate to re-raise the error.
  708.            raise six.reraise(type(error), error, _stacktrace)
  709.    
  710.        total = self.total
  711.        if total is not None:
  712.            total -= 1
  713.    
  714.        _observed_errors = self._observed_errors
  715.        connect = self.connect
  716.        read = self.read
  717.        redirect = self.redirect
  718.        cause = 'unknown'
  719.    
  720.        if error and self._is_connection_error(error):
  721.            # Connect retry?
  722.            if connect is False:
  723.                raise six.reraise(type(error), error, _stacktrace)
  724.            elif connect is not None:
  725.                connect -= 1
  726.            _observed_errors += 1
  727.    
  728.        elif error and self._is_read_error(error):
  729.            # Read retry?
  730.            if read is False:
  731.                raise six.reraise(type(error), error, _stacktrace)
  732.            elif read is not None:
  733.                read -= 1
  734.            _observed_errors += 1
  735.    
  736.        elif response and response.get_redirect_location():
  737.            # Redirect retry?
  738.            if redirect is not None:
  739.                redirect -= 1
  740.            cause = 'too many redirects'
  741.    
  742.        else:
  743.            # Incrementing because of a server error like a 500 in
  744.            # status_forcelist and a the given method is in the whitelist
  745.            _observed_errors += 1
  746.            cause = ResponseError.GENERIC_ERROR
  747.            if response and response.status:
  748.                cause = ResponseError.SPECIFIC_ERROR.format(
  749.                    status_code=response.status)
  750.    
  751.        new_retry = self.new(
  752.            total=total,
  753.            connect=connect, read=read, redirect=redirect,
  754.            _observed_errors=_observed_errors)
  755.    
  756.        if new_retry.is_exhausted():
  757. >           raise MaxRetryError(_pool, url, error or ResponseError(cause))
  758. E           requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rosario-mills.biz', port=80): Max retries exceeded with url: /ready.html (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>: Failed to establish a new connection: [Errno 111] Connection refused',))
  759.  
  760. /opt/alt/python35/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py:281: MaxRetryError
  761.  
  762. During handling of the above exception, another exception occurred:
  763.  
  764.    @skip_antivirus_mode
  765.    @pytest.mark.case_id(3834)
  766.    def test_modsec_rule_disabled_global():
  767.        # 1. enable rule
  768.        # 2. send request, get 403 error
  769.        # 3. look for incident in UI output (cli get)
  770.        # 4. disable rule by cli command
  771.        # 5. send request, and not get 403 error
  772.    
  773.        ns = NetworkNamespaceHelper()
  774.    
  775. >       user1 = current_panel.create_account()
  776.  
  777. test_modsec_rules_disabling.py:65:
  778. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  779. utils/__init__.py:499: in wrapper
  780.    return func(*args, **kwargs)
  781. fixtures/hosting_panel.py:485: in create_account
  782.    username, domain, plan=plan, ip=ip)
  783. fixtures/hosting_panel.py:475: in _create_account_with_domain
  784.    self._wait_for_vhost(acc['domain'], acc['webroot'])
  785. utils/__init__.py:499: in wrapper
  786.    return func(*args, **kwargs)
  787. fixtures/hosting_panel.py:192: in _wait_for_vhost
  788.    finally_succeeded(vhost_ready, timeout=90, pause=3)
  789. utils/__init__.py:368: in finally_succeeded
  790.    return callable()
  791. fixtures/hosting_panel.py:185: in vhost_ready
  792.    response = requests.get(url)
  793. /opt/alt/python35/lib/python3.5/site-packages/requests/api.py:71: in get
  794.    return request('get', url, params=params, **kwargs)
  795. /opt/alt/python35/lib/python3.5/site-packages/requests/api.py:57: in request
  796.    return session.request(method=method, url=url, **kwargs)
  797. /opt/alt/python35/lib/python3.5/site-packages/requests/sessions.py:475: in request
  798.    resp = self.send(prep, **send_kwargs)
  799. /opt/alt/python35/lib/python3.5/site-packages/requests/sessions.py:585: in send
  800.    r = adapter.send(request, **kwargs)
  801. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  802.  
  803. self = <requests.adapters.HTTPAdapter object at 0x7f366300c630>, request = <PreparedRequest [GET]>, stream = False, timeout = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f366300c7b8>
  804. verify = True, cert = None, proxies = OrderedDict()
  805.  
  806.    def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
  807.        """Sends PreparedRequest object. Returns Response object.
  808.    
  809.        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
  810.        :param stream: (optional) Whether to stream the request content.
  811.        :param timeout: (optional) How long to wait for the server to send
  812.            data before giving up, as a float, or a :ref:`(connect timeout,
  813.            read timeout) <timeouts>` tuple.
  814.        :type timeout: float or tuple
  815.        :param verify: (optional) Whether to verify SSL certificates.
  816.        :param cert: (optional) Any user-provided SSL certificate to be trusted.
  817.        :param proxies: (optional) The proxies dictionary to apply to the request.
  818.        """
  819.    
  820.         conn = self.get_connection(request.url, proxies)
  821.    
  822.         self.cert_verify(conn, request.url, verify, cert)
  823.         url = self.request_url(request, proxies)
  824.         self.add_headers(request)
  825.    
  826.         chunked = not (request.body is None or 'Content-Length' in request.headers)
  827.    
  828.         if isinstance(timeout, tuple):
  829.             try:
  830.                 connect, read = timeout
  831.                 timeout = TimeoutSauce(connect=connect, read=read)
  832.             except ValueError as e:
  833.                 # this may raise a string formatting error.
  834.                 err = ("Invalid timeout {0}. Pass a (connect, read) "
  835.                        "timeout tuple, or a single float to set "
  836.                        "both timeouts to the same value".format(timeout))
  837.                 raise ValueError(err)
  838.         else:
  839.             timeout = TimeoutSauce(connect=timeout, read=timeout)
  840.    
  841.         try:
  842.             if not chunked:
  843.                 resp = conn.urlopen(
  844.                     method=request.method,
  845.                     url=url,
  846.                     body=request.body,
  847.                     headers=request.headers,
  848.                     redirect=False,
  849.                     assert_same_host=False,
  850.                     preload_content=False,
  851.                     decode_content=False,
  852.                     retries=self.max_retries,
  853.                     timeout=timeout
  854.                 )
  855.    
  856.             # Send the request.
  857.             else:
  858.                 if hasattr(conn, 'proxy_pool'):
  859.                     conn = conn.proxy_pool
  860.    
  861.                 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
  862.    
  863.                 try:
  864.                     low_conn.putrequest(request.method,
  865.                                         url,
  866.                                         skip_accept_encoding=True)
  867.    
  868.                     for header, value in request.headers.items():
  869.                         low_conn.putheader(header, value)
  870.    
  871.                     low_conn.endheaders()
  872.    
  873.                     for i in request.body:
  874.                         low_conn.send(hex(len(i))[2:].encode('utf-8'))
  875.                         low_conn.send(b'\r\n')
  876.                         low_conn.send(i)
  877.                         low_conn.send(b'\r\n')
  878.                     low_conn.send(b'0\r\n\r\n')
  879.    
  880.                     # Receive the response from the server
  881.                     try:
  882.                         # For Python 2.7+ versions, use buffering of HTTP
  883.                         # responses
  884.                         r = low_conn.getresponse(buffering=True)
  885.                     except TypeError:
  886.                         # For compatibility with Python 2.6 versions and back
  887.                         r = low_conn.getresponse()
  888.    
  889.                     resp = HTTPResponse.from_httplib(
  890.                         r,
  891.                         pool=conn,
  892.                         connection=low_conn,
  893.                         preload_content=False,
  894.                         decode_content=False
  895.                     )
  896.                 except:
  897.                     # If we hit any problems here, clean up the connection.
  898.                     # Then, reraise so that we can handle the actual exception.
  899.                     low_conn.close()
  900.                     raise
  901.    
  902.         except (ProtocolError, socket.error) as err:
  903.             raise ConnectionError(err, request=request)
  904.    
  905.         except MaxRetryError as e:
  906.             if isinstance(e.reason, ConnectTimeoutError):
  907.                 # TODO: Remove this in 3.0.0: see #2811
  908.                 if not isinstance(e.reason, NewConnectionError):
  909.                     raise ConnectTimeout(e, request=request)
  910.    
  911.             if isinstance(e.reason, ResponseError):
  912.                 raise RetryError(e, request=request)
  913.    
  914.             if isinstance(e.reason, _ProxyError):
  915.                 raise ProxyError(e, request=request)
  916.    
  917. >           raise ConnectionError(e, request=request)
  918. E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='rosario-mills.biz', port=80): Max retries exceeded with url: /ready.html (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f366300c2b0>: Failed to establish a new connection: [Errno 111] Connection refused',))
  919.  
  920. /opt/alt/python35/lib/python3.5/site-packages/requests/adapters.py:467: ConnectionError
  921. ------------------------------------------------------------------------ generated xml file: /root/defence360/src/rpm-tests/report.xml -------------------------------------------------------------------------
  922. ================================================================================== 1 failed, 145 deselected in 36.46 seconds ===================================================================================
  923. [root@cl7x64 rpm-tests]# systemctl status imunify360
  924. ● imunify360.service - Imunify360 agent
  925.    Loaded: loaded (/usr/lib/systemd/system/imunify360.service; disabled; vendor preset: disabled)
  926.    Active: active (running) since Thu 2019-06-27 10:49:10 UTC; 2h 57min ago
  927.  Main PID: 32506 (python3)
  928.    CGroup: /system.slice/imunify360.service
  929.            ├─32506 /opt/alt/python35/bin/python3 -m im360.run --daemon --pidfile /var/run/imunify360.pid
  930.            ├─32539 /usr/bin/tail --follow=name -n0 --retry /usr/local/cpanel/logs/cphulkd.log
  931.            ├─32540 /usr/bin/tail --follow=name -n0 --retry /etc/apache2/logs/modsec_audit.log
  932.            └─32542 /usr/bin/tail --follow=name -n0 --retry /var/ossec/logs/alerts/alerts.json
  933.  
  934. Jun 27 10:49:04 cl7x64.cltest.com systemd[1]: Starting Imunify360 agent...
  935. Jun 27 10:49:05 cl7x64.cltest.com imunify-service[32506]: Starting migrations
  936. Jun 27 10:49:05 cl7x64.cltest.com imunify-service[32506]: There is nothing to migrate
  937. Jun 27 10:49:10 cl7x64.cltest.com systemd[1]: Started Imunify360 agent.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement