Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roachtest: schemachange/random-load failed [workload chooses enum that is being dropped] #124158

Open
cockroach-teamcity opened this issue May 14, 2024 · 1 comment
Labels
branch-release-23.2 Used to mark GA and release blockers and technical advisories for 23.2 C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. P-2 Issues/test failures with a fix SLA of 3 months T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented May 14, 2024

roachtest.schemachange/random-load failed with artifacts on release-23.2 @ 92084b5138e421e0a3b45bb63c5fcf13f7ffe324:

(schemachange_random_load.go:122).runSchemaChangeRandomLoad: full command output in run_183541.396154317_n1_workload-run-schemac.log: COMMAND_PROBLEM: exit status 1
test artifacts and logs in: /artifacts/schemachange/random-load/run_1

Parameters:

  • ROACHTEST_arch=amd64
  • ROACHTEST_cloud=gce
  • ROACHTEST_coverageBuild=false
  • ROACHTEST_cpu=4
  • ROACHTEST_encrypted=false
  • ROACHTEST_fs=ext4
  • ROACHTEST_localSSD=true
  • ROACHTEST_metamorphicBuild=false
  • ROACHTEST_ssd=0
Help

See: roachtest README

See: How To Investigate (internal)

See: Grafana

Same failure on other branches

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-38735

@cockroach-teamcity cockroach-teamcity added branch-release-23.2 Used to mark GA and release blockers and technical advisories for 23.2 C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels May 14, 2024
@cockroach-teamcity cockroach-teamcity added this to the 23.2 milestone May 14, 2024
@rafiss
Copy link
Collaborator

rafiss commented May 21, 2024

there are 2 concurrent transactions:

{
 "workerId": 9,
 "clientTimestamp": "18:36:48.932602",
 "ops": [
  "BEGIN",
  {
   "sql": "DROP SCHEMA \"schema848\" CASCADE"
  }
 ],
 "expectedExecErrors": "",
 "expectedCommitErrors": "",
 "message": "unexpected EOF"
}
 "ops": [
  "BEGIN",
  {
   "sql": "DROP SEQUENCE IF EXISTS schema848.seq905"
  },
  {
   "sql": "SELECT t1.col906_907 AS col0,t1.col906_907 AS col1,t0.col906_908 AS col2,t0.col906_907 AS col3 FROM schema848.table906 AS t0 ,schema848.table906 AS t1  FETCH FIRST 1 ROWS ONLY",
   "potentialExecErr": "53100,53200,57014"
  },
  {
   "sql": "DROP TABLE schema848.table906 CASCADE"
  },
  {
   "sql": "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()"
  },
  {
   "sql": "ALTER TYPE schema848.enum909 DROP VALUE 'adds'"
  },
  "COMMIT"
 ],
 "expectedExecErrors": "",
 "expectedCommitErrors": "",
 "message": "***UNEXPECTED COMMIT ERROR; Received an unexpected commit error: ERROR: transaction committed but schema change aborted with error: (XXUUU): descriptor is being dropped (SQLSTATE XXUUU)",
 "errorState": {

we should fix this by making sure the workload does not pick an enum type that is currently being dropped.

@rafiss rafiss changed the title roachtest: schemachange/random-load failed roachtest: schemachange/random-load failed [workload chooses enum that is being dropped] May 21, 2024
@rafiss rafiss added P-2 Issues/test failures with a fix SLA of 3 months and removed release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-23.2 Used to mark GA and release blockers and technical advisories for 23.2 C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. P-2 Issues/test failures with a fix SLA of 3 months T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
SQL Foundations
  
Triage
Development

No branches or pull requests

2 participants