Repository navigation
Conversation
voltdb/run-sqlancer.sh starts a local VoltDB cluster (any number of nodes, k-safety, sites per host, its own ports), runs SQLancer for a set time with a fixed seed, stops the cluster and saves one results directory: manifest, SQLancer output and logs, every node's server log, the failing databases' logs (reduced with --use-reducer) and a PASS/FAIL summary. CompositeTestOracle now hands back the failing oracle's reproducer, so --use-reducer works when several oracles run.
…0 is up If another server took the admin port between the free-port check and startup, a shutdown by port would reach it. The run's own processes are always stopped by their directory.
This was referenced Nov 3, 2026
Author
|
Superseded by #51, which combines every ENG-30396 PR of this repo into one. This PR's branch is kept, and its description still has this milestone's details and lab results. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Milestone 4 of ENG-30396: one script that starts a VoltDB cluster, runs SQLancer for a set time with a fixed seed, and saves logs and reproductions. Stacked on #3 (milestone 3), which is stacked on #2 and #1; review those first.
What it adds
voltdb/run-sqlancer.sh:--voltdb). Any node count, k-safety and sites per host; one node with 8 sites per host by default.--durationseconds with--seed(both NoREC and TLP WHERE by default).sqlancer-<UTC time>-seed<N>/, following the plan's shared results layout:summary.txt: PASS or FAIL, with each failure's oracle report.manifest.txt: SQLancer commit, VoltDB version, Java, cluster shape and ports, oracles, seed, duration and command line.servers/node<i>/: every node'svolt.log, plus its init and start output.sqlancer/: SQLancer's output and logs.reproductions/: the failing databases' logs; with--use-reducer, the reduced ones and the reduction steps.--port-base, default 52000), and the script refuses to start if any is busy.voltdb start --background, which allows one server per user.CompositeTestOraclefix (shared code). With several oracles it now hands back the failing oracle's reproducer. Before,--use-reducersilently did nothing whenever more than one oracle ran. It also reports the last oracle that ran rather than the last one that passed.Testing
mvn verify -DskipTestspasses: formatter, checkstyle, PMD, SpotBugs.--use-reducer, seed 20261104. PASS: no failures, 138,988 checks, no FATAL lines, all nodes up at the end. Run on 2af25be; the later commits only change how the script stops the cluster.--use-reducer, seed 20261105, head commit 3ffca5d. PASS: no failures, 208,098 checks, no FATAL lines.--avoid-known-bugs falsefor 2 minutes. FAIL, exit code 1, four reproductions saved. Each was reduced to a few statements (one to a single CREATE TABLE and an INSERT), all known bugs.RESULT: ERROR (interrupted).killstragglerssent the signal (volt.log: "Database server will shut down due to a control-C or other JVM exit"). The script reported it correctly (FAIL, node0 down). That run was repeated.Not in this PR
Running on the lab (apprunner or cloudrunner) and a nightly job; those come after review.