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-160184 bnd plugin should not add Imports for Classes #104

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

simonjhy
Copy link
Owner

@simonjhy simonjhy commented Jan 5, 2023

No description provided.

@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.

@simonjhy
Copy link
Owner Author

simonjhy commented Jan 5, 2023

ci:test:sf

@simonjhy
Copy link
Owner Author

simonjhy commented Jan 5, 2023

ci:test:gradle-plugins

@simonjhy
Copy link
Owner Author

simonjhy commented Jan 5, 2023

ci:test:relevant

@simonjhy
Copy link
Owner Author

simonjhy commented Jan 5, 2023

ci:test:stable

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:sf - 0 out of 1 jobs passed in 17 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 5ac1719def591d0d5c2232a4a0109d4b8c05e3e0

Sender Branch:

Branch Name: LPS-160184-3
Branch GIT ID: 40f07b61a9eefa12c54d7ea94d203d5e304c9a5d

0 out of 1jobs PASSED
For more details click here.
     [java] java.lang.Exception: Found 1 formatting issues:
     [java] 1: ./modules/apps/layout/layout-taglib/src/main/resources/META-INF/resources/init.jsp expected:<...p://liferay.com/tld/[frontend" prefix="liferay-frontend" %><%@
     [java] taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %><%@
     [java] taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
     [java] 
     [java] <%@ page import="com.liferay.portal.kernel.util.Getter]Util" %>
     [java] 
     [java] <liferay-f...> but was:<...p://liferay.com/tld/[aui" prefix="aui" %><%@
     [java] taglib uri="http://liferay.com/tld/frontend" prefix="liferay-frontend" %><%@
     [java] taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %><%@
     [java] taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
     [java] 
     [java] <%@ page import="com.liferay.portal.kernel.json.JSONArray" %><%@
     [java] page import="com.liferay.portal.kernel.model.LayoutConstants" %><%@
     [java] page import="com.liferay.portal.kernel.util.GetterUtil" %><%@
     [java] page import="com.liferay.portal.kernel.util.HtmlUtil" %><%@
     [java] page import="com.liferay.portal.kernel.util.PortalUtil" %><%@
     [java] page import="com.liferay.portal.kernel.util.SessionClicks" %><%@
     [java] page import="com.liferay.portal.kernel.util.Validator" %><%@
     [java] page import="com.liferay.portal.util.PropsValues" %><%@
     [java] page import="com.liferay.taglib.aui.AUI]Util" %>
     [java] 
     [java] <liferay-f...>
     [java] 
     [java]   at com.liferay.source.formatter.SourceFormatter.format(SourceFormatter.java:444)
     [java]   at com.liferay.source.formatter.SourceFormatter.main(SourceFormatter.java:286)
