Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LPS-83488 ResourcePermission code cleanup #6455

Closed
wants to merge 1,570 commits into from

Conversation

Preston-Crary
Copy link

Have to leave out 8048868 since Wiki and Journal reset the permissions on each update with the resource prim key.

rafaprax and others added 30 commits July 13, 2018 12:15
…o get the events that are part of this informed context
… that compares the applicationId, eventId and the serializedContext of the current event and parse them for the actual context for the requestBody variable
@liferay-continuous-integration
Copy link
Collaborator

To conserve resources, the PR Tester does not automatically run for every pull.

If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed.

If your pull was never tested, comment "ci:test" to run the PR Tester for this pull.

@Preston-Crary
Copy link
Author

ci:test

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test - 150 out of 161 jobs passed in 2 hours 14 minutes 399 ms

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 4a26debbd31d6f4b2cc4d44c4a0faf52d46377f2

Copied in Private Modules Branch:

Branch Name: master-private
Branch GIT ID: 0b8492f1a0afd8fedabea5735e6f7d0a9646c171

150 out of 161 jobs PASSED

11 Failed Jobs:

150 Successful Jobs:
For more details click here.

This pull contains no unique failures.


Failures in common with acceptance upstream results at 8b66fcd:
  1. test-portal-acceptance-pullrequest-batch(master)/functional-upgrade-tomcat90-oracle121-jdk8/4
    Job Results:

    0 Tests Passed.
    1 Test Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #237840
           [java] INFO - Completed com.liferay.portal.kernel.upgrade.BaseUpgradePortletPreferences#updatePortletPreferences in 0 ms
           [java] 03:07:13,275 INFO  [main][UpgradeProcess:103] Completed upgrade process com.liferay.knowledge.base.web.internal.upgrade.v1_2_0.UpgradePortletPreferences in 1ms
           [java] INFO - Completed upgrade process com.liferay.knowledge.base.web.internal.upgrade.v1_2_0.UpgradePortletPreferences in 1ms
           [java] 
           [java] Completed Liferay core upgrade and verify processes in 99 seconds
           [java] Checking to see if all upgrades have completed... your upgrades have failed, have not started, or are still running.
           [java] You are connected to Gogo shell.
           [java] 
           [java] Type "help" to get available upgrade and verify commands.
           [java] Type "help {command}" to get additional information about the command. For example, "help upgrade:list".
           [java] Enter "exit" or "quit" to exit.
           [java] g! 
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/jps_output
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:340: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:994: /opt/dev/projects/github/liferay-portal/build-test-batch.xml:998: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:46: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:54: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:9673: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:10328: Timeout: killed the sub-process
           [echo] ${jstack.output}
            [get] Getting: http://test-1-14/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/237840//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal/20180717032033914.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/20180717032033914.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/null1272197385.properties
  2. test-portal-acceptance-pullrequest-batch(master)/modules-integration-db2105-jdk8
    Job Results:

    9568 Tests Passed.
    2 Tests Failed.

    1. AXIS_VARIABLE=15,label_exp=!master #247405
      1. TokenExpeditionTest.test
        java.lang.IllegalArgumentException: The token service returned 
        	at com.liferay.oauth2.provider.client.test.BaseClientTestCase.parseJSONObject(BaseClientTestCase.java:567)
        	at com.liferay.oauth2.provider.client.test.BaseClientTestCase.parseJsonField(BaseClientTestCase.java:549)
        	at com.liferay.oauth2.provider.client.test.BaseClientTestCase.parseError(BaseClientTestCase.java:545)
        	at com.liferay.oauth2.provider.client.test.TokenExpeditionTest.test(TokenExpeditionTest.java:67)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:498)
        	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        	at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:370)
        	at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.jav...
      2. PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError: 
        Remote client 127.0.0.1 - 127.0.0.1 tried to use a nonexistent OAuth 2 client ID 
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:174)
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:100)
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:90)
        	at java.nio.file.Files.walkFileTree(Files.java:2670)
        	at java.nio.file.Files.walkFileTree(Files.java:2742)
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:88)
        
  3. test-portal-acceptance-pullrequest-batch(master)/modules-integration-hypersonic20-jdk8
    Job Results:

    9569 Tests Passed.
    2 Tests Failed.

    1. AXIS_VARIABLE=15,label_exp=!master #244775
      1. TokenExpeditionTest.test
        java.lang.IllegalArgumentException: The token service returned 
        	at com.liferay.oauth2.provider.client.test.BaseClientTestCase.parseJSONObject(BaseClientTestCase.java:567)
        	at com.liferay.oauth2.provider.client.test.BaseClientTestCase.parseJsonField(BaseClientTestCase.java:549)
        	at com.liferay.oauth2.provider.client.test.BaseClientTestCase.parseError(BaseClientTestCase.java:545)
        	at com.liferay.oauth2.provider.client.test.TokenExpeditionTest.test(TokenExpeditionTest.java:67)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:498)
        	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        	at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:370)
        	at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.jav...
      2. PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError: 
        Remote client 127.0.0.1 - 127.0.0.1 tried to use a nonexistent OAuth 2 client ID 
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:174)
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:100)
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:90)
        	at java.nio.file.Files.walkFileTree(Files.java:2670)
        	at java.nio.file.Files.walkFileTree(Files.java:2742)
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:88)
        
  4. ...

@shuyangzhou
Copy link
Owner

See brianchandotcom#61402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet