Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: no longer errors on pw reset #1646

Closed
wants to merge 1 commit into from

fix: no longer errors on pw reset

ddb3f60
Select commit
Loading
Failed to load commit list.
Closed

fix: no longer errors on pw reset #1646

fix: no longer errors on pw reset
ddb3f60
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Dec 14, 2023 in 1h 2m 11s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #1646 fix: no longer errors on pw reset.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has eight jobs, running in two sequential stages.

Stage 1: test

This stage passed.

Job Node.js ENV OS State
6341.1 Build public site 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6341.2 Build partners site 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6341.3 Backend unit tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6341.4 Backend e2e tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6341.5 Public site unit tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed
6341.6 Partners site unit tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed

Stage 2: longer tests

This stage failed.

Job Node.js ENV OS State
6341.7 Partners site Cypress tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux failed
6341.8 Public site Cypress tests 18 PGPORT=5433 PGUSER=travis TEST_DATABASE_URL=postgres://localhost:5433/bloom_test REDIS_TLS_URL=redis://127.0.0.1:6379/0 NEW_RELIC_ENABLED=false NEW_RELIC_LOG_ENABLED=false Linux passed

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Focal)
Node.js Version 18
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "node_js": [
    "18"
  ],
  "services": [
    "redis"
  ],
  "before_install": [
    "sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\\|md5/trust/g' /etc/postgresql/*/main/pg_hba.conf",
    "sudo systemctl restart postgresql@12-main",
    "sleep 1"
  ],
  "before_script": [
    "cp sites/public/.env.template sites/public/.env",
    "cp sites/partners/.env.template sites/partners/.env",
    "cp backend/core/.env.template backend/core/.env"
  ],
  "jobs": {
    "include": [
      {
        "script": [
          "yarn build:app:public"
        ],
        "name": "Build public site"
      },
      {
        "script": [
          "yarn build:app:partners"
        ],
        "name": "Build partners site"
      },
      {
        "script": [
          "yarn test:backend:core:testdbsetup && yarn test:backend:core"
        ],
        "name": "Backend unit tests"
      },
      {
        "script": [
          "yarn test:e2e:backend:core"
        ],
        "name": "Backend e2e tests"
      },
      {
        "script": [
          "yarn test:app:public:unit"
        ],
        "name": "Public site unit tests"
      },
      {
        "script": [
          "yarn test:app:partners:unit"
        ],
        "name": "Partners site unit tests"
      },
      {
        "stage": "longer tests",
        "name": "Partners site Cypress tests",
        "script": [
          "yarn cypress install",
          "cd backend/core",
          "yarn db:reseed:detroit",
          "yarn nest start &",
          "cd ../../sites/partners",
          "yarn build",
          "yarn start -p 3001 &",
          "yarn wait-on \"http-get://localhost:3001\" && yarn cypress run",
          "kill $(jobs -p) || true"
        ]
      },
      {
        "stage": "longer tests",
        "name": "Public site Cypress tests",
        "script": [
          "yarn cypress install",
          "yarn db:reseed",
          "cd backend/core",
          "yarn nest start &",
          "cd ../../sites/public",
          "yarn build",
          "yarn start -p 3000 &",
          "yarn wait-on \"http-get://localhost:3000\" && yarn cypress run",
          "kill $(jobs -p) || true"
        ]
      }
    ]
  },
  "addons": {
    "postgresql": "12",
    "apt": {
      "packages": [
        "postgresql-12",
        "postgresql-client-12",
        "libgconf-2-4"
      ]
    }
  },
  "env": [
    "global={:PGPORT=>\"5433\", :PGUSER=>\"travis\", :TEST_DATABASE_URL=>\"postgres://localhost:5433/bloom_test\", :REDIS_TLS_URL=>\"redis://127.0.0.1:6379/0\", :NEW_RELIC_ENABLED=>\"false\", :NEW_RELIC_LOG_ENABLED=>\"false\"}"
  ]
}