Skip to content

Merge pull request #3868 from bcgov/NDT-753-Jest-Tests-are-failing #11275

Merge pull request #3868 from bcgov/NDT-753-Jest-Tests-are-failing

Merge pull request #3868 from bcgov/NDT-753-Jest-Tests-are-failing #11275

Triggered via push February 13, 2025 17:40
Status Success
Total duration 12m 11s
Artifacts 5

main.yaml

on: push
Matrix: build / build-and-push-image
install-env  /  install-test-env
2m 6s
install-env / install-test-env
test-db  /  reverts
1m 53s
test-db / reverts
test-db  /  pgtap
1m 7s
test-db / pgtap
test-checks  /  trivy-scan-code
28s
test-checks / trivy-scan-code
test-checks  /  cocogitto
28s
test-checks / cocogitto
test-checks  /  gitleaks
34s
test-checks / gitleaks
test-checks  /  check_immutable_sqitch_files
30s
test-checks / check_immutable_sqitch_files
test-checks  /  check_deleted_sqitch_tags
30s
test-checks / check_deleted_sqitch_tags
rebase-feature-pr
34s
rebase-feature-pr
is-tagged-release
32s
is-tagged-release
Matrix: test-checks / codeql-scan
setup-s3-backup  /  deploy-s3-secret-to-dev
24s
setup-s3-backup / deploy-s3-secret-to-dev
setup-s3-backup  /  deploy-s3-secret-to-test
26s
setup-s3-backup / deploy-s3-secret-to-test
setup-s3-backup  /  deploy-s3-secret-to-prod
26s
setup-s3-backup / deploy-s3-secret-to-prod
has-merge-conflict  /  check_merge_conflicts
34s
has-merge-conflict / check_merge_conflicts
cleanup_feature  /  clean-feature-env
cleanup_feature / clean-feature-env
test-checks  /  lint-chart
24s
test-checks / lint-chart
deploy  /  is-tagged-release
28s
deploy / is-tagged-release
deploy  /  deploy-to-openshift-development
29s
deploy / deploy-to-openshift-development
deploy-feature  /  setup-feature-database
deploy-feature / setup-feature-database
test-containers  /  trivy-scan-app
47s
test-containers / trivy-scan-app
test-containers  /  trivy-scan-db
21s
test-containers / trivy-scan-db
test-zap  /  zap-owasp-full
5m 12s
test-zap / zap-owasp-full
test-e2e  /  check-changes
28s
test-e2e / check-changes
deploy  /  ensure-sqitch-plan-ends-with-tag
0s
deploy / ensure-sqitch-plan-ends-with-tag
deploy  /  deploy-to-openshift-test
0s
deploy / deploy-to-openshift-test
deploy  /  ...  /  export-secrets
24s
deploy / backup-secrets-dev / export-secrets
deploy-feature  /  deploy-feature-to-openshift-development
deploy-feature / deploy-feature-to-openshift-development
test-containers  /  renovate
1m 6s
test-containers / renovate
test-e2e  /  generate-matrix
4s
test-e2e / generate-matrix
deploy  /  deploy-to-openshift-production
0s
deploy / deploy-to-openshift-production
deploy  /  ...  /  export-secrets
deploy / backup-secrets-test / export-secrets
deploy-feature  /  update-jira-issue
deploy-feature / update-jira-issue
Matrix: test-e2e / run-tests
deploy  /  create-release
0s
deploy / create-release
deploy  /  ...  /  export-secrets
deploy / backup-secrets-prod / export-secrets
deploy  /  ...  /  create_hotfix_branch
deploy / create_hotfix_branch / create_hotfix_branch
test-e2e  /  yarn-test-e2e-finalize
35s
test-e2e / yarn-test-e2e-finalize
Fit to window
Zoom out
Zoom in

Annotations

