Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error 500 on test_085_create_and_remove_ten_circuit_concurrently (needs more stress test) #182

Open
viniarck opened this issue Nov 10, 2022 · 0 comments

Comments

@viniarck
Copy link
Member

viniarck commented Nov 10, 2022

I encountered this internal error 500 when re-running some tests, unfortunately in this execution looks like the logs weren't captured to narrow down more specifically but at least we know that it was during concurrent EVCs creation, it's worth keeping an eye on this test_085_create_and_remove_ten_circuit_concurrently and stress test it

tests/test_e2e_10_mef_eline.py::TestE2EMefEline::test_085_create_and_remove_ten_circuit_concurrently
  /usr/local/lib/python3.9/dist-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-5
  
  Traceback (most recent call last):
    File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
      self.run()
    File "/usr/lib/python3.9/threading.py", line 892, in run
      self._target(*self._args, **self._kwargs)
    File "/builds/amlight/kytos-end-to-end-tester/kytos-end-to-end-tests/tests/test_e2e_10_mef_eline.py", line 78, in create_evc
      assert response.status_code == 201, response.text
  AssertionError: {"code":500,"description":"The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.","name":"Internal Server Error"}
    
  assert 500 == 201
   +  where 500 = <Response [500]>.status_code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant