[Builder] Build failed in Jenkins: platform-builds » apim-apps #190
cbuilder at wso2.org
cbuilder at wso2.org
Tue Feb 15 08:37:31 PST 2022
See <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/190/display/redirect?page=changes>
Changes:
[tmkasun] resolve dep issue
[tmkasun] update mui usage
[tmkasun] fix linting issues
[tmkasun] update azure pipeline
[tmkasun] update portals/publisher/source/src/app/components/Apis/Details/Policies/PolicySpecificationEditor.tsx types issue
[tmkasun] fix eslint issues
[tmkasun] fix deportal linting errors
[tmkasun] fix eslint issues after update
[tmkasun] update plugin-transform-spread
------------------------------------------
[...truncated 470.48 KB...]
[INFO] 0% compiling
[INFO] 20% building 80/108 modules 28 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/lodash.isplainobject/index.js>
[INFO] 20% building 81/108 modules 27 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/lodash.isplainobject/index.js>
[INFO] 20% building 81/109 modules 28 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/react-fast-compare/index.js>
[INFO] 20% building 81/110 modules 29 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@babel/runtime/helpers/esm/extends.js>
[INFO] 20% building 81/111 modules 30 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@babel/runtime/helpers/esm/createClass.js>
[INFO] 20% building 81/112 modules 31 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js>
[INFO] 20% building 81/113 modules 32 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js>
[INFO] 20% building 81/114 modules 33 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js>
[INFO] 20% building 81/115 modules 34 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/babel-loader/lib/index.js!/home/jenkins/workspace/platform-builds/apim-apps/portals/devportal/loader.js!/home/jenkins/workspace/platform-builds/apim-apps/portals/devportal/source/src/app/components/Shared/VerticalDivider.jsx>
[INFO] 20% building 81/116 modules 35 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/tiny-warning/dist/tiny-warning.esm.js>
[INFO] 20% building 81/117 modules 36 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/tiny-invariant/dist/tiny-invariant.esm.js>
[INFO] 20% building 81/118 modules 37 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/react-side-effect/lib/index.js>
[INFO] 20% building 82/118 modules 36 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/react-side-effect/lib/index.js>
[INFO] 20% building 83/118 modules 35 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/react-side-effect/lib/index.js>
[INFO] 20% building 84/118 modules 34 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/react-side-effect/lib/index.js>
[INFO] 20% building 85/118 modules 33 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/react-side-effect/lib/index.js>
[INFO] 20% building 86/118 modules 32 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/react-side-effect/lib/index.js>
[INFO] 20% building 87/118 modules 31 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/react-side-effect/lib/index.js>
[INFO] 40% building 246/281 modules 35 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js>
[INFO] 40% building 247/281 modules 34 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js>
[INFO] 40% building 248/281 modules 33 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js>
[INFO] 40% building 249/281 modules 32 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js>
[INFO] 40% building 250/281 modules 31 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js>
[INFO] 40% building 250/282 modules 32 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/@babel/runtime-corejs3/helpers/objectSpread2.js>
[INFO] 40% building 250/283 modules 33 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js>
[INFO] 40% building 250/284 modules 34 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/intl-messageformat/lib/formatters.js>
[INFO] 40% building 251/284 modules 33 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/intl-messageformat/lib/formatters.js>
[INFO] 40% building 252/284 modules 32 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/intl-messageformat/lib/formatters.js>
[INFO] 40% building 253/284 modules 31 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/intl-messageformat/lib/formatters.js>
[INFO] 40% building 254/284 modules 30 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/intl-messageformat/lib/formatters.js>
[INFO] 60% building 413/440 modules 27 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@material-ui/core/esm/transitions/utils.js>
[INFO] 60% building 414/440 modules 26 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@material-ui/core/esm/transitions/utils.js>
[INFO] 60% building 414/441 modules 27 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@material-ui/core/esm/Container/Container.js>
[INFO] 60% building 415/441 modules 26 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/node_modules/@material-ui/core/esm/Container/Container.js>
[INFO] 60% building 415/442 modules 27 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/call-bind/index.js>
[INFO] 60% building 416/442 modules 26 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/call-bind/index.js>
[INFO] 60% building 417/442 modules 25 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/call-bind/index.js>
[INFO] 60% building 418/442 modules 24 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/call-bind/index.js>
[INFO] 60% building 419/442 modules 23 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/call-bind/index.js>
[INFO] 60% building 420/442 modules 22 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/call-bind/index.js>
[INFO] 60% building 420/443 modules 23 active <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/node_modules/core-js/internals/iterators-core.js>
[INFO] 80% basic chunk modules optimization
[INFO] 80% chunk modules optimization
[INFO] 80% chunk modules optimization ModuleConcatenationPlugin
[INFO] 100%
[INFO] [INFO]
[INFO] [INFO] --- exec-maven-plugin:1.5.0:exec (npm run test) @ org.wso2.carbon.apimgt.ui.devportal ---
[INFO]
[INFO] > @wso2apim/devportal at 4.0.1 test:ci
[INFO] > jest --silent
[INFO]
[INFO] FAIL source/Tests/Comments/Comments.test.jsx
[INFO] ● Test suite failed to run
[INFO]
[INFO] TypeError: (0 , _styles.createTheme) is not a function
[INFO]
[INFO] 29 | import Message from './Message';
[INFO] 30 |
[INFO] > 31 | const theme = createTheme(merge(DefaultConfigurations, Configurations));
[INFO] | ^
[INFO] 32 |
[INFO] 33 | /**
[INFO] 34 | * Common alerting/message displaying component for Developer Portal application, Pre-set vertical: 'top',
[INFO]
[INFO] at Object.<anonymous> (source/src/app/components/Shared/Alert.jsx:31:15)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Details/Comments/Comment.jsx:33:1)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Details/Comments/Comments.jsx:32:1)
[INFO] at Object.<anonymous> (source/Tests/Comments/Comments.test.jsx:21:1)
[INFO] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[INFO]
[INFO] FAIL source/Tests/Comments/CommentAdd.test.jsx
[INFO] ● Test suite failed to run
[INFO]
[INFO] TypeError: (0 , _styles.createTheme) is not a function
[INFO]
[INFO] 29 | import Message from './Message';
[INFO] 30 |
[INFO] > 31 | const theme = createTheme(merge(DefaultConfigurations, Configurations));
[INFO] | ^
[INFO] 32 |
[INFO] 33 | /**
[INFO] 34 | * Common alerting/message displaying component for Developer Portal application, Pre-set vertical: 'top',
[INFO]
[INFO] at Object.<anonymous> (source/src/app/components/Shared/Alert.jsx:31:15)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Details/Comments/CommentAdd.jsx:27:1)
[INFO] at Object.<anonymous> (source/Tests/Comments/CommentAdd.test.jsx:20:1)
[INFO] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[INFO]
[INFO] FAIL source/Tests/Comments/CommentReply.test.jsx
[INFO] ● Test suite failed to run
[INFO]
[INFO] TypeError: (0 , _styles.createTheme) is not a function
[INFO]
[INFO] 29 | import Message from './Message';
[INFO] 30 |
[INFO] > 31 | const theme = createTheme(merge(DefaultConfigurations, Configurations));
[INFO] | ^
[INFO] 32 |
[INFO] 33 | /**
[INFO] 34 | * Common alerting/message displaying component for Developer Portal application, Pre-set vertical: 'top',
[INFO]
[INFO] at Object.<anonymous> (source/src/app/components/Shared/Alert.jsx:31:15)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Details/Comments/CommentEdit.jsx:27:1)
[INFO] at Object.<anonymous> (source/Tests/Comments/CommentReply.test.jsx:20:1)
[INFO] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[INFO]
[INFO] FAIL source/Tests/Comments/Comment.test.jsx
[INFO] ● Test suite failed to run
[INFO]
[INFO] TypeError: (0 , _styles.createTheme) is not a function
[INFO]
[INFO] 29 | import Message from './Message';
[INFO] 30 |
[INFO] > 31 | const theme = createTheme(merge(DefaultConfigurations, Configurations));
[INFO] | ^
[INFO] 32 |
[INFO] 33 | /**
[INFO] 34 | * Common alerting/message displaying component for Developer Portal application, Pre-set vertical: 'top',
[INFO]
[INFO] at Object.<anonymous> (source/src/app/components/Shared/Alert.jsx:31:15)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Details/Comments/Comment.jsx:33:1)
[INFO] at Object.<anonymous> (source/Tests/Comments/Comment.test.jsx:20:1)
[INFO] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[INFO]
[INFO] FAIL source/Tests/Comments/CommentEdit.test.jsx
[INFO] ● Test suite failed to run
[INFO]
[INFO] TypeError: (0 , _styles.createTheme) is not a function
[INFO]
[INFO] 29 | import Message from './Message';
[INFO] 30 |
[INFO] > 31 | const theme = createTheme(merge(DefaultConfigurations, Configurations));
[INFO] | ^
[INFO] 32 |
[INFO] 33 | /**
[INFO] 34 | * Common alerting/message displaying component for Developer Portal application, Pre-set vertical: 'top',
[INFO]
[INFO] at Object.<anonymous> (source/src/app/components/Shared/Alert.jsx:31:15)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Details/Comments/CommentEdit.jsx:27:1)
[INFO] at Object.<anonymous> (source/Tests/Comments/CommentEdit.test.jsx:20:1)
[INFO] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[INFO]
[INFO] Test Suites: 5 failed, 5 total
[INFO] Tests: 0 total
[INFO] Snapshots: 0 total
[INFO] Time: 12.833s
[INFO] [ERROR] Command execution failed.
[INFO] org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
[INFO] at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
[INFO] at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
[INFO] at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:764)
[INFO] at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:711)
[INFO] at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:289)
[INFO] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
[INFO] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[INFO] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[INFO] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[INFO] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[INFO] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[INFO] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[INFO] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[INFO] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
[INFO] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
[INFO] at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[INFO] at java.lang.reflect.Method.invoke (Method.java:498)
[INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
[INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
[INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
[INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] WSO2 API Manager UI - Parent 9.0.240 ............... SUCCESS [05:23 min]
[INFO] [INFO] WSO2 API Manager - Publisher portal UI ............. SUCCESS [04:15 min]
[INFO] [INFO] WSO2 API Manager - Developer portal UI ............. FAILURE [02:18 min]
[INFO] [INFO] WSO2 API Manager - Admin portal UI ................. SKIPPED
[INFO] [INFO] WSO2 API Manager UI Portals - Parent 9.0.240 ....... SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 11:56 min
[INFO] [INFO] Finished at: 2022-02-15T16:36:35Z
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (npm run test) on project org.wso2.carbon.apimgt.ui.devportal: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] [ERROR]
[INFO] [ERROR] After correcting the problems, you can resume the build with the command
[INFO] [ERROR] mvn <goals> -rf :org.wso2.carbon.apimgt.ui.devportal
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 API Manager UI - Parent 9.0.240-SNAPSHOT ...... FAILURE [12:07 min]
[INFO] WSO2 API Manager - Publisher portal UI ............. SKIPPED
[INFO] WSO2 API Manager - Developer portal UI ............. SKIPPED
[INFO] WSO2 API Manager - Admin portal UI ................. SKIPPED
[INFO] WSO2 API Manager UI Portals - Parent 9.0.240-SNAPSHOT SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:28 min
[INFO] Finished at: 2022-02-15T16:36:54Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project apim.ui.apps: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[JENKINS] Archiving <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/publisher/pom.xml> to org.wso2.carbon.apimgt.ui/org.wso2.carbon.apimgt.ui.publisher/9.0.240-SNAPSHOT/org.wso2.carbon.apimgt.ui.publisher-9.0.240-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/devportal/pom.xml> to org.wso2.carbon.apimgt.ui/org.wso2.carbon.apimgt.ui.devportal/9.0.240-SNAPSHOT/org.wso2.carbon.apimgt.ui.devportal-9.0.240-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/pom.xml> to org.wso2.carbon.apimgt.ui/apim.ui.apps.portals/9.0.240-SNAPSHOT/apim.ui.apps.portals-9.0.240-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/pom.xml> to org.wso2.carbon.apimgt.ui/apim.ui.apps/9.0.240-SNAPSHOT/apim.ui.apps-9.0.240-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/ws/portals/admin/pom.xml> to org.wso2.carbon.apimgt.ui/org.wso2.carbon.apimgt.ui.admin/9.0.240-SNAPSHOT/org.wso2.carbon.apimgt.ui.admin-9.0.240-SNAPSHOT.pom
No mail will be sent out, as 'platform-builds » apim-apps » WSO2 API Manager - Developer portal UI #190' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'platform-builds » apim-apps » WSO2 API Manager UI Portals - Parent #190' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'platform-builds » apim-apps » WSO2 API Manager - Publisher portal UI #190' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
Sending e-mails to: builder at wso2.org
No mail will be sent out, as 'platform-builds » apim-apps » WSO2 API Manager - Admin portal UI #190' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
channel stopped
using credential github-user-for-maven-releases
> git rev-parse HEAD^{commit} # timeout=10
using credential github-user-for-maven-releases
> git rev-parse HEAD^{commit} # timeout=10
------------------------------------------------------------------------
[WSO2 Maven Release] [WSO2 Maven Release] Build Result: FAILURE
[WSO2 Maven Release] Dropping Git Tag: v9.0.240. Reason: FAILURE build.
[WSO2 Maven Release] Deleting release tag from remote.
> git --version # timeout=10
using GIT_ASKPASS to set credentials github user for maven release plugin (CD)
> git push https://github.com/wso2/apim-apps.git :refs/tags/v9.0.240 # timeout=10
[WSO2 Maven Release] Dropped git tag - v9.0.240
FATAL: [M2Release] Could not find nexus stage repository for project.
More information about the Builder
mailing list