tempesta-tech / tempesta-test

Test suite for Tempesta FW
10 stars 4 forks source link

Check some tests in t_sites.test_wordpress #384

Closed EvgeniiMekhanik closed 1 year ago

EvgeniiMekhanik commented 1 year ago

After fix #1690 in tempesta, most of the tests in t_sites.test_wordpress are passed. But some tests failed with strange errors:

const-t commented 1 year ago

Error on CI:

======================================================================
FAIL: test_get_admin_resource_with_assets (t_sites.test_wordpress.TestWordpressSiteH2) [GET] (uri='/wp-admin/index.php')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/workspace/Run tests/tempesta-test/t_sites/test_wordpress.py", line 573, in test_get_admin_resource_with_assets
    self.assertFalse(client.response_msg)
AssertionError: '/bin/sh: 1: nghttp: not found\n' is not false
pale-emperor commented 1 year ago

Error on CI:

======================================================================
FAIL: test_get_admin_resource_with_assets (t_sites.test_wordpress.TestWordpressSiteH2) [GET] (uri='/wp-admin/index.php')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/workspace/Run tests/tempesta-test/t_sites/test_wordpress.py", line 573, in test_get_admin_resource_with_assets
    self.assertFalse(client.response_msg)
AssertionError: '/bin/sh: 1: nghttp: not found\n' is not false

I had installed nghttp client, but test still got many errors like:

Traceback (most recent call last):
  File "/home/wh1te/tempesta-test/t_sites/test_wordpress.py", line 572, in test_get_admin_resource_with_assets
    self.assertNotIn("Some requests were not processed", client.response_msg)
AssertionError: 'Some requests were not processed' unexpectedly found in 'Some requests were not processed. total=1, processed=0\n'