+ umask 000 + git lfs 2>/dev/null >/dev/null || if [ $? -ne 0 ]; then exit 86; fi + retry 6 git clone --branch="feature/LE3-1269-prevent-duplicate-students" https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/$BITBUCKET_REPO_FULL_NAME.git $BUILD_DIR Cloning into '/opt/atlassian/pipelines/agent/build'... + git reset --hard 908effe3535d HEAD is now at 908effe353 LE3-1269 refactored logic to be more consistent + git config user.name bitbucket-pipelines + git config user.email commits-noreply@bitbucket.org + git config push.default current + git config http.${BITBUCKET_GIT_HTTP_ORIGIN}.proxy http://localhost:29418/ + git remote set-url origin http://bitbucket.org/$BITBUCKET_REPO_FULL_NAME + git reflog expire --expire=all --all + echo ".bitbucket/pipelines/generated" >> .git/info/exclude + CONFLICT_EXIT_CODE=3 + git merge 09627d5834c3 --no-edit || exit $CONFLICT_EXIT_CODE Auto-merging https://bitbucket.org/ehgprojecthorizon/staff-app/src/908effe3535d1185d30f7233a2cd036c11ed8b9e/src/Classes/pageContents/ClassDetailsPageContent/ClassDetailsPageContent.tsx Merge made by the 'ort' strategy. .../ClassDetailsHeader/ClassDetailsHeader.test.tsx | 4 + .../ClassDetailsHeaderColumns.tsx | 7 +- .../EditClassModal/EditClassModal.test.tsx | 3 + .../components/EditClassModal/EditClassModal.tsx | 64 ++++----- .../ClassDetailsPageContent.tsx | 7 +- .../ClassListPageContent/ClassListPage.test.tsx | 3 + .../ClassListPageContent/ClassListPageContent.tsx | 32 ++--- .../CommunicationModal/CommunicationModal.types.ts | 1 + .../Statements/components/DebtorStatementsList.tsx | 12 +- .../SendStatementEmailProvider/EmailContainer.tsx | 52 ++++++-- .../SendStatementEmailProvider.tsx | 7 +- .../StatementEmailProvider.types.ts | 9 +- .../Accounts/StatementAccounts.types.ts | 13 ++ .../Accounts/components/AccountsTable.tsx | 148 ++++++++++++++++++--- .../_DebtorStatements/DebtorStatement.locale.json | 16 ++- .../_DebtorStatements/DebtorStatement.module.css | 4 + .../components/StatementHeader.tsx | 12 +- .../components/DebtorStatementFooter.test.js | 58 ++++++-- .../components/DebtorStatementFooter.tsx | 46 +++---- .../components/DebtorStatementRunFooter.test.js | 42 ++++++ .../components/DebtorStatementRunFooter.tsx | 75 +++++++++++ .../components/DebtorStatementTable.tsx | 11 +- .../components/Senders/SendEmail/SendEmail.js | 47 ++++--- 23 files changed, 508 insertions(+), 165 deletions(-) create mode 100644 src/Finance/Debtors/_DebtorStatements/components/DebtorStatementRunFooter.test.js create mode 100644 src/Finance/Debtors/_DebtorStatements/components/DebtorStatementRunFooter.tsx + chmod 777 $BUILD_DIR Artifact "node_modules/**": Downloading Artifact "node_modules/**": Downloaded 156.3 MiB in 6 seconds Artifact "node_modules/**": Extracting Artifact "node_modules/**": Extracted in 10 seconds Artifact "coverage/lcov_1.info": Downloading Artifact "coverage/lcov_1.info": Downloaded 512.5 KiB in 0 seconds Artifact "coverage/lcov_1.info": Extracting Artifact "coverage/lcov_1.info": Extracted in 0 seconds Artifact "test-step-1-log.txt": Downloading Artifact "test-step-1-log.txt": Downloaded 1.9 KiB in 0 seconds Artifact "test-step-1-log.txt": Extracting Artifact "test-step-1-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_2.info": Downloading Artifact "coverage/lcov_2.info": Downloaded 518.6 KiB in 0 seconds Artifact "coverage/lcov_2.info": Extracting Artifact "coverage/lcov_2.info": Extracted in 0 seconds Artifact "test-step-2-log.txt": Downloading Artifact "test-step-2-log.txt": Downloaded 1.8 KiB in 0 seconds Artifact "test-step-2-log.txt": Extracting Artifact "test-step-2-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_3.info": Downloading Artifact "coverage/lcov_3.info": Downloaded 517.7 KiB in 0 seconds Artifact "coverage/lcov_3.info": Extracting Artifact "coverage/lcov_3.info": Extracted in 0 seconds Artifact "test-step-3-log.txt": Downloading Artifact "test-step-3-log.txt": Downloaded 1.7 KiB in 0 seconds Artifact "test-step-3-log.txt": Extracting Artifact "test-step-3-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_4.info": Downloading Artifact "coverage/lcov_4.info": Downloaded 519.1 KiB in 0 seconds Artifact "coverage/lcov_4.info": Extracting Artifact "coverage/lcov_4.info": Extracted in 0 seconds Artifact "test-step-4-log.txt": Downloading Artifact "test-step-4-log.txt": Downloaded 1.7 KiB in 0 seconds Artifact "test-step-4-log.txt": Extracting Artifact "test-step-4-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_5.info": Downloading Artifact "coverage/lcov_5.info": Downloaded 517 KiB in 0 seconds Artifact "coverage/lcov_5.info": Extracting Artifact "coverage/lcov_5.info": Extracted in 0 seconds Artifact "test-step-5-log.txt": Downloading Artifact "test-step-5-log.txt": Downloaded 1.9 KiB in 0 seconds Artifact "test-step-5-log.txt": Extracting Artifact "test-step-5-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_6.info": Downloading Artifact "coverage/lcov_6.info": Downloaded 516.7 KiB in 0 seconds Artifact "coverage/lcov_6.info": Extracting Artifact "coverage/lcov_6.info": Extracted in 0 seconds Artifact "test-step-6-log.txt": Downloading Artifact "test-step-6-log.txt": Downloaded 1.8 KiB in 0 seconds Artifact "test-step-6-log.txt": Extracting Artifact "test-step-6-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_7.info": Downloading Artifact "coverage/lcov_7.info": Downloaded 522.1 KiB in 0 seconds Artifact "coverage/lcov_7.info": Extracting Artifact "coverage/lcov_7.info": Extracted in 0 seconds Artifact "test-step-7-log.txt": Downloading Artifact "test-step-7-log.txt": Downloaded 1.9 KiB in 0 seconds Artifact "test-step-7-log.txt": Extracting Artifact "test-step-7-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_8.info": Downloading Artifact "coverage/lcov_8.info": Downloaded 521.7 KiB in 0 seconds Artifact "coverage/lcov_8.info": Extracting Artifact "coverage/lcov_8.info": Extracted in 0 seconds Artifact "test-step-8-log.txt": Downloading Artifact "test-step-8-log.txt": Downloaded 1.7 KiB in 0 seconds Artifact "test-step-8-log.txt": Extracting Artifact "test-step-8-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_9.info": Downloading Artifact "coverage/lcov_9.info": Downloaded 532 KiB in 0 seconds Artifact "coverage/lcov_9.info": Extracting Artifact "coverage/lcov_9.info": Extracted in 0 seconds Artifact "test-step-9-log.txt": Downloading Artifact "test-step-9-log.txt": Downloaded 1.7 KiB in 0 seconds Artifact "test-step-9-log.txt": Extracting Artifact "test-step-9-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_10.info": Downloading Artifact "coverage/lcov_10.info": Downloaded 532.3 KiB in 0 seconds Artifact "coverage/lcov_10.info": Extracting Artifact "coverage/lcov_10.info": Extracted in 0 seconds Artifact "test-step-10-log.txt": Downloading Artifact "test-step-10-log.txt": Downloaded 1.7 KiB in 0 seconds Artifact "test-step-10-log.txt": Extracting Artifact "test-step-10-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_11.info": Downloading Artifact "coverage/lcov_11.info": Downloaded 519.4 KiB in 0 seconds Artifact "coverage/lcov_11.info": Extracting Artifact "coverage/lcov_11.info": Extracted in 0 seconds Artifact "test-step-11-log.txt": Downloading Artifact "test-step-11-log.txt": Downloaded 1.8 KiB in 0 seconds Artifact "test-step-11-log.txt": Extracting Artifact "test-step-11-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_12.info": Downloading Artifact "coverage/lcov_12.info": Downloaded 521.7 KiB in 0 seconds Artifact "coverage/lcov_12.info": Extracting Artifact "coverage/lcov_12.info": Extracted in 0 seconds Artifact "test-step-12-log.txt": Downloading Artifact "test-step-12-log.txt": Downloaded 1.7 KiB in 0 seconds Artifact "test-step-12-log.txt": Extracting Artifact "test-step-12-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_13.info": Downloading Artifact "coverage/lcov_13.info": Downloaded 523.4 KiB in 0 seconds Artifact "coverage/lcov_13.info": Extracting Artifact "coverage/lcov_13.info": Extracted in 0 seconds Artifact "test-step-13-log.txt": Downloading Artifact "test-step-13-log.txt": Downloaded 1.9 KiB in 0 seconds Artifact "test-step-13-log.txt": Extracting Artifact "test-step-13-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_14.info": Downloading Artifact "coverage/lcov_14.info": Downloaded 523.2 KiB in 0 seconds Artifact "coverage/lcov_14.info": Extracting Artifact "coverage/lcov_14.info": Extracted in 0 seconds Artifact "test-step-14-log.txt": Downloading Artifact "test-step-14-log.txt": Downloaded 1.8 KiB in 0 seconds Artifact "test-step-14-log.txt": Extracting Artifact "test-step-14-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_15.info": Downloading Artifact "coverage/lcov_15.info": Downloaded 522.1 KiB in 0 seconds Artifact "coverage/lcov_15.info": Extracting Artifact "coverage/lcov_15.info": Extracted in 0 seconds Artifact "test-step-15-log.txt": Downloading Artifact "test-step-15-log.txt": Downloaded 1.9 KiB in 0 seconds Artifact "test-step-15-log.txt": Extracting Artifact "test-step-15-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_16.info": Downloading Artifact "coverage/lcov_16.info": Downloaded 526.3 KiB in 0 seconds Artifact "coverage/lcov_16.info": Extracting Artifact "coverage/lcov_16.info": Extracted in 0 seconds Artifact "test-step-16-log.txt": Downloading Artifact "test-step-16-log.txt": Downloaded 1.8 KiB in 0 seconds Artifact "test-step-16-log.txt": Extracting Artifact "test-step-16-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_17.info": Downloading Artifact "coverage/lcov_17.info": Downloaded 527.2 KiB in 0 seconds Artifact "coverage/lcov_17.info": Extracting Artifact "coverage/lcov_17.info": Extracted in 0 seconds Artifact "test-step-17-log.txt": Downloading Artifact "test-step-17-log.txt": Downloaded 1.9 KiB in 0 seconds Artifact "test-step-17-log.txt": Extracting Artifact "test-step-17-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_18.info": Downloading Artifact "coverage/lcov_18.info": Downloaded 522.5 KiB in 0 seconds Artifact "coverage/lcov_18.info": Extracting Artifact "coverage/lcov_18.info": Extracted in 0 seconds Artifact "test-step-18-log.txt": Downloading Artifact "test-step-18-log.txt": Downloaded 1.9 KiB in 0 seconds Artifact "test-step-18-log.txt": Extracting Artifact "test-step-18-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_19.info": Downloading Artifact "coverage/lcov_19.info": Downloaded 517.1 KiB in 0 seconds Artifact "coverage/lcov_19.info": Extracting Artifact "coverage/lcov_19.info": Extracted in 0 seconds Artifact "test-step-19-log.txt": Downloading Artifact "test-step-19-log.txt": Downloaded 1.9 KiB in 0 seconds Artifact "test-step-19-log.txt": Extracting Artifact "test-step-19-log.txt": Extracted in 0 seconds Artifact "coverage/lcov_20.info": Downloading Artifact "coverage/lcov_20.info": Downloaded 508.1 KiB in 0 seconds Artifact "coverage/lcov_20.info": Extracting Artifact "coverage/lcov_20.info": Extracted in 0 seconds Artifact "test-step-20-log.txt": Downloading Artifact "test-step-20-log.txt": Downloaded 1.6 KiB in 0 seconds Artifact "test-step-20-log.txt": Extracting Artifact "test-step-20-log.txt": Extracted in 0 seconds Artifact "build/**": Downloading Artifact "build/**": Downloaded 5.6 MiB in 0 seconds Artifact "build/**": Extracting Artifact "build/**": Extracted in 0 seconds Artifact "buildForQA/**": Downloading Artifact "buildForQA/**": Downloaded 5.6 MiB in 0 seconds Artifact "buildForQA/**": Extracting Artifact "buildForQA/**": Extracted in 0 seconds Cache "sonar: ~/.sonar/cache": Downloading Cache "sonar: ~/.sonar/cache": Not found Cache "docker: docker.tar": Downloading Cache "docker: docker.tar": Downloaded 229 MiB in 6 seconds Cache "docker: docker.tar": Extracting Cache "docker: docker.tar": Extracted in 4 seconds Default variables: BITBUCKET_BRANCH BITBUCKET_BUILD_NUMBER BITBUCKET_CLONE_DIR BITBUCKET_COMMIT BITBUCKET_GIT_HTTP_ORIGIN BITBUCKET_GIT_SSH_ORIGIN BITBUCKET_PIPELINE_UUID BITBUCKET_PROJECT_KEY BITBUCKET_PROJECT_UUID BITBUCKET_PR_DESTINATION_BRANCH BITBUCKET_PR_DESTINATION_COMMIT BITBUCKET_PR_ID BITBUCKET_REPO_FULL_NAME BITBUCKET_REPO_IS_PRIVATE BITBUCKET_REPO_OWNER BITBUCKET_REPO_OWNER_UUID BITBUCKET_REPO_SLUG BITBUCKET_REPO_UUID BITBUCKET_SSH_KEY_FILE BITBUCKET_STEP_RUN_NUMBER BITBUCKET_STEP_TRIGGERER_UUID BITBUCKET_STEP_UUID BITBUCKET_WORKSPACE CI DOCKER_HOST PIPELINES_JWT_TOKEN Workspace variables: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY NEW_RELIC_ACCOUNT_ID NEW_RELIC_API_KEY NEW_RELIC_BR_LICENSE_KEY NEW_RELIC_LICENSE_KEY REGION SONAR_QUALITY_VERSION SONAR_SOURCE_VERSION SONAR_TOKEN STIMULSOFT_LICENSE_KEY TEST_AUTOMATION_REPO_ACCESS_TOKEN Images used: build : public.ecr.aws/y9n7b9l3/ehg-ui-pipeline-public@sha256:927fb6ce908bc4b22fa3a0e1ccf6e05feaefd1212f5a75f90da02451a23ae6c0 + npx lcov-result-merger 'coverage/lcov_*.info' 'coverage/lcov.info' npm WARN exec The following package was not found and will be installed: lcov-result-merger@4.1.0 + docker container run \ --volume=/opt/atlassian/pipelines/agent/build:/opt/atlassian/pipelines/agent/build \ --volume=/opt/atlassian/pipelines/agent/ssh:/opt/atlassian/pipelines/agent/ssh:ro \ --volume=/usr/local/bin/docker:/usr/local/bin/docker:ro \ --volume=/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes:/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes \ --volume=/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-scan:/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-scan \ --workdir=$(pwd) \ --label=org.bitbucket.pipelines.system=true \ --env=BITBUCKET_STEP_TRIGGERER_UUID="$BITBUCKET_STEP_TRIGGERER_UUID" \ --env=BITBUCKET_REPO_FULL_NAME="$BITBUCKET_REPO_FULL_NAME" \ --env=BITBUCKET_GIT_HTTP_ORIGIN="$BITBUCKET_GIT_HTTP_ORIGIN" \ --env=BITBUCKET_PROJECT_UUID="$BITBUCKET_PROJECT_UUID" \ --env=BITBUCKET_REPO_IS_PRIVATE="$BITBUCKET_REPO_IS_PRIVATE" \ --env=BITBUCKET_WORKSPACE="$BITBUCKET_WORKSPACE" \ --env=BITBUCKET_SSH_KEY_FILE="$BITBUCKET_SSH_KEY_FILE" \ --env=BITBUCKET_PR_DESTINATION_COMMIT="$BITBUCKET_PR_DESTINATION_COMMIT" \ --env=BITBUCKET_REPO_OWNER_UUID="$BITBUCKET_REPO_OWNER_UUID" \ --env=BITBUCKET_BRANCH="$BITBUCKET_BRANCH" \ --env=BITBUCKET_REPO_UUID="$BITBUCKET_REPO_UUID" \ --env=BITBUCKET_PROJECT_KEY="$BITBUCKET_PROJECT_KEY" \ --env=BITBUCKET_REPO_SLUG="$BITBUCKET_REPO_SLUG" \ --env=CI="$CI" \ --env=BITBUCKET_PR_ID="$BITBUCKET_PR_ID" \ --env=BITBUCKET_REPO_OWNER="$BITBUCKET_REPO_OWNER" \ --env=BITBUCKET_STEP_RUN_NUMBER="$BITBUCKET_STEP_RUN_NUMBER" \ --env=BITBUCKET_BUILD_NUMBER="$BITBUCKET_BUILD_NUMBER" \ --env=BITBUCKET_GIT_SSH_ORIGIN="$BITBUCKET_GIT_SSH_ORIGIN" \ --env=BITBUCKET_PIPELINE_UUID="$BITBUCKET_PIPELINE_UUID" \ --env=BITBUCKET_COMMIT="$BITBUCKET_COMMIT" \ --env=BITBUCKET_PR_DESTINATION_BRANCH="$BITBUCKET_PR_DESTINATION_BRANCH" \ --env=BITBUCKET_CLONE_DIR="$BITBUCKET_CLONE_DIR" \ --env=PIPELINES_JWT_TOKEN="$PIPELINES_JWT_TOKEN" \ --env=BITBUCKET_STEP_UUID="$BITBUCKET_STEP_UUID" \ --env=BITBUCKET_DOCKER_HOST_INTERNAL="$BITBUCKET_DOCKER_HOST_INTERNAL" \ --env=DOCKER_HOST="tcp://host.docker.internal:2375" \ --env=BITBUCKET_PIPE_SHARED_STORAGE_DIR="/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes" \ --env=BITBUCKET_PIPE_STORAGE_DIR="/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-scan" \ --env=SONAR_TOKEN="$SONAR_TOKEN" \ --add-host="host.docker.internal:$BITBUCKET_DOCKER_HOST_INTERNAL" \ sonarsource/sonarcloud-scan:1.4.0 INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties INFO: Project root configuration file: /opt/atlassian/pipelines/agent/build/sonar-project.properties INFO: SonarScanner 4.6.2.2472 INFO: Java 11.0.3 Oracle Corporation (64-bit) INFO: Linux 5.15.0-1031-aws amd64 INFO: Bitbucket Cloud Pipelines detected, no host variable set. Defaulting to sonarcloud.io. INFO: User cache: /root/.sonar/cache INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties INFO: Project root configuration file: /opt/atlassian/pipelines/agent/build/sonar-project.properties INFO: Analyzing on SonarCloud INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=540ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: User cache: /root/.sonar/cache INFO: Load/download plugins INFO: Load plugins index INFO: Load plugins index (done) | time=512ms INFO: Load/download plugins (done) | time=23880ms INFO: Loaded core extensions: developer-scanner INFO: Found an active CI vendor: 'Bitbucket Pipelines' INFO: Detected project key 'ehgprojecthorizon_staff-app' from 'Bitbucket Cloud Pipelines' INFO: Detected organization key 'ehgdev' from 'Bitbucket Cloud Pipelines' INFO: Load project settings for component key: 'ehgprojecthorizon_staff-app' INFO: Load project settings for component key: 'ehgprojecthorizon_staff-app' (done) | time=499ms INFO: Process project properties INFO: Execute project builders INFO: Execute project builders (done) | time=1ms INFO: Project key: ehgprojecthorizon_staff-app INFO: Base dir: /opt/atlassian/pipelines/agent/build INFO: Working dir: /opt/atlassian/pipelines/agent/build/.scannerwork INFO: Load project branches INFO: Load project branches (done) | time=496ms INFO: Check ALM binding of project 'ehgprojecthorizon_staff-app' INFO: Detected project binding: BOUND INFO: Check ALM binding of project 'ehgprojecthorizon_staff-app' (done) | time=480ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=615ms INFO: Load branch configuration INFO: Detected analysis for pull request '11819' targeting 'development' INFO: Auto-configuring pull request 11819 INFO: Load branch configuration (done) | time=664ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=562ms INFO: Load active rules INFO: Load active rules (done) | time=5649ms INFO: Organization key: ehgdev INFO: Pull request 11819 for merge into development from feature/LE3-1269-prevent-duplicate-students INFO: Load project repositories INFO: Load project repositories (done) | time=3260ms INFO: SCM collecting changed files in the branch INFO: SCM collecting changed files in the branch (done) | time=387ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: **/build-wrapper-dump.json, **/test/**, **/constants/**, **/test/**, **/tests/**, **/__test__/**, **/__tests__/**, **/*.constants.js, **/*.routes.tsx, **/*.abilities.js, **/*.permissions.js, **/*.config.js, **/stimulsoft*.js, **/QuickReport/**, **/mocks/**, **/*.properties, **/MaintainDebtors.js, **/_toBeRemoved/**, **/__mocks__/**, **/*.test.js, **/*.test.tsx, **/*.type.ts, **/*.types.ts, **/*.json, **/messages/**, src/shared/helpers/jest-test-utils/msw/server-handlers.js, src/Finance/Debtors/DebtorChargeEntry/**, **/*.test.js, **/*.test.tsx, **/*.test.ts INFO: Included tests: **/*.test.js, **/*.test.tsx, **/*.test.ts INFO: Excluded sources for coverage: **/MaintainDebtors.js, **/Finance/Common**, **/ProfileHeaderContainer.js, **/GeneralLedgerConfigHelper.js, **/InfoSection.js, **/test/**, **/*.test.js, **/*.test.tsx, **/__mocks__/**, **/*.test.ts, src/routes/workspaces.js, src/routes/components/**, src/setupTests.js, src/shared/helpers/jest-test-utils/msw/server-handlers.js, src/Finance/Debtors/DebtorChargeEntry/** INFO: 7000 files indexed INFO: 8590 files ignored because of inclusion/exclusion patterns INFO: 0 files ignored because of scm ignore settings INFO: Quality profile for css: Sonar way INFO: Quality profile for js: Sonar way Recommended-javascript-ui INFO: Quality profile for ts: Sonar way Recommended-typescript-ui INFO: ------------- Run sensors on module ehgprojecthorizon_staff-app INFO: Load metrics repository INFO: Load metrics repository (done) | time=487ms INFO: Sensor cache enabled INFO: Load sensor cache INFO: Load sensor cache (404) | time=489ms INFO: Sensor C# Project Type Information [csharp] INFO: Sensor C# Project Type Information [csharp] (done) | time=9ms INFO: Sensor C# Analysis Log [csharp] INFO: Sensor C# Analysis Log [csharp] (done) | time=20ms INFO: Sensor C# Properties [csharp] INFO: Sensor C# Properties [csharp] (done) | time=0ms INFO: Sensor HTML [web] INFO: Sensor HTML is restricted to changed files only INFO: Sensor HTML [web] (done) | time=33ms INFO: Sensor TextAndSecretsSensor [text] INFO: Sensor TextAndSecretsSensor is restricted to changed files only INFO: 4 source files to be analyzed INFO: 4/4 source files have been analyzed INFO: Sensor TextAndSecretsSensor [text] (done) | time=76ms INFO: Sensor VB.NET Project Type Information [vbnet] INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=4ms INFO: Sensor VB.NET Analysis Log [vbnet] INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=14ms INFO: Sensor VB.NET Properties [vbnet] INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms INFO: Sensor JaCoCo XML Report Importer [jacoco] INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms INFO: Sensor JavaScript analysis [javascript] INFO: Creating TypeScript program INFO: 4447 source files to be analyzed INFO: TypeScript configuration file /opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/7759044227497582681.tmp INFO: Creating TypeScript program (done) | time=9127ms INFO: Starting analysis with current program INFO: 1/4447 file analyzed, current file: /opt/atlassian/pipelines/agent/build/src/GradingScale/localisation/GradingScaleLocale.js INFO: 68/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Administration/Security/Roles/RoleDetailsPage/component/RoleHeader/RoleDetailsHeader.js INFO: 226/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/shared/components/Senders/apis/senders-api.js INFO: 456/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Common/components/SelectPerson.js INFO: 649/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/SchoolManagement/shared/components/ProfileHeader/ProfileHeaderContainer.js INFO: 829/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Programme/ProgrammeCoverSettings/components/MarksBookSettings/tabs/AssessmentGroup/AssessmentGroupFields.js INFO: 1062/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/ReportTemplateManagement/components/HeaderPanel/HeaderHelper.js INFO: 1316/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Wizards/CommunityItemAddWizard/StepperForm.js INFO: 1610/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/FinancialConfiguration/DebtorLedger/components/DebtorLedgerContent/EditNotification.js INFO: 1855/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Administration/Configuration/Authentication/components/AuthenticationTable.js INFO: 2114/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/FinancialConfiguration/_DebtorsConfig/Components/DebtorsConfigTabs/AgeingTemplates/AgeingTemplates.utilities.js INFO: 2317/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/SchoolManagement/Community/CommunityMaintainPage/components/BiographySection/BiographySection.js INFO: 2598/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/_GeneralLedger/GeneralJournalEntry/Modals/AbandonPostingWarningModal/AbandonPostingWarningModal.js INFO: 2804/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/SchoolManagement/Community/CommunityMaintainPage/components/KeySection/KeySection.js INFO: 3005/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/SchoolManagement/Student/StudentCreatePage/CreateStudent.js INFO: 3174/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/SchoolManagement/Community/CommunityMaintainPage/components/CodeSection/SelectInputCode.js INFO: 3313/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/SchoolManagement/Student/StudentMaintainPage/components/TransportSection/TransportSection.js INFO: 3444/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/Other/StudentBilling/AddStudentDebtorAccount/AddPastStudentDebtorAccount.js INFO: 3688/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Administration/Configuration/Features/hooks/useFeaturesColumns.test.js INFO: 3907/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/SchoolManagement/Student/StudentMaintainPage/components/TransportSection/tests/addTransportModalHelper.test.js INFO: 4175/4447 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/Common/utilities/generators.js INFO: Analyzed 4447 file(s) with current program INFO: 4447/4447 source files have been analyzed INFO: Hit the cache for 0 out of 4447 INFO: Miss the cache for 4447 out of 4447: FILE_CHANGED [4447/4447] INFO: Sensor JavaScript analysis [javascript] (done) | time=222495ms INFO: Sensor TypeScript analysis [javascript] INFO: Found 1 https://bitbucket.org/ehgprojecthorizon/staff-app/src/908effe3535d1185d30f7233a2cd036c11ed8b9e/tsconfig.json file(s): [/opt/atlassian/pipelines/agent/build/tsconfig.json] INFO: Creating TypeScript program INFO: TypeScript configuration file /opt/atlassian/pipelines/agent/build/tsconfig.json INFO: 1924 source files to be analyzed INFO: 0/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/Payments/hooks/usePaymentsColumns.tsx INFO: 0/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/Payments/hooks/usePaymentsColumns.tsx INFO: 0/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/Payments/hooks/usePaymentsColumns.tsx INFO: Creating TypeScript program (done) | time=30675ms INFO: Starting analysis with current program INFO: 1/1924 file analyzed, current file: /opt/atlassian/pipelines/agent/build/src/UIChassis/components/Spine/hooks/useSpine.ts INFO: 78/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/routes/hooks/useFinanceLinks.ts INFO: 183/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/AcademicReports/pages/FrontCoverTemplateConfigPage/FrontCoverTemplateConfigPage.tsx INFO: 250/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/AcademicReports/components/OverviewEntry/hooks/useOverviewEntry.tsx INFO: 315/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Compliance/components/ComplianceFormSwitch/ComplianceForms/NaplanNSWReportForm.tsx INFO: 355/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Compliance/pages/DataExtraction/components/Profiles/hooks/useProfileList.ts INFO: 461/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Common/components/GenericSelectTable/GenericSelectTable.tsx INFO: 596/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/Debtors/_CashReceipts/Hooks/useCashReceipts/index.ts INFO: 660/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/Debtors/_CashReceipts/Pages/CashReceiptDetail/CashReceiptAside/components/CashReceiptsAsideListItem.tsx INFO: 935/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/Other/StudentBilling/AddStudentDebtorAccount/AddStuDebtorAccVerticalStepper/components/CommunityRecord.tsx INFO: 1114/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/AttendanceAdmin/AttendanceManagement/components/AttendanceCell/index.tsx INFO: 1511/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Finance/BulkStudentBilling/components/BulkStudentBillingSummary/SummaryDescriptionPanel.test.tsx INFO: 1816/1924 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/Sidekick/components/Notifications/components/GLExportFailedNotification.tsx INFO: Analyzed 1924 file(s) with current program INFO: 1924/1924 source files have been analyzed INFO: Hit the cache for 0 out of 1924 INFO: Miss the cache for 1924 out of 1924: FILE_CHANGED [1924/1924] INFO: Sensor TypeScript analysis [javascript] (done) | time=161782ms INFO: Sensor CSS Rules [javascript] INFO: Sensor CSS Rules is restricted to changed files only INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. INFO: Sensor CSS Rules [javascript] (done) | time=6ms INFO: Sensor JavaScript/TypeScript Coverage [javascript] INFO: Analysing [/opt/atlassian/pipelines/agent/build/./coverage/lcov.info] WARN: Could not resolve 301 file paths in [/opt/atlassian/pipelines/agent/build/./coverage/lcov.info] WARN: First unresolved path: /opt/atlassian/pipelines/agent/build/src/AcademicReports/academicReports.routes.tsx (Run in DEBUG mode to get full list of unresolved paths) INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=599ms INFO: Sensor CSS Metrics [javascript] INFO: Sensor CSS Metrics is restricted to changed files only INFO: Sensor CSS Metrics [javascript] (done) | time=2ms INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=15ms INFO: Sensor IaC Docker Sensor [iac] INFO: Sensor IaC Docker Sensor is restricted to changed files only INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC Docker Sensor [iac] (done) | time=380ms INFO: Sensor Serverless configuration file sensor [security] INFO: 0 Serverless function entries were found in the project INFO: 0 Serverless function handlers were kept as entrypoints INFO: Sensor Serverless configuration file sensor [security] (done) | time=9ms INFO: Sensor AWS SAM template file sensor [security] INFO: Sensor AWS SAM template file sensor [security] (done) | time=6ms INFO: Sensor AWS SAM Inline template file sensor [security] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=6ms INFO: Sensor javabugs [dbd] INFO: Reading IR files from: /opt/atlassian/pipelines/agent/build/.scannerwork/ir/java INFO: No IR files have been included for analysis. INFO: Sensor javabugs [dbd] (done) | time=2ms INFO: Sensor pythonbugs [dbd] INFO: Reading IR files from: /opt/atlassian/pipelines/agent/build/.scannerwork/ir/python INFO: No IR files have been included for analysis. INFO: Sensor pythonbugs [dbd] (done) | time=0ms INFO: Sensor JavaSecuritySensor [security] INFO: Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/java INFO: Read 0 type definitions INFO: No UCFGs have been included for analysis. INFO: Sensor JavaSecuritySensor [security] (done) | time=4ms INFO: Sensor CSharpSecuritySensor [security] INFO: Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/ucfg_cs2 INFO: Read 0 type definitions INFO: No UCFGs have been included for analysis. INFO: Sensor CSharpSecuritySensor [security] (done) | time=0ms INFO: Sensor PhpSecuritySensor [security] INFO: Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/php INFO: Read 0 type definitions INFO: No UCFGs have been included for analysis. INFO: Sensor PhpSecuritySensor [security] (done) | time=0ms INFO: Sensor PythonSecuritySensor [security] INFO: Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/python INFO: Read 0 type definitions INFO: No UCFGs have been included for analysis. INFO: Sensor PythonSecuritySensor [security] (done) | time=0ms INFO: Sensor JsSecuritySensor [security] INFO: No taint analysis rules have been enabled, will not execute taint analysis. INFO: Sensor JsSecuritySensor [security] (done) | time=0ms INFO: ------------- Run sensors on project INFO: Sensor Analysis Warnings import [csharp] INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=32ms INFO: SCM Publisher SCM provider for this project is: git INFO: SCM Publisher 4 source files to be analyzed INFO: Blaming files using jgit implementation INFO: Blaming files using jgit implementation (done) | time=467ms INFO: SCM Publisher 4/4 source files have been analyzed (done) | time=619ms INFO: CPD Executor 536 files had no CPD blocks INFO: CPD Executor Calculating CPD for 3867 files INFO: CPD Executor CPD calculation finished (done) | time=1084ms INFO: SCM writing changed lines INFO: SCM writing changed lines (done) | time=89ms INFO: Analysis report generated in 558ms, dir size=4 MB INFO: Analysis report compressed in 5611ms, zip size=4 MB INFO: Analysis report uploaded in 1579ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=ehgprojecthorizon_staff-app&pullRequest=11819 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AYd5Z-3O5OZaw01trnro INFO: Time spent writing ucfgs 0ms INFO: Analysis total time: 7:08.358 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 7:39.126s INFO: Final Memory: 71M/260M INFO: ------------------------------------------------------------------------ ✔ SonarCloud analysis was successful. + docker container run \ --volume=/opt/atlassian/pipelines/agent/build:/opt/atlassian/pipelines/agent/build \ --volume=/opt/atlassian/pipelines/agent/ssh:/opt/atlassian/pipelines/agent/ssh:ro \ --volume=/usr/local/bin/docker:/usr/local/bin/docker:ro \ --volume=/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes:/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes \ --volume=/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-quality-gate:/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-quality-gate \ --workdir=$(pwd) \ --label=org.bitbucket.pipelines.system=true \ --env=BITBUCKET_STEP_TRIGGERER_UUID="$BITBUCKET_STEP_TRIGGERER_UUID" \ --env=BITBUCKET_REPO_FULL_NAME="$BITBUCKET_REPO_FULL_NAME" \ --env=BITBUCKET_GIT_HTTP_ORIGIN="$BITBUCKET_GIT_HTTP_ORIGIN" \ --env=BITBUCKET_PROJECT_UUID="$BITBUCKET_PROJECT_UUID" \ --env=BITBUCKET_REPO_IS_PRIVATE="$BITBUCKET_REPO_IS_PRIVATE" \ --env=BITBUCKET_WORKSPACE="$BITBUCKET_WORKSPACE" \ --env=BITBUCKET_SSH_KEY_FILE="$BITBUCKET_SSH_KEY_FILE" \ --env=BITBUCKET_PR_DESTINATION_COMMIT="$BITBUCKET_PR_DESTINATION_COMMIT" \ --env=BITBUCKET_REPO_OWNER_UUID="$BITBUCKET_REPO_OWNER_UUID" \ --env=BITBUCKET_BRANCH="$BITBUCKET_BRANCH" \ --env=BITBUCKET_REPO_UUID="$BITBUCKET_REPO_UUID" \ --env=BITBUCKET_PROJECT_KEY="$BITBUCKET_PROJECT_KEY" \ --env=BITBUCKET_REPO_SLUG="$BITBUCKET_REPO_SLUG" \ --env=CI="$CI" \ --env=BITBUCKET_PR_ID="$BITBUCKET_PR_ID" \ --env=BITBUCKET_REPO_OWNER="$BITBUCKET_REPO_OWNER" \ --env=BITBUCKET_STEP_RUN_NUMBER="$BITBUCKET_STEP_RUN_NUMBER" \ --env=BITBUCKET_BUILD_NUMBER="$BITBUCKET_BUILD_NUMBER" \ --env=BITBUCKET_GIT_SSH_ORIGIN="$BITBUCKET_GIT_SSH_ORIGIN" \ --env=BITBUCKET_PIPELINE_UUID="$BITBUCKET_PIPELINE_UUID" \ --env=BITBUCKET_COMMIT="$BITBUCKET_COMMIT" \ --env=BITBUCKET_PR_DESTINATION_BRANCH="$BITBUCKET_PR_DESTINATION_BRANCH" \ --env=BITBUCKET_CLONE_DIR="$BITBUCKET_CLONE_DIR" \ --env=PIPELINES_JWT_TOKEN="$PIPELINES_JWT_TOKEN" \ --env=BITBUCKET_STEP_UUID="$BITBUCKET_STEP_UUID" \ --env=BITBUCKET_DOCKER_HOST_INTERNAL="$BITBUCKET_DOCKER_HOST_INTERNAL" \ --env=DOCKER_HOST="tcp://host.docker.internal:2375" \ --env=BITBUCKET_PIPE_SHARED_STORAGE_DIR="/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes" \ --env=BITBUCKET_PIPE_STORAGE_DIR="/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-quality-gate" \ --env=SONAR_TOKEN="${SONAR_TOKEN}" \ --add-host="host.docker.internal:$BITBUCKET_DOCKER_HOST_INTERNAL" \ sonarsource/sonarcloud-quality-gate:0.1.6 ✔ Quality Gate passed Assembling contents of new cache 'sonar' Skipping assembly of docker cache as one is already present Searching for files matching artifact pattern .bitbucket/pipelines/generated/pipeline/pipes/** Artifact pattern .bitbucket/pipelines/generated/pipeline/pipes/** matched 1 files with a total size of 17.9 KiB Compressed files matching artifact pattern .bitbucket/pipelines/generated/pipeline/pipes/** to 4.2 KiB in 1 seconds Uploading artifact of 4.2 KiB Successfully uploaded artifact in 0 seconds Searching for test report files in directories named [test-results, failsafe-reports, test-reports, TestResults, surefire-reports] down to a depth of 4 Finished scanning for test reports. Found 0 test report files. Merged test suites, total number tests is 0, with 0 failures and 0 errors.