Skip to content

HTTP server tests broken on master in network sandbox #10722

@Al2Klimov

Description

@Al2Klimov

Describe the bug

88% tests passed, 25 tests failed out of 209

To Reproduce

with import <nixpkgs> {}; icinga2.overrideAttrs (old: {
#cmakeFlags = old.cmakeFlags ++ ["-DICINGA2_UNITY_BUILD=OFF"];
#buildInputs = old.buildInputs ++ [protobuf];
#doCheck = false;
src = fetchFromGitHub {
          owner = "Icinga";
          repo = "icinga2";
          #rev = "28c3d8193cae59cea6cad3de5d21ce5a3549edb2"; # otel
          #hash = "sha256-SsOr8vo/kNWFIWdFLWzwRhppPPWLgJq2LXek8TTCxLs=";
#rev = "v2.15.0";
#hash = "sha256-IuK6kD2OBAm7bKtPcMnplwNSGyGUcX3UWiwm8Vry1is=";
#rev = "4b4d15ce727571aa5e6f603546e6236b3131fb0d"; # master
#hash = "sha256-WKUIktUUqQYPLKKUGs6DVUv/8WVIBL3kOUUpX8cgpAU=";
#rev = "a2dc35031c029a076bad43797525ac2211bd8efe"; # bad
#hash = "sha256-eHE5iYYM86/JkaJgXo2FUMgnyZRgg6iopW8FXMHdugU=";
#rev = "d1582766eca12d1c0e2ad03b7707bc93066328d6"; # good
#hash = "sha256-lmiWHCBrCXTeXVbqVxa+loi/ZUc74Jzgu5N4WHUsSJ8=";
#rev = "c2c9b6b159b517805bf40f99d4c904548e315f7d"; # bad
#hash = "sha256-cO/ZMu4mhIMDP1BFPuvpjakuag/80GX3yiqSZ4/KPaM=";
#rev = "b4681b10eca47ccf626b887a207b927e6dbf60e2"; # bad
#hash = "sha256-j0D9A5ZKbC7oyNXx7EOQPB3QgMvOqqqDyScZgcNnrZQ=";
#rev = "0c2fd00383cab7d64b401fcc8ab20fe26222405e"; # good
#hash = "sha256-Ey9QgczRM0vqlHQZv10T8LRcCTagE7BzXYeNNyThuH0=";
#rev = "bb75d7301282e7c034abbef78cdacc87234915a7"; # good
#hash = "sha256-yPrlHBaqfRHdsVTXRp2vv5wi+J5V2bXFpcVUXGPNVKo=";
rev = "7373f36cc5651017acff9bb0f13c8cb4b494b885"; # bad
hash = "sha256-c8Q317GBL4inFeiE4xlf7ufIn6GtuyRFPdja9z5/Km0=";
#rev = "4782ea8a75482a0c2d1521e96a4f3149e2bb79fc"; # good
#hash = "sha256-pc/gqhTsU9Z6blXZ+UjQWpDkgcqjtVqDczc43cZkVmU=";
        };
})

Expected behavior

Tests work when being run offline.

Screenshots

Total Test time (real) =  12.60 sec

The following tests FAILED:
        175 - base-remote_httpmessage/request_parse (Failed)
        176 - base-remote_httpmessage/request_params (Failed)
        177 - base-remote_httpmessage/response_clear (Failed)
        178 - base-remote_httpmessage/response_flush_nothrow (Failed)
        179 - base-remote_httpmessage/response_flush_throw (Failed)
        180 - base-remote_httpmessage/response_write_empty (Failed)
        181 - base-remote_httpmessage/response_write_fixed (Failed)
        182 - base-remote_httpmessage/response_write_chunked (Failed)
        183 - base-remote_httpmessage/response_sendjsonbody (Failed)
        184 - base-remote_httpmessage/response_sendjsonerror (Failed)
        185 - base-remote_httpmessage/response_sendfile (Failed)
        186 - base-remote_httpserverconnection/expect_100_continue (Failed)
        187 - base-remote_httpserverconnection/bad_request (Failed)
        188 - base-remote_httpserverconnection/error_access_control (Failed)
        189 - base-remote_httpserverconnection/error_accept_header (Failed)
        190 - base-remote_httpserverconnection/authenticate_cn (Failed)
        191 - base-remote_httpserverconnection/authenticate_passwd (Failed)
        192 - base-remote_httpserverconnection/authenticate_error_wronguser (Failed)
        193 - base-remote_httpserverconnection/authenticate_error_wrongpasswd (Failed)
        194 - base-remote_httpserverconnection/reuse_connection (Failed)
        195 - base-remote_httpserverconnection/wg_abort (Failed)
        196 - base-remote_httpserverconnection/client_shutdown (Failed)
        197 - base-remote_httpserverconnection/handler_throw_error (Failed)
        198 - base-remote_httpserverconnection/handler_throw_streaming (Failed)
        199 - base-remote_httpserverconnection/liveness_disconnect (Failed)
Errors while running CTest

Your Environment

I use NixOS btw.

Additional context

I was testing #10685.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions