cockroachdb / cockroachdb/cockroach

basalt-26.3: roachtest: db-console/cypress failed

Open
#175,313 3 comments 0 reactions 0 assignees View on GitHub
B-runtime-assertions-enabled basalt-green branch-basalt-26.3 C-test-failure O-roachtest O-robot release-blocker T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Note:** This build has runtime assertions enabled. If the same failure was hit in a run without assertions enabled, there should be a similar failure without this message. If there isn't one, then this failure is likely due to an assertion violation or (assertion) timeout.

roachtest.db-console/cypress [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_Roachtests_GreenRoachtestNightlyGcePrivateBasaltBazel/21514293?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_Roachtests_GreenRoachtestNightlyGcePrivateBasaltBazel/21514293?buildTab=artifacts#/db-console/cypress) on basalt-26.3 @ [6234fcbae5d28540e0546767520c5c48d2935434](https://github.com/cockroachdb/cockroach/commits/6234fcbae5d28540e0546767520c5c48d2935434):

Failed with:

```
(assertions.go:388).Fail:
Error Trace: pkg/cmd/roachtest/tests/db_console_cypress.go:109
pkg/cmd/roachtest/tests/db_console_cypress.go:246
pkg/cmd/roachtest/test_runner.go:1618
src/runtime/asm_amd64.s:1771
Error: Received unexpected error:
full command output in run_225853.607233234_n4_cd-tmpdbconsolecypre.log: COMMAND_PROBLEM: exit status 1
(1) attached stack trace
-- stack trace:
| main.(*roachprodCluster).RunE
| pkg/cmd/roachtest/cluster.go:4394
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*dbConsoleCypressTest).RunTest
| pkg/cmd/roachtest/tests/db_console_cypress.go:109
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runDbConsoleCypress
| pkg/cmd/roachtest/tests/db_console_cypress.go:246
| main.(*testRunner).runTest.func2
| pkg/cmd/roachtest/test_runner.go:1618
| runtime.goexit
| src/runtime/asm_amd64.s:1771
Wraps: (2) full command output in run_225853.607233234_n4_cd-tmpdbconsolecypre.log
Wraps: (3) Node 4. Command with error:
| ``````
| cd /tmp/dbconsole-cypress && NO_COLOR=1 npx cypress run --e2e --config baseUrl=https://10.91.96.50:26258,screenshotsFolder=/tmp/dbconsole-cypress/artifacts,videosFolder=/tmp/dbconsole-cypress/artifacts --spec "cypress/e2e/health-check/*.ts"
| ``````
| ... ───────────────┤
| │ ✔ unauthenticated.cy.ts 00:05 1 1 - - - │
| └────────────────────────────────────────────────────────────────────────────────────────────────┘
| ✖ 1 of 2 failed (50%) 00:42 2 1 1 - -
|
| stderr:DevTools listening on ws://127.0.0.1:35821/devtools/browser/57ad4f23-06d6-4759-aee8-b34118ecda6e
| Missing baseUrl in compilerOptions. tsconfig-paths will be skipped
| tput: No value for $TERM and no -T specified
| tput: No value for $TERM and no -T specified
| npm notice
| npm notice New major version of npm available! 10.9.2 -> 12.0.2
| npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
| npm notice To update run: npm install -g npm@12.0.2
| npm notice
Wraps: (4) COMMAND_PROBLEM
Wraps: (5) exit status 1
Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *hintdetail.withDetail (4) errors.Cmd (5) *exec.ExitError
Test: db-console/cypress
(db_console_cypress.go:115).RunTest: full command output in run_225853.607233234_n4_cd-tmpdbconsolecypre.log: COMMAND_PROBLEM: exit status 1
test artifacts and logs in: /artifacts/db-console/cypress/run_1
```
Cluster Node to Ip Mapping:
| Node | Public IP | Private IP |
| --- | --- | --- |
| teamcity-21514293-1789242003-127-n4cpu4-0001 | | 10.91.96.50 |
| teamcity-21514293-1789242003-127-n4cpu4-0002 | | 10.91.96.35 |
| teamcity-21514293-1789242003-127-n4cpu4-0003 | | 10.91.96.86 |
| teamcity-21514293-1789242003-127-n4cpu4-0004 | | 10.91.96.137 |

Parameters:
- MetamorphicBasaltMultiAZ=true
- arch=amd64
- cloud=gce
- coverageBuild=false
- cpu=4
- diskCount=0
- encrypted=false
- fs=ext4
- localSSD=true
- runtimeAssertionsBuild=true
- storageNodesVersion=v0.1.19-nightly.20260912
Help

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

See: [How To Investigate \(internal\)](https://cockroachlabs.atlassian.net/l/c/SSSBr8c7)

See: [Grafana](https://go.crdb.dev/roachtest-grafana/teamcity-21514293/db-console-cypress/1789253774920/1789254323345)

_Logs were not uploaded to Datadog_

/cc @cockroachlabs/obs-prs

[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*db-console/cypress.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)

Contributor guide

Open the contributing guide

Research direction

Start with pkg/cmd/roachtest/tests/db_console_cypress.go and the failing command for cypress/e2e/health-check/*.ts. Review the run_225853.607233234_n4_cd-tmpdbconsolecypre.log artifact and Cypress output to identify why one health-check test fails. Done means the underlying failure is addressed and db-console/cypress passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, go, node.js, typescript
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.