cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.02k stars 3.79k forks source link

roachtest: node-postgres failed #132069

Closed cockroach-teamcity closed 1 week ago

cockroach-teamcity commented 1 week ago

roachtest.node-postgres failed with artifacts on release-24.1 @ 678ea06bfe00785ff57d68bba071a002c625ed63:

(nodejs_postgres.go:163).func1: COMMAND_PROBLEM: exit status 2
test artifacts and logs in: /artifacts/node-postgres/run_1

Parameters:

See: roachtest README

See: How To Investigate (internal)

Grafana is not yet available for azure clusters

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-42815

rafiss commented 1 week ago

not really sure what this error means

COMMAND_PROBLEM: exit status 2
(1) attached stack trace
  -- stack trace:
  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerNodeJSPostgres.func1
  |     github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/nodejs_postgres.go:163
  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerNodeJSPostgres.func2
  |     github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/nodejs_postgres.go:176
  | main.(*testRunner).runTest.func2
  |     main/pkg/cmd/roachtest/test_runner.go:1216
  | runtime.goexit
  |     src/runtime/asm_amd64.s:1695
Wraps: (2) secondary error attachment
  | COMMAND_PROBLEM: exit status 2
  | (1) Node 1. Command with error:
  |   | ```
  |   | cd /mnt/data1/node-postgres/ && sudo \
  |   | PGPORT={pgport:1} PGUSER=roachprod PGPASSWORD=cockroachdb PGSSLMODE=require PGDATABASE=postgres_node_test \
  |   | PGSSLCERT=$HOME/certs/client.roachprod.crt PGSSLKEY=$HOME/certs/client.roachprod.key PGSSLROOTCERT=$HOME/certs/ca.crt yarn test
  |   | ```
  |   | <truncated> ... )
  |   |       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  |   |
  |   |
  |   |
  |   | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  |   | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  |   | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  |   |
  |   | stderr:lerna notice cli v3.22.1
  |   | lerna info versioning independent
  |   | lerna info Executing command in 7 packages: "yarn test"
  |   | =============================================================================
  |   | Writing coverage object [/mnt/data1/node-postgres/packages/pg-connection-string/coverage/coverage.json]
  |   | Writing coverage reports at [/mnt/data1/node-postgres/packages/pg-connection-string/coverage]
  |   | =============================================================================
  |   | error Command failed with exit code 2.
  |   | lerna ERR! yarn test exited 2 in 'pg-pool'
  |   | lerna ERR! yarn test exited 2 in 'pg-pool'
  |   | error Command failed with exit code 2.
  |   | error Command failed with exit code 2.
  | Wraps: (2) COMMAND_PROBLEM
  | Wraps: (3) exit status 2
  | Error types: (1) *hintdetail.withDetail (2) errors.Cmd (3) *exec.ExitError
Wraps: (3) COMMAND_PROBLEM: exit status 2
Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.leafError
rafiss commented 1 week ago

It looks like there was some issue in the JS runtime. Going to close since we can't really debug further, and it's rare.