cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Build for DB module failed in XSA MTA

former_member698282
Discoverer
0 Kudos
1,393

While trying to build my MTA application, I am getting below error. I have just one .hdbcds file in my project. Can you help me to understand the reason for this error.

3:10:13 PM (LSPManager) Programming language services have been loaded. 3:10:14 PM (Executor) The "task for hdb build" process started. 3:10:14 PM (Executor) Started the "task for hdb build" provision. 3:10:22 PM (Provision) Service provisioning for module: "/db" 3:10:22 PM (Provision) Service instance 'HA1504-hdidb-P2002606217-workspaceecATIlbzN6Vvc6Cx' for resource 'HA1504-hdidb-P2002606217-workspaceecATIlbzN6Vvc6Cx' already exists, no operation will be performed. 3:10:24 PM (Executor) Starting process: "cd /projects/HA150_4/db; export DEVX_MTA_RESOLVED_PLACEHOLDERS="{\"services\":[{\"platformName\":\"HA1504-hdidb-P2002606217-workspaceecATIlbzN6Vvc6Cx\",\"resourceName\":\"hdi_db\",\"resourceProperties\":{},\"resourceType\":\"com.sap.xs.hdi-container\",\"serviceKeyName\":\"SharedDevKey\",\"serviceTarget\":{\"endpoint\":\"https://api.cf.eu10.hana.ondemand.com\",\"org\":\"273fa8d2trial\",\"space\":\"dev\"}}]}"; export CF_HOME=/projects/.webide/cf/c5bd2b60fcc30eaa2cebfaf00f419145; export DEVX_MTA_HDI_BUILD_OPTIONS="{\"IsSelectiveBuild\":false,\"SelectedFiles\":[],\"IsSimulateBuild\":false,\"AdditionalOptions\":{\"migrationtable-development-mode\":true}}"; export PROJECT_PATH=/projects/HA150_4/db; mkdir -p $CF_HOME/.cf/plugins/ && cp -u $CF_PLUGIN_PATH/config.json $CF_HOME/.cf/plugins/config.json 2>/dev/null || :;hdi-space-builder build -f /usr/local/resources/hdi-space-builder/manifest.yaml" 3:10:24 PM (HDB) Executing Build command: 3:10:24 PM (HDB) HDI BUILDER VERSION:1.1.8-20200610150748 3:10:24 PM (HDB) temp folder created at: /tmp/hdispacebuilder674757980 3:10:24 PM (HDB) Starting pre-hdiBuild operations... 3:10:25 PM (HDB) Creating module zip... 3:10:25 PM (HDB) module directory is: /projects/HA150_4/db 3:10:25 PM (HDB) executing NPM script at: /projects/HA150_4/db 3:10:26 PM (HDB) zipping folder..... 3:10:26 PM (HDB) zip created at: /tmp/hdispacebuilder674757980/db.zip 3:10:28 PM (HDB) connection to hdi deployer passed 3:10:28 PM (HDB) No protocol version provided, using the latest version: 1.0.0 3:10:28 PM (HDB) Log id: 1c57b2e6d776c7b92af27c4731189b2dc0ce8291 3:10:28 PM (HDB) Using protocol version 1.0.0 3:10:28 PM (HDB) FILE TRANSFER READY 3:10:28 PM (HDB) File transfer completed successfully: Checksums match. 3:10:28 PM (HDB) Requested version of @sap/hdi-deploy is ^3, found in package.json. 3:10:28 PM (HDB) WARNING: db module specified version "^3". Best match found was version "3.11.10". 3:10:28 PM (HDB) .serviceinfo.log,package.json,src 3:10:29 PM (HDB) @sap/hdi-deploy, version 3.11.10 (mode default), server version 4.00.000.00.1595937359 (4.0.0.0), node version 8.12.0, HDI version 1004, container API version 1002 3:10:29 PM (HDB) No ignore file at /tmp/hdi-space-deploy-42wsUdTvaRIRgo-content/.hdiignore. 3:10:29 PM (HDB) Collecting files... 3:10:29 PM (HDB) Collecting files... ok (0s 2ms) 3:10:29 PM (HDB) 1 directories collected3 files collected0 reusable modules collectedTarget service: HA1504-hdidb-P2002606217-workspaceecATIlbzN6Vvc6Cx 3:10:29 PM (HDB) Session variable APPLICATION is set to "SAP_HDI//". 3:10:29 PM (HDB) Previous build with request ID 230 finished at 2020-08-21 09:34:56.946046000 with status Finished and message: Make failed (5 errors, 0 warnings): tried to deploy 3 files, undeploy 0 files, redeploy 0 dependent files. 3:10:29 PM (HDB) Processing revoke files...Processing revoke files... ok (0s 0ms) 3:10:29 PM (HDB) Processing grants files... 3:10:29 PM (HDB) Processing grants files... ok (0s 0ms) 3:10:29 PM (HDB) Preprocessing files... 3:10:29 PM (HDB) Preprocessing files... ok (0s 0ms) 3:10:29 PM (HDB) Connecting to the container "HA150_4_HDI_DB_1"... 3:10:29 PM (HDB) Connecting to the container "HA150_4_HDI_DB_1"... ok (0s 76ms) 3:10:29 PM (HDB) Locking the container "HA150_4_HDI_DB_1"... 3:10:29 PM (HDB) Locking the container "HA150_4_HDI_DB_1"... ok (0s 138ms) 3:10:29 PM (HDB) Synchronizing files with the container "HA150_4_HDI_DB_1"... 3:10:29 PM (HDB) Synchronizing files with the container "HA150_4_HDI_DB_1"... ok (0s 418ms) 3:10:30 PM (HDB) 3 modified or added files are scheduled for deploy based on delta detection 3:10:30 PM (HDB) 0 deleted files are scheduled for undeploy based on delta detection (filtered by undeploy whitelist) 3:10:30 PM (HDB) 0 files are scheduled for deploy based on explicit specification 3:10:30 PM (HDB) 0 files are scheduled for undeploy based on explicit specificationDeploying to the container "HA150_4_HDI_DB_1"... 3:10:30 PM (HDB) Starting make in the container "HA150_4_HDI_DB_1" with 3 files to deploy, 0 files to undeploy... 3:10:30 PM (HDB) Disabling table replication for the container schema "HA150_4_HDI_DB_1"... Disabling table replication for the container schema "HA150_4_HDI_DB_1"... ok (0s 84ms) Migrating libraries... Migrating libraries... ok (0s 6ms) Making... Preparing... Preparing the make transaction... Deploying the configuration file "src/.hdiconfig"... Deploying the configuration file "src/.hdiconfig"... ok (0s 10ms) Deploying the namespace file "src/.hdinamespace"... Deploying the namespace file "src/.hdinamespace"... ok (0s 5ms) Adding "src/Table_PO.hdbcds" for deploy... Error: "src/Table_PO.hdbcds": could not create a compile unit for the file [8211714] at "src/Table_PO.hdbcds" (0:0) Error: "src/.hdiconfig": Configuration does not define a build plugin for file suffix "hdbcds" [8210015] at "src/.hdiconfig" (0:0) Error: Adding "src/Table_PO.hdbcds" for deploy... failed [8211700] Error: Preparing... failed [8211602] Preparing the make transaction... ok (0s 66ms) Make failed (5 errors, 0 warnings): tried to deploy 3 files, undeploy 0 files, redeploy 0 dependent files Error: Making... failed [8211605] Error: Starting make in the container "HA150_4_HDI_DB_1" with 3 files to deploy, 0 files to undeploy... failed [8214168] 3:10:30 PM (HDB) Deployment to container HA150_4_HDI_DB_1 failed - error: HDI make failed [depId]. 3:10:30 PM (HDB) Error: HDI make failed 3:10:30 PM (HDB) (1s 809ms) 3:10:30 PM (HDB) Deployment failed with exit code: 1 3:10:30 PM (HDB) STRUCTURED LOG CHECKSUM 6124352e835fbb8fba270f1c98798594d558596d6396aa6f06fd2655479d06ba 3:10:30 PM (HDB) STRUCTURED LOG SIZE7315 3:10:30 PM (HDB) SENDING STRUCTURED LOG 3:10:30 PM (HDB) Ended because of error: Deployment failed with exit code: 1 3:10:30 PM (HDB) Build command failed : Please check the Problem view for more information.: hdi-build operation failed: Deployment failed with exit code: 1 3:10:30 PM (HDB) Build of /HA150_4/db failed due to The "task for hdb build" process finished with code 1.

View Entire Topic
braghavendra_rao
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi

Whats the underlying HANA DB version? Is it Hana Cloud?

Looks like the build plugin version for .hdbcds is not defined in .hdiconfig file

Deploying the configuration file "src/.hdiconfig"... Deploying the configuration file "src/.hdiconfig"... ok (0s 10ms) Deploying the namespace file "src/.hdinamespace"... Deploying the namespace file "src/.hdinamespace"... ok (0s 5ms) Adding "src/Table_PO.hdbcds" for deploy... Error: "src/Table_PO.hdbcds": could not create a compile unit for the file [8211714] at "src/Table_PO.hdbcds" (0:0) Error: "src/.hdiconfig": Configuration does not define a build plugin for file suffix "hdbcds"


Regards

Raghavendra

former_member698282
Discoverer
0 Kudos

Yes, underlying HANA DB version is Hana Cloud.

I do not see any entry related to HDBCDS in .hdiconfig file. Can you inform what is to be added in .hdiconfig file for build plugin? Is this step specific to Hana Cloud?