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 88361 #65819

Closed
wants to merge 57 commits into from
Closed

Lps 88361 #65819

wants to merge 57 commits into from

Conversation

shuyangzhou
Copy link

@brianchandotcom after this pull, we are technically done, as we no longer use any Struts binaries.
But the struts name is still all over our codebase. To clean them up may still take a while. Because a lot of them can actually be removed or at least rewrite in some different ways. I want to clean them up in the right way rather than just rename them.

Another thing is, quite a few "Struts" naming classes are in exported packages, renaming them will cause major version bump. I just want to confirm we are willing to pay the major version bump price to get rid of the struts footprints, right?

CC @mhan810

…we must have a ActionMapping or strutsAction, they can not be both missing.
…we must have a ActionMapping or strutsAction, they can not be both missing. So actionMapping is impossible to be null here.
…nalAction(), so that we don't need to do a refetch in _processActionCreate
@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering "ci:test:sf" and "ci:test:relevant" for this pull to run Source Formatter and relevant tests.

Comment "ci:test" to run the full PR Tester for this pull.

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:sf - 0 out of 1 jobs passed in 2 minutes 28 seconds 936 ms

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: e48446d9c2cfc8d58b134bd1be5474248c082111

Sender Branch:

Branch Name: LPS-88361
Branch GIT ID: d08612ba2063b009a8b43e2c858c3c1262465de9

0 out of 1jobs PASSED
For more details click here.
     [java] java.lang.Exception: Found 1 formatting issues:
     [java] 1: ./portal-impl/src/com/liferay/portal/security/permission/ResourceActionsImpl.java expected:<....http.HttpSession;
     [java] 
     [java] []/**
     [java]  * @author Brian...> but was:<....http.HttpSession;
     [java] 
     [java] [
     [java] ]/**
     [java]  * @author Brian...>
     [java] 
     [java] 	at com.liferay.source.formatter.SourceFormatter.format(SourceFormatter.java:412)
     [java] 	at com.liferay.source.formatter.SourceFormatter.main(SourceFormatter.java:239)
     [echo] The following error occurred while executing this line:
     [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:673: Java returned: 1
      [get] Getting: http://test-1-19/job/test-portal-source-format/1027//consoleText
      [get] To: /opt/dev/projects/github/liferay-portal/20181211234025931.txt
   [delete] Deleting: /opt/dev/projects/github/liferay-portal/20181211234025931.txt
  [taskdef] Could not load definitions from resource aQute/bnd/ant/taskdef.properties. It could not be found.
  [typedef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found.
  [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.
   [delete] Deleting: /opt/dev/projects/github/liferay-portal/null898261916.properties

merge-test-results:
[mkdir] Created dir: /opt/dev/projects/github/liferay-portal/test-results
[junitreport] Processing /opt/dev/projects/github/liferay-portal/test-results/TESTS-TestSuites.xml to /tmp/null1655308345
[junitreport] Loading stylesheet jar:file:/opt/java/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 237ms
[junitreport] Deleting: /tmp/null1655308345
[echo] A report with all the test results can be found at test-results/html/index.html.
[mkdir] Created dir: /opt/dev/projects/github/liferay-jenkins-ee/test-results
[copy] Copying 1 file to /opt/dev/projects/github/liferay-jenkins-ee/test-results
[echo]
[echo] Ant GC log:
[echo]
[echo] Java HotSpot(TM) 64-Bit Server VM (25.121-b13) for linux-amd64 JRE (1.8.0_121-b13), built on Dec 12 2016 16:36:53 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)
[echo] Memory: 4k page, physical 16777216k(5935352k free), swap 2097152k(1316372k free)

@liferay-continuous-integration
Copy link
Collaborator

The pull request tester is still running.

Please wait until you get the final report before running 'ci:retest'.

See this link to check on the status of your test:

@shuyangzhou


However, the pull request was closed.

The pull request was closed because the following critical batches had failed:

For information as to why we automatically close out certain pull requests see this article.

*If you believe this is a mistake please reopen this pull by entering the following command as a comment.

ci:reopen

*The reopened pull request may be automatically closed again if other critical batches or tests fail.

Critical Failure Details:

❌ ci:test:sf - 0 out of 1 jobs passed in 2 minutes 33 seconds 531 ms

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: e48446d9c2cfc8d58b134bd1be5474248c082111

Sender Branch:

Branch Name: LPS-88361
Branch GIT ID: d08612ba2063b009a8b43e2c858c3c1262465de9

0 out of 1jobs PASSED
For more details click here.
     [java] java.lang.Exception: Found 1 formatting issues:
     [java] 1: ./portal-impl/src/com/liferay/portal/security/permission/ResourceActionsImpl.java expected:<....http.HttpSession;
     [java] 
     [java] []/**
     [java]  * @author Brian...> but was:<....http.HttpSession;
     [java] 
     [java] [
     [java] ]/**
     [java]  * @author Brian...>
     [java] 
     [java] 	at com.liferay.source.formatter.SourceFormatter.format(SourceFormatter.java:412)
     [java] 	at com.liferay.source.formatter.SourceFormatter.main(SourceFormatter.java:239)
     [echo] The following error occurred while executing this line:
     [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:673: Java returned: 1
      [get] Getting: http://test-1-19/job/test-portal-source-format/1027//consoleText
      [get] To: /opt/dev/projects/github/liferay-portal/20181211234025931.txt
   [delete] Deleting: /opt/dev/projects/github/liferay-portal/20181211234025931.txt
  [taskdef] Could not load definitions from resource aQute/bnd/ant/taskdef.properties. It could not be found.
  [typedef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found.
  [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.
   [delete] Deleting: /opt/dev/projects/github/liferay-portal/null898261916.properties

merge-test-results:
[mkdir] Created dir: /opt/dev/projects/github/liferay-portal/test-results
[junitreport] Processing /opt/dev/projects/github/liferay-portal/test-results/TESTS-TestSuites.xml to /tmp/null1655308345
[junitreport] Loading stylesheet jar:file:/opt/java/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 237ms
[junitreport] Deleting: /tmp/null1655308345
[echo] A report with all the test results can be found at test-results/html/index.html.
[mkdir] Created dir: /opt/dev/projects/github/liferay-jenkins-ee/test-results
[copy] Copying 1 file to /opt/dev/projects/github/liferay-jenkins-ee/test-results
[echo]
[echo] Ant GC log:
[echo]
[echo] Java HotSpot(TM) 64-Bit Server VM (25.121-b13) for linux-amd64 JRE (1.8.0_121-b13), built on Dec 12 2016 16:36:53 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)
[echo] Memory: 4k page, physical 16777216k(5935352k free), swap 2097152k(1316372k free)

@brianchandotcom
Copy link
Owner

@shuyangzhou can you resend? Thx.

@shuyangzhou
Copy link
Author

Sorry, fixed SF, resent here #65820

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:relevant - 0 out of 1 jobs passed in 1 minute 10 seconds 889 ms

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: e48446d9c2cfc8d58b134bd1be5474248c082111

Copied in Private Modules Branch:

Branch Name:

0 out of 1 jobs PASSED
For more details click here.

Failures unique to this pull:

  1. test-portal-acceptance-pullrequest(master)
    Job Results:

    0 Jobs Passed.
    1 Job Failed.

    A CI failure has occurred. QA Engineering has been notified. Please try again later or contact QA Engineering for an update.

For upstream results, click here.

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

Successfully merging this pull request may close these issues.

3 participants