cockroachdb / cockroachdb/cockroach

roachtest: db-console/cypress-pages failed

Open
#175,644 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

branch-master 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-pages failed with artifacts on master @ 6ca2bac2989e7c037f7853a7a69333097c769372:

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:290
	            				pkg/cmd/roachtest/test_runner.go:1992
	            				src/runtime/asm_amd64.s:1771
	Error:      	Received unexpected error:
	            	full command output in run_061759.974304966_n4_cd-tmpdbconsolecypre.log: COMMAND_PROBLEM: exit status 2
	            	(1) attached stack trace
	            	  -- stack trace:
	            	  | main.(*roachprodCluster).RunE
	            	  | 	pkg/cmd/roachtest/cluster.go:3714
	            	  | 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:1992
	            	  | runtime.goexit
	            	  | 	src/runtime/asm_amd64.s:1771
	            	Wraps: (2) full command output in run_061759.974304966_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://20.62.253.168:26258,screenshotsFolder=/tmp/dbconsole-cypress/artifacts,videosFolder=/tmp/dbconsole-cypress/artifacts --spec "cypress/e2e/pages/*.ts"
	            	  | ``````
	            	  | <truncated> ... ───────────────┤
	            	  |   │ ✔  topRanges.cy.ts                          00:11        5        5        -        -        - │
	            	  |   └────────────────────────────────────────────────────────────────────────────────────────────────┘
	            	  |     ✖  1 of 9 failed (11%)                      02:37       72       70        2        -        -
	            	  |
	            	  | stderr:DevTools listening on ws://127.0.0.1:43511/devtools/browser/d92a3565-c7fb-4ea5-b97c-0256ff5293d3
	            	  | 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 2
	            	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_061759.974304966_n4_cd-tmpdbconsolecypre.log: COMMAND_PROBLEM: exit status 2
test artifacts and logs in: /artifacts/db-console/cypress-pages/run_1

Cluster Node to Ip Mapping:

Node Public IP Private IP
teamcity-21523588-1789797222-26-n4cpu4-0001 20.62.253.168 10.1.0.151
teamcity-21523588-1789797222-26-n4cpu4-0002 57.151.99.174 10.1.0.138
teamcity-21523588-1789797222-26-n4cpu4-0003 20.55.73.83 10.1.0.137
teamcity-21523588-1789797222-26-n4cpu4-0004 20.127.145.141 10.1.0.161

Parameters:

  • arch=amd64
  • cloud=azure
  • coverageBuild=false
  • cpu=4
  • diskCount=0
  • encrypted=false
  • metamorphicDRPC=true
  • metamorphicWriteBuffering=true
  • runtimeAssertionsBuild=false
Help

See: roachtest README

See: How To Investigate (internal)

See: Grafana

See: Datadog Logs

Same failure on other branches

  • #175450 release-26.3: roachtest: db-console/cypress-pages failed [C-test-failure O-roachtest O-robot T-observability branch-release-26.3]
  • #175395 basalt-26.3: roachtest: db-console/cypress-pages failed [C-test-failure O-roachtest O-robot T-observability branch-basalt-26.3]
  • #175388 release-26.2: roachtest: db-console/cypress-pages failed [C-test-failure O-roachtest O-robot T-observability branch-release-26.2]
  • #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]
  • #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

Improve this report!

Jira issue: CRDB-68544

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pkg/cmd/roachtest/tests/db_console_cypress.go at lines 109 and 290, then inspect the attached run_061759.974304966_n4_cd-tmpdbconsolecypre.log and Cypress artifacts. Reproduce the command for cypress/e2e/pages/*.ts and identify why one of the nine page specs exits unsuccessfully. Done means the failing page test passes in db-console/cypress-pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, cypress, go, typescript
Domain
frontend, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.