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: backup-restore/round-trip failed [schemachange foreign key violation] #119376

Closed
cockroach-teamcity opened this issue Feb 20, 2024 · 3 comments
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. P-3 Issues/test failures with no fix SLA T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) X-noreuse Prevent automatic commenting from CI test failures
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Feb 20, 2024

roachtest.backup-restore/round-trip failed with artifacts on master @ a36097be277adef635f55d317579ca79b450bfef:

(monitor.go:153).Wait: monitor failure: full command output in run_070617.273464343_n4_COCKROACHRANDOMSEED5.log: COMMAND_PROBLEM: exit status 1
test artifacts and logs in: /artifacts/backup-restore/round-trip/run_1

Parameters:

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

See: roachtest README

See: How To Investigate (internal)

See: Grafana

/cc @cockroachdb/disaster-recovery

This test on roachdash | Improve this report!

Jira issue: CRDB-36172

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. 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-disaster-recovery labels Feb 20, 2024
@cockroach-teamcity cockroach-teamcity added this to the 24.1 milestone Feb 20, 2024
@stevendanna stevendanna changed the title roachtest: backup-restore/round-trip failed roachtest: backup-restore/round-trip failed [schemachange foreign key violation] Feb 20, 2024
@stevendanna stevendanna added P-3 Issues/test failures with no fix SLA T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) and removed release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. labels Feb 20, 2024
@stevendanna
Copy link
Collaborator

The schemachange workload itself failed:

  |   | Error: ***UNEXPECTED ERROR; Received an unexpected execution error.: ERROR: insert on table "table_w2_351" violates foreign key constraint "table_w2_351_col3�51_w2_366_table_w2_351_col351_w2_352_fk" (SQLSTATE 23503)

My suspicion is that this is a small bug in how inserts are generated in the schemachange workload and doesn't represent a real problem. I'm removing release-blocker, marking as P-3, and tagging T-sql-foundations in case they want to take a look.

Full log from the workload here:

https://teamcity.cockroachdb.com/repository/download/Cockroach_Nightlies_RoachtestNightlyGceBazel/14071859:id/backup-restore/round-trip/run_1/artifacts.zip!/run_070617.273464343_n4_COCKROACHRANDOMSEED5.log

@stevendanna stevendanna added the X-noreuse Prevent automatic commenting from CI test failures label Feb 20, 2024
@fqazi
Copy link
Collaborator

fqazi commented Feb 20, 2024

@annrpom This is related to the workload failing into insert rows because of a FK violation

@rafiss
Copy link
Collaborator

rafiss commented Mar 15, 2024

foreign keys are being disabled in #120575 until they are fixed in the schemachange workload. keeping #119288 open as the tracking issue for the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. P-3 Issues/test failures with no fix SLA T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) X-noreuse Prevent automatic commenting from CI test failures
Projects
No open projects
Development

No branches or pull requests

5 participants