[stopwatch] [run.batch.test.action: 15:36.802 sec]
     [echo] The following error occurred while executing this line:
     [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:443: The following error occurred while executing this line:
     [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:596: Java returned: 1
      [get] Getting: http://test-1-31/job/test-portal-source-format/4442//consoleText
      [get] To: /opt/dev/projects/github/liferay-portal/20230105041405540.txt
   [delete] Deleting: /opt/dev/projects/github/liferay-portal/20230105041405540.txt
   [delete] Deleting: /opt/dev/projects/github/liferay-portal/null1395478363.properties

merge-test-results:

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:stable - 29 out of 29 jobs passed in 1 hour 5 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 5ac1719def591d0d5c2232a4a0109d4b8c05e3e0

Upstream Comparison:

Branch GIT ID: 5ac1719def591d0d5c2232a4a0109d4b8c05e3e0
Jenkins Build URL: EE Development Acceptance (master) - 4169 - 2023-01-05[00:10:17]

ci:test:stable - 29 out of 29 jobs PASSED
29 Successful Jobs:
For more details click here.

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:gradle-plugins - 2 out of 2 jobs passed in 1 hour 12 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 5ac1719def591d0d5c2232a4a0109d4b8c05e3e0

Upstream Comparison:

Branch GIT ID: 5ac1719def591d0d5c2232a4a0109d4b8c05e3e0
Jenkins Build URL: EE Development Acceptance (master) - 4169 - 2023-01-05[00:10:17]

ci:test:gradle-plugins - 2 out of 2 jobs PASSED
2 Successful Jobs:
For more details click here.

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:stable - 27 out of 27 jobs passed

❌ ci:test:relevant - 1011 out of 1157 jobs passed in 4 hours 47 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 5ac1719def591d0d5c2232a4a0109d4b8c05e3e0

Upstream Comparison:

Branch GIT ID: 5ac1719def591d0d5c2232a4a0109d4b8c05e3e0
Jenkins Build URL: EE Development Acceptance (master) - 4169 - 2023-01-05[00:10:17]

ci:test:stable - 27 out of 27 jobs PASSED
27 Successful Jobs:
    ci:test:relevant - 1011 out of 1157 jobs PASSED

    146 Failed Jobs:

    1011 Successful Jobs:
      For more details click here.

      Failures unique to this pull:

      1. ...

      @liferay-continuous-integration
      Copy link
      Collaborator

      @simonjhy
      Copy link
      Owner Author

      simonjhy commented Jan 6, 2023

      ci:test:relevant

      @simonjhy
      Copy link
      Owner Author

      ci:test:gradle-plugins

      @simonjhy
      Copy link
      Owner Author

      ci:test:relevant

      @simonjhy
      Copy link
      Owner Author

      ci:test:stable

      @liferay-continuous-integration
      Copy link
      Collaborator

      ❌ ci:test:sf - 0 out of 1 jobs passed in 17 minutes

      Click here for more details.

      Base Branch:

      Branch Name: master
      Branch GIT ID: b38777bdf00d43dcb9d978655717a3c5886179e1

      Sender Branch:

      Branch Name: LPS-160184-3
      Branch GIT ID: f84deda08a7191b245d0e216c640914d3d43d4a4

      0 out of 1jobs PASSED
      For more details click here.
           [java] java.lang.Exception: Found 3 formatting issues:
           [java] 1: Class/package does not exist: com.liferay.journal.lar: ./modules/apps/journal/journal-service/src/main/resources/META-INF/module-log4j.xml (SourceCheck:XMLLog4jLoggersCheck)
           [java] 2: ./modules/dxp/apps/segments/segments-asah-connector/src/main/java/com/liferay/segments/asah/connector/internal/client/AsahFaroBackendClientImpl.java expected:<...ables;
           [java]   \}
           [java] 
           [java]   private [MultivaluedMap<String, Object> _getUriVariables(
           [java]     int cur, int delta, List<OrderByField> orderByFields,
           [java]     String fieldNameContext) \{
           [java] 
           [java]     return _getUriVariables(
           [java]       cur, delta, orderByFields, fieldNameContext,
           [java]       new MultivaluedHashMap<>());
           [java]   \}
           [java] 
           [java]   private MultivaluedMap<String, Object> _getUriVariables(
           [java]     int cur, int delta, List<OrderByField> orderByFields,
           [java]     String fieldNameContext, MultivaluedMap<String, Object> uriVariables) \{
           [java] 
           [java]     uriVariables.putSingle("page", cur - 1);
           [java]     uriVariables.putSingle("size", delta);
           [java] 
           [java]     if (ListUtil.isEmpty(orderByFields)) \{
           [java]       return uriVariables;
           [java]     \}
           [java] 
           [java]     List<Object> sort = new ArrayList<>();
           [java] 
           [java]     for (OrderByField orderByField : orderByFields) \{
           [java]       String fieldName = orderByField.getFieldName();
           [java] 
           [java]       if (!orderByField.isSystem() && (fieldNameContext != null)) \{
           [java]         fieldName = StringUtil.replace(
           [java]           fieldNameContext, CharPool.QUESTION, fieldName);
           [java]       \}
           [java] 
           [java]       sort.add(fieldName + StringPool.COMMA + orderByField.getOrderBy());
           [java]     \}
           [java] 
           [java]     uriVariables.put("sort", sort);
           [java] 
           [java]     return uriVariables;
           [java]   \}
           [java] 
           [java]   private String _invoke(Http.Options httpOptions) throws Exception \{
           [java]     String response = _http.URLtoString(httpOptions);
           [java] 
           [java]     Http.Response httpResponse = httpOptions.getResponse();
           [java] 
           [java]     if (httpResponse.getResponseCode() != HttpURLConnection.HTTP_OK) \{
           [java]       if (_log.isDebugEnabled()) \{
           [java]         _log.debug("Response code " + httpResponse.getResponseCode());
           [java]       \}
           [java] 
           [java]       throw new NestableRuntimeException(

      @liferay-continuous-integration
      Copy link
      Collaborator

      ✔️ ci:test:gradle-plugins - 2 out of 2 jobs passed in 1 hour 5 minutes

      Click here for more details.

      Base Branch:

      Branch Name: master
      Branch GIT ID: b38777bdf00d43dcb9d978655717a3c5886179e1

      Upstream Comparison:

      Branch GIT ID: b38777bdf00d43dcb9d978655717a3c5886179e1
      Jenkins Build URL: EE Development Acceptance (master) - 4269 - 2023-02-08[20:27:01]

      ci:test:gradle-plugins - 2 out of 2 jobs PASSED
      2 Successful Jobs:
      For more details click here.

      @liferay-continuous-integration
      Copy link
      Collaborator

      @liferay-continuous-integration
      Copy link
      Collaborator

      ✔️ ci:test:stable - 29 out of 29 jobs passed in 2 hours 37 minutes

      Click here for more details.

      Base Branch:

      Branch Name: master
      Branch GIT ID: b38777bdf00d43dcb9d978655717a3c5886179e1

      Upstream Comparison:

      Branch GIT ID: b38777bdf00d43dcb9d978655717a3c5886179e1
      Jenkins Build URL: EE Development Acceptance (master) - 4269 - 2023-02-08[20:27:01]

      ci:test:stable - 29 out of 29 jobs PASSED
      29 Successful Jobs:
      For more details click here.

      @liferay-continuous-integration
      Copy link
      Collaborator

      @liferay-continuous-integration
      Copy link
      Collaborator

      ✔️ ci:test:stable - 27 out of 27 jobs passed

      ❌ ci:test:relevant - 1065 out of 1173 jobs passed in 3 hours 2 minutes

      Click here for more details.

      Base Branch:

      Branch Name: master
      Branch GIT ID: b38777bdf00d43dcb9d978655717a3c5886179e1

      Upstream Comparison:

      Branch GIT ID: b38777bdf00d43dcb9d978655717a3c5886179e1
      Jenkins Build URL: EE Development Acceptance (master) - 4269 - 2023-02-08[20:27:01]

      ci:test:stable - 27 out of 27 jobs PASSED
      27 Successful Jobs:
        ci:test:relevant - 1065 out of 1173 jobs PASSED

        108 Failed Jobs:

        1065 Successful Jobs:
          For more details click here.

          Failures unique to this pull:

          1. modules-integration-mysql57-jdk8/2/1
            Build was aborted
            1. com.liferay.headless.delivery.resource.v1_0.test.WikiPageResourceTest.testPutSiteWikiPageWithoutNodeId - UNTESTED
            2. com.liferay.headless.delivery.resource.v1_0.test.WikiPageResourceTest.testClientSerDesToDTO - UNTESTED
            3. com.liferay.headless.delivery.resource.v1_0.test.WikiPageResourceTest.testClientSerDesToJSON - UNTESTED
            4. ...
          2. ...

          @liferay-continuous-integration
          Copy link
          Collaborator

          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.

          2 participants