Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 7.2.X, 7.2.1 CE GA2, Master
    • Component/s: Sharing
    • Labels:
      None

      Description

      Failing tests:

      • UpdateSharingEntryWithUpdatePermissionWhenUserHasViewPermission
      • UpdateSharingEntryWithUpdateAndViewPermissionWhenUserHasViewPermission
      • SharingEntryCannotBeDeletedByAnyUserOtherThanTheSharer
       [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testSharingEntryCannotBeDeletedByAnyUserOtherThanTheSharer STARTED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testSharingEntryCannotBeDeletedByAnyUserOtherThanTheSharer FAILED
           [exec]     java.lang.AssertionError: Expected test to throw class com.liferay.portal.kernel.security.auth.PrincipalException
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:232)
           [exec]         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryShareable STARTED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryShareable PASSED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithExpirationDateInTheFuture STARTED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithExpirationDateInTheFuture PASSED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithExpirationDateInThePast STARTED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithExpirationDateInThePast PASSED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithUpdateAndViewPermission STARTED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithUpdateAndViewPermission PASSED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithUpdateAndViewPermissionWhenUserHasViewPermission STARTED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithUpdateAndViewPermissionWhenUserHasViewPermission FAILED
           [exec]     java.lang.AssertionError: Expected test to throw class com.liferay.portal.kernel.security.auth.PrincipalException
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:232)
           [exec]         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithUpdatePermissionWhenUserHasViewPermission STARTED
           [exec] 
           [exec] com.liferay.sharing.service.test.SharingEntryServiceTest > testUpdateSharingEntryWithUpdatePermissionWhenUserHasViewPermission FAILED
           [exec]     java.lang.AssertionError: Expected test to throw class com.liferay.portal.kernel.security.auth.PrincipalException
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:232)
           [exec]         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] 63 tests completed, 3 failed
           [exec] There were failing tests. See the report at: file:///opt/dev/projects/github/liferay-portal/modules/apps/sharing/sharing-test/build/reports/tests/testIntegration/index.html
           [exec] 
      

      Full log:
      https://testray.liferay.com/reports/production/logs/test-1-1/1559973691499/test-portal-acceptance-upstream(master)/6317/modules-integration-oracle122-jdk8/34/jenkins-console.txt.gz

      Reproduced on: master 4f0ab9ebc11e36cb841edee620313996a7f27123

      Last working on: master 942e441fde20804c1eca11f12bf2f5503d3f1c5f

        Attachments

          Activity

            People

            • Assignee:
              austin.chiang Austin Chiang
              Reporter:
              austin.chiang Austin Chiang
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                22 weeks, 3 days ago

                Packages

                Version Package
                7.2.X
                7.2.1 CE GA2
                Master