cockroachdb / cockroachdb/cockroach
release-26.2: roachtest: db-console/mixed-version-cypress failed
- 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/mixed-version-cypress [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/mixed-version-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:309
pkg/cmd/roachtest/roachtestutil/mixedversion/steps.go:468
pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:268
pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:819
pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:267
pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:242
pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:224
pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:217
pkg/util/ctxgroup/ctxgroup.go:200
external/org_golang_x_sync/errgroup/errgroup.go:93
src/runtime/asm_amd64.s:1693
Error: Received unexpected error:
full command output in run_090305.175744370_n5_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.runDbConsoleCypressMixedVersions.func2
| pkg/cmd/roachtest/tests/db_console_cypress.go:309
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil/mixedversion.runHookStep.Run
| pkg/cmd/roachtest/roachtestutil/mixedversion/steps.go:468
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil/mixedversion.(*testRunner).runSingleStep.func2
| pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:268
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil/mixedversion.panicAsError
| pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:819
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil/mixedversion.(*testRunner).runSingleStep
| pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:267
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil/mixedversion.(*testRunner).runStep
| pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:242
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil/mixedversion.(*testRunner).runStep
| pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:224
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil/mixedversion.(*testRunner).runStep.func1
| pkg/cmd/roachtest/roachtestutil/mixedversion/runner.go:217
| github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil/mixedversion.(*testRunner).runStep.Group.GoCtx.func2
| pkg/util/ctxgroup/ctxgroup.go:200
| golang.org/x/sync/errgroup.(*Group).Go.func1
| external/org_golang_x_sync/errgroup/errgroup.go:93
| runtime.goexit
| src/runtime/asm_amd64.s:1693
Wraps: (2) full command output in run_090305.175744370_n5_cd-tmpdbconsolecypre.log
Wraps: (3) Node 5. Command with error:
| ``````
| cd /tmp/dbconsole-cypress && NO_COLOR=1 npx cypress run --e2e --config baseUrl=https://10.91.100.199: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:43 2 1 1 - -
|
| stderr:DevTools listening on ws://127.0.0.1:35373/devtools/browser/1683f1cb-edcd-4911-bf09-ff33e954e187
| 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
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/mixed-version-cypress
(db_console_cypress.go:115).RunTest: full command output in run_090305.175744370_n5_cd-tmpdbconsolecypre.log: COMMAND_PROBLEM: exit status 1
(mixedversion.go:926).Run: panic (stack trace above): t.Fatal() was called
test artifacts and logs in: /artifacts/db-console/mixed-version-cypress/run_1
```
Cluster Node to Ip Mapping:
| Node | Public IP | Private IP |
| --- | --- | --- |
| teamcity-21514579-1789279409-85-n5cpu4-0001 | | 10.91.104.12 |
| teamcity-21514579-1789279409-85-n5cpu4-0002 | | 10.91.101.119 |
| teamcity-21514579-1789279409-85-n5cpu4-0003 | | 10.91.100.199 |
| teamcity-21514579-1789279409-85-n5cpu4-0004 | | 10.91.100.224 |
| teamcity-21514579-1789279409-85-n5cpu4-0005 | | 10.91.100.120 |
Parameters:
- arch=amd64
- cloud=gce
- coverageBuild=false
- cpu=4
- diskCount=0
- encrypted=false
- fs=ext4
- localSSD=true
- mvtDeploymentMode=system-only
- mvtVersions=v26.1.6 → v26.2.7-dev-7643a98f09d22bbbb02ca1309f3f2099dd44dff6 (release-26.2)
- runtimeAssertionsBuild=true
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-mixed-version-cypress/1789289944546/1789290420345)
Same failure on other branches
- #175393 basalt-26.3: roachtest: db-console/mixed-version-cypress failed [C-test-failure O-roachtest O-robot T-observability branch-basalt-26.3 release-blocker]
- #175390 release-26.3: roachtest: db-console/mixed-version-cypress failed [C-test-failure O-roachtest O-robot T-observability branch-release-26.3 release-blocker]
- #175387 roachtest: db-console/mixed-version-cypress failed [C-test-failure O-roachtest O-robot T-observability branch-release-25.4 release-blocker]
- #175386 roachtest: db-console/mixed-version-cypress failed [C-test-failure O-roachtest O-robot T-observability branch-release-25.2 release-blocker]
- #174895 roachtest: db-console/mixed-version-cypress failed [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/mixed-version-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-68359
Contributor guide
Research direction
Start with pkg/cmd/roachtest/tests/db_console_cypress.go at the failing calls on lines 109 and 309, then inspect the full command output in run_090305.175744370_n5_cd-tmpdbconsolecypre.log and the Cypress health-check/*.ts artifacts. Done means the mixed-version Cypress test no longer fails on the affected branches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cypress, go, typescript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100