You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[8.2] perc-membership-services build fails due to Spring ApplicationContext initialization errors in Generic Key service tests #2007
The perc-membership-services module build fails during the Maven test phase because multiple Generic Key service tests are unable to load the Spring ApplicationContext. After the initial context initialization failure, subsequent tests are skipped due to the Spring TestContext framework's ApplicationContext failure threshold, resulting in a module build failure.
Environment
Product: Percussion CMS 8.2
Module: perc-membership-services
Build Tool: Maven
Plugin: maven-surefire-plugin 3.5.4
OS: Windows
Steps to Reproduce
Build the Percussion CMS source.
Execute the Maven build including the perc-membership-services module.
Allow the test phase to execute.
Actual Result
The following tests fail because the Spring test context cannot be initialized:
Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.5.4:test
(default-test) on project perc-membership-services
Surefire reports are generated under:
deliverytiersuite/delivery-tier-suite/membership/target/surefire-reports
Expected Result
The Spring ApplicationContext defined in test-beans-generic-key.xml should load successfully, allowing all Generic Key service and DAO tests to execute and pass. The perc-membership-services module should complete successfully without causing the overall build to fail.
The reported errors are secondary to an initial Spring ApplicationContext initialization failure.
The root cause should be identified from the first Failed to load ApplicationContext exception in the Surefire reports or corresponding dump files, as the remaining failures are cascading effects caused by Spring's context failure threshold mechanism.
Activity
fix(membership): load Generic Key Spring tests without CWD-relative H…
fix(codeql): sink-line residual #2003-#2007 on XML JDBC catalog
fix(codeql): path-injection #1985 XML JDBC catalog physical path (#3978)