cockroachdb / cockroachdb/cockroach

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

Open
#175,388 4 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-pages [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_Roachtests_RoachtestNightlyGcePrivateBazel/21514579?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_Roachtests_RoachtestNightlyGcePrivateBazel/21514579?buildTab=artifacts#/db-console/cypress-pages) 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:290
pkg/cmd/roachtest/test_runner.go:1601
src/runtime/asm_amd64.s:1693
Error: Received unexpected error:
full command output in run_062344.653933340_n4_cd-tmpdbconsolecypre.log: COMMAND_PROBLEM: exit status 11
(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.runDbConsoleCypressPages
| pkg/cmd/roachtest/tests/db_console_cypress.go:290
| 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_062344.653933340_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.103.102:26258,screenshotsFolder=/tmp/dbconsole-cypress/artifacts,videosFolder=/tmp/dbconsole-cypress/artifacts --spec "cypress/e2e/pages/*.ts"
| ``````
| ... ───────────────┤
| │ ✖ topRanges.cy.ts 00:17 5 4 1 - - │
| └────────────────────────────────────────────────────────────────────────────────────────────────┘
| ✖ 9 of 9 failed (100%) 03:35 72 61 11 - -
|
| stderr:DevTools listening on ws://127.0.0.1:40783/devtools/browser/6458b18d-c71e-4d48-b5e6-d37fb8dc0c24
| 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 11
Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *hintdetail.withDetail (4) errors.Cmd (5) *exec.ExitError
Test: db-console/cypress-pages
(db_console_cypress.go:115).RunTest: full command output in run_062344.653933340_n4_cd-tmpdbconsolecypre.log: COMMAND_PROBLEM: exit status 11
test artifacts and logs in: /artifacts/db-console/cypress-pages/run_1
```
Cluster Node to Ip Mapping:
| Node | Public IP | Private IP |
| --- | --- | --- |
| teamcity-21514579-1789279409-20-n4cpu4-0001 | | 10.91.103.102 |
| teamcity-21514579-1789279409-20-n4cpu4-0002 | | 10.91.103.103 |
| teamcity-21514579-1789279409-20-n4cpu4-0003 | | 10.91.103.104 |
| teamcity-21514579-1789279409-20-n4cpu4-0004 | | 10.91.101.140 |

Parameters:
- arch=amd64
- cloud=gce
- coverageBuild=false
- cpu=4
- diskCount=0
- encrypted=false
- 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-21514579/db-console-cypress-pages/1789280495406/1789281046147)

Same failure on other branches

- #175314 basalt-26.3: roachtest: db-console/cypress-pages failed [B-runtime-assertions-enabled C-test-failure O-roachtest O-robot T-observability basalt-green branch-basalt-26.3 release-blocker]
- #174891 roachtest: db-console/cypress-pages failed [B-runtime-assertions-enabled C-test-failure O-roachtest O-robot T-observability branch-master]
- #173457 release-26.3.1-rc: roachtest: db-console/cypress-pages failed [C-test-failure O-roachtest O-robot T-observability branch-release-26.3.1-rc]

/cc @cockroachlabs/obs-prs

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

Jira issue: CRDB-68343

Contributor guide

Open the contributing guide

Research direction

Start with pkg/cmd/roachtest/tests/db_console_cypress.go, especially the failure at lines 109 and 290, then inspect the linked run artifacts and full command output. Run the cypress/e2e/pages/*.ts suite using the shown baseUrl and compare the nine failing specs; done means db-console/cypress-pages passes across the affected branches.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, go, typescript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.