[Builder] Build failed in Jenkins: platform-builds » apim-apps #180
cbuilder at wso2.org
cbuilder at wso2.org
Sun Feb 13 04:37:14 PST 2022
See <https://wso2.org/jenkins/job/platform-builds/job/apim-apps/180/display/redirect?page=changes>
Changes:
[hiranyakavi] service catelog changes
------------------------------------------
[...truncated 556.97 KB...]
[INFO] Ignored nodes: comments, <script />, <style />
[INFO] <body>
[INFO] <div>
[INFO] <div
[INFO] class="progress-bar-striped"
[INFO] id="apim-loader"
[INFO] >
[INFO] <span
[INFO] style="background-color: rgb(249, 249, 249); width: 300px; display: flex; justify-content: center; font-family: \"Open Sans\", \"Helvetica\", \"Arial\", sans-serif; padding-bottom: 14px;"
[INFO] >
[INFO] Loading APIs ...
[INFO] </span>
[INFO] <div
[INFO] style="width: 90%;"
[INFO] >
[INFO]
[INFO] </div>
[INFO] </div>
[INFO] </div>
[INFO] </body>
[INFO]
[INFO] 27 | render(<TableView />);
[INFO] 28 | expect(screen.getByText(/loading apis \.\.\./i)).toBeInTheDocument();
[INFO] > 29 | await waitFor(() => {
[INFO] | ^
[INFO] 30 | expect(
[INFO] 31 | screen.getByRole('heading', { name: /apis/i }),
[INFO] 32 | ).toBeInTheDocument();
[INFO]
[INFO] at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:187:27)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Listing/TableView/TableView.test.tsx:29:15)
[INFO]
[INFO] ● Table view › should switch to table view
[INFO]
[INFO] Unable to find role="button"
[INFO]
[INFO] Ignored nodes: comments, <script />, <style />
[INFO] <body>
[INFO] <div>
[INFO] <div
[INFO] class="progress-bar-striped"
[INFO] id="apim-loader"
[INFO] >
[INFO] <span
[INFO] style="background-color: rgb(249, 249, 249); width: 300px; display: flex; justify-content: center; font-family: \"Open Sans\", \"Helvetica\", \"Arial\", sans-serif; padding-bottom: 14px;"
[INFO] >
[INFO] Loading APIs ...
[INFO] </span>
[INFO] <div
[INFO] style="width: 90%;"
[INFO] >
[INFO]
[INFO] </div>
[INFO] </div>
[INFO] </div>
[INFO] </body>
[INFO]
[INFO] 44 | render(<TableView />);
[INFO] 45 | expect(
[INFO] > 46 | await screen.findByRole('button', {
[INFO] | ^
[INFO] 47 | name: /switch to list view/i,
[INFO] 48 | }),
[INFO] 49 | ).toBeInTheDocument();
[INFO]
[INFO] at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:187:27)
[INFO] at findByRole (node_modules/@testing-library/dom/dist/query-helpers.js:101:33)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Listing/TableView/TableView.test.tsx:46:26)
[INFO]
[INFO] ● Table view › should show create API options
[INFO]
[INFO] Unable to find role="button"
[INFO]
[INFO] Ignored nodes: comments, <script />, <style />
[INFO] <body>
[INFO] <div>
[INFO] <div
[INFO] class="progress-bar-striped"
[INFO] id="apim-loader"
[INFO] >
[INFO] <span
[INFO] style="background-color: rgb(249, 249, 249); width: 300px; display: flex; justify-content: center; font-family: \"Open Sans\", \"Helvetica\", \"Arial\", sans-serif; padding-bottom: 14px;"
[INFO] >
[INFO] Loading APIs ...
[INFO] </span>
[INFO] <div
[INFO] style="width: 90%;"
[INFO] >
[INFO]
[INFO] </div>
[INFO] </div>
[INFO] </div>
[INFO] </body>
[INFO]
[INFO] 72 | render(<TableView />);
[INFO] 73 | expect(
[INFO] > 74 | await screen.findByRole('button', {
[INFO] | ^
[INFO] 75 | name: /switch to list view/i,
[INFO] 76 | }),
[INFO] 77 | ).toBeInTheDocument();
[INFO]
[INFO] at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:187:27)
[INFO] at findByRole (node_modules/@testing-library/dom/dist/query-helpers.js:101:33)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Listing/TableView/TableView.test.tsx:74:26)
[INFO]
[INFO] ● Table view › should not show create API option for Publisher User
[INFO]
[INFO] Unable to find an element with the text: /total:apis/i. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
[INFO]
[INFO] Ignored nodes: comments, <script />, <style />
[INFO] <body>
[INFO] <div>
[INFO] <div
[INFO] class="progress-bar-striped"
[INFO] id="apim-loader"
[INFO] >
[INFO] <span
[INFO] style="background-color: rgb(249, 249, 249); width: 300px; display: flex; justify-content: center; font-family: \"Open Sans\", \"Helvetica\", \"Arial\", sans-serif; padding-bottom: 14px;"
[INFO] >
[INFO] Loading APIs ...
[INFO] </span>
[INFO] <div
[INFO] style="width: 90%;"
[INFO] >
[INFO]
[INFO] </div>
[INFO] </div>
[INFO] </div>
[INFO] </body>
[INFO]
[INFO] 104 | test('should not show create API option for Publisher User', async () => {
[INFO] 105 | render(<TableView />, { user: MockedUsers.Publisher });
[INFO] > 106 | await waitFor(() => {
[INFO] | ^
[INFO] 107 | expect(screen.getByText(/total:apis/i)).toBeInTheDocument();
[INFO] 108 | });
[INFO] 109 | expect(screen.queryByRole('button', {
[INFO]
[INFO] at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:187:27)
[INFO] at Object.<anonymous> (source/src/app/components/Apis/Listing/TableView/TableView.test.tsx:106:15)
[INFO]
[INFO]
[INFO] Test Suites: 7 failed, 15 skipped, 2 passed, 9 of 24 total
[INFO] Tests: 12 failed, 44 skipped, 4 todo, 6 passed, 66 total
[INFO] Snapshots: 0 total
[INFO] Time: 144.559 s
[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.237 ............... SUCCESS [06:46 min]
[INFO] [INFO] WSO2 API Manager - Publisher portal UI ............. FAILURE [05:13 min]
[INFO] [INFO] WSO2 API Manager - Developer portal UI ............. SKIPPED
[INFO] [INFO] WSO2 API Manager - Admin portal UI ................. SKIPPED
[INFO] [INFO] WSO2 API Manager UI Portals - Parent 9.0.237 ....... SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 12:00 min
[INFO] [INFO] Finished at: 2022-02-13T12:35:45Z
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (npm run test:ci) on project org.wso2.carbon.apimgt.ui.publisher: 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.publisher
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 API Manager UI - Parent 9.0.237-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.237-SNAPSHOT SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:30 min
[INFO] Finished at: 2022-02-13T12:36:07Z
[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.237-SNAPSHOT/org.wso2.carbon.apimgt.ui.publisher-9.0.237-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.237-SNAPSHOT/org.wso2.carbon.apimgt.ui.devportal-9.0.237-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.237-SNAPSHOT/apim.ui.apps.portals-9.0.237-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.237-SNAPSHOT/apim.ui.apps-9.0.237-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.237-SNAPSHOT/org.wso2.carbon.apimgt.ui.admin-9.0.237-SNAPSHOT.pom
No mail will be sent out, as 'platform-builds » apim-apps » WSO2 API Manager - Developer portal UI #180' 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 #180' 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 #180' 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 #180' 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.237. 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.237 # timeout=10
[WSO2 Maven Release] Dropped git tag - v9.0.237
FATAL: [M2Release] Could not find nexus stage repository for project.
More information about the Builder
mailing list