Open PengZheng opened 1 year ago
The output of HttpAndWebsocketTestSuite.http_get_incex_test is the following:
HttpAndWebsocketTestSuite.http_get_incex_test
18: [ RUN ] HttpAndWebsocketTestSuite.http_get_incex_test 18: [2023-05-12T00:19:35] [ info] [celix_framework] [framework_start:488] Celix framework started 18: [2023-05-12T00:19:35] [ trace] [celix_framework] [framework_start:489] Celix framework started with uuid a03837b1-39f3-42d3-80e9-5af512f52a03 18: [2023-05-12T00:19:35] [ trace] [celix_framework] [celix_bundleCache_updateIdForLocationLookupMap:246] Adding location /home/runner/work/celix/celix/build/bundles/http_admin/gtest/http_admin_sut-Debug.zip -> bnd id 2 to lookup map 18: [2023-05-12T00:19:35] [ trace] [celix_framework] [celix_bundleCache_updateIdForLocationLookupMap:246] Adding location /home/runner/work/celix/celix/build/bundles/http_admin/http_admin/celix_http_admin-Debug.zip -> bnd id 1 to lookup map 18: [2023-05-12T00:19:35] [ trace] [celix_framework] [celix_bundleArchive_createCacheDirectory:139] Bundle archive root for bundle id 1 already exists. 18: [2023-05-12T00:19:35] [ trace] [celix_framework] [celix_bundleArchive_extractBundle:108] Bundle archive /home/runner/work/celix/celix/build/bundles/http_admin/http_admin/celix_http_admin-Debug.zip is up to date, no need to extract bundle. 18: [2023-05-12T00:19:35] [ debug] [celix_framework] Using http root directory .cache/bundle1/storage/root 18: *** 1683850775.513945608 140309132958720 mg_start2:19720: [document_root] -> [.cache/bundle1/storage/root] 18: *** 1683850775.513959708 140309132958720 mg_start2:19720: [listening_ports] -> [45111] 18: *** 1683850775.513963508 140309132958720 mg_start2:19720: [websocket_timeout_ms] -> [3600000] 18: *** 1683850775.513968408 140309132958720 mg_start2:19720: [websocket_root] -> [.cache/bundle1/storage/root] 18: *** 1683850775.513971708 140309132958720 mg_start2:19720: [num_threads] -> [1] 18: *** 1683850775.514472416 140309132958720 mg_cry_internal_impl:3374: mg_cry called from set_ports_option:15076: cannot bind to 45111: 98 (Address already in use) 18: *** 1683850775.514497916 140309132958720 mg_cry_internal_impl:3374: mg_cry called from mg_start2:19984: Failed to setup server ports 18: *** 1683850775.514777621 140309132958720 mg_start2:19720: [document_root] -> [.cache/bundle1/storage/root] 18: *** 1683850775.514788321 140309132958720 mg_start2:19720: [listening_ports] -> [8000] 18: *** 1683850775.514792121 140309132958720 mg_start2:19720: [websocket_timeout_ms] -> [3600000] 18: *** 1683850775.514796321 140309132958720 mg_start2:19720: [websocket_root] -> [.cache/bundle1/storage/root] 18: *** 1683850775.514799521 140309132958720 mg_start2:19720: [num_threads] -> [1] 18: *** 1683850775.515413731 140309086668544 consume_socket:18735: going idle 18: HTTP Admin started at port 8000 18: [2023-05-12T00:19:35] [ trace] [celix_framework] No aliases found for bundle apache_celix_http_admin 18: [2023-05-12T00:19:35] [ trace] [celix_framework] [celix_bundleArchive_createCacheDirectory:139] Bundle archive root for bundle id 2 already exists. 18: [2023-05-12T00:19:35] [ trace] [celix_framework] [celix_bundleArchive_extractBundle:108] Bundle archive /home/runner/work/celix/celix/build/bundles/http_admin/gtest/http_admin_sut-Debug.zip is up to date, no need to extract bundle. 18: /home/runner/work/celix/celix/bundles/http_admin/gtest/src/http_websocket_tests.cc:79: Failure 18: Expected equality of these values: 18: expectedReturnCode 18: Which is: 200 18: response_info->status_code 18: Which is: 400 18: Unexpected return code for request: GET / HTTP/1.1 18: 18: 18: [2023-05-12T00:19:35] [ trace] [celix_framework] [frameworkActivator_stop:1508] Start shutdown thread for framework a03837b1-39f3-42d3-80e9-5af512f52a03 18: [2023-05-12T00:19:35] [ trace] [celix_framework] [framework_shutdown:1172] Celix framework shutting down 18: *** 1683850777.518949380 140309086865152 master_thread_run:19256: stopping workers 18: *** 1683850777.519051181 140309086668544 worker_thread_run:19030: exiting 18: *** 1683850777.519152483 140309086865152 master_thread_run:19307: exiting Warning: -05-12T00:19:37] [warning] [celix_framework] [fw_refreshBundle:706] Cannot refresh bundle 2 Warning: -05-12T00:19:37] [warning] [celix_framework] [fw_refreshBundle:706] Cannot refresh bundle 1 18: [2023-05-12T00:19:37] [ trace] [celix_framework] [framework_shutdown:1230] Joined event loop thread for framework a03837b1-39f3-42d3-80e9-5af512f52a03 18: [ FAILED ] HttpAndWebsocketTestSuite.http_get_incex_test (2020 ms)
The output of
HttpAndWebsocketTestSuite.http_get_incex_test
is the following: