cockroachdb / cockroachdb/cockroach

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

Open
#175,392 9 comments 0 reactions 0 assignees View on GitHub
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

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

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_065905.053079251_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_065905.053079251_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://18.188.116.197: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:41 2 1 1 - -
|
| stderr:DevTools listening on ws://127.0.0.1:35363/devtools/browser/ba37e04a-e2cb-4241-a1e9-40f481587875
| 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_065905.053079251_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-21514441-1789279054-40-n4cpu4-0001 | 18.188.116.197 | 10.12.25.219 |
| teamcity-21514441-1789279054-40-n4cpu4-0002 | 3.145.119.72 | 10.12.26.191 |
| teamcity-21514441-1789279054-40-n4cpu4-0003 | 18.219.48.180 | 10.12.24.30 |
| teamcity-21514441-1789279054-40-n4cpu4-0004 | 18.224.18.165 | 10.12.31.176 |

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

See: [Grafana](https://go.crdb.dev/roachtest-grafana/teamcity-21514441/db-console-cypress/1789282627314/1789282959687)

_Logs were not uploaded to Datadog_

Same failure on other branches

- #175389 release-26.3: roachtest: db-console/cypress failed [C-test-failure O-roachtest O-robot T-observability branch-release-26.3 release-blocker]
- #174968 roachtest: db-console/cypress failed [B-runtime-assertions-enabled C-test-failure O-roachtest O-robot T-observability branch-master]

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

Contributor guide

Open the contributing guide

Research direction

Start with pkg/cmd/roachtest/tests/db_console_cypress.go at the reported lines, then inspect the TeamCity artifacts and run the shown npx cypress command for cypress/e2e/health-check/*.ts. Determine why one health-check spec fails on the basalt-26.3 ARM64 AWS run, and confirm db-console/cypress passes on the affected branches.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, cypress, go
Domain
devops, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.