cockroachdb / cockroachdb/cockroach

release-26.2: roachtest: db-console/cypress failed

Open
#175,449 3 comments 0 reactions 0 assignees View on GitHub
branch-release-26.2 C-test-failure O-roachtest O-robot T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

roachtest.db-console/cypress [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyAwsBazel/21515297?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyAwsBazel/21515297?buildTab=artifacts#/db-console/cypress) on release-26.2 @ [7643a98f09d22bbbb02ca1309f3f2099dd44dff6](https://github.com/cockroachdb/cockroach/commits/7643a98f09d22bbbb02ca1309f3f2099dd44dff6):

Failed with:

```
(assertions.go:387).Fail:
Error Trace: pkg/cmd/roachtest/tests/db_console_cypress.go:109
pkg/cmd/roachtest/tests/db_console_cypress.go:244
pkg/cmd/roachtest/test_runner.go:1601
src/runtime/asm_amd64.s:1693
Error: Received unexpected error:
full command output in run_054402.374110501_n4_cd-tmpdbconsolecypre.log: COMMAND_PROBLEM: exit status 1
(1) attached stack trace
-- stack trace:
| main.(*clusterImpl).RunE
| pkg/cmd/roachtest/cluster.go:2852
| 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:244
| main.(*testRunner).runTest.func2
| pkg/cmd/roachtest/test_runner.go:1601
| runtime.goexit
| src/runtime/asm_amd64.s:1693
Wraps: (2) full command output in run_054402.374110501_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://3.128.180.91: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:40961/devtools/browser/835dc2b4-a04b-4ff2-ae7d-8ca653e43b21
| 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_054402.374110501_n4_cd-tmpdbconsolecypre.log: COMMAND_PROBLEM: exit status 1
test artifacts and logs in: /artifacts/db-console/cypress/cpu_arch=arm64/run_1
```
Cluster Node to Ip Mapping:
| Node | Public IP | Private IP |
| --- | --- | --- |
| teamcity-21515297-1789362548-32-n4cpu4-0001 | 3.128.180.91 | 10.12.19.179 |
| teamcity-21515297-1789362548-32-n4cpu4-0002 | 18.118.51.198 | 10.12.18.184 |
| teamcity-21515297-1789362548-32-n4cpu4-0003 | 3.20.205.32 | 10.12.25.153 |
| teamcity-21515297-1789362548-32-n4cpu4-0004 | 18.218.54.172 | 10.12.29.130 |

Parameters:
- arch=arm64
- cloud=aws
- coverageBuild=false
- cpu=4
- diskCount=0
- encrypted=false
- fs=ext4
- localSSD=true
- metamorphicWriteBuffering=true
- runtimeAssertionsBuild=false
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)

_Grafana is not yet available for aws clusters_

Same failure on other branches

- #175400 roachtest: db-console/cypress failed [C-test-failure O-roachtest O-robot T-observability branch-release-25.4 release-blocker]
- #175392 basalt-26.3: roachtest: db-console/cypress failed [C-test-failure O-roachtest O-robot T-observability branch-basalt-26.3 release-blocker]
- #175389 release-26.3: roachtest: db-console/cypress failed [C-test-failure O-roachtest O-robot T-observability branch-release-26.3 release-blocker]
- #175313 basalt-26.3: roachtest: db-console/cypress failed [B-runtime-assertions-enabled C-test-failure O-roachtest O-robot T-observability basalt-green branch-basalt-26.3 release-blocker]

/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)

Jira issue: CRDB-68376

Contributor guide

Open the contributing guide

Research direction

Read pkg/cmd/roachtest/tests/db_console_cypress.go around lines 109 and 244, then inspect the linked TeamCity artifacts and run command for cypress/e2e/health-check/*.ts. Determine why the authenticated health-check spec fails while unauthenticated.cy.ts passes; done means the db-console/cypress roachtest completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, go, typescript
Domain
frontend, testing
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.