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-78292 Always fetch head revision during publishing the layout, regardless of user's recent objects #58441

Closed
wants to merge 1 commit into from

Conversation

matethurzo
Copy link

No description provided.

@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 - 1 out of 1 jobs passed in 1 minute 21 seconds 810 ms

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 42a9ddf070349ad22980bebd4fec05aab87b52c1

Sender Branch:

Branch Name: pr-2039
Branch GIT ID: a32240ece030f88084ce71a48924c191ed06db33

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

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:relevant - 4 out of 7 jobs passed in 59 minutes 39 seconds 861 ms

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 42a9ddf070349ad22980bebd4fec05aab87b52c1

Copied in Private Modules Branch:

Branch Name: master-private
Branch GIT ID: db565029f441c9d54c1a5021e528b976474fc7dc

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

Failures unique to this pull:

  1. test-portal-acceptance-pullrequest-batch(master)/modules-integration-mysql57-jdk8
    Job Results:

    0 Tests Passed.
    1 Test Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #83093

      Startup error: Unresolved Requirement(s)

           [exec] 	at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:174)
           [exec] 	at org.gradle.launcher.Main.doAction(Main.java:33)
           [exec] 	at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
           [exec] 	at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)
           [exec] 	at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
           [exec] 	at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
           [exec] 	at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:31)
           [exec] 	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
           [exec] 	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
           [exec] Caused by: org.gradle.api.GradleException: Please create marker file /opt/dev/projects/github/liferay-portal/modules/test/shrinkwrap-osgi/.lfrbuild-portal
           [exec] 	at com.liferay.gradle.plugins.defaults.internal.LiferayCIPlugin$9.execute(LiferayCIPlugin.java:282)
           [exec] 	at com.liferay.gradle.plugins.defaults.internal.LiferayCIPlugin$9.execute(LiferayCIPlugin.java:247)
           [exec] 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:632)
           [exec] 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:615)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
           [exec] 	... 62 more
           [exec] 
           [exec] 
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:299: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1667: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-common.xml:804: /opt/dev/projects/github/liferay-portal/build-common.xml:806: exec returned: 1
            [get] Getting: http://test-1-22/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/83093//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal/20180515133627564.txt

Failures in common with acceptance upstream results at 42a9ddf:
  1. test-portal-acceptance-pullrequest-batch(master)/functional-smoke-tomcat90-mysql57-jdk8/0
    Job Results:

    2 Tests Passed.
    2 Tests Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #83092
      1. PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError: 
        Unable to start bundle com.liferay.portal.reports.engine.console.service
        org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.reports.engine.console.service [125]
          Unresolved requirement: Import-Package: javax.portlet; version="[3.0.0,4.0.0)"
        
        at org.eclipse.osgi.container.Module.start(Module.java:429)
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:421)
        at com.liferay.portal.bootstrap.ModuleFrameworkImpl._startDynamicBundles(ModuleFrameworkImpl.java:1589)
        at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:412)
        at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:99)
        at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:257)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4579)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5041)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:742)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:718)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
        at org.apache.catalina.startup.H...</code></pre></div></li><li><div><a href="https://test-1-22.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/83092//testReport/com.liferay.poshi.runner/PoshiRunner/test_LocalFile_PortalSmoke_Smoke_">LocalFile.PortalSmoke#Smoke</a> - <a href="https://testray.liferay.com/reports/production/logs/test-1-14/1526388560723/test-portal-acceptance-pullrequest(master)/2854/functional-smoke-tomcat90-mysql57-jdk8/0/0/LocalFile.PortalSmoke_Smoke/index.html.gz">Poshi Report</a> - <a href="https://testray.liferay.com/reports/production/logs/test-1-14/1526388560723/test-portal-acceptance-pullrequest(master)/2854/functional-smoke-tomcat90-mysql57-jdk8/0/0/LocalFile.PortalSmoke_Smoke/summary.html.gz">Poshi Summary</a> - <a href="https://testray.liferay.com/reports/production/logs/test-1-14/1526388560723/test-portal-acceptance-pullrequest(master)/2854/functional-smoke-tomcat90-mysql57-jdk8/0/0/jenkins-console.txt.gz">Console Output</a></div></li></ol></div></li></ol></div></li></ol></details></details></html>
        

