You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "mmmmxa (via GitHub)" <gi...@apache.org> on 2026/09/22 17:53:56 UTC

[I] Connector integration tests fail with WireMock 404 on SELinux-enforcing hosts [iggy]

mmmmxa opened a new issue, #4264:
URL: https://github.com/apache/iggy/issues/4264

   ### Bug description
   
   `cargo test -p integration connectors::http_config_provider` (and `connectors::http::http_sink`) fail with `HttpRequestFailed("HTTP 404 Not Found - No response could be served as there are no stub mappings in this WireMock instance.")` on hosts with SELinux `Enforcing`. The WireMock test fixtures bind-mount stub-mapping directories, but the mounted dirs keep the host's default SELinux label (e.g. `user_home_t`), which the container's confined context can't read — WireMock boots with zero stubs. Fixed in both fixtures by adding `.with_security_opt("label=disable")` to the `testcontainers` `GenericImage` builder.
   
   ### Affected area / component
   
   CI / build / tooling
   
   ### Deployment
   
   Compiled from source
   
   ### Versions
   
   commit `bab0e331e`, rustc 1.98.0
   
   ### Hardware / environment
   
   Fedora, SELinux `Enforcing`, Docker
   
   ### Reproduction
   
   1. On an SELinux-enforcing host, run `cargo test -p integration connectors::http_config_provider`
   2. Observe the 404 above
   3. `docker exec` into the WireMock container: `ls /home/wiremock/mappings` → `Permission denied`
   
   ### Contribution
   
   - [x] I'm willing to submit a pull request to fix this bug


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] connectors: integration tests fail with WireMock 404 on SELinux-enforcing hosts [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio closed issue #4264: connectors: integration tests fail with WireMock 404 on SELinux-enforcing hosts
URL: https://github.com/apache/iggy/issues/4264


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org