cancel
Showing results for 
Search instead for 
Did you mean: 

xsa buikd fail question (sorry for the tag, but i will retag it later if needed)

Former Member
0 Kudos

i can't see more details here due to missing authorizations (while using xsa_dev id) under this link:

https://vhcalhdbdb:53075/sap/hana/shared/HXE/xs/ea_data/vhcalhxedb/executionroot/e15b42a7-0f72-44d7-...

the 2nd try confirms the issue:

8:13:05 AM (Builder) Build of /gm2 started. 8:13:07 AM (DIBuild) Build of /gm2 in progress 8:13:15 AM (DIBuild) ********** Printing /gm2 Build Log **********

[INFO] Reading mta.yaml
[INFO] Processing mta.yaml
[INFO] Processing resource hdi-container
[INFO] Processing module gm1v
[INFO] Logs of build task for module {1}:
> [INFO] Injecting source code into builder...
> [INFO] Source code injection finished
> [INFO] ------------------------------------------------------------------------
> sap-hdi-deploy@2.0.0 node_modules/sap-hdi-deploy
> ├── async@1.4.2
> ├── sap-xsenv@1.2.2 (debug@2.2.0, verror@1.6.0)
> └── hdb@0.5.3
>
> > deploy@ start /hana/shared/HXE/xs/ea_data/vhcalhxedb/executionroot/e15b42a7-0f72-44d7-b1bb-e32fa99be35d/app/tomcat/temp/builder/hdi-builder/builds/build-4759149631986483854/gm1v
> > node node_modules/sap-hdi-deploy/deploy.js
>
> sap-hdi-deploy, version 2.0.0
> Collecting files...
> Collecting files... ok (0s 3ms)
> Processing grants files...
> Processing grants files... ok (0s 0ms)
> Preprocessing files...
> Preprocessing files... ok (0s 2ms)
> Synchronizing files with the container "3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER"...
> 1 modified or added files are scheduled for deploy
> 0 deleted files are scheduled for undeploy
> Synchronizing files with the container "3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER"... ok (0s 712ms)
> Deploying to the container "3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER"...
> Starting make in the container "3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER" with 1 files to deploy, 0 files to undeploy...
> Migrating libraries...
> Making...
> No make necessary
> Making... ok
> Migrating libraries... ok
> Making...
> Preparing...
> Preparing the make transaction...
> Adding "src/viewfolder/gm1v.hdbcalculationview" for deploy...
> Adding "src/viewfolder/gm1v.hdbcalculationview" for deploy... ok
> Preparing... ok
> Preparing the make transaction... ok
> Checking the uniqueness of the catalog objects in the schema "3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER"...
> Checking the uniqueness of the catalog objects in the schema "3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER"... ok
> Calculating dependencies...
> Expanding...
> Expanding... ok
> Precompiling...
> Precompiling "src/viewfolder/gm1v.hdbcalculationview"...
> Error: com.sap.hana.di.calculationview: No measures defined in a cube
> at "src/viewfolder/gm1v.hdbcalculationview" (0:0)
> Precompiling "src/viewfolder/gm1v.hdbcalculationview"... ok
> Error: Precompiling... failed
> Error: Calculating dependencies... failed
> Error: Make failed (3 errors, 0 warnings): tried to deploy 1 files (effective 1), undeploy 0 files (effective 0), redeploy 0 dependent files
> Error: Making... failed
> Error: Starting make in the container "3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER" with 1 files to deploy, 0 files to undeploy... failed
> Command failed
> Deployment to container 3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER failed - error Error executing: CALL "3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER#DI".MAKE(#DEPLOY, #UNDEPLOY, #FOLDERPRMS, #PRMS, ?, ?, ?); (nested message: HDI call failed) [Deployment ID: none].
> Error: Error: Error executing: CALL "3EHPDXCVBATNKIL7_GM2_HDI_CONTAINER#DI".MAKE(#DEPLOY, #UNDEPLOY, #FOLDERPRMS, #PRMS, ?, ?, ?);
> (nested message: HDI call failed)
> (2s 355ms)
>
> npm ERR! Linux 3.0.101-71-default
> npm ERR! argv "/hana/shared/HXE/xs/ea_data/vhcalhxedb/executionroot/e15b42a7-0f72-44d7-b1bb-e32fa99be35d/app/resources/nodejs/vendor/node4.4/bin/node" "/hana/shared/HXE/xs/ea_data/vhcalhxedb/executionroot/e15b42a7-0f72-44d7-b1bb-e32fa99be35d/app/resources/nodejs/vendor/node4.4/lib/node_modules/npm/bin/npm-cli.js" "start"
> npm ERR! node v4.4.6
> npm ERR! npm v2.15.5
> npm ERR! code ELIFECYCLE
> npm ERR! deploy@ start: `node node_modules/sap-hdi-deploy/deploy.js`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the deploy@ start script 'node node_modules/sap-hdi-deploy/deploy.js'.
> npm ERR! This is most likely a problem with the deploy package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR! node node_modules/sap-hdi-deploy/deploy.js
> npm ERR! You can get information on how to open an issue for this project with:
> npm ERR! npm bugs deploy
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR!
> npm ERR! npm owner ls deploy
> npm ERR! There is likely additional logging output above.
>
> npm ERR! Please include the following file with any support request:
> npm ERR! /hana/shared/HXE/xs/ea_data/vhcalhxedb/executionroot/e15b42a7-0f72-44d7-b1bb-e32fa99be35d/app/tomcat/temp/builder/hdi-builder/builds/build-4759149631986483854/gm1v/npm-debug.log

[ERROR] Failed to build module gm1v.

********** End of /gm2 Build Log ********** 8:13:16 AM (Builder) Check console logs for details 8:13:16 AM (Builder) Build of /gm2 failed.

any suggestions?

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor

The problem is in your calc. view "gm1v.hdbcalculationview". It is defined as Cube, but according to the error message you have defined no measure which is a must have for that type.

Here is the error message out of your log:
> Error: com.sap.hana.di.calculationview: No measures defined in a cube

Regards,
Florian

Answers (0)