Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container prepare 2026/05/05 19:33:40 Entrypoint initialization Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container place-scripts 2026/05/05 19:33:41 Decoded script /tekton/scripts/script-0-kwfpx 2026/05/05 19:33:41 Decoded script /tekton/scripts/script-1-4jvb6 2026/05/05 19:33:41 Decoded script /tekton/scripts/script-2-6vtbj 2026/05/05 19:33:41 Decoded script /tekton/scripts/script-3-5zxkj 2026/05/05 19:33:41 Decoded script /tekton/scripts/script-4-rqbj9 2026/05/05 19:33:41 Decoded script /tekton/scripts/script-5-8nrfn 2026/05/05 19:33:41 Decoded script /tekton/scripts/script-6-hh7qs 2026/05/05 19:33:41 Decoded script /tekton/scripts/script-7-dx9qv 2026/05/05 19:33:41 Decoded script /tekton/scripts/script-8-q6qt9 Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/destiny.git version refs/pull/1097/head:PR-1097@11ebdaeb520e05a39fe44d9b700d147e39526baa to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/destiny * [new ref] refs/pull/1097/head -> PR-1097 Switched to branch 'PR-1097' HEAD is now at 11ebdaeb fix: use @koa/router instead of koa-router (not installed) checked out revision: refs/pull/1097/head:PR-1097@11ebdaeb520e05a39fe44d9b700d147e39526baa to dir: source Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=main:01c888897e9d7d2ea468b9283fbb48cc0bb84d45,1097:11ebdaeb520e05a39fe44d9b700d147e39526baa:refs/pull/1097/head using base branch main and base sha 01c888897e9d7d2ea468b9283fbb48cc0bb84d45 merging sha: 11ebdaeb520e05a39fe44d9b700d147e39526baa Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container step-jx-variables WARNING: no $GIT_SECRET_MOUNT_PATH environment variable set about to run: git clone --no-checkout --filter=blob:none --depth=1 https://github.com/greencapitaltrade/mcu.git /tmp/jx-git-427355959 in dir /tmp Cloning into '/tmp/jx-git-427355959'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-427355959 about to run: git checkout in dir /tmp/jx-git-427355959 Your branch is up to date with 'origin/main'. export APP_NAME='destiny' export BRANCH_NAME='PR-1097' export BUILD_NUMBER='17' export DOCKERFILE_PATH='Dockerfile' export DOCKER_REGISTRY='417755753340.dkr.ecr.ap-south-1.amazonaws.com' export DOCKER_REGISTRY_ORG='greencapitaltrade' export DOMAIN='gc-t.in' about to run: git rev-parse --abbrev-ref HEAD in dir . main export GIT_BRANCH='main' export JENKINS_X_URL='https://dashboard-jx.gc-t.in/greencapitaltrade/destiny/PR-1097/17' export JX_CHART_REPOSITORY='http://jenkins-x-chartmuseum.jx.svc.cluster.local:8080' export KANIKO_FLAGS='--skip-unused-stages --snapshotMode=redo' export MINK_AS='tekton-bot' version file VERSION does not exist export MINK_IMAGE='417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-17-SNAPSHOT' export NAMESPACE_SUB_DOMAIN='-jx.' export PIPELINE_KIND='pullrequest' export PUSH_CONTAINER_REGISTRY='417755753340.dkr.ecr.ap-south-1.amazonaws.com' export REPO_NAME='destiny' export REPO_OWNER='greencapitaltrade' version file VERSION does not exist export VERSION='0.0.0-PR-1097-17-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container step-build-npm-install npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported npm warn deprecated koa-views@8.1.0: This package is deprecated, please use the new fork @ladjs/koa-views. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/koa-views for updates and release changelog > destiny@0.0.1 postinstall > patch-package patch-package 8.0.0 Applying patches... No patch files found > destiny@0.0.1 prepare > husky install install command is deprecated git command not found added 862 packages in 36s 133 packages are looking for funding run `npm fund` for details Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container step-build-run-linting Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB] Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B] Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [299 kB] Fetched 9352 kB in 2s (3929 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: git-man libbrotli1 libcurl3-gnutls liberror-perl libexpat1 libgdbm-compat4 libgdbm6 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.5-0 libnghttp2-14 libperl5.36 libpsl5 librtmp1 libsasl2-2 libsasl2-modules-db libssh2-1 libssl3 perl perl-modules-5.36 Suggested packages: gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n krb5-doc krb5-user sensible-utils perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libtap-harness-archive-perl Recommended packages: ca-certificates patch less ssh-client krb5-locales libldap-common publicsuffix libsasl2-modules netbase The following NEW packages will be installed: git git-man libbrotli1 libcurl3-gnutls liberror-perl libexpat1 libgdbm-compat4 libgdbm6 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.5-0 libnghttp2-14 libperl5.36 libpsl5 librtmp1 libsasl2-2 libsasl2-modules-db libssh2-1 libssl3 perl perl-modules-5.36 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. Need to get 20.7 MB of archives. After this operation, 109 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main amd64 perl-modules-5.36 all 5.36.0-7+deb12u3 [2815 kB] Get:2 http://deb.debian.org/debian bookworm/main amd64 libgdbm6 amd64 1.23-3 [72.2 kB] Get:3 http://deb.debian.org/debian bookworm/main amd64 libgdbm-compat4 amd64 1.23-3 [48.2 kB] Get:4 http://deb.debian.org/debian bookworm/main amd64 libperl5.36 amd64 5.36.0-7+deb12u3 [4196 kB] Get:5 http://deb.debian.org/debian bookworm/main amd64 perl amd64 5.36.0-7+deb12u3 [239 kB] Get:6 http://deb.debian.org/debian bookworm/main amd64 libbrotli1 amd64 1.0.9-2+b6 [275 kB] Get:7 http://deb.debian.org/debian bookworm/main amd64 libkrb5support0 amd64 1.20.1-2+deb12u4 [33.2 kB] Get:8 http://deb.debian.org/debian bookworm/main amd64 libk5crypto3 amd64 1.20.1-2+deb12u4 [79.8 kB] Get:9 http://deb.debian.org/debian bookworm/main amd64 libkeyutils1 amd64 1.6.3-2 [8808 B] Get:10 http://deb.debian.org/debian-security bookworm-security/main amd64 libssl3 amd64 3.0.19-1~deb12u2 [2032 kB] Get:11 http://deb.debian.org/debian bookworm/main amd64 libkrb5-3 amd64 1.20.1-2+deb12u4 [334 kB] Get:12 http://deb.debian.org/debian bookworm/main amd64 libgssapi-krb5-2 amd64 1.20.1-2+deb12u4 [135 kB] Get:13 http://deb.debian.org/debian bookworm/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg-10 [20.3 kB] Get:14 http://deb.debian.org/debian bookworm/main amd64 libsasl2-2 amd64 2.1.28+dfsg-10 [59.7 kB] Get:15 http://deb.debian.org/debian bookworm/main amd64 libldap-2.5-0 amd64 2.5.13+dfsg-5 [183 kB] Get:16 http://deb.debian.org/debian bookworm/main amd64 libnghttp2-14 amd64 1.52.0-1+deb12u2 [73.0 kB] Get:17 http://deb.debian.org/debian bookworm/main amd64 libpsl5 amd64 0.21.2-1 [58.7 kB] Get:18 http://deb.debian.org/debian bookworm/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b2 [60.8 kB] Get:19 http://deb.debian.org/debian bookworm/main amd64 libssh2-1 amd64 1.10.0-3+b1 [179 kB] Get:20 http://deb.debian.org/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u14 [386 kB] Get:21 http://deb.debian.org/debian bookworm/main amd64 libexpat1 amd64 2.5.0-1+deb12u2 [99.9 kB] Get:22 http://deb.debian.org/debian bookworm/main amd64 liberror-perl all 0.17029-2 [29.0 kB] Get:23 http://deb.debian.org/debian bookworm/main amd64 git-man all 1:2.39.5-0+deb12u3 [2053 kB] Get:24 http://deb.debian.org/debian bookworm/main amd64 git amd64 1:2.39.5-0+deb12u3 [7264 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 20.7 MB in 0s (108 MB/s) Selecting previously unselected package perl-modules-5.36. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 6099 files and directories currently installed.) Preparing to unpack .../00-perl-modules-5.36_5.36.0-7+deb12u3_all.deb ... Unpacking perl-modules-5.36 (5.36.0-7+deb12u3) ... Selecting previously unselected package libgdbm6:amd64. Preparing to unpack .../01-libgdbm6_1.23-3_amd64.deb ... Unpacking libgdbm6:amd64 (1.23-3) ... Selecting previously unselected package libgdbm-compat4:amd64. Preparing to unpack .../02-libgdbm-compat4_1.23-3_amd64.deb ... Unpacking libgdbm-compat4:amd64 (1.23-3) ... Selecting previously unselected package libperl5.36:amd64. Preparing to unpack .../03-libperl5.36_5.36.0-7+deb12u3_amd64.deb ... Unpacking libperl5.36:amd64 (5.36.0-7+deb12u3) ... Selecting previously unselected package perl. Preparing to unpack .../04-perl_5.36.0-7+deb12u3_amd64.deb ... Unpacking perl (5.36.0-7+deb12u3) ... Selecting previously unselected package libbrotli1:amd64. Preparing to unpack .../05-libbrotli1_1.0.9-2+b6_amd64.deb ... Unpacking libbrotli1:amd64 (1.0.9-2+b6) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../06-libkrb5support0_1.20.1-2+deb12u4_amd64.deb ... Unpacking libkrb5support0:amd64 (1.20.1-2+deb12u4) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../07-libk5crypto3_1.20.1-2+deb12u4_amd64.deb ... Unpacking libk5crypto3:amd64 (1.20.1-2+deb12u4) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../08-libkeyutils1_1.6.3-2_amd64.deb ... Unpacking libkeyutils1:amd64 (1.6.3-2) ... Selecting previously unselected package libssl3:amd64. Preparing to unpack .../09-libssl3_3.0.19-1~deb12u2_amd64.deb ... Unpacking libssl3:amd64 (3.0.19-1~deb12u2) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../10-libkrb5-3_1.20.1-2+deb12u4_amd64.deb ... Unpacking libkrb5-3:amd64 (1.20.1-2+deb12u4) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../11-libgssapi-krb5-2_1.20.1-2+deb12u4_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.20.1-2+deb12u4) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../12-libsasl2-modules-db_2.1.28+dfsg-10_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../13-libsasl2-2_2.1.28+dfsg-10_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.28+dfsg-10) ... Selecting previously unselected package libldap-2.5-0:amd64. Preparing to unpack .../14-libldap-2.5-0_2.5.13+dfsg-5_amd64.deb ... Unpacking libldap-2.5-0:amd64 (2.5.13+dfsg-5) ... Selecting previously unselected package libnghttp2-14:amd64. Preparing to unpack .../15-libnghttp2-14_1.52.0-1+deb12u2_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.52.0-1+deb12u2) ... Selecting previously unselected package libpsl5:amd64. Preparing to unpack .../16-libpsl5_0.21.2-1_amd64.deb ... Unpacking libpsl5:amd64 (0.21.2-1) ... Selecting previously unselected package librtmp1:amd64. Preparing to unpack .../17-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ... Selecting previously unselected package libssh2-1:amd64. Preparing to unpack .../18-libssh2-1_1.10.0-3+b1_amd64.deb ... Unpacking libssh2-1:amd64 (1.10.0-3+b1) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../19-libcurl3-gnutls_7.88.1-10+deb12u14_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u14) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../20-libexpat1_2.5.0-1+deb12u2_amd64.deb ... Unpacking libexpat1:amd64 (2.5.0-1+deb12u2) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../21-liberror-perl_0.17029-2_all.deb ... Unpacking liberror-perl (0.17029-2) ... Selecting previously unselected package git-man. Preparing to unpack .../22-git-man_1%3a2.39.5-0+deb12u3_all.deb ... Unpacking git-man (1:2.39.5-0+deb12u3) ... Selecting previously unselected package git. Preparing to unpack .../23-git_1%3a2.39.5-0+deb12u3_amd64.deb ... Unpacking git (1:2.39.5-0+deb12u3) ... Setting up libexpat1:amd64 (2.5.0-1+deb12u2) ... Setting up libkeyutils1:amd64 (1.6.3-2) ... Setting up libpsl5:amd64 (0.21.2-1) ... Setting up libbrotli1:amd64 (1.0.9-2+b6) ... Setting up libssl3:amd64 (3.0.19-1~deb12u2) ... Setting up libnghttp2-14:amd64 (1.52.0-1+deb12u2) ... Setting up libkrb5support0:amd64 (1.20.1-2+deb12u4) ... Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ... Setting up perl-modules-5.36 (5.36.0-7+deb12u3) ... Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ... Setting up libk5crypto3:amd64 (1.20.1-2+deb12u4) ... Setting up libsasl2-2:amd64 (2.1.28+dfsg-10) ... Setting up git-man (1:2.39.5-0+deb12u3) ... Setting up libssh2-1:amd64 (1.10.0-3+b1) ... Setting up libkrb5-3:amd64 (1.20.1-2+deb12u4) ... Setting up libgdbm6:amd64 (1.23-3) ... Setting up libldap-2.5-0:amd64 (2.5.13+dfsg-5) ... Setting up libgssapi-krb5-2:amd64 (1.20.1-2+deb12u4) ... Setting up libgdbm-compat4:amd64 (1.23-3) ... Setting up libperl5.36:amd64 (5.36.0-7+deb12u3) ... Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u14) ... Setting up perl (5.36.0-7+deb12u3) ... Setting up liberror-perl (0.17029-2) ... Setting up git (1:2.39.5-0+deb12u3) ... Processing triggers for libc-bin (2.36-9+deb12u13) ... (node:471) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated. (Use `node --trace-deprecation ...` to show where the warning was created) Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container step-build-lint-errors Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container step-build-container-build time="2026-05-05T19:35:08Z" level=warning msg="Flag --snapshotMode is deprecated. Use: --snapshot-mode" INFO[0000] Using dockerignore file: /workspace/source/.dockerignore INFO[0000] Retrieving image manifest node:25-slim INFO[0000] Retrieving image node:25-slim from registry index.docker.io INFO[0002] Built cross stage deps: map[] INFO[0002] Retrieving image manifest node:25-slim INFO[0002] Returning cached image manifest INFO[0002] Executing 0 build triggers INFO[0002] Building stage 'node:25-slim' [idx: '0', base-idx: '-1'] INFO[0002] Unpacking rootfs as cmd COPY . . requires it. INFO[0010] COPY . . INFO[0033] Taking snapshot of files... INFO[0059] CMD node_modules/sequelize-cli/lib/sequelize db:migrate && node index.js INFO[0059] Pushing image to 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-17-SNAPSHOT INFO[0060] Pushed 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny@sha256:b716febe8b6b70d83a24f97f92eb32288c83ff74aaaecb71dc5b250b18f7266f Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container step-promote-jx-preview found PullRequest https://github.com/greencapitaltrade/destiny/pull/1097 using ingress sub domain -jx-greencapitaltrade-destiny-pr-1097. upserted preview jx-greencapitaltrade-destiny-pr-1097 passing env vars into helmfile: map[string]string{"APP_NAME":"destiny", "DOCKER_REGISTRY":"417755753340.dkr.ecr.ap-south-1.amazonaws.com", "DOCKER_REGISTRY_ORG":"greencapitaltrade", "PREVIEW_NAMESPACE":"jx-greencapitaltrade-destiny-pr-1097", "VERSION":"0.0.0-PR-1097-17-SNAPSHOT"} jx-greencapitaltrade-destiny-pr-1097: LAST SEEN TYPE REASON OBJECT MESSAGE jx-greencapitaltrade-destiny-pr-1097: 13m Normal Scheduled pod/jx-verify-gc-jobs-fj37v-gshnh Successfully assigned jx-greencapitaltrade-destiny-pr-1097/jx-verify-gc-jobs-fj37v-gshnh to ip-10-0-3-63.ap-south-1.compute.internal jx-greencapitaltrade-destiny-pr-1097: 13m Normal Pulling pod/jx-verify-gc-jobs-fj37v-gshnh Pulling image "ghcr.io/jenkins-x/jx-verify:0.3.18" jx-greencapitaltrade-destiny-pr-1097: 12m Normal Pulled pod/jx-verify-gc-jobs-fj37v-gshnh Successfully pulled image "ghcr.io/jenkins-x/jx-verify:0.3.18" in 5.966s (5.966s including waiting). Image size: 52218248 bytes. jx-greencapitaltrade-destiny-pr-1097: 12m Normal Created pod/jx-verify-gc-jobs-fj37v-gshnh Created container: job jx-greencapitaltrade-destiny-pr-1097: 12m Normal Started pod/jx-verify-gc-jobs-fj37v-gshnh Started container job jx-greencapitaltrade-destiny-pr-1097: 13m Normal SuccessfulCreate job/jx-verify-gc-jobs-fj37v Created pod: jx-verify-gc-jobs-fj37v-gshnh jx-greencapitaltrade-destiny-pr-1097: 12m Normal Completed job/jx-verify-gc-jobs-fj37v Job completed jx-greencapitaltrade-destiny-pr-1097: 4m26s Warning FailedToRetrieveImagePullSecret pod/postgresql-0 Unable to retrieve some image pull secrets (nexus-docker); attempting to pull the image may not succeed. jx-greencapitaltrade-destiny-pr-1097: 60m Normal Scheduled pod/preview-destiny-697c8bc795-4kjl6 Successfully assigned jx-greencapitaltrade-destiny-pr-1097/preview-destiny-697c8bc795-4kjl6 to ip-10-0-1-246.ap-south-1.compute.internal jx-greencapitaltrade-destiny-pr-1097: 59m Normal Pulling pod/preview-destiny-697c8bc795-4kjl6 Pulling image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-14-SNAPSHOT" jx-greencapitaltrade-destiny-pr-1097: 60m Normal Pulled pod/preview-destiny-697c8bc795-4kjl6 Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-14-SNAPSHOT" in 3.706s (3.706s including waiting). Image size: 160006605 bytes. jx-greencapitaltrade-destiny-pr-1097: 59m Normal Created pod/preview-destiny-697c8bc795-4kjl6 Created container: destiny jx-greencapitaltrade-destiny-pr-1097: 59m Normal Started pod/preview-destiny-697c8bc795-4kjl6 Started container destiny jx-greencapitaltrade-destiny-pr-1097: 59m Warning Unhealthy pod/preview-destiny-697c8bc795-4kjl6 Readiness probe failed: Get "http://10.0.1.81:8080/_healthz": dial tcp 10.0.1.81:8080: connect: connection refused jx-greencapitaltrade-destiny-pr-1097: 60m Normal Pulled pod/preview-destiny-697c8bc795-4kjl6 Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-14-SNAPSHOT" in 88ms (88ms including waiting). Image size: 160006605 bytes. jx-greencapitaltrade-destiny-pr-1097: 15m Warning BackOff pod/preview-destiny-697c8bc795-4kjl6 Back-off restarting failed container destiny in pod preview-destiny-697c8bc795-4kjl6_jx-greencapitaltrade-destiny-pr-1097(e98381d4-66fe-4e18-8770-7ce476040d7c) jx-greencapitaltrade-destiny-pr-1097: 59m Normal Pulled pod/preview-destiny-697c8bc795-4kjl6 Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-14-SNAPSHOT" in 71ms (71ms including waiting). Image size: 160006605 bytes. jx-greencapitaltrade-destiny-pr-1097: 12m Normal SuccessfulDelete replicaset/preview-destiny-697c8bc795 Deleted pod: preview-destiny-697c8bc795-4kjl6 jx-greencapitaltrade-destiny-pr-1097: 12m Normal Scheduled pod/preview-destiny-7445dbfbb9-9cfvb Successfully assigned jx-greencapitaltrade-destiny-pr-1097/preview-destiny-7445dbfbb9-9cfvb to ip-10-0-1-246.ap-south-1.compute.internal jx-greencapitaltrade-destiny-pr-1097: 11m Normal Pulling pod/preview-destiny-7445dbfbb9-9cfvb Pulling image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-16-SNAPSHOT" jx-greencapitaltrade-destiny-pr-1097: 12m Normal Pulled pod/preview-destiny-7445dbfbb9-9cfvb Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-16-SNAPSHOT" in 3.758s (3.758s including waiting). Image size: 160003283 bytes. jx-greencapitaltrade-destiny-pr-1097: 12m Normal Created pod/preview-destiny-7445dbfbb9-9cfvb Created container: destiny jx-greencapitaltrade-destiny-pr-1097: 12m Normal Started pod/preview-destiny-7445dbfbb9-9cfvb Started container destiny jx-greencapitaltrade-destiny-pr-1097: 12m Warning Unhealthy pod/preview-destiny-7445dbfbb9-9cfvb Readiness probe failed: Get "http://10.0.1.74:8080/_healthz": dial tcp 10.0.1.74:8080: connect: connection refused jx-greencapitaltrade-destiny-pr-1097: 12m Normal Pulled pod/preview-destiny-7445dbfbb9-9cfvb Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-16-SNAPSHOT" in 87ms (87ms including waiting). Image size: 160003283 bytes. jx-greencapitaltrade-destiny-pr-1097: 2m44s Warning BackOff pod/preview-destiny-7445dbfbb9-9cfvb Back-off restarting failed container destiny in pod preview-destiny-7445dbfbb9-9cfvb_jx-greencapitaltrade-destiny-pr-1097(efb56422-2fd6-4900-ac3d-d6c58d3fcc59) jx-greencapitaltrade-destiny-pr-1097: 12m Normal Pulled pod/preview-destiny-7445dbfbb9-9cfvb Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-16-SNAPSHOT" in 75ms (75ms including waiting). Image size: 160003283 bytes. jx-greencapitaltrade-destiny-pr-1097: 12m Normal SuccessfulCreate replicaset/preview-destiny-7445dbfbb9 Created pod: preview-destiny-7445dbfbb9-9cfvb jx-greencapitaltrade-destiny-pr-1097: 12m Normal ScalingReplicaSet deployment/preview-destiny Scaled up replica set preview-destiny-7445dbfbb9 to 1 jx-greencapitaltrade-destiny-pr-1097: 12m Normal ScalingReplicaSet deployment/preview-destiny Scaled down replica set preview-destiny-697c8bc795 to 0 from 1 jx-greencapitaltrade-destiny-pr-1097: 4m15s Warning FailedToRetrieveImagePullSecret pod/redis-master-0 Unable to retrieve some image pull secrets (nexus-docker); attempting to pull the image may not succeed. jx-greencapitaltrade-destiny-pr-1097: 0s Warning FailedToRetrieveImagePullSecret pod/postgresql-0 Unable to retrieve some image pull secrets (nexus-docker); attempting to pull the image may not succeed. jx-greencapitaltrade-destiny-pr-1097: 0s Normal SuccessfulCreate job/jx-verify-gc-jobs-voa6i Created pod: jx-verify-gc-jobs-voa6i-w2ztc jx-greencapitaltrade-destiny-pr-1097: 0s Normal Scheduled pod/jx-verify-gc-jobs-voa6i-w2ztc Successfully assigned jx-greencapitaltrade-destiny-pr-1097/jx-verify-gc-jobs-voa6i-w2ztc to ip-10-0-2-147.ap-south-1.compute.internal jx-greencapitaltrade-destiny-pr-1097: 0s Normal Pulled pod/jx-verify-gc-jobs-voa6i-w2ztc Container image "ghcr.io/jenkins-x/jx-verify:0.3.18" already present on machine jx-greencapitaltrade-destiny-pr-1097: 0s Normal Created pod/jx-verify-gc-jobs-voa6i-w2ztc Created container: job jx-greencapitaltrade-destiny-pr-1097: 0s Normal Started pod/jx-verify-gc-jobs-voa6i-w2ztc Started container job jx-greencapitaltrade-destiny-pr-1097: 60m Normal Scheduled pod/preview-destiny-697c8bc795-4kjl6 Successfully assigned jx-greencapitaltrade-destiny-pr-1097/preview-destiny-697c8bc795-4kjl6 to ip-10-0-1-246.ap-south-1.compute.internal jx-greencapitaltrade-destiny-pr-1097: 60m Normal Pulled pod/preview-destiny-697c8bc795-4kjl6 Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-14-SNAPSHOT" in 3.706s (3.706s including waiting). Image size: 160006605 bytes. jx-greencapitaltrade-destiny-pr-1097: 60m Normal Pulled pod/preview-destiny-697c8bc795-4kjl6 Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-14-SNAPSHOT" in 88ms (88ms including waiting). Image size: 160006605 bytes. jx-greencapitaltrade-destiny-pr-1097: 0s Normal ScalingReplicaSet deployment/preview-destiny Scaled up replica set preview-destiny-78874b5db8 to 1 jx-greencapitaltrade-destiny-pr-1097: 0s Normal ScalingReplicaSet deployment/preview-destiny Scaled down replica set preview-destiny-7445dbfbb9 to 0 from 1 jx-greencapitaltrade-destiny-pr-1097: 0s Normal Scheduled pod/preview-destiny-78874b5db8-sgsx6 Successfully assigned jx-greencapitaltrade-destiny-pr-1097/preview-destiny-78874b5db8-sgsx6 to ip-10-0-1-246.ap-south-1.compute.internal jx-greencapitaltrade-destiny-pr-1097: 0s Normal SuccessfulCreate replicaset/preview-destiny-78874b5db8 Created pod: preview-destiny-78874b5db8-sgsx6 jx-greencapitaltrade-destiny-pr-1097: 0s Normal SuccessfulDelete replicaset/preview-destiny-7445dbfbb9 Deleted pod: preview-destiny-7445dbfbb9-9cfvb jx-greencapitaltrade-destiny-pr-1097: 0s Normal Pulling pod/preview-destiny-78874b5db8-sgsx6 Pulling image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/destiny:0.0.0-PR-1097-17-SNAPSHOT" killed the kubectl event watch command found helm preview release jx-verify in namespace jx-greencapitaltrade-destiny-pr-1097 preview jx-greencapitaltrade-destiny-pr-1097 is now running at http://destiny-pr1097.gc-t.in updated preview jx-greencapitaltrade-destiny-pr-1097 with URL http://destiny-pr1097.gc-t.in Updated PipelineActivity greencapitaltrade-destiny-pr-1097-17 which has status Pending wrote preview environment variables to .jx/variables.sh commented on pull request #1097 on repository greencapitaltrade/destiny Showing logs for build greencapitaltrade/destiny/pr-1097 #17 stage from-build-pack and container step-build-run-e2e Waiting for preview deployment to roll out... Waiting for deployment "preview-destiny" rollout to finish: 0 of 1 updated replicas are available... deployment "preview-destiny" successfully rolled out FAIL tests/unit/agreement.test.js (13.787 s) ● Console console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (node_modules/@greencapitaltrade/utils/build/src/tracing.js:91:17) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "agreement_templates" ("id","name","product_id","lender_id","content","version","active","created_by","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7,NOW(),NOW()) RETURNING "id","name","product_id","lender_id","content","version","active","created_by","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "agreements" ("id","application_id","file_id","created_at","agreed_at","place","lender_id","product_id","uploaded","ip","status","extra_data") VALUES (DEFAULT,$1,$2,NOW(),NOW(),$3,$4,$5,$6,$7,$8,$9) RETURNING "id","application_id","file_id","created_at","agreed_at","place","lender_id","product_id","uploaded","ip","status","extra_data"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "lender_id", "content", "version", "active", "created_by", "created_at", "updated_at" FROM "agreement_templates" AS "agreement_templates" WHERE (("agreement_templates"."product_id" = 999 AND "agreement_templates"."lender_id" = 999) OR ("agreement_templates"."product_id" = 999 AND "agreement_templates"."lender_id" IS NULL) OR ("agreement_templates"."product_id" IS NULL AND "agreement_templates"."lender_id" = 999) OR ("agreement_templates"."product_id" IS NULL AND "agreement_templates"."lender_id" IS NULL)) AND "agreement_templates"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL AND lender_id IS NOT NULL THEN 0 WHEN product_id IS NOT NULL THEN 1 WHEN lender_id IS NOT NULL THEN 2 ELSE 3 END ASC, "agreement_templates"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "agreement_templates" ("id","name","product_id","lender_id","content","version","active","created_by","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7,NOW(),NOW()) RETURNING "id","name","product_id","lender_id","content","version","active","created_by","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "lender_id", "content", "version", "active", "created_by", "created_at", "updated_at" FROM "agreement_templates" AS "agreement_templates" WHERE (("agreement_templates"."product_id" = 1 AND "agreement_templates"."lender_id" = 999) OR ("agreement_templates"."product_id" = 1 AND "agreement_templates"."lender_id" IS NULL) OR ("agreement_templates"."product_id" IS NULL AND "agreement_templates"."lender_id" = 999) OR ("agreement_templates"."product_id" IS NULL AND "agreement_templates"."lender_id" IS NULL)) AND "agreement_templates"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL AND lender_id IS NOT NULL THEN 0 WHEN product_id IS NOT NULL THEN 1 WHEN lender_id IS NOT NULL THEN 2 ELSE 3 END ASC, "agreement_templates"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "agreements" ("id","application_id","file_id","created_at","agreed_at","place","lender_id","product_id","uploaded","ip","status","extra_data") VALUES (DEFAULT,$1,$2,NOW(),NOW(),$3,$4,$5,$6,$7,$8,$9) RETURNING "id","application_id","file_id","created_at","agreed_at","place","lender_id","product_id","uploaded","ip","status","extra_data"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "lender_id", "content", "version", "active", "created_by", "created_at", "updated_at" FROM "agreement_templates" AS "agreement_templates" WHERE (("agreement_templates"."product_id" = 1 AND "agreement_templates"."lender_id" = 10) OR ("agreement_templates"."product_id" = 1 AND "agreement_templates"."lender_id" IS NULL) OR ("agreement_templates"."product_id" IS NULL AND "agreement_templates"."lender_id" = 10) OR ("agreement_templates"."product_id" IS NULL AND "agreement_templates"."lender_id" IS NULL)) AND "agreement_templates"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL AND lender_id IS NOT NULL THEN 0 WHEN product_id IS NOT NULL THEN 1 WHEN lender_id IS NOT NULL THEN 2 ELSE 3 END ASC, "agreement_templates"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): UPDATE "agreement_templates" SET "active"=$1 WHERE "active" = $2 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "agreements" ("id","application_id","file_id","created_at","agreed_at","place","lender_id","product_id","uploaded","ip","status","extra_data") VALUES (DEFAULT,$1,$2,NOW(),NOW(),$3,$4,$5,$6,$7,$8,$9) RETURNING "id","application_id","file_id","created_at","agreed_at","place","lender_id","product_id","uploaded","ip","status","extra_data"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "lender_id", "content", "version", "active", "created_by", "created_at", "updated_at" FROM "agreement_templates" AS "agreement_templates" WHERE (("agreement_templates"."product_id" = 99 AND "agreement_templates"."lender_id" = 99) OR ("agreement_templates"."product_id" = 99 AND "agreement_templates"."lender_id" IS NULL) OR ("agreement_templates"."product_id" IS NULL AND "agreement_templates"."lender_id" = 99) OR ("agreement_templates"."product_id" IS NULL AND "agreement_templates"."lender_id" IS NULL)) AND "agreement_templates"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL AND lender_id IS NOT NULL THEN 0 WHEN product_id IS NOT NULL THEN 1 WHEN lender_id IS NOT NULL THEN 2 ELSE 3 END ASC, "agreement_templates"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): UPDATE "agreement_templates" SET "active"=$1 WHERE "created_by" = $2 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) ● Agreement with DB templates › AgreementTemplate.findBestMatch › returns default template when no specific match expect(received).toEqual(expected) // deep equality Expected: "Test Default Template" Received: "Default Term Loan Agreement"   90 | const template = await AgreementTemplate.findBestMatch(999, 999);  91 | expect(template).not.toBeNull(); > 92 | expect(template.name).toEqual('Test Default Template');  | ^  93 | });  94 |  95 | it('prefers product-specific template over default', async () => { at Object.toEqual (tests/unit/agreement.test.js:92:29) ● Agreement with DB templates › preparePdf › generates PDF from DB template with KFS content expect(received).toContain(expected) // indexOf Expected substring: "Key Fact Statement" Received string: " # Product 1 specific"   158 | const [html] = htmlPdf.create.mock.calls[0];  159 | > 160 | expect(html).toContain('Key Fact Statement');  | ^  161 | expect(html).toContain('Test NBFC Ltd');  162 | expect(html).toContain('Amit Kumar');  163 | expect(html).toContain('ABCPK1234A'); at Object.toContain (tests/unit/agreement.test.js:160:20) PASS tests/unit/bank-statement.test.js (13.8 s) ● Console console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (node_modules/@greencapitaltrade/utils/build/src/tracing.js:91:17) console.info INFO undefined Executing (default): INSERT INTO "bank_statements" ("uuid","file_id","status","request_id","source","txn_id","raw_data","created_at") VALUES ($1,$2,$3,$4,$5,$6,$7,NOW()) RETURNING "uuid","application_id","account_number","bank","file_id","status","reject_reason","score","request_id","source","txn_id","raw_data","salary_detected","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "bank_statements" WHERE "source" = 'saafe' at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "bank_statements" ("uuid","file_id","status","request_id","source","txn_id","raw_data","created_at") VALUES ($1,$2,$3,$4,$5,$6,$7,NOW()) RETURNING "uuid","application_id","account_number","bank","file_id","status","reject_reason","score","request_id","source","txn_id","raw_data","salary_detected","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "bank_statements" ("uuid","file_id","status","request_id","source","txn_id","raw_data","created_at") VALUES ($1,$2,$3,$4,$5,$6,$7,NOW()) RETURNING "uuid","application_id","account_number","bank","file_id","status","reject_reason","score","request_id","source","txn_id","raw_data","salary_detected","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "bank_statements" WHERE "source" = 'saafe' at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "bank_statements" WHERE "source" = 'saafe' at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "bank_statements" WHERE "source" = 'saafe' at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "bank_statements" WHERE "source" = 'saafe' at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "bank_statements" WHERE "source" = 'saafe' at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "bank_statements" WHERE "source" = 'saafe' at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) FAIL tests/unit/flow_engine.test.js (16.487 s) ● Console console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (node_modules/@greencapitaltrade/utils/build/src/tracing.js:91:17) console.info INFO undefined Executing (default): INSERT INTO "flows" ("id","name","product_id","active","definition","version","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,NOW(),NOW()) RETURNING "id","name","product_id","organization_id","active","definition","version","created_by","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 2; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 2 LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE ("flows"."product_id" = 1 OR "flows"."product_id" IS NULL) AND "flows"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL THEN 0 ELSE 1 END ASC, "flows"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "application_flow_steps" ("id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","created_at","updated_at") VALUES (DEFAULT,2,1,'step_pan','kyc_pan','active','{"execution_mode":"blocking"}',NULL,0,'2026-05-06 01:07:35.184 +05:30',NOW(),NOW()),(DEFAULT,2,1,'step_credit','credit_check','pending','{"execution_mode":"async"}',NULL,0,NULL,NOW(),NOW()),(DEFAULT,2,1,'step_agreement','agreement','pending','{"execution_mode":"blocking"}',NULL,0,NULL,NOW(),NOW()) RETURNING "id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","completed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 2 ORDER BY "application_flow_steps"."created_at" ASC; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "application_flow_steps" WHERE "application_id" = 2 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 3; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 3 LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE ("flows"."product_id" = 1 OR "flows"."product_id" IS NULL) AND "flows"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL THEN 0 ELSE 1 END ASC, "flows"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "application_flow_steps" ("id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","created_at","updated_at") VALUES (DEFAULT,3,1,'step_pan','kyc_pan','active','{"execution_mode":"blocking"}',NULL,0,'2026-05-06 01:07:35.483 +05:30',NOW(),NOW()),(DEFAULT,3,1,'step_credit','credit_check','pending','{"execution_mode":"async"}',NULL,0,NULL,NOW(),NOW()),(DEFAULT,3,1,'step_agreement','agreement','pending','{"execution_mode":"blocking"}',NULL,0,NULL,NOW(),NOW()) RETURNING "id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","completed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 3; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 3 LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 3; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "application_flow_steps" WHERE "application_id" = 3 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 4; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 4 LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE ("flows"."product_id" = 1 OR "flows"."product_id" IS NULL) AND "flows"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL THEN 0 ELSE 1 END ASC, "flows"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "application_flow_steps" ("id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","created_at","updated_at") VALUES (DEFAULT,4,1,'step_pan','kyc_pan','active','{"execution_mode":"blocking"}',NULL,0,'2026-05-06 01:07:35.586 +05:30',NOW(),NOW()),(DEFAULT,4,1,'step_credit','credit_check','pending','{"execution_mode":"async"}',NULL,0,NULL,NOW(),NOW()),(DEFAULT,4,1,'step_agreement','agreement','pending','{"execution_mode":"blocking"}',NULL,0,NULL,NOW(),NOW()) RETURNING "id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","completed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (6be8962b-afbe-45c8-a24a-aea1354ed9f1): START TRANSACTION; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (6be8962b-afbe-45c8-a24a-aea1354ed9f1): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 4 AND "application_flow_steps"."step_type" = 'kyc_pan' AND "application_flow_steps"."status" = 'active' LIMIT 1 FOR UPDATE; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (6be8962b-afbe-45c8-a24a-aea1354ed9f1): UPDATE "application_flow_steps" SET "status"=$1,"result"=$2,"completed_at"=$3,"updated_at"=$4 WHERE "id" = $5 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (6be8962b-afbe-45c8-a24a-aea1354ed9f1): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE "flows"."id" = 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (6be8962b-afbe-45c8-a24a-aea1354ed9f1): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 4; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (6be8962b-afbe-45c8-a24a-aea1354ed9f1): UPDATE "application_flow_steps" SET "status"=$1,"started_at"=$2,"updated_at"=$3 WHERE "id" = $4 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (6be8962b-afbe-45c8-a24a-aea1354ed9f1): UPDATE "application_flow_steps" SET "attempts"=$1,"updated_at"=$2 WHERE "id" = $3 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (6be8962b-afbe-45c8-a24a-aea1354ed9f1): COMMIT; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "score", "encrypted_report", "report_nonce", "report_auth_tag", "status", "status_msg", "score_seen", "pull_type", "created_at", "updated_at", "deleted_at" FROM "credit_scores" AS "credit_scores" WHERE "credit_scores"."application_id" = 4 AND "credit_scores"."pull_type" = 'soft' AND "credit_scores"."status" = 'completed' LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "credit_scores" ("id","application_id","encrypted_report","report_nonce","report_auth_tag","score_seen","pull_type","created_at","updated_at","deleted_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,NOW(),NOW(),$7) RETURNING "id","application_id","score","encrypted_report","report_nonce","report_auth_tag","status","status_msg","score_seen","pull_type","created_at","updated_at","deleted_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 4 ORDER BY "application_flow_steps"."created_at" ASC; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "application_flow_steps" WHERE "application_id" = 4 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 5; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 5 LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE ("flows"."product_id" = 1 OR "flows"."product_id" IS NULL) AND "flows"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL THEN 0 ELSE 1 END ASC, "flows"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "application_flow_steps" ("id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","created_at","updated_at") VALUES (DEFAULT,5,1,'step_pan','kyc_pan','active','{"execution_mode":"blocking"}',NULL,0,'2026-05-06 01:07:35.985 +05:30',NOW(),NOW()),(DEFAULT,5,1,'step_credit','credit_check','pending','{"execution_mode":"async"}',NULL,0,NULL,NOW(),NOW()),(DEFAULT,5,1,'step_agreement','agreement','pending','{"execution_mode":"blocking"}',NULL,0,NULL,NOW(),NOW()) RETURNING "id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","completed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (145afa08-2058-4df0-adb6-a9245469c2dc): START TRANSACTION; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (145afa08-2058-4df0-adb6-a9245469c2dc): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 5 AND "application_flow_steps"."step_type" = 'kyc_pan' AND "application_flow_steps"."status" = 'active' LIMIT 1 FOR UPDATE; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (145afa08-2058-4df0-adb6-a9245469c2dc): UPDATE "application_flow_steps" SET "status"=$1,"result"=$2,"completed_at"=$3,"updated_at"=$4 WHERE "id" = $5 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (145afa08-2058-4df0-adb6-a9245469c2dc): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE "flows"."id" = 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (145afa08-2058-4df0-adb6-a9245469c2dc): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 5; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (145afa08-2058-4df0-adb6-a9245469c2dc): UPDATE "application_flow_steps" SET "status"=$1,"started_at"=$2,"updated_at"=$3 WHERE "id" = $4 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (145afa08-2058-4df0-adb6-a9245469c2dc): UPDATE "application_flow_steps" SET "attempts"=$1,"updated_at"=$2 WHERE "id" = $3 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (145afa08-2058-4df0-adb6-a9245469c2dc): COMMIT; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "score", "encrypted_report", "report_nonce", "report_auth_tag", "status", "status_msg", "score_seen", "pull_type", "created_at", "updated_at", "deleted_at" FROM "credit_scores" AS "credit_scores" WHERE "credit_scores"."application_id" = 5 AND "credit_scores"."pull_type" = 'soft' AND "credit_scores"."status" = 'completed' LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "credit_scores" ("id","application_id","encrypted_report","report_nonce","report_auth_tag","score_seen","pull_type","created_at","updated_at","deleted_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,NOW(),NOW(),$7) RETURNING "id","application_id","score","encrypted_report","report_nonce","report_auth_tag","status","status_msg","score_seen","pull_type","created_at","updated_at","deleted_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (f2e20b64-05c9-4762-935f-ede1c9eac922): START TRANSACTION; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (f2e20b64-05c9-4762-935f-ede1c9eac922): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 5 AND "application_flow_steps"."step_type" = 'credit_check' AND "application_flow_steps"."status" = 'active' LIMIT 1 FOR UPDATE; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (f2e20b64-05c9-4762-935f-ede1c9eac922): UPDATE "application_flow_steps" SET "status"=$1,"result"=$2,"completed_at"=$3,"updated_at"=$4 WHERE "id" = $5 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (f2e20b64-05c9-4762-935f-ede1c9eac922): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE "flows"."id" = 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (f2e20b64-05c9-4762-935f-ede1c9eac922): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 5; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (f2e20b64-05c9-4762-935f-ede1c9eac922): UPDATE "application_flow_steps" SET "status"=$1,"started_at"=$2,"updated_at"=$3 WHERE "id" = $4 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (f2e20b64-05c9-4762-935f-ede1c9eac922): COMMIT; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (11f9ad00-8a34-45a5-be75-2306991a7c13): START TRANSACTION; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (11f9ad00-8a34-45a5-be75-2306991a7c13): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 5 AND "application_flow_steps"."step_type" = 'agreement' AND "application_flow_steps"."status" = 'active' LIMIT 1 FOR UPDATE; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (11f9ad00-8a34-45a5-be75-2306991a7c13): UPDATE "application_flow_steps" SET "status"=$1,"result"=$2,"completed_at"=$3,"updated_at"=$4 WHERE "id" = $5 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (11f9ad00-8a34-45a5-be75-2306991a7c13): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE "flows"."id" = 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (11f9ad00-8a34-45a5-be75-2306991a7c13): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 5; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (11f9ad00-8a34-45a5-be75-2306991a7c13): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 5; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (11f9ad00-8a34-45a5-be75-2306991a7c13): UPDATE "applications" SET "status"=$1 WHERE "id" = $2 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (11f9ad00-8a34-45a5-be75-2306991a7c13): INSERT INTO "application_status_logs" ("id","application_id","status","created_at") VALUES (DEFAULT,$1,$2,NOW()) RETURNING "id","application_id","status","admin_user","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (11f9ad00-8a34-45a5-be75-2306991a7c13): COMMIT; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 5; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "application_flow_steps" WHERE "application_id" = 5 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "flows" ("id","name","product_id","active","definition","version","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,NOW(),NOW()) RETURNING "id","name","product_id","organization_id","active","definition","version","created_by","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 7; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 7 LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE ("flows"."product_id" = 999 OR "flows"."product_id" IS NULL) AND "flows"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL THEN 0 ELSE 1 END ASC, "flows"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "application_flow_steps" ("id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","created_at","updated_at") VALUES (DEFAULT,7,2,'step_bl','blacklist','active','{"on_failure":"reject"}',NULL,0,'2026-05-06 01:07:36.491 +05:30',NOW(),NOW()) RETURNING "id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","completed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (573ab18f-c417-4b58-9e71-ecc8bfd3051f): START TRANSACTION; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (573ab18f-c417-4b58-9e71-ecc8bfd3051f): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 7 AND "application_flow_steps"."step_type" = 'blacklist' AND "application_flow_steps"."status" = 'active' LIMIT 1 FOR UPDATE; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (573ab18f-c417-4b58-9e71-ecc8bfd3051f): UPDATE "application_flow_steps" SET "status"=$1,"result"=$2,"completed_at"=$3,"updated_at"=$4 WHERE "id" = $5 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (573ab18f-c417-4b58-9e71-ecc8bfd3051f): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 7; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (573ab18f-c417-4b58-9e71-ecc8bfd3051f): UPDATE "applications" SET "status"=$1 WHERE "id" = $2 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (573ab18f-c417-4b58-9e71-ecc8bfd3051f): INSERT INTO "application_status_logs" ("id","application_id","status","created_at") VALUES (DEFAULT,$1,$2,NOW()) RETURNING "id","application_id","status","admin_user","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (573ab18f-c417-4b58-9e71-ecc8bfd3051f): COMMIT; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 7; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "application_flow_steps" WHERE "application_id" = 7 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "flows" WHERE "id" = 2 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "application_flow_steps" WHERE "application_id" = 6 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 8; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 8 LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE ("flows"."product_id" = 1 OR "flows"."product_id" IS NULL) AND "flows"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL THEN 0 ELSE 1 END ASC, "flows"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "application_flow_steps" ("id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","created_at","updated_at") VALUES (DEFAULT,8,1,'step_pan','kyc_pan','active','{"execution_mode":"blocking"}',NULL,0,'2026-05-06 01:07:36.993 +05:30',NOW(),NOW()),(DEFAULT,8,1,'step_credit','credit_check','pending','{"execution_mode":"async"}',NULL,0,NULL,NOW(),NOW()),(DEFAULT,8,1,'step_agreement','agreement','pending','{"execution_mode":"blocking"}',NULL,0,NULL,NOW(),NOW()) RETURNING "id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","completed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (1e13e8ac-98ee-41b7-9e0c-fb197e0d4e8d): START TRANSACTION; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (1e13e8ac-98ee-41b7-9e0c-fb197e0d4e8d): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 8 AND "application_flow_steps"."step_type" = 'kyc_pan' AND "application_flow_steps"."status" = 'active' LIMIT 1 FOR UPDATE; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (1e13e8ac-98ee-41b7-9e0c-fb197e0d4e8d): UPDATE "application_flow_steps" SET "status"=$1,"result"=$2,"completed_at"=$3,"updated_at"=$4 WHERE "id" = $5 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (1e13e8ac-98ee-41b7-9e0c-fb197e0d4e8d): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE "flows"."id" = 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (1e13e8ac-98ee-41b7-9e0c-fb197e0d4e8d): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 8; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (1e13e8ac-98ee-41b7-9e0c-fb197e0d4e8d): UPDATE "application_flow_steps" SET "status"=$1,"started_at"=$2,"updated_at"=$3 WHERE "id" = $4 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (1e13e8ac-98ee-41b7-9e0c-fb197e0d4e8d): UPDATE "application_flow_steps" SET "attempts"=$1,"updated_at"=$2 WHERE "id" = $3 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (1e13e8ac-98ee-41b7-9e0c-fb197e0d4e8d): COMMIT; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "score", "encrypted_report", "report_nonce", "report_auth_tag", "status", "status_msg", "score_seen", "pull_type", "created_at", "updated_at", "deleted_at" FROM "credit_scores" AS "credit_scores" WHERE "credit_scores"."application_id" = 8 AND "credit_scores"."pull_type" = 'soft' AND "credit_scores"."status" = 'completed' LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "credit_scores" ("id","application_id","encrypted_report","report_nonce","report_auth_tag","score_seen","pull_type","created_at","updated_at","deleted_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,NOW(),NOW(),$7) RETURNING "id","application_id","score","encrypted_report","report_nonce","report_auth_tag","status","status_msg","score_seen","pull_type","created_at","updated_at","deleted_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 8 ORDER BY "application_flow_steps"."created_at" ASC; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "application_flow_steps" WHERE "application_id" = 8 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 999999 ORDER BY "application_flow_steps"."created_at" ASC; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "application_flow_steps" WHERE "application_id" = 9 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "flows" ("id","name","product_id","active","definition","version","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,NOW(),NOW()) RETURNING "id","name","product_id","organization_id","active","definition","version","created_by","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "status", "product_id", "organization_id", "created_at" FROM "applications" AS "applications" WHERE "applications"."id" = 11; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 11 LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "name", "product_id", "organization_id", "active", "definition", "version", "created_by", "created_at", "updated_at" FROM "flows" AS "flows" WHERE ("flows"."product_id" = 888 OR "flows"."product_id" IS NULL) AND "flows"."active" = true ORDER BY CASE WHEN product_id IS NOT NULL THEN 0 ELSE 1 END ASC, "flows"."version" DESC LIMIT 1; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "application_flow_steps" ("id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","created_at","updated_at") VALUES (DEFAULT,11,3,'step_pan','kyc_pan','active','{}',NULL,0,'2026-05-06 01:07:37.288 +05:30',NOW(),NOW()),(DEFAULT,11,3,'step_aadhaar','kyc_aadhaar','active','{}',NULL,0,'2026-05-06 01:07:37.288 +05:30',NOW(),NOW()),(DEFAULT,11,3,'step_agree','agreement','pending','{}',NULL,0,NULL,NOW(),NOW()) RETURNING "id","application_id","flow_id","node_id","step_type","status","config","result","attempts","started_at","completed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "application_id", "flow_id", "node_id", "step_type", "status", "config", "result", "attempts", "started_at", "completed_at", "created_at", "updated_at", "application_id" AS "applicationId", "flow_id" AS "flowId" FROM "application_flow_steps" AS "application_flow_steps" WHERE "application_flow_steps"."application_id" = 11 ORDER BY "application_flow_steps"."created_at" ASC; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "application_flow_steps" WHERE "application_id" = 10 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) ● Flow Engine › initializeFlow › creates step records from flow definition expect(received).toEqual(expected) // deep equality Expected: "kyc_pan" Received: "agreement"   79 |  80 | expect(steps).toHaveLength(3); > 81 | expect(steps[0].step_type).toEqual('kyc_pan');  | ^  82 | expect(steps[0].status).toEqual('active'); // root node starts active  83 | expect(steps[1].step_type).toEqual('credit_check');  84 | expect(steps[1].status).toEqual('pending'); at Object.toEqual (tests/unit/flow_engine.test.js:81:34) ● Flow Engine › completeStep › completes a step and activates the next one expect(received).toEqual(expected) // deep equality Expected: "completed" Received: "pending"   112 | });  113 | > 114 | expect(steps[0].status).toEqual('completed');  | ^  115 | expect(steps[0].result).toEqual({ pan: 'ABCPK1234A' });  116 | expect(steps[1].status).toEqual('active'); // credit check now active  117 | expect(steps[2].status).toEqual('pending'); // agreement still pending at Object.toEqual (tests/unit/flow_engine.test.js:114:31) ● Flow Engine › parallel steps › activates parallel sibling steps together expect(received).toEqual(expected) // deep equality Expected: "active" Received: "pending"   227 | // Both PAN and Aadhaar are roots — both active  228 | expect(steps[0].status).toEqual('active'); > 229 | expect(steps[1].status).toEqual('active');  | ^  230 | expect(steps[2].status).toEqual('pending'); // agreement waits  231 |  232 | // Complete PAN — agreement still pending (aadhaar not done) at Object.toEqual (tests/unit/flow_engine.test.js:229:31) PASS tests/unit/blacklist.test.js ● Console console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (node_modules/@greencapitaltrade/utils/build/src/tracing.js:91:17) console.info INFO undefined Executing (default): INSERT INTO "blacklist" ("id","organization_id","identifier_type","identifier_value","reason","source","active","added_by","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7,NOW(),NOW()) RETURNING "id","organization_id","identifier_type","identifier_value","reason","source","active","expires_at","added_by","removed_by","removed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "blacklist" WHERE "organization_id" = 1 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "blacklist" ("id","organization_id","identifier_type","identifier_value","reason","source","active","added_by","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7,NOW(),NOW()) RETURNING "id","organization_id","identifier_type","identifier_value","reason","source","active","expires_at","added_by","removed_by","removed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): UPDATE "blacklist" SET "active"=$1,"removed_by"=$2,"removed_at"=$3 WHERE "id" = $4 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "blacklist" WHERE "organization_id" = 1 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "blacklist" ("id","organization_id","identifier_type","identifier_value","reason","source","active","added_by","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7,NOW(),NOW()) RETURNING "id","organization_id","identifier_type","identifier_value","reason","source","active","expires_at","added_by","removed_by","removed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "organization_id", "identifier_type", "identifier_value", "reason", "source", "active", "expires_at", "added_by", "removed_by", "removed_at", "created_at", "updated_at" FROM "blacklist" AS "blacklist" WHERE ((("blacklist"."identifier_type" = 'pan' AND "blacklist"."identifier_value" = 'FRAUD1234A')) AND ("blacklist"."expires_at" IS NULL OR "blacklist"."expires_at" > '2026-05-06 01:07:37.592 +05:30')) AND "blacklist"."organization_id" = 1 AND "blacklist"."active" = true; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "blacklist" WHERE "organization_id" = 1 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "organization_id", "identifier_type", "identifier_value", "reason", "source", "active", "expires_at", "added_by", "removed_by", "removed_at", "created_at", "updated_at" FROM "blacklist" AS "blacklist" WHERE ((("blacklist"."identifier_type" = 'pan' AND "blacklist"."identifier_value" = 'CLEAN1234A')) AND ("blacklist"."expires_at" IS NULL OR "blacklist"."expires_at" > '2026-05-06 01:07:37.693 +05:30')) AND "blacklist"."organization_id" = 1 AND "blacklist"."active" = true; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "blacklist" WHERE "organization_id" = 1 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "blacklist" ("id","organization_id","identifier_type","identifier_value","reason","source","active","added_by","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7,NOW(),NOW()) RETURNING "id","organization_id","identifier_type","identifier_value","reason","source","active","expires_at","added_by","removed_by","removed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "organization_id", "identifier_type", "identifier_value", "reason", "source", "active", "expires_at", "added_by", "removed_by", "removed_at", "created_at", "updated_at" FROM "blacklist" AS "blacklist" WHERE ((("blacklist"."identifier_type" = 'pan' AND "blacklist"."identifier_value" = 'CROSS1234A')) AND ("blacklist"."expires_at" IS NULL OR "blacklist"."expires_at" > '2026-05-06 01:07:37.783 +05:30')) AND "blacklist"."organization_id" = 1 AND "blacklist"."active" = true; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "organization_id", "identifier_type", "identifier_value", "reason", "source", "active", "expires_at", "added_by", "removed_by", "removed_at", "created_at", "updated_at" FROM "blacklist" AS "blacklist" WHERE ((("blacklist"."identifier_type" = 'pan' AND "blacklist"."identifier_value" = 'CROSS1234A')) AND ("blacklist"."expires_at" IS NULL OR "blacklist"."expires_at" > '2026-05-06 01:07:37.785 +05:30')) AND "blacklist"."organization_id" = 2 AND "blacklist"."active" = true; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "blacklist" WHERE "organization_id" = 2 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "blacklist" WHERE "organization_id" = 1 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "blacklist" ("id","organization_id","identifier_type","identifier_value","reason","source","active","expires_at","added_by","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7,$8,NOW(),NOW()) RETURNING "id","organization_id","identifier_type","identifier_value","reason","source","active","expires_at","added_by","removed_by","removed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "organization_id", "identifier_type", "identifier_value", "reason", "source", "active", "expires_at", "added_by", "removed_by", "removed_at", "created_at", "updated_at" FROM "blacklist" AS "blacklist" WHERE ((("blacklist"."identifier_type" = 'pan' AND "blacklist"."identifier_value" = 'EXPIRE1234')) AND ("blacklist"."expires_at" IS NULL OR "blacklist"."expires_at" > '2026-05-06 01:07:37.795 +05:30')) AND "blacklist"."organization_id" = 1 AND "blacklist"."active" = true; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "blacklist" WHERE "organization_id" = 1 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "blacklist" ("id","organization_id","identifier_type","identifier_value","reason","source","active","added_by","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7,NOW(),NOW()) RETURNING "id","organization_id","identifier_type","identifier_value","reason","source","active","expires_at","added_by","removed_by","removed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "organization_id", "identifier_type", "identifier_value", "reason", "source", "active", "expires_at", "added_by", "removed_by", "removed_at", "created_at", "updated_at" FROM "blacklist" AS "blacklist" WHERE ((("blacklist"."identifier_type" = 'pan' AND "blacklist"."identifier_value" = 'REMOVED123')) AND ("blacklist"."expires_at" IS NULL OR "blacklist"."expires_at" > '2026-05-06 01:07:37.890 +05:30')) AND "blacklist"."organization_id" = 1 AND "blacklist"."active" = true; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "blacklist" WHERE "organization_id" = 1 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "blacklist" ("id","organization_id","identifier_type","identifier_value","reason","source","active","added_by","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7,NOW(),NOW()) RETURNING "id","organization_id","identifier_type","identifier_value","reason","source","active","expires_at","added_by","removed_by","removed_at","created_at","updated_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): SELECT "id", "organization_id", "identifier_type", "identifier_value", "reason", "source", "active", "expires_at", "added_by", "removed_by", "removed_at", "created_at", "updated_at" FROM "blacklist" AS "blacklist" WHERE ((("blacklist"."identifier_type" = 'pan' AND "blacklist"."identifier_value" = 'CLEAN1234A')) AND ("blacklist"."expires_at" IS NULL OR "blacklist"."expires_at" > '2026-05-06 01:07:37.900 +05:30')) AND "blacklist"."organization_id" = 1 AND "blacklist"."active" = true; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): DELETE FROM "blacklist" WHERE "organization_id" = 1 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) PASS tests/unit/flow_validation.test.js PASS tests/unit/vault.test.js FAIL tests/aadhaar.test.js (5.501 s) ● Console console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (node_modules/@greencapitaltrade/utils/build/src/tracing.js:91:17) console.info INFO undefined 38114 Starting traceID=undefined method=POST url=/v1/applications body={"product_id":"4775137"} headers={"x-gct-user-id":"38114"} at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined 38114 Executing (3c3f7f0d-2c27-4d72-bfc5-e59e92804df6): START TRANSACTION; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined 38114 Executing (3c3f7f0d-2c27-4d72-bfc5-e59e92804df6): ROLLBACK; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined 38114 traceID=undefined method=POST url=/v1/applications status=422 responseTime=405ms errorResponse=applications.organization_id cannot be null at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined 29295 Starting traceID=undefined method=POST url=/v1/applications body={"product_id":"7903101"} headers={"x-gct-user-id":"29295"} at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined 29295 Executing (46c74626-3b02-4b03-945c-d86a39cec5a7): START TRANSACTION; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined 29295 Executing (46c74626-3b02-4b03-945c-d86a39cec5a7): ROLLBACK; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined 29295 traceID=undefined method=POST url=/v1/applications status=422 responseTime=4ms errorResponse=applications.organization_id cannot be null at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) ● Aadhaar › checking aadhaar › should return data to me if present in backup data expect(received).toEqual(expected) // deep equality Expected: 200 Received: 422   34 | });  35 | > 36 | expect(response.status).toEqual(200);  | ^  37 |  38 | const application = JSON.parse(response.body);  39 | at Object.toEqual (tests/aadhaar.test.js:36:31) ● Aadhaar › checking aadhaar › should return status 404 expect(received).toEqual(expected) // deep equality Expected: 200 Received: 422   34 | });  35 | > 36 | expect(response.status).toEqual(200);  | ^  37 |  38 | const application = JSON.parse(response.body);  39 | at Object.toEqual (tests/aadhaar.test.js:36:31) PASS tests/unit/credit_score_encryption.test.js FAIL tests/order.test.js ● Console console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (node_modules/@greencapitaltrade/utils/build/src/tracing.js:91:17) ● order req › order request SequelizeValidationError: notNull Violation: applications.product_id cannot be null, notNull Violation: applications.organization_id cannot be null   13 | // await subscribe(queue);  14 | const user_id = Date.now(); > 15 | const application = await Application.create({  | ^  16 | user_id: user_id,  17 | status: 'cic',  18 | product: 'secured_card', at InstanceValidator._validate (node_modules/sequelize/src/instance-validator.js:78:13) at InstanceValidator._validateAndRunHooks (node_modules/sequelize/src/instance-validator.js:111:7) at InstanceValidator.validate (node_modules/sequelize/src/instance-validator.js:93:12) at model.save (node_modules/sequelize/src/model.js:4077:7) at applications.create (node_modules/sequelize/src/model.js:2305:12) at Object. (tests/order.test.js:15:25) PASS tests/unit/emandate.test.js ● Console console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (node_modules/@greencapitaltrade/utils/build/src/tracing.js:91:17) console.info INFO undefined Executing (default): INSERT INTO "applications" ("id","status","product_id","organization_id","created_at") VALUES (DEFAULT,$1,$2,$3,NOW()) RETURNING "id","status","product_id","organization_id","created_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "emandates" ("id","application_id","amount","happy_subscription_id","status","mandate_type","created_at","updated_at","deleted_at","vpa") VALUES (DEFAULT,$1,$2,$3,$4,$5,NOW(),NOW(),$6,$7) RETURNING "id","application_id","active","amount","account_number","ifsc","bank","happy_subscription_id","status","mandate_type","created_at","updated_at","deleted_at","umrn","vpa"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "emandates" ("id","application_id","amount","happy_subscription_id","status","mandate_type","created_at","updated_at","deleted_at","vpa") VALUES (DEFAULT,$1,$2,$3,$4,$5,NOW(),NOW(),$6,$7) RETURNING "id","application_id","active","amount","account_number","ifsc","bank","happy_subscription_id","status","mandate_type","created_at","updated_at","deleted_at","umrn","vpa"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): INSERT INTO "emandates" ("id","application_id","amount","happy_subscription_id","status","mandate_type","created_at","updated_at","deleted_at","vpa") VALUES (DEFAULT,$1,$2,$3,$4,$5,NOW(),NOW(),$6,$7) RETURNING "id","application_id","active","amount","account_number","ifsc","bank","happy_subscription_id","status","mandate_type","created_at","updated_at","deleted_at","umrn","vpa"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) console.info INFO undefined Executing (default): UPDATE "emandates" SET "status"=$1,"active"=$2 WHERE "id" = $3 at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) FAIL tests/agreement.test.js ● Console console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (node_modules/@greencapitaltrade/utils/build/src/tracing.js:91:17) ● agreement › agreement flow SequelizeValidationError: notNull Violation: applications.product_id cannot be null, notNull Violation: applications.organization_id cannot be null   11 | it('agreement flow', async () => {  12 | const user_id = Date.now(); > 13 | const application = await Application.create({  | ^  14 | user_id,  15 | status: 'cic',  16 | product: 'secured_card', at InstanceValidator._validate (node_modules/sequelize/src/instance-validator.js:78:13) at InstanceValidator._validateAndRunHooks (node_modules/sequelize/src/instance-validator.js:111:7) at InstanceValidator.validate (node_modules/sequelize/src/instance-validator.js:93:12) at model.save (node_modules/sequelize/src/model.js:4077:7) at applications.create (node_modules/sequelize/src/model.js:2305:12) at Object. (tests/agreement.test.js:13:25) PASS tests/pan.test.js ● Console console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (node_modules/@greencapitaltrade/utils/build/src/tracing.js:91:17) console.info INFO undefined Executing (default): INSERT INTO "pan" ("id","value","first_name","last_name","created_at","updated_at","deleted_at") VALUES (DEFAULT,$1,$2,$3,NOW(),NOW(),$4) RETURNING "id","status","status_msg","value","first_name","middle_name","last_name","created_at","updated_at","deleted_at"; at console. [as info] (node_modules/@greencapitaltrade/utils/build/src/logging.js:51:21) A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them. Test Suites: 5 failed, 7 passed, 12 total Tests: 9 failed, 51 passed, 60 total Snapshots: 0 total Time: 24.091 s Ran all test suites. Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished? command terminated with exit code 1 cat: test-report.md: No such file or directory command terminated with exit code 1 commented on pull request #1097 on repository greencapitaltrade/destiny cat: coverage/coverage.txt: No such file or directory command terminated with exit code 1 error: failed to comment on pull request #1097 on repository greencapitaltrade/destiny: Unprocessable Entity  Pipeline failed on stage 'from-build-pack' : container 'step-build-run-e2e'. The execution of the pipeline has stopped.