Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-95573

Task:apps:layout:layout-admin-web:jsdoc fails on 7.1.x CI tester

    Details

      Description

      This issue is found on the latest 7.1.x CI(886) tester. Detail message see here.

      Steps to reproduce:

      1. Update the liferay-portal(7.1.x) source to the latest.
      2. Open git bash, cd modules directory and execute the following command´╝Ü
        blade gw :apps:layout:layout-admin-web:jsdoc

      Actual Result:
      Case fails and throws the following error:

      [exec] > Task :apps:layout:layout-admin-web:jsdoc
           [exec] ERROR: Unable to parse a tag's type expression for source file /opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/layout/layout-admin-web/src/main/resources/META-INF/resources/js/fragments_editor/FragmentsEditor.es.js in line 187 with tag title "returns" and text "{{
           [exec] 	languageValues: {{
           [exec] 		languageId: string
           [exec] 		values: Array<string>
           [exec]  }},
           [exec]  translationKeys: Array<string>
           [exec] }} A translation status object": Invalid type expression "{
           [exec] 	languageValues: {{
           [exec] 		languageId: string
           [exec] 		values: Array<string>
           [exec]  }},
           [exec]  translationKeys: Array<string>
           [exec] }": Expected ",", "|", or "}" but "v" found.
           [exec] ERROR: Unable to parse a tag's type expression for source file /opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/layout/layout-admin-web/src/main/resources/META-INF/resources/js/fragments_editor/FragmentsEditor.es.js in line 202 with tag title "returns" and text "{{
           [exec] 	languageValues: {{
           [exec] 		languageId: string
           [exec] 		values: Array<string>
           [exec]  }},
           [exec]  translationKeys: Array<string>
           [exec] }} A translation status object": Invalid type expression "{
           [exec] 	languageValues: {{
           [exec] 		languageId: string
           [exec] 		values: Array<string>
           [exec]  }},
           [exec]  translationKeys: Array<string>
           [exec] }": Expected ",", "|", or "}" but "v" found.
           [exec] Process '[/opt/dev/projects/github/liferay-portal-7.1.x/build/node/bin/node, /opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/layout/layout-admin-web/node_modules/jsdoc/jsdoc.js, src/main/resources/META-INF/resources, --configure, build/tmp/resource/string4528062566539886411.txt, --destination, build/docs/jsdoc, --package, package.json, --recurse]' finished with non-zero exit value 1. Running "npm install" again
           [exec] npm WARN layout-admin-web@2.0.76 No description
           [exec] npm WARN layout-admin-web@2.0.76 No repository field.
           [exec] npm WARN layout-admin-web@2.0.76 No license field.
           [exec] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
           [exec] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
           [exec] 
           [exec] added 1064 packages from 674 contributors in 9.521s
           [exec] Caching node_modules of project ':apps:layout:layout-admin-web' in /root/.liferay/node-modules-cache/-1681324613
           [exec] module.js:549
           [exec]     throw err;
           [exec]     ^
           [exec] 
           [exec] Error: Cannot find module '/opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/layout/layout-admin-web/node_modules/jsdoc/jsdoc.js'
           [exec]     at Function.Module._resolveFilename (module.js:547:15)
           [exec]     at Function.Module._load (module.js:474:25)
           [exec]     at Function.Module.runMain (module.js:693:10)
           [exec]     at startup (bootstrap_node.js:188:16)
           [exec]     at bootstrap_node.js:609:3
           [exec] Process '[/opt/dev/projects/github/liferay-portal-7.1.x/build/node/bin/node, /opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/layout/layout-admin-web/node_modules/jsdoc/jsdoc.js, src/main/resources/META-INF/resources, --configure, build/tmp/resource/string4528062566539886411.txt, --destination, build/docs/jsdoc, --package, package.json, --recurse]' finished with non-zero exit value 1. Running "npm install" again
           [exec] npm WARN layout-admin-web@2.0.76 No description
           [exec] npm WARN layout-admin-web@2.0.76 No repository field.
           [exec] npm WARN layout-admin-web@2.0.76 No license field.
           [exec] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
           [exec] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
           [exec] 
           [exec] added 1064 packages from 674 contributors in 9.363s
           [exec] Caching node_modules of project ':apps:layout:layout-admin-web' in /root/.liferay/node-modules-cache/-1681324613
           [exec] module.js:549
           [exec]     throw err;
           [exec]     ^
           [exec] 
           [exec] Error: Cannot find module '/opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/layout/layout-admin-web/node_modules/jsdoc/jsdoc.js'
           [exec]     at Function.Module._resolveFilename (module.js:547:15)
           [exec]     at Function.Module._load (module.js:474:25)
           [exec]     at Function.Module.runMain (module.js:693:10)
           [exec]     at startup (bootstrap_node.js:188:16)
           [exec]     at bootstrap_node.js:609:3
           [exec] 
           [exec] > Task :apps:layout:layout-admin-web:jsdoc FAILED
           [exec] > Task :apps:layout:layout-admin-web:unzipJar
           [exec] > Task :apps:layout:layout-admin-web:generateJSPJava
           [exec] Note: Some input files use or override a deprecated API.
           [exec] Note: Recompile with -Xlint:deprecation for details.
           [exec] Note: Some input files use unchecked or unsafe operations.
           [exec] Note: Recompile with -Xlint:unchecked for details.
           [exec] 
           [exec] > Task :apps:layout:layout-admin-web:compileJSP
           [exec] 
           [exec] > Task :apps:layout:layout-admin-web:jarJSP
           [exec] > Task :apps:layout:layout-admin-web:jarSources
           [exec] 
           [exec] FAILURE: Build failed with an exception.
           [exec] 
           [exec] * What went wrong:
           [exec] Execution failed for task ':apps:layout:layout-admin-web:jsdoc'.
           [exec] > java.io.IOException: Process '[/opt/dev/projects/github/liferay-portal-7.1.x/build/node/bin/node, /opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/layout/layout-admin-web/node_modules/jsdoc/jsdoc.js, src/main/resources/META-INF/resources, --configure, build/tmp/resource/string4528062566539886411.txt, --destination, build/docs/jsdoc, --package, package.json, --recurse]' finished with non-zero exit value 1
           [exec] 
           [exec] * Try:
           [exec] Run with --info or --debug option to get more log output. Run with --scan to get full insights.
           [exec] 
           [exec] * Exception is:
           [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':apps:layout:layout-admin-web:jsdoc'.
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
           [exec] 	at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
           [exec] 	at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
           [exec] 	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
           [exec] 	at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
           [exec] 	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
           [exec] 	at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
      

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            melody.wu Melody Wu
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 29 weeks ago

                Packages

                Version Package
                7.1.10 DXP FP12
                7.1.X