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

Avoid causing deadlocks when copying rows on busy tables #1455

Merged
merged 6 commits into from
Oct 23, 2024

Only use `NOWAIT` on MySQL 8.

5ddeb21
Select commit
Loading
Failed to load commit list.
Merged

Avoid causing deadlocks when copying rows on busy tables #1455

Only use `NOWAIT` on MySQL 8.
5ddeb21
Select commit
Loading
Failed to load commit list.
GitHub CI / gh-ost-build-deploy-tarball succeeded Oct 23, 2024 in 1m 17s

Build 101341438

Build #101341438 succeeded in 77s

Details

Preparing Build...
Cloning repository https://github.com/github/gh-ost.git
Cloned from SHA: 5ddeb21d22ca5c880602617d8a46978bd67ac4ec
Logging into Docker (octofactory.service.private-us-east-1.github.net)...
WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /workspace/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded
Logging into Docker (octofactory.githubapp.com)...
WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /workspace/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded
Logging into Docker (https://registry-1.docker.io/)...
WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /workspace/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded
Logging into Docker (docker.pkg.github.com)...
WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /workspace/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded
Logging into Docker (containers.pkg.github.com)...
WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /workspace/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded
Logging into Docker (ghcr.io)...
WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /workspace/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded
Detecting Golden Images...
Retrieving Golden Images...
Error response from daemon: manifest for octofactory.service.private-us-east-1.github.net/github-golden-docker/github-gh-ost:app not found: manifest unknown: The named manifest is not known to the registry. Failed to pull golden image octofactory.service.private-us-east-1.github.net/github-golden-docker/github-gh-ost:app
Done pulling golden images.
Bootstrapping container...
Building app Sending build context to Docker daemon 37.03MB Step 1/8 : FROM golang:1.22-bullseye 1.22-bullseye: Pulling from library/golang 9439c0e98e5f: Pulling fs layer 99c539c6f532: Pulling fs layer d07a20b182d5: Pulling fs layer afcbf658ca91: Pulling fs layer 4bfbe2417dd5: Pulling fs layer 732d0c2b5ab0: Pulling fs layer 4f4fb700ef54: Pulling fs layer 732d0c2b5ab0: Waiting afcbf658ca91: Waiting 4f4fb700ef54: Waiting 4bfbe2417dd5: Waiting 99c539c6f532: Verifying Checksum 99c539c6f532: Download complete d07a20b182d5: Verifying Checksum d07a20b182d5: Download complete afcbf658ca91: Verifying Checksum afcbf658ca91: Download complete 9439c0e98e5f: Verifying Checksum 9439c0e98e5f: Download complete 4f4fb700ef54: Download complete 732d0c2b5ab0: Verifying Checksum 4bfbe2417dd5: Verifying Checksum 4bfbe2417dd5: Download complete 9439c0e98e5f: Pull complete 99c539c6f532: Pull complete d07a20b182d5: Pull complete afcbf658ca91: Pull complete 4bfbe2417dd5: Pull complete 732d0c2b5ab0: Pull complete 4f4fb700ef54: Pull complete Digest: sha256:3e2f3b0ebfb877a6dc750360c327911a06b3a030c1b212cdbeb02745c1d92ba0 Status: Downloaded newer image for golang:1.22-bullseye ---> 9ec3db8a9360 Step 2/8 : LABEL maintainer="[email protected]" ---> Running in 1825911740f1 Removing intermediate container 1825911740f1 ---> 2f3081e2bfff Step 3/8 : RUN apt-get update ---> Running in 578cec017e9d Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB] Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [306 kB] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB] Fetched 8578 kB in 1s (5915 kB/s) Reading package lists... Removing intermediate container 578cec017e9d ---> ce4224c33007 Step 4/8 : RUN apt-get install -y lsb-release ---> Running in 48725683555d Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: distro-info-data The following NEW packages will be installed: distro-info-data lsb-release 0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded. Need to get 36.2 kB of archives. After this operation, 85.0 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main amd64 distro-info-data all 0.51+deb11u6 [8360 B] Get:2 http://deb.debian.org/debian bullseye/main amd64 lsb-release all 11.1.0 [27.9 kB] [91mdebconf: delaying package configuration, since apt-utils is not installed [0mFetched 36.2 kB in 0s (444 kB/s) Selecting previously unselected package distro-info-data. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15725 files and directories currently installed.) Preparing to unpack .../distro-info-data_0.51+deb11u6_all.deb ... Unpacking distro-info-data (0.51+deb11u6) ... Selecting previously unselected package lsb-release. Preparing to unpack .../lsb-release_11.1.0_all.deb ... Unpacking lsb-release (11.1.0) ... Setting up distro-info-data (0.51+deb11u6) ... Setting up lsb-release (11.1.0) ... Removing intermediate container 48725683555d ---> c63a88a9603f Step 5/8 : RUN rm -rf /var/lib/apt/lists/* ---> Running in 409b0324b743 Removing intermediate container 409b0324b743 ---> 81f27b43d6a8 Step 6/8 : COPY . /go/src/github.com/github/gh-ost ---> 78f58013e9ca Step 7/8 : WORKDIR /go/src/github.com/github/gh-ost ---> Running in 446f852ddc16 Removing intermediate container 446f852ddc16 ---> 5ea360a2dd2c Step 8/8 : CMD ["script/test"] ---> Running in 9a1cd56dcbd4 Removing intermediate container 9a1cd56dcbd4 ---> ce81dd6c1c34 Successfully built ce81dd6c1c34 Successfully tagged app:latest
Running tests...
Creating network "gh-ost-build-deploy-tarball_default" with the default driver Creating gh-ost-build-deploy-tarball_app_run ... Creating gh-ost-build-deploy-tarball_app_run ... done go version go1.22.8 linux/amd64 found in : Go Binary: /usr/local/go/bin/go ++ rm -rf .gopath ++ mkdir -p .gopath/src/github.com/github ++ ln -s /go/src/github.com/github/gh-ost .gopath/src/github.com/github/gh-ost ++ export GOPATH=***** ++ GOPATH=***** + echo 'Verifying code is formatted via '\''gofmt -s -w go/'\''' + gofmt -s -w go/ Verifying code is formatted via 'gofmt -s -w go/' + git diff --exit-code --quiet + echo Building + script/build Building go version go1.22.8 linux/amd64 found in : Go Binary: /usr/local/go/bin/go ++ rm -rf .gopath ++ mkdir -p .gopath/src/github.com/github ++ ln -s /go/src/github.com/github/gh-ost .gopath/src/github.com/github/gh-ost ++ export GOPATH=***** ++ GOPATH=***** + mkdir -p bin + bindir=/go/src/github.com/github/gh-ost/bin + scriptdir=/go/src/github.com/github/gh-ost/script ++ git rev-parse HEAD + version=5ddeb21d22ca5c880602617d8a46978bd67ac4ec ++ git describe --tags --always --dirty + describe=v1.1.6-43-g5ddeb21 + export GOPATH=***** + GOPATH=***** + cd .gopath/src/github.com/github/gh-ost + go build -o /go/src/github.com/github/gh-ost/bin/gh-ost -ldflags '-X main.AppVersion=5ddeb21d22ca5c880602617d8a46978bd67ac4ec -X main.BuildDescribe=v1.1.6-43-g5ddeb21' ./go/cmd/gh-ost/main.go + cd .gopath/src/github.com/github/gh-ost + echo 'Running unit tests' + go test -v -covermode=atomic ./go/... Running unit tests github.com/github/gh-ost/go/binlog coverage: 0.0% of statements github.com/github/gh-ost/go/cmd/gh-ost coverage: 0.0% of statements === RUN TestGetTableNames --- PASS: TestGetTableNames (0.00s) === RUN TestReadConfigFile --- PASS: TestReadConfigFile (0.00s) === RUN TestParseLoadMap --- PASS: TestParseLoadMap (0.00s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestStringContainsAll --- PASS: TestStringContainsAll (0.00s) PASS coverage: 19.1% of statements ok github.com/github/gh-ost/go/base 0.007s coverage: 19.1% of statements === RUN TestApplierGenerateSqlModeQuery --- PASS: TestApplierGenerateSqlModeQuery (0.00s) === RUN TestApplierUpdateModifiesUniqueKeyColumns === RUN TestApplierUpdateModifiesUniqueKeyColumns/unmodified === RUN TestApplierUpdateModifiesUniqueKeyColumns/modified --- PASS: TestApplierUpdateModifiesUniqueKeyColumns (0.00s) --- PASS: TestApplierUpdateModifiesUniqueKeyColumns/unmodified (0.00s) --- PASS: TestApplierUpdateModifiesUniqueKeyColumns/modified (0.00s) === RUN TestApplierBuildDMLEventQuery === RUN TestApplierBuildDMLEventQuery/delete === RUN TestApplierBuildDMLEventQuery/insert === RUN TestApplierBuildDMLEventQuery/update --- PASS: TestApplierBuildDMLEventQuery (0.00s) --- PASS: TestApplierBuildDMLEventQuery/delete (0.00s) --- PASS: TestApplierBuildDMLEventQuery/insert (0.00s) --- PASS: TestApplierBuildDMLEventQuery/update (0.00s) === RUN TestApplierInstantDDL === RUN TestApplierInstantDDL/instantDDLstmt --- PASS: TestApplierInstantDDL (0.00s) --- PASS: TestApplierInstantDDL/instantDDLstmt (0.00s) === RUN TestApplier docker_host.go:91: test panicked: rootless Docker not found goroutine 29 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x5e github.com/stretchr/testify/suite.failOnPanic(0xc0003701a0, {0xaa1220, 0xc000125560}) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/stretchr/testify/suite/suite.go:89 +0x37 github.com/stretchr/testify/suite.recoverAndFailOnPanic(0xc0003701a0) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/stretchr/testify/suite/suite.go:83 +0x35 panic({0xaa1220?, 0xc000125560?}) /usr/local/go/src/runtime/panic.go:770 +0x132 github.com/testcontainers/testcontainers-go/internal/core.MustExtractDockerHost.func1() /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/testcontainers/testcontainers-go/internal/core/docker_host.go:91 +0x66 sync.(*Once).doSlow(0xc000033d98?, 0xc000033de8?) /usr/local/go/src/sync/once.go:74 +0xc2 sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:65 github.com/testcontainers/testcontainers-go/internal/core.MustExtractDockerHost({0xc50ec0?, 0x1106580?}) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/testcontainers/testcontainers-go/internal/core/docker_host.go:88 +0x58 github.com/testcontainers/testcontainers-go/internal/core.NewClient({0xc50ec0, 0x1106580}, {0x0, 0x0, 0x0?}) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/testcontainers/testcontainers-go/internal/core/client.go:17 +0x88 github.com/testcontainers/testcontainers-go.NewDockerClientWithOpts({0xc50ec0, 0x1106580}, {0x0, 0x0, 0x0}) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/testcontainers/testcontainers-go/docker_client.go:117 +0x71 github.com/testcontainers/testcontainers-go.NewDockerProvider({0xc000396e20, 0x2, 0xb5dcf5?}) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/testcontainers/testcontainers-go/provider.go:143 +0x10f github.com/testcontainers/testcontainers-go.ProviderType.GetProvider(0x0, {0xc000160f90, 0x1, 0x0?}) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/testcontainers/testcontainers-go/provider.go:114 +0x3e5 github.com/testcontainers/testcontainers-go.GenericContainer({_, _}, {{{{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...}, ...}) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/testcontainers/testcontainers-go/generic.go:59 +0x139 github.com/github/gh-ost/go/logic.(*ApplierTestSuite).SetupSuite(0xc00016bef0) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/go/logic/applier_test.go:235 +0x17c github.com/stretchr/testify/suite.Run(0xc0003701a0, {0xc4f320, 0xc00016bef0}) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/vendor/github.com/stretchr/testify/suite/suite.go:157 +0x777 github.com/github/gh-ost/go/logic.TestApplier(0xc0003701a0) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/go/logic/applier_test.go:518 +0x33 testing.tRunner(0xc0003701a0, 0xba31b8) /usr/local/go/src/testing/testing.go:1689 +0xfb created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:1742 +0x390 --- FAIL: TestApplier (0.00s) === RUN TestHooksExecutorExecuteHooks === RUN TestHooksExecutorExecuteHooks/does-not-exist === RUN TestHooksExecutorExecuteHooks/failed 2024-10-23 13:50:15 INFO executing failed-hook hook: /tmp/TestHooksExecutorExecuteHooks-failed2086869649/failed-hook 2024-10-23 13:50:15 ERROR exit status 1 === RUN TestHooksExecutorExecuteHooks/success 2024-10-23 13:50:15 INFO executing success-hook hook: /tmp/TestHooksExecutorExecuteHooks-success534145701/success-hook --- PASS: TestHooksExecutorExecuteHooks (0.01s) --- PASS: TestHooksExecutorExecuteHooks/does-not-exist (0.00s) --- PASS: TestHooksExecutorExecuteHooks/failed (0.01s) --- PASS: TestHooksExecutorExecuteHooks/success (0.01s) === RUN TestInspectGetSharedUniqueKeys --- PASS: TestInspectGetSharedUniqueKeys (0.00s) === RUN TestMigratorOnChangelogEvent === RUN TestMigratorOnChangelogEvent/heartbeat === RUN TestMigratorOnChangelogEvent/state-AllEventsUpToLockProcessed 2024-10-23 13:50:15 INFO Intercepted changelog state AllEventsUpToLockProcessed 2024-10-23 13:50:15 INFO Handled changelog state AllEventsUpToLockProcessed === RUN TestMigratorOnChangelogEvent/state-GhostTableMigrated 2024-10-23 13:50:15 INFO Intercepted changelog state GhostTableMigrated 2024-10-23 13:50:15 INFO Handled changelog state GhostTableMigrated === RUN TestMigratorOnChangelogEvent/state-Migrated 2024-10-23 13:50:15 INFO Intercepted changelog state Migrated 2024-10-23 13:50:15 INFO Handled changelog state Migrated === RUN TestMigratorOnChangelogEvent/state-ReadMigrationRangeValues 2024-10-23 13:50:15 INFO Intercepted changelog state ReadMigrationRangeValues 2024-10-23 13:50:15 INFO Handled changelog state ReadMigrationRangeValues --- PASS: TestMigratorOnChangelogEvent (0.00s) --- PASS: TestMigratorOnChangelogEvent/heartbeat (0.00s) --- PASS: TestMigratorOnChangelogEvent/state-AllEventsUpToLockProcessed (0.00s) --- PASS: TestMigratorOnChangelogEvent/state-GhostTableMigrated (0.00s) --- PASS: TestMigratorOnChangelogEvent/state-Migrated (0.00s) --- PASS: TestMigratorOnChangelogEvent/state-ReadMigrationRangeValues (0.00s) === RUN TestMigratorValidateStatement === RUN TestMigratorValidateStatement/add-column === RUN TestMigratorValidateStatement/drop-column === RUN TestMigratorValidateStatement/rename-column === RUN TestMigratorValidateStatement/rename-column-approved 2024-10-23 13:50:15 INFO Alter statement has column(s) renamed. gh-ost finds the following renames: map[test123:test1234]; --approve-renamed-columns is given and so migration proceeds. === RUN TestMigratorValidateStatement/rename-table --- PASS: TestMigratorValidateStatement (0.00s) --- PASS: TestMigratorValidateStatement/add-column (0.00s) --- PASS: TestMigratorValidateStatement/drop-column (0.00s) --- PASS: TestMigratorValidateStatement/rename-column (0.00s) --- PASS: TestMigratorValidateStatement/rename-column-approved (0.00s) --- PASS: TestMigratorValidateStatement/rename-table (0.00s) === RUN TestMigratorCreateFlagFiles 2024-10-23 13:50:15 INFO Created postpone-cut-over-flag-file: /tmp/TestMigratorCreateFlagFiles556590891/cut-over.flag --- PASS: TestMigratorCreateFlagFiles (0.00s) === RUN TestMigratorGetProgressPercent --- PASS: TestMigratorGetProgressPercent (0.00s) === RUN TestMigratorGetMigrationStateAndETA --- PASS: TestMigratorGetMigrationStateAndETA (0.00s) === RUN TestMigratorShouldPrintStatus --- PASS: TestMigratorShouldPrintStatus (0.00s) === RUN TestServerRunCPUProfile === PAUSE TestServerRunCPUProfile === CONT TestServerRunCPUProfile === RUN TestServerRunCPUProfile/failed_already_running === RUN TestServerRunCPUProfile/failed_bad_duration === RUN TestServerRunCPUProfile/failed_bad_option === RUN TestServerRunCPUProfile/success 2024-10-23 13:50:16 INFO Captured 521 byte runtime/pprof CPU profile (gzip=false) === RUN TestServerRunCPUProfile/success_with_block 2024-10-23 13:50:16 INFO Captured 520 byte runtime/pprof CPU profile (gzip=false) === RUN TestServerRunCPUProfile/success_with_block_and_gzip 2024-10-23 13:50:16 INFO Captured 10 byte runtime/pprof CPU profile (gzip=true) --- PASS: TestServerRunCPUProfile (0.61s) --- PASS: TestServerRunCPUProfile/failed_already_running (0.00s) --- PASS: TestServerRunCPUProfile/failed_bad_duration (0.00s) --- PASS: TestServerRunCPUProfile/failed_bad_option (0.00s) --- PASS: TestServerRunCPUProfile/success (0.20s) --- PASS: TestServerRunCPUProfile/success_with_block (0.20s) --- PASS: TestServerRunCPUProfile/success_with_block_and_gzip (0.20s) FAIL coverage: 8.2% of statements FAIL github.com/github/gh-ost/go/logic 0.661s === RUN TestBinlogCoordinates --- PASS: TestBinlogCoordinates (0.00s) === RUN TestBinlogCoordinatesAsKey --- PASS: TestBinlogCoordinatesAsKey (0.00s) === RUN TestIsLogPosOverflowBeyond4Bytes --- PASS: TestIsLogPosOverflowBeyond4Bytes (0.00s) === RUN TestNewConnectionConfig --- PASS: TestNewConnectionConfig (0.00s) === RUN TestDuplicateCredentials --- PASS: TestDuplicateCredentials (0.00s) === RUN TestDuplicate --- PASS: TestDuplicate (0.00s) === RUN TestGetDBUri --- PASS: TestGetDBUri (0.00s) === RUN TestGetDBUriWithTLSSetup --- PASS: TestGetDBUriWithTLSSetup (0.00s) === RUN TestParseInstanceKey --- PASS: TestParseInstanceKey (0.00s) PASS coverage: 23.0% of statements ok github.com/github/gh-ost/go/mysql 0.024s coverage: 23.0% of statements === RUN TestEscapeName --- PASS: TestEscapeName (0.00s) === RUN TestBuildEqualsComparison --- PASS: TestBuildEqualsComparison (0.00s) === RUN TestBuildEqualsPreparedComparison --- PASS: TestBuildEqualsPreparedComparison (0.00s) === RUN TestBuildSetPreparedClause --- PASS: TestBuildSetPreparedClause (0.00s) === RUN TestBuildRangeComparison --- PASS: TestBuildRangeComparison (0.00s) === RUN TestBuildRangeInsertQuery --- PASS: TestBuildRangeInsertQuery (0.00s) === RUN TestBuildRangeInsertQueryRenameMap --- PASS: TestBuildRangeInsertQueryRenameMap (0.00s) === RUN TestBuildRangeInsertPreparedQuery --- PASS: TestBuildRangeInsertPreparedQuery (0.00s) === RUN TestBuildUniqueKeyRangeEndPreparedQuery --- PASS: TestBuildUniqueKeyRangeEndPreparedQuery (0.00s) === RUN TestBuildUniqueKeyMinValuesPreparedQuery --- PASS: TestBuildUniqueKeyMinValuesPreparedQuery (0.00s) === RUN TestBuildDMLDeleteQuery --- PASS: TestBuildDMLDeleteQuery (0.00s) === RUN TestBuildDMLDeleteQuerySignedUnsigned --- PASS: TestBuildDMLDeleteQuerySignedUnsigned (0.00s) === RUN TestBuildDMLInsertQuery --- PASS: TestBuildDMLInsertQuery (0.00s) === RUN TestBuildDMLInsertQuerySignedUnsigned --- PASS: TestBuildDMLInsertQuerySignedUnsigned (0.00s) === RUN TestBuildDMLUpdateQuery --- PASS: TestBuildDMLUpdateQuery (0.00s) === RUN TestBuildDMLUpdateQuerySignedUnsigned --- PASS: TestBuildDMLUpdateQuerySignedUnsigned (0.00s) === RUN TestParseAlterStatement --- PASS: TestParseAlterStatement (0.00s) === RUN TestParseAlterStatementrivialRename --- PASS: TestParseAlterStatementrivialRename (0.00s) === RUN TestParseAlterStatementWithAutoIncrement --- PASS: TestParseAlterStatementWithAutoIncrement (0.00s) === RUN TestParseAlterStatementrivialRenames --- PASS: TestParseAlterStatementrivialRenames (0.00s) === RUN TestParseAlterStatementNonTrivial --- PASS: TestParseAlterStatementNonTrivial (0.00s) === RUN TestTokenizeAlterStatement --- PASS: TestTokenizeAlterStatement (0.00s) === RUN TestSanitizeQuotesFromAlterStatement --- PASS: TestSanitizeQuotesFromAlterStatement (0.00s) === RUN TestParseAlterStatementDroppedColumns --- PASS: TestParseAlterStatementDroppedColumns (0.00s) === RUN TestParseAlterStatementRenameTable --- PASS: TestParseAlterStatementRenameTable (0.00s) === RUN TestParseAlterStatementExplicitTable --- PASS: TestParseAlterStatementExplicitTable (0.00s) === RUN TestParseEnumValues --- PASS: TestParseEnumValues (0.00s) === RUN TestParseColumnList --- PASS: TestParseColumnList (0.00s) === RUN TestGetColumn --- PASS: TestGetColumn (0.00s) PASS coverage: 71.8% of statements ok github.com/github/gh-ost/go/sql 0.025s coverage: 71.8% of statements FAIL 1
Creating gh-ost-build-deploy-tarball_app_run ... Creating gh-ost-build-deploy-tarball_app_run ... done go version go1.22.8 linux/amd64 found in : Go Binary: /usr/local/go/bin/go ++ rm -rf .gopath ++ mkdir -p .gopath/src/github.com/github ++ ln -s /go/src/github.com/github/gh-ost .gopath/src/github.com/github/gh-ost ++ export GOPATH=***** ++ GOPATH=***** + mkdir -p bin + bindir=/go/src/github.com/github/gh-ost/bin + scriptdir=/go/src/github.com/github/gh-ost/script ++ git rev-parse HEAD + version=5ddeb21d22ca5c880602617d8a46978bd67ac4ec ++ git describe --tags --always --dirty + describe=v1.1.6-43-g5ddeb21 + export GOPATH=***** + GOPATH=***** + cd .gopath/src/github.com/github/gh-ost + go build -o /go/src/github.com/github/gh-ost/bin/gh-ost -ldflags '-X main.AppVersion=5ddeb21d22ca5c880602617d8a46978bd67ac4ec -X main.BuildDescribe=v1.1.6-43-g5ddeb21' ./go/cmd/gh-ost/main.go bin/ bin/gh-ost
Shutting down services...
Removing gh-ost-build-deploy-tarball_app_run_ef045623540d ... Removing gh-ost-build-deploy-tarball_app_run_ef045623540d ... done Removing network gh-ost-build-deploy-tarball_default
Uploading deployable artifacts...
Gathering artifacts for Octofactory upload... Upload artifacts to Octofactory... Uploaded 5ddeb21d22ca5c880602617d8a46978bd67ac4ec-focal-x86_64.tar.gz to Octofactory@github-generic-releases-local/builds/gh-ost-build-deploy-tarball/5ddeb21d22ca5c880602617d8a46978bd67ac4ec/5ddeb21d22ca5c880602617d8a46978bd67ac4ec-focal-x86_64.tar.gz Set properties on Octofactory@github-generic-releases-local/builds/gh-ost-build-deploy-tarball/5ddeb21d22ca5c880602617d8a46978bd67ac4ec/5ddeb21d22ca5c880602617d8a46978bd67ac4ec-focal-x86_64.tar.gz Uploaded 5ddeb21d22ca5c880602617d8a46978bd67ac4ec-bullseye-x86_64.tar.gz to Octofactory@github-generic-releases-local/builds/gh-ost-build-deploy-tarball/5ddeb21d22ca5c880602617d8a46978bd67ac4ec/5ddeb21d22ca5c880602617d8a46978bd67ac4ec-bullseye-x86_64.tar.gz Set properties on Octofactory@github-generic-releases-local/builds/gh-ost-build-deploy-tarball/5ddeb21d22ca5c880602617d8a46978bd67ac4ec/5ddeb21d22ca5c880602617d8a46978bd67ac4ec-bullseye-x86_64.tar.gz Finished uploading artifacts! Gathering artifacts for build hosts upload... Uploading artifacts to S3... artifact 5ddeb21d22ca5c880602617d8a46978bd67ac4ec-focal-x86_64.tar.gz uploaded to s3://bp-artifact-escrow/builds/development/101341438 Published artifact message for 5ddeb21d22ca5c880602617d8a46978bd67ac4ec-focal-x86_64.tar.gz to the artifacts exchange artifact 5ddeb21d22ca5c880602617d8a46978bd67ac4ec-bullseye-x86_64.tar.gz uploaded to s3://bp-artifact-escrow/builds/development/101341438 Published artifact message for 5ddeb21d22ca5c880602617d8a46978bd67ac4ec-bullseye-x86_64.tar.gz to the artifacts exchange Finished uploading artifacts! Confirming all artifacts have been uploaded to build hosts... Confirmed upload of 5ddeb21d22ca5c880602617d8a46978bd67ac4ec-focal-x86_64.tar.gz Confirmed upload of 5ddeb21d22ca5c880602617d8a46978bd67ac4ec-bullseye-x86_64.tar.gz Confirmed all artifacts have been uploaded!
Uploading non-deployable artifacts...
Gathering artifacts for Octofactory upload... no artifacts found at /tmp/gh-ost-build-deploy-tarball-artifacts
DNS Capture
===DNS CAPTURE=== { "domains": { "bp-rabbit.service.private-us-east-1.github.net": 2, "github-ci-jenkins-master-logs.s3.amazonaws.com": 8, "github.com": 2, "octofactory.service.private-us-east-1.github.net": 32, "octofactory.githubapp.com": 10, "registry-1.docker.io": 8, "auth.docker.io": 2, "docker.pkg.github.com": 8, "containers.pkg.github.com": 10, "ghcr.io": 10, "octofactory-docker-hub.githubapp.com": 36, "debian.map.fastlydns.net": 2, "bp-artifact-escrow.s3.amazonaws.com": 2 } } ===END DNS CAPTURE===