pentaho / pentaho-platform

Pentaho BA Server Core
http://www.pentaho.com
Other
472 stars 723 forks source link

[SP-6560] - Backport of BISERVER-15067 - Admin user can see the trash content of other admin/non-admin users in multi-tenant environment (9.3 Suite) #5682

Closed joana-fb closed 2 months ago

joana-fb commented 3 months ago

original PR: https://github.com/pentaho/pentaho-platform/pull/5636

@pentaho/tatooine_dev

buildguy commented 3 months ago

:x: Build failed in 13m 21s

Build command:

mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl \
assemblies/pentaho-solutions,repository

:ok_hand: All tests passed!

Tests run: 464, Failures: 0, Skipped: 0    Test Results


:information_source: This is an automatic message

buildguy commented 2 months ago

:x: Build failed in 14m 8s

Build command:

mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl \
assemblies/pentaho-solutions,repository

:ok_hand: All tests passed!

Tests run: 464, Failures: 0, Skipped: 0    Test Results


:information_source: This is an automatic message

hitachivantarasonarqube[bot] commented 2 months ago

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube

buildguy commented 2 months ago

:warning: Build finished in 19m 19s

Build command:

mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl \
assemblies/pentaho-solutions,repository

:no_entry: Failed Tests

:cloud_with_lightning_and_rain: 20 test(s) failed:

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.userIsCached on userIsCached(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.registersCacheRegion on registersCacheRegion(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.cacheManagersAbsenceIsHandled_Roles on cacheManagersAbsenceIsHandled_Roles(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.cacheManagersAbsenceIsHandled_Users on cacheManagersAbsenceIsHandled_Users(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.clearsCache on clearsCache(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.roleIsCached on roleIsCached(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.userIsCached (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.clearsCache (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.registersCacheRegion (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.roleIsCached (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.cacheManagersAbsenceIsHandled_Roles (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_Caching_Test.cacheManagersAbsenceIsHandled_Users (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test.getPrincipal_User_AccessesUserDetailsServiceAccordingToProperty on getPrincipal_User_AccessesUserDetailsServiceAccordingToProperty(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class java.lang.Object, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test.getPrincipal_User_SkipsAccessingUserDetailsServiceAccordingToEmptyProperty on getPrincipal_User_SkipsAccessingUserDetailsServiceAccordingToEmptyProperty(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class java.lang.Object, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test.getPrincipal_User_SkipsUserDetailsServiceByDefault on getPrincipal_User_SkipsUserDetailsServiceByDefault(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class java.lang.Object, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test.getPrincipal_User_SkipsAccessingUserDetailsServiceAccordingToProperty on getPrincipal_User_SkipsAccessingUserDetailsServiceAccordingToProperty(org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test) (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class java.lang.Object, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test.getPrincipal_User_SkipsAccessingUserDetailsServiceAccordingToEmptyProperty (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class java.lang.Object, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test.getPrincipal_User_AccessesUserDetailsServiceAccordingToProperty (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class java.lang.Object, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test.getPrincipal_User_SkipsAccessingUserDetailsServiceAccordingToProperty (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class java.lang.Object, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider_PrincipalCreation_Test.getPrincipal_User_SkipsUserDetailsServiceByDefault (click to expand)

``` Mockito cannot mock this class: class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider. If you're not sure why you're getting this error, please report to the mailing list. Java : 17 JVM vendor name : Debian JVM vendor version : 17.0.11+9-Debian-1 JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-Debian-1 JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-513.18.1.el8_9.x86_64 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.apache.jackrabbit.core.security.principal.PrincipalProvider, class java.lang.Object, class org.pentaho.platform.repository2.unified.jcr.jackrabbit.security.SpringSecurityPrincipalProvider] ```

Tests run: 464, Failures: 20, Skipped: 0    Test Results


:information_source: This is an automatic message

buildguy commented 2 months ago
[![👍 Frogbot scanned this pull request and found that it did not add vulnerable dependencies.](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)
Note: ---
**Frogbot** also supports **Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning**. This features are included as part of the [JFrog Advanced Security](https://jfrog.com/advanced-security) package, which isn't enabled on your system.

[🐸 JFrog Frogbot](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)
buildguy commented 2 months ago

:white_check_mark: Build finished in 23m 14s

Build command:

mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl \
assemblies/pentaho-solutions,repository

:ok_hand: All tests passed!

Tests run: 464, Failures: 0, Skipped: 0    Test Results


:information_source: This is an automatic message