gnodet-bot commented on PR #31100: URL: https://github.com/apache/camel/pull/31100#issuecomment-7272655691
## ❌ Local IT results for `89210c3219ed` **Test-infra module**: `camel-test-infra-openldap` **Components tested**: `camel-ldif` The integration tests fail with the new `osixia/openldap:2.6.15` image due to **two breaking changes** vs `1.5.0`: ### 1. Port change (fixed) The new image exposes ports `3890/6360` (unprivileged) instead of `389/636`. The `OpenLdapContainer` constants need updating: ```java // Old (1.5.0): public static final int CONTAINER_PORT_LDAP = 389; public static final int CONTAINER_PORT_LDAP_OVER_SSL = 636; // New (2.6.15): public static final int CONTAINER_PORT_LDAP = 3890; public static final int CONTAINER_PORT_LDAP_OVER_SSL = 6360; ``` ### 2. Random admin password (non-trivial — not auto-fixed) The `LDAP_ADMIN_PASSWORD` environment variable is **ignored** in 2.6.15. The image always generates a random password on startup and logs it: ``` WARNING Generated database root password: <random> ``` This breaks the test which uses a hardcoded `admin` credential. The `OpenLdapContainer` would need to extract the generated password from container logs after startup and expose it to the test via `OpenldapLocalContainerInfraService`. **This requires a non-trivial fix to `camel-test-infra-openldap`** — human review recommended before proceeding with this upgrade. <details><summary>Test output (camel-ldif LdifRouteIT)</summary> ``` Tests run: 7, Failures: 0, Errors: 7 LdifRouteIT.setup → Authentication [LDAP: error code 49 - Invalid Credentials] (all 7 test methods fail in @BeforeEach due to auth rejection) ``` </details> > _Local integration tests run by Hermes on behalf of @gnodet_ > _Tests run without `-Dci.env.name` to include ITs disabled on GitHub Actions CI_ -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
