Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !733

Fix jstesnode software release test random failure

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge fix/jstesnode-sr-random-failure into master Apr 15, 2020
  • Overview 2
  • Commits 2
  • Pipelines 1
  • Changes 2

Fix this random failure we sometimes have, like here by adding a promise so that test does not try to connect to a nginx that's not started yet

======================================================================
ERROR: test (test.TestJSTestNode)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "parts/slapos-repository/software/jstestnode/test/test.py", line 60, in test
    '%sjio/test/tests.html' % (connection_dict['nginx'], ), allow_redirects=False)
  File "eggs/requests-2.20.0-py2.7.egg/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "eggs/requests-2.20.0-py2.7.egg/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "eggs/requests-2.20.0-py2.7.egg/requests/sessions.py", line 524, in request
    resp = self.send(prep, **send_kwargs)
  File "eggs/requests-2.20.0-py2.7.egg/requests/sessions.py", line 637, in send
    r = adapter.send(request, **kwargs)
  File "eggs/requests-2.20.0-py2.7.egg/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='::1', port=9443): Max retries exceeded with url: /jio/test/tests.html (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b01f4b310>: Failed to establish a new connection: [Errno 111] Connection refused',))
Edited Apr 15, 2020 by Jérome Perrin
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/jstesnode-sr-random-failure
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7