@jpince
Copy link
Collaborator

jpince commented May 15, 2018

ci:test:relevant

@jpince
Copy link
Collaborator

jpince commented May 15, 2018

@matethurzo sorry for the noise in CI, see loop post for details

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:relevant - 5 out of 7 jobs passed in 53 minutes 16 seconds 41 ms

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: d845a675be4ccfddf8ec52b167ae312f00b620d0

Copied in Private Modules Branch:

Branch Name: master-private
Branch GIT ID: 2f48c1a63d7a60fac14c812ac8d4cab7f27cf7bc

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

Failures unique to this pull:

  1. test-portal-acceptance-pullrequest-batch(master)/modules-integration-mysql57-jdk8
    Job Results:

    0 Tests Passed.
    1 Test Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #150361
           [exec] :apps:static:portal-configuration:portal-configuration-persistence-api:jar
           [exec] :apps:journal:journal-api:compileJava
           [exec] :apps:journal:journal-api:buildCSS UP-TO-DATE
           [exec] :apps:journal:journal-api:processResources
           [exec] :apps:journal:journal-api:transpileJS SKIPPED
           [exec] :apps:journal:journal-api:configJSModules SKIPPED
           [exec] :apps:journal:journal-api:copyLibs SKIPPED
           [exec] :apps:journal:journal-api:replaceSoyTranslation UP-TO-DATE
           [exec] :apps:journal:journal-api:wrapSoyAlloyTemplate SKIPPED
           [exec] :apps:journal:journal-api:classes
           [exec] Note: Some input files use or override a deprecated API.
           [exec] Note: Recompile with -Xlint:deprecation for details.
           [exec] :apps:journal:journal-api:jar
           [exec] :apps:export-import:export-import-resources-importer-test:compileTestIntegrationJava
           [exec] :apps:export-import:export-import-resources-importer-test:processTestIntegrationResources
           [exec] :apps:export-import:export-import-resources-importer-test:testIntegrationClasses
           [exec] :apps:export-import:export-import-resources-importer-test:testIntegration FAILED
           [exec] :apps:export-import:export-import-resources-importer-test:stopTestableTomcat
           [exec] 
           [exec] BUILD FAILED
           [exec] 
           [exec] Total time: 6 mins 3.125 secs
           [exec] Gradle build finished at 2018-05-15 16:10:11.462.
           [exec] 
           [exec] FAILURE: Build failed with an exception.
           [exec] 
           [exec] * What went wrong:
           [exec] Execution failed for task ':apps:export-import:export-import-resources-importer-test:testIntegration'.
           [exec] > Please create marker file /opt/dev/projects/github/liferay-portal/modules/test/shrinkwrap-osgi/.lfrbuild-portal
           [exec] 
           [exec] * Try:
           [exec] Run with --info or --debug option to get more log output.
           [exec] 
           [exec] * Exception is:
           [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':apps:export-import:export-import-resources-importer-test:testIntegration'.
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)

For upstream results, click here.

@brianchandotcom
Copy link
Owner

Merged. Thx.

@jpince
Copy link
Collaborator

jpince commented May 15, 2018

@Ithildir do you know why CI is asking for this? [exec] Caused by: org.gradle.api.GradleException: Please create marker file /opt/dev/projects/github/liferay-portal/modules/test/shrinkwrap-osgi/.lfrbuild-portal

@Ithildir
Copy link

Gradle is complaining because a module contains an integration test which depends from test/shrinkwrap-osgi, but test/shrinkwrap-osgi is never deployed during ant all. Is that okay? Otherwise, we have to add an exception in https://github.com/liferay/liferay-portal/blob/master/modules/sdk/gradle-plugins-defaults/src/main/java/com/liferay/gradle/plugins/defaults/internal/LiferayCIPlugin.java#L303.

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