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

LPD-48736 Merge *OSGiCommands.java - portal-osgi-debug #3149

Closed
wants to merge 5 commits into from

Conversation

ling-alan-huang
Copy link
Owner

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.

@ling-alan-huang
Copy link
Owner Author

ci:test:sf

@ling-alan-huang
Copy link
Owner Author

ci:test:relevant

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:relevant - 0 out of 1 jobs passed in 18 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 2423f230040d6af3f711535d58d525def4c8eaa7

Upstream Comparison:

Branch GIT ID: 2423f230040d6af3f711535d58d525def4c8eaa7
Jenkins Build URL: EE Development Acceptance (master) - 1196 - 2025-02-16[04:35:49]

ci:test:relevant - 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.

         [exec] > Task :apps:portal-osgi-debug:portal-osgi-debug-declarative-service:compileJava FAILED
         [exec] 
         [exec] > Task :apps:portal-model-relationship:portal-model-relationship-document-library-impl:jar
         [exec] > Task :apps:portal-model-relationship:portal-model-relationship-document-library-impl:autoUpdateXml SKIPPED
       [delete] Deleting: /opt/dev/projects/github/liferay-jenkins-ee/commands/20250218023053102
         [exec] Note: /opt/dev/projects/github/liferay-portal/modules/apps/portal-odata/portal-odata-impl/src/main/java/com/liferay/portal/odata/internal/filter/ExpressionVisitorImpl.java uses or overrides a deprecated API.
         [exec] Note: Recompile with -Xlint:deprecation for details.
         [exec] 
         [exec] > Task :apps:portal-odata:portal-odata-impl:compileJava
         [exec] 
         [exec] > Task :apps:portal-language:portal-language-lang:jar
         [exec] > Task :apps:portal-language:portal-language-lang:autoUpdateXml SKIPPED
         [exec] Gradle build finished at 2025-02-18 10:30:59.878.
         [exec] 3767 actionable tasks: 3718 executed, 49 up-to-date
         [exec] 
         [exec] 
         [exec] FAILURE: Build failed with an exception.
         [exec] 
         [exec] * What went wrong:
         [exec] Execution failed for task ':apps:portal-osgi-debug:portal-osgi-debug-declarative-service:compileJava'.
         [exec] > Compilation failed; see the compiler error output for details.
         [exec] 
         [exec] * Try:
         [exec] > Run with --info option to get more log output.
         [exec] > Run with --scan to get full insights.
         [exec] 
         [exec] * Exception is:
         [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':apps:portal-osgi-debug:portal-osgi-debug-declarative-service:compileJava'.
         [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda\$executeIfValid\$1(ExecuteActionsTaskExecuter.java:148)
         [exec]   at org.gradle.internal.Try\$Failure.ifSuccessfulOrElse(Try.java:282)
         [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146)
         [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134)
         [exec]   at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)

For upstream results, click here.

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

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

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 2423f230040d6af3f711535d58d525def4c8eaa7

Sender Branch:

Branch Name: LPD-48736_20250218_1
Branch GIT ID: 5f2c86ea7be79371839676e989a0e10d0223a249

0 out of 1jobs PASSED
For more details click here.
format-source-files:
     [java] Loading file:/opt/dev/projects/github/liferay-portal/portal-impl/classes/system.properties
     [java] java.lang.Exception: Found 1 formatting issues:
     [java] 1: ./portal-impl/src/com/liferay/portlet/internal/PortalContextImpl.java expected:<...import com.liferay.p[]ortal.kernel.portlet...> but was:<...import com.liferay.p[etra.string.StringBundler;
     [java] import com.liferay.petra.string.StringPool;
     [java] import com.liferay.p]ortal.kernel.portlet...>
     [java] 
     [java]   at com.liferay.source.formatter.SourceFormatter.format(SourceFormatter.java:472)
     [java]   at com.liferay.source.formatter.SourceFormatter.main(SourceFormatter.java:301)
[stopwatch] [run.batch.test.action: 23:54.202 sec]
     [echo] The following error occurred while executing this line:
     [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:449: The following error occurred while executing this line:
     [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:651: Java returned: 1
   [delete] Deleting: /opt/dev/projects/github/liferay-portal/null782332395.properties

merge-test-results:
[mkdir] Created dir: /opt/dev/projects/github/liferay-portal/test-results
[beanshell] Truncating errors in /opt/dev/projects/github/liferay-portal/portal-impl/test-results/TEST-JenkinsLogAssertTest.xml
[junitreport] Processing /opt/dev/projects/github/liferay-portal/test-results/TESTS-TestSuites.xml to /tmp/null940464034
[junitreport] Loading stylesheet ile:/opt/java/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 233ms
[junitreport] Deleting: /tmp/null940464034
[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] run.batch.test.tear.down.start.timestamp: 02-18-2025 02:39:51:150 PST
[stopwatch] [run.batch.test.tear.down: 0.000 sec]
[delete] Deleting: /opt/dev/projects/github/liferay-portal/null782332395.properties

print-gc-logs:
[echo]
[echo] ##
[echo] ## /tmp/ant-gc.log
[echo] ##
[echo]
[beanshell] Java HotSpot(TM) 64-Bit Server VM (25.381-b09) for linux-amd64 JRE (1.8.0_381-b09), built on Jun 14 2023 13:47:37 by "java_re" with gcc 7.3.0

@liferay-continuous-integration
Copy link
Collaborator

@ling-alan-huang
Copy link
Owner Author

ci:test:sf

1 similar comment
@ling-alan-huang
Copy link
Owner Author

ci:test:sf

@ling-alan-huang
Copy link
Owner Author

ci:test:relevant

@liferay-continuous-integration
Copy link
Collaborator

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

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 2423f230040d6af3f711535d58d525def4c8eaa7

Sender Branch:

Branch Name: LPD-48736_20250218_1
Branch GIT ID: 3d073eb1be81532437cf1df7884192a1f2727f7d

0 out of 1jobs PASSED
For more details click here.
format-source-files:
     [java] Loading file:/opt/dev/projects/github/liferay-portal/portal-impl/classes/system.properties
     [java] java.lang.Exception: Found 1 formatting issues:
     [java] 1: ./portal-impl/src/com/liferay/portlet/internal/PortalContextImpl.java expected:<...import com.liferay.p[]ortal.kernel.portlet...> but was:<...import com.liferay.p[etra.string.StringBundler;
     [java] import com.liferay.petra.string.StringPool;
     [java] import com.liferay.p]ortal.kernel.portlet...>
     [java] 
     [java]   at com.liferay.source.formatter.SourceFormatter.format(SourceFormatter.java:472)
     [java]   at com.liferay.source.formatter.SourceFormatter.main(SourceFormatter.java:301)
[stopwatch] [run.batch.test.action: 27:17.141 sec]
     [echo] The following error occurred while executing this line:
     [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:449: The following error occurred while executing this line:
     [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:651: Java returned: 1
   [delete] Deleting: /opt/dev/projects/github/liferay-portal/null495112669.properties

merge-test-results:
[mkdir] Created dir: /opt/dev/projects/github/liferay-portal/test-results
[beanshell] Truncating errors in /opt/dev/projects/github/liferay-portal/portal-impl/test-results/TEST-JenkinsLogAssertTest.xml
[junitreport] Processing /opt/dev/projects/github/liferay-portal/test-results/TESTS-TestSuites.xml to /tmp/null777218944
[junitreport] Loading stylesheet ile:/opt/java/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 337ms
[junitreport] Deleting: /tmp/null777218944
[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] run.batch.test.tear.down.start.timestamp: 02-18-2025 03:19:08:128 PST
[stopwatch] [run.batch.test.tear.down: 0.000 sec]
[delete] Deleting: /opt/dev/projects/github/liferay-portal/null495112669.properties

print-gc-logs:
[echo]
[echo] ##
[echo] ## /tmp/ant-gc.log
[echo] ##
[echo]
[beanshell] Java HotSpot(TM) 64-Bit Server VM (25.381-b09) for linux-amd64 JRE (1.8.0_381-b09), built on Jun 14 2023 13:47:37 by "java_re" with gcc 7.3.0

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

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

❌ ci:test:relevant - 102 out of 127 jobs passed in 2 hours 32 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 2423f230040d6af3f711535d58d525def4c8eaa7

Upstream Comparison:

Branch GIT ID: 2423f230040d6af3f711535d58d525def4c8eaa7
Jenkins Build URL: EE Development Acceptance (master) - 1196 - 2025-02-16[04:35:49]

ci:test:stable - 24 out of 24 jobs PASSED
24 Successful Jobs:
    ci:test:relevant - 102 out of 127 jobs PASSED

    25 Failed Jobs:

    102 Successful Jobs:
      For more details click here.

      Failures unique to this pull:


      Failures in common with acceptance upstream results at 2423f23:
      1. ...

      @liferay-continuous-integration
      Copy link
      Collaborator

      @ling-alan-huang
      Copy link
      Owner Author

      ci:test:sf

      @liferay-continuous-integration
      Copy link
      Collaborator

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

      Click here for more details.

      Base Branch:

      Branch Name: master
      Branch GIT ID: 1aef8c7c1f29d044950b1c2ace31c81be0af0bed

      Sender Branch:

      Branch Name: LPD-48736_20250218_1
      Branch GIT ID: 9a7089e89b75433052678f83be7a2b7106a8dc89

      0 out of 1jobs PASSED
      For more details click here.
      format-source-files:
           [java] Loading file:/opt/dev/projects/github/liferay-portal/portal-impl/classes/system.properties
           [java] java.lang.Exception: Found 1 formatting issues:
           [java] 1: ./modules/apps/object/object-rest-test/src/testIntegration/java/com/liferay/object/rest/internal/resource/v1_0/test/ObjectEntryResourceTest.java expected:<...type);
           [java]   \}
           [java] 
           [java]   private [JSONObject _addPortalInstanceJSONObject() throws Exception \{
           [java]     JSONObject jsonObject = HTTPTestUtil.invokeToJSONObject(
           [java]       null, "headless-portal-instances/v1.0/portal-instances/able.com",
           [java]       Http.Method.GET);
           [java] 
           [java]     if (Objects.equals(jsonObject.getString("status"), "NOT_FOUND")) \{
           [java]       jsonObject = HTTPTestUtil.invokeToJSONObject(
           [java]         JSONUtil.put(
           [java]           "domain", "able.com"
           [java]         ).put(
           [java]           "portalInstanceId", "able.com"
           [java]         ).put(
           [java]           "virtualHost", "www.able.com"
           [java]         ).toString(),
           [java]         "headless-portal-instances/v1.0/portal-instances",
           [java]         Http.Method.POST);
           [java]     \}
           [java] 
           [java]     return jsonObject;
           [java]   \}
           [java] 
           [java]   private void _addResourcePermission(String actionId, String name, Role role)
           [java]     throws Exception \{
           [java] 
           [java]     _resourcePermissionLocalService.addResourcePermission(
           [java]       TestPropsValues.getCompanyId(), name,
           [java]       ResourceConstants.SCOPE_COMPANY,
           [java]       String.valueOf(TestPropsValues.getCompanyId()), role.getRoleId(),
           [java]       actionId);
           [java]   \}
           [java] 
           [java]   private TaxonomyCategory _addTaxonomyCategory() throws Exception \{
           [java]     return _taxonomyCategoryResource.postTaxonomyVocabularyTaxonomyCategory(
           [java]       _assetVocabulary.getVocabularyId(),
           [java]       new TaxonomyCategory() \{
           [java]         \{
           [java]           dateCreated = RandomTestUtil.nextDate();
           [java]           dateModified = RandomTestUtil.nextDate();
           [java]           description = StringUtil.toLowerCase(
           [java]             RandomTestUtil.randomString());
           [java]           externalReferenceCode = StringUtil.toLowerCase(
           [java]             RandomTestUtil.randomString());
           [java]           id = StringUtil.toLowerCase(RandomTestUtil.randomString());
           [java]           name = StringUtil.toLowerCase(
           [java]             RandomTestUtil.randomString());

      @liferay-continuous-integration
      Copy link
      Collaborator

      @ling-alan-huang
      Copy link
      Owner Author

      ci:test:sf

      @liferay-continuous-integration
      Copy link
      Collaborator

      ✔️ ci:test:sf - 1 out of 1 jobs passed in 33 minutes

      Click here for more details.

      Base Branch:

      Branch Name: master
      Branch GIT ID: 1aef8c7c1f29d044950b1c2ace31c81be0af0bed

      Sender Branch:

      Branch Name: LPD-48736_20250218_1
      Branch GIT ID: b875e2e1f2926fcdbe7ff64a0d71fd8d46e99234

      1 out of 1jobs PASSED
      1 Successful Jobs:
      For more details click here.

      @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