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

[See comments inside] LPS-69436 Update Flags-Taglib with Metal.js and Soy #48070

Closed
wants to merge 35 commits into from

Conversation

jbalsas
Copy link

@jbalsas jbalsas commented Apr 4, 2017

Hey Brian,

I'm resending #48044 after going over your comments. Some clarifications:

  • When deploying the flags module, nothing breaks in runtime. All applications using the taglib keep working normally.
  • We have transitive dependencies disabled in the build. This forces everyone using the taglib to also declare its transitive dependencies (in order to be able to compile) now, but it is an expected build update
  • For CI, we have compileJSP enabled, that's what surfaces the build error in our case.

As far as we see, there's nothing else we can do, nor should we.

/cc @ambrinchaudhary, @sergiogonzalez, @migue

@liferay-continuous-integration
Copy link
Collaborator

@jbalsas jbalsas changed the title LPS-69436 Prevent micro version changes LPS-69436 Update Flags-Taglib with Metal.js and Soy Apr 4, 2017
@jbalsas jbalsas changed the title LPS-69436 Update Flags-Taglib with Metal.js and Soy [See comments inside] LPS-69436 Update Flags-Taglib with Metal.js and Soy Apr 4, 2017
@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:

@jbalsas


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.

*This pull will no longer automatically close if this comment is available. If you believe this is a mistake please re-open this pull by entering the following command as a comment.

ci:reopen

Critical Failure Details:

test-portal-acceptance-pullrequest-batch(master)/source-format-jdk8
Job Results:

