on 06-20-2016 1:50 PM
When trying to build CDS artefact I get this error:
13:43:38 (git) Status request completed successfully
13:43:50 (Builder) Build of /HdiTesting/test_db started.
13:43:52 (DIBuild) Build of /HdiTesting/test_db in progress
13:43:59 (DIBuild) ********** Printing /HdiTesting/test_db Build Log **********
[INFO] Injecting source code into builder...
[INFO] Source code injection finished
[INFO] ------------------------------------------------------------------------
sap-hdi-deploy@1.0.6 node_modules/sap-hdi-deploy
├── async@1.4.2
├── sap-xsenv@1.2.1 (debug@2.2.0, verror@1.6.0)
└── hdb@0.5.3
> deploy@ start /sapmnt/shared/SM3/xs/ea_data/prd-nohana01/executionroot/5ef7de55-a0f3-4688-9187-1a3b0c47e1dc/app/tomcat/temp/builder/hdi-builder/builds/build-4432784078929501740/test_db
> node node_modules/sap-hdi-deploy/deploy.js --autoUndeploy
Deleting 1 paths from the container "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER"...
Deleting 1 paths from the container "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER"... ok
Writing 5 files to the container "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER"...
Writing 5 files to the container "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER"... ok
Getting the status of the container "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER"...
Getting the status of the container "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER"... ok
Starting make in the container "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER" with 2 files to deploy, 0 files to undeploy...
Migrating libraries...
Making...
No make necessary
Making... ok
Migrating libraries... ok
Making...
Preparing...
Preparing the make transaction...
Deploying the namespace file "src/.hdinamespace"...
Deploying the namespace file "src/.hdinamespace"... ok
Adding "src/data/Monitiq.hdbcds" for deploy...
Adding "src/data/Monitiq.hdbcds" for deploy... ok
Preparing... ok
Preparing the make transaction... ok
Checking the uniqueness of the catalog objects in the schema "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER"...
Checking the uniqueness of the catalog objects in the schema "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER"... ok
Calculating dependencies...
Expanding...
Expanding... ok
Precompiling...
Precompiling "src/data/Monitiq.hdbcds"...
Precompiling "src/data/Monitiq.hdbcds"... ok
Precompiling... ok
Merging...
Merging "src/data/Monitiq.hdbcds"...
Merging "src/data/Monitiq.hdbcds"... ok
Precompiling "$cds/HdiTesting.test_db.data::Monitiq" (merged)...
Merged from "src/data/Monitiq.hdbcds"
Precompiling "$cds/HdiTesting.test_db.data::Monitiq" (merged)... ok
Merging... ok
Calculating dependencies... ok
Optimizing...
Optimizing... ok
Processing work list...
Undeploying "$cds/HdiTesting.test_db.data::Monitiq"...
Merged from "src/data/Monitiq.hdbcds"
Undeploying "$cds/HdiTesting.test_db.data::Monitiq"... ok
Deploying "src/data/Monitiq.hdbcds"...
Deploying "$cds/HdiTesting.test_db.data::Monitiq"...
Merged from "src/data/Monitiq.hdbcds"
ERROR: com.sap.hana.di.cds [1310026] Primitive type "sap.cds::String" requires exactly one integer parameter "Length"
at "src/data/Monitiq.hdbcds" [6:10-16]
ERROR: [8212102] Processing work list... failed
ERROR: [8211557] Make failed (2 errors, 0 warnings): tried to deploy 2 files (effective 3), undeploy 0 files (effective 1), redeploy 0 dependent files
ERROR: [8211605] Making... failed
ERROR: [8214168] Starting make in the container "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER" with 2 files to deploy, 0 files to undeploy... failed
Command failed
Deployment to container MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER failed - error Error executing: CALL "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER#DI".MAKE(#DEPLOY, #UNDEPLOY, #FOLDERPRMS, #PRMS, ?, ?, ?); (nested message: HDI call failed) [Deployment ID: none].
[Error: Error executing: CALL "MLGVD7FKGVNV47ED_HDITESTING_HDI_CONTAINER#DI".MAKE(#DEPLOY, #UNDEPLOY, #FOLDERPRMS, #PRMS, ?, ?, ?);
(nested message: HDI call failed)]
npm ERR! Linux 3.0.101-0.47.52-default
npm ERR! argv "/sapmnt/shared/SM3/xs/ea_data/prd-nohana01/executionroot/5ef7de55-a0f3-4688-9187-1a3b0c47e1dc/app/resources/nodejs/vendor/node4.4/bin/node_main/node" "/sapmnt/shared/SM3/xs/ea_data/prd-nohana01/executionroot/5ef7de55-a0f3-4688-9187-1a3b0c47e1dc/app/resources/nodejs/vendor/node4.4/lib/node_modules/npm/bin/npm-cli.js" "start"
npm ERR! node v4.4.0
npm ERR! npm v2.14.20
npm ERR! code ELIFECYCLE
npm ERR! deploy@ start: `node node_modules/sap-hdi-deploy/deploy.js --autoUndeploy`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the deploy@ start script 'node node_modules/sap-hdi-deploy/deploy.js --autoUndeploy'.
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 --autoUndeploy
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! /sapmnt/shared/SM3/xs/ea_data/prd-nohana01/executionroot/5ef7de55-a0f3-4688-9187-1a3b0c47e1dc/app/tomcat/temp/builder/hdi-builder/builds/build-4432784078929501740/test_db/npm-debug.log
********** End of /HdiTesting/test_db Build Log **********
13:43:59 (Builder) Check console logs for details
13:43:59 (Builder) Build of /HdiTesting/test_db failed.
My .hdbcds file:
namespace HdiTesting.test_db.data;
context MyContext{
entity customers{
key cust_id : Integer not null;
name : String not null;
};
};
name : String(100) not null;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.