19 warnings
setup-s3-backup / deploy-s3-secret-to-dev
Multiple files were found for oc that matched the current OS and architecture: openshift-client-linux-4.17.16.tar.gz, openshift-client-linux-amd64-rhel8-4.17.16.tar.gz, openshift-client-linux-amd64-rhel9-4.17.16.tar.gz, openshift-client-linux-arm64-4.17.16.tar.gz, openshift-client-linux-arm64-rhel8-4.17.16.tar.gz, openshift-client-linux-arm64-rhel9-4.17.16.tar.gz, openshift-client-linux-ppc64le-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel8-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel9-4.17.16.tar.gz, openshift-client-linux-s390x-rhel8-4.17.16.tar.gz, openshift-client-linux-s390x-rhel9-4.17.16.tar.gz. Selecting the first one.
setup-s3-backup / deploy-s3-secret-to-prod
Multiple files were found for oc that matched the current OS and architecture: openshift-client-linux-4.17.16.tar.gz, openshift-client-linux-amd64-rhel8-4.17.16.tar.gz, openshift-client-linux-amd64-rhel9-4.17.16.tar.gz, openshift-client-linux-arm64-4.17.16.tar.gz, openshift-client-linux-arm64-rhel8-4.17.16.tar.gz, openshift-client-linux-arm64-rhel9-4.17.16.tar.gz, openshift-client-linux-ppc64le-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel8-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel9-4.17.16.tar.gz, openshift-client-linux-s390x-rhel8-4.17.16.tar.gz, openshift-client-linux-s390x-rhel9-4.17.16.tar.gz. Selecting the first one.
build / cron-shp
Cache not found for keys: docker.io--tonistiigi--binfmt-latest-linux-x64
test-checks / lint-chart
Multiple files were found for oc that matched the current OS and architecture: openshift-client-linux-4.17.16.tar.gz, openshift-client-linux-amd64-rhel8-4.17.16.tar.gz, openshift-client-linux-amd64-rhel9-4.17.16.tar.gz, openshift-client-linux-arm64-4.17.16.tar.gz, openshift-client-linux-arm64-rhel8-4.17.16.tar.gz, openshift-client-linux-arm64-rhel9-4.17.16.tar.gz, openshift-client-linux-ppc64le-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel8-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel9-4.17.16.tar.gz, openshift-client-linux-s390x-rhel8-4.17.16.tar.gz, openshift-client-linux-s390x-rhel9-4.17.16.tar.gz. Selecting the first one.
setup-s3-backup / deploy-s3-secret-to-test
Multiple files were found for oc that matched the current OS and architecture: openshift-client-linux-4.17.16.tar.gz, openshift-client-linux-amd64-rhel8-4.17.16.tar.gz, openshift-client-linux-amd64-rhel9-4.17.16.tar.gz, openshift-client-linux-arm64-4.17.16.tar.gz, openshift-client-linux-arm64-rhel8-4.17.16.tar.gz, openshift-client-linux-arm64-rhel9-4.17.16.tar.gz, openshift-client-linux-ppc64le-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel8-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel9-4.17.16.tar.gz, openshift-client-linux-s390x-rhel8-4.17.16.tar.gz, openshift-client-linux-s390x-rhel9-4.17.16.tar.gz. Selecting the first one.
test-checks / trivy-scan-code
Cache not found for keys: trivy-binary-v0.57.1-Linux-X64
test-checks / trivy-scan-code
Cache not found for keys: cache-trivy-2025-02-13, cache-trivy-
build / db-unit-test
Cache not found for keys: docker.io--tonistiigi--binfmt-latest-linux-x64
build / db-unit-test
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Sensitive data should not be used in the ARG or ENV commands: local_setup/unit_tests/Dockerfile#L5
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "POSTGRES_PASSWORD") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
build / db
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
build / db
Cache not found for keys: docker.io--tonistiigi--binfmt-latest-linux-x64
install-env / install-test-env
Cache not found for keys: Linux-yarn-cache-7270a6fa31b855784b31f0b869ae7f62a9bd6f2e56f241e530c2a63c7c16ee72-v2
build / app
Cache not found for keys: docker.io--tonistiigi--binfmt-latest-linux-x64
build / app
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
deploy / deploy-to-openshift-development
Multiple files were found for oc that matched the current OS and architecture: openshift-client-linux-4.17.16.tar.gz, openshift-client-linux-amd64-rhel8-4.17.16.tar.gz, openshift-client-linux-amd64-rhel9-4.17.16.tar.gz, openshift-client-linux-arm64-4.17.16.tar.gz, openshift-client-linux-arm64-rhel8-4.17.16.tar.gz, openshift-client-linux-arm64-rhel9-4.17.16.tar.gz, openshift-client-linux-ppc64le-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel8-4.17.16.tar.gz, openshift-client-linux-ppc64le-rhel9-4.17.16.tar.gz, openshift-client-linux-s390x-rhel8-4.17.16.tar.gz, openshift-client-linux-s390x-rhel9-4.17.16.tar.gz. Selecting the first one.
deploy / deploy-to-openshift-development
Unexpected input(s) 'openshift_app_namespace', 'openshift_metabase_namespace', 'openshift_metabase_prod_namespace', 'next_public_growthbook_api_key', 'aws_s3_bucket', 'aws_s3_region', 'aws_s3_key', 'aws_s3_secret_key', 'aws_role_arn', 'aws_clam_s3_bucket', 'metabase_site_url', 'metabase_embed_secret', 'cert', 'cert_key', 'cert_ca', 'pgbackrest_s3_bucket', 'session_secret', valid inputs are ['openshift_server_url', 'openshift_token', 'openshift_username', 'openshift_password', 'insecure_skip_tls_verify', 'certificate_authority_data', 'namespace', 'reveal_cluster_name']
deploy / deploy-to-openshift-development
Unexpected input(s) 'keycloak_host', 'sa_client_secret', 'sa_client_id', 'pgbackrest_s3_key', 'pgbackrest_s3_key_secret', valid inputs are ['openshift_server_url', 'openshift_token', 'openshift_app_namespace', 'openshift_metabase_namespace', 'openshift_metabase_prod_namespace', 'tag', 'client_secret', 'secure_route', 'next_public_growthbook_api_key', 'aws_s3_bucket', 'aws_clam_s3_bucket', 'aws_s3_region', 'aws_s3_key', 'aws_s3_secret_key', 'aws_role_arn', 'certbot_email', 'certbot_server', 'environment', 'enable_load_test', 'metabase_site_url', 'metabase_embed_secret', 'cert', 'cert_key', 'cert_ca', 'sp_sa_user', 'sp_sa_password', 'sp_site', 'sp_doc_library', 'sp_ms_file_name', 'sp_list_name', 'ches_url', 'ches_client', 'ches_client_secret', 'ches_to', 'ches_keycloak_host', 'pgbackrest_s3_bucket', 'er_file', 'rd_file', 'coverages_file', 'session_secret']
test-code / jest
Cache not found for keys: sonar-scanner-cli-6.2.1.4610-Linux-X64

Artifacts

Produced during runtime
Name Size
bcgov~CONN-CCBC-portal~24RWMB.dockerbuild
43.6 KB
bcgov~CONN-CCBC-portal~KH807B.dockerbuild
44.5 KB
bcgov~CONN-CCBC-portal~MU75YF.dockerbuild
81.4 KB
bcgov~CONN-CCBC-portal~XHT0R4.dockerbuild
32.2 KB
zap_scan
362 KB