0 Tests Passed.
1 Test Failed.

  1. AXIS_VARIABLE=0,label_exp=!master #84948
    format-source:
         [java] Loading file:/opt/dev/projects/github/liferay-portal/portal-impl/classes/system.properties
         [java] Loading file:/opt/dev/projects/github/liferay-portal/portal-kernel/test-classes/unit/system-ext.properties
         [java] Loading file:/opt/dev/projects/github/liferay-portal/util-java/test-classes/unit/system-ext.properties
         [java] /opt/dev/projects/github/liferay-portal/modules/apps/collaboration/message-boards/message-boards-web/build.gradle
         [java] Exception in thread "main" com.liferay.source.formatter.SourceMismatchException: ./modules/apps/collaboration/message-boards/message-boards-web/build.gradle expected:<...tcha:captcha-api")
         [java] }[]> but was:<...tcha:captcha-api")
         [java] }[
         [java] ]>
         [java] 	at com.liferay.source.formatter.BaseSourceProcessor.processFormattedFile(BaseSourceProcessor.java:1240)
         [java] 	at com.liferay.source.formatter.BaseSourceProcessor.format(BaseSourceProcessor.java:562)
         [java] 	at com.liferay.source.formatter.BaseSourceProcessor$1.call(BaseSourceProcessor.java:124)
         [java] 	at com.liferay.source.formatter.BaseSourceProcessor$1.call(BaseSourceProcessor.java:119)
         [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         [java] 	at java.lang.Thread.run(Thread.java:745)
         [echo] The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:574: Java returned: 1
          [get] Getting: http://test-1-5/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/84948//consoleText
          [get] To: /opt/dev/projects/github/liferay-portal/20170404031133906.txt
       [delete] Deleting: /opt/dev/projects/github/liferay-portal/20170404031133906.txt

@jbalsas
Copy link
Author

jbalsas commented Apr 4, 2017

ci:reopen

@liferay-continuous-integration
Copy link
Collaborator

Some tests FAILED.

Build Time: 2 hours 55 minutes 7 seconds 281 ms

Base Branch:

Branch Name: master
Branch GIT ID: d91f06eab99c1ce93b71f80229749667a4243b87

Job Summary:

For more details click here.

Failed Jobs:

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

    91 Jobs Passed.
    5 Jobs Failed.

    Downstream jobs FAILED.
  2. test-portal-acceptance-pullrequest-batch(master)/service-builder-jdk8
    Job Results:

    0 Tests Passed.
    1 Test Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #80919
           [exec] 	at com.liferay.portal.tools.service.builder.ServiceBuilder.getEntity(ServiceBuilder.java:1113)
           [exec] 	at com.liferay.portal.tools.service.builder.ServiceBuilder.getEntity(ServiceBuilder.java:1198)
           [exec] 	at com.liferay.portal.tools.service.builder.ServiceBuilder._resolveEntity(ServiceBuilder.java:5727)
           [exec] 	at com.liferay.portal.tools.service.builder.ServiceBuilder.<init>(ServiceBuilder.java:738)
           [exec] 	at com.liferay.portal.tools.service.builder.ServiceBuilder.main(ServiceBuilder.java:219)
           [exec] :apps:shopping:shopping-service:buildService FAILED
           [exec] 
           [exec] BUILD FAILED
           [exec] 
           [exec] Total time: 6 mins 5.284 secs
           [exec] Gradle build finished at 2017-04-04 10:20:59.161.
           [exec] 
           [exec] FAILURE: Build failed with an exception.
           [exec] 
           [exec] * What went wrong:
           [exec] Execution failed for task ':apps:shopping:shopping-service:buildService'.
           [exec] > Process 'command '/opt/java/jdk1.8.0_51/bin/java'' finished with non-zero exit value 1
           [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:shopping:shopping-service:buildService'.
           [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)
  3. test-portal-acceptance-pullrequest-batch(master)/source-format-jdk8
    Job Results:

    0 Tests Passed.
    1 Test Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #84948
      format-source:
           [java] Loading file:/opt/dev/projects/github/liferay-portal/portal-impl/classes/system.properties
           [java] Loading file:/opt/dev/projects/github/liferay-portal/portal-kernel/test-classes/unit/system-ext.properties
           [java] Loading file:/opt/dev/projects/github/liferay-portal/util-java/test-classes/unit/system-ext.properties
           [java] /opt/dev/projects/github/liferay-portal/modules/apps/collaboration/message-boards/message-boards-web/build.gradle
           [java] Exception in thread "main" com.liferay.source.formatter.SourceMismatchException: ./modules/apps/collaboration/message-boards/message-boards-web/build.gradle expected:<...tcha:captcha-api")
           [java] }[]> but was:<...tcha:captcha-api")
           [java] }[
           [java] ]>
           [java] 	at com.liferay.source.formatter.BaseSourceProcessor.processFormattedFile(BaseSourceProcessor.java:1240)
           [java] 	at com.liferay.source.formatter.BaseSourceProcessor.format(BaseSourceProcessor.java:562)
           [java] 	at com.liferay.source.formatter.BaseSourceProcessor$1.call(BaseSourceProcessor.java:124)
           [java] 	at com.liferay.source.formatter.BaseSourceProcessor$1.call(BaseSourceProcessor.java:119)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [java] 	at java.lang.Thread.run(Thread.java:745)
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:574: Java returned: 1
            [get] Getting: http://test-1-5/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/84948//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal/20170404031133906.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/20170404031133906.txt
For upstream results, click here.

@jpince
Copy link
Collaborator

jpince commented Apr 4, 2017

@brianchandotcom SF is complaining about a newline at the end of message-boards-web/build.gradle, but no change was made, and this file looks the same as any other build.gradle.

@brianchandotcom
Copy link
Owner

Merged. Thank you.
View total diff: 6d39c21...b6a18dc

@brianchandotcom
Copy link
Owner

@jbalsas thank you for explaining this in detail. You understood my objections and your statements make perfect sense.

@jpince the CI issue is an issue with how we are using JGit in CI.

@pyoo47 has a fix for that CI issue which I've merged in #48093

@brianchandotcom
Copy link
Owner

@ambrinchaudhary one minor SF change in c054e42

@jbalsas
Copy link
Author

jbalsas commented Apr 5, 2017

No problem! thanks a lot @brianchandotcom!

@jbalsas jbalsas deleted the pr-707 branch August 3, 2018 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants