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

Use multiStatement to apply DML #1462

Merged
merged 6 commits into from
Oct 25, 2024

set session outside of transaction

2e62f2a
Select commit
Loading
Failed to load commit list.
Merged

Use multiStatement to apply DML #1462

set session outside of transaction
2e62f2a
Select commit
Loading
Failed to load commit list.
GitHub CI / gh-ost-build-deploy-tarball succeeded Oct 25, 2024 in 1m 2s

Build 101370028

Build #101370028 succeeded in 62s

Details

Preparing Build...
Cloning repository https://github.com/github/gh-ost.git
Cloned from SHA: 2e62f2a83905eeea92fd892fe187f2f617f77df8
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.02MB 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 afcbf658ca91: Waiting 732d0c2b5ab0: Waiting 4f4fb700ef54: Waiting 4bfbe2417dd5: Waiting 99c539c6f532: Verifying Checksum 99c539c6f532: Download complete 9439c0e98e5f: Verifying Checksum 9439c0e98e5f: Download complete afcbf658ca91: Verifying Checksum afcbf658ca91: Download complete 732d0c2b5ab0: Verifying Checksum 732d0c2b5ab0: Download complete 4f4fb700ef54: Download complete d07a20b182d5: Download complete 9439c0e98e5f: Pull complete 99c539c6f532: Pull complete 4bfbe2417dd5: Verifying Checksum 4bfbe2417dd5: Download 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 0ff7723e90d1 Removing intermediate container 0ff7723e90d1 ---> a45229ad1f7c Step 3/8 : RUN apt-get update ---> Running in 6a6804ba4e55 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 (5850 kB/s) Reading package lists... Removing intermediate container 6a6804ba4e55 ---> 0a4ccd26c5d5 Step 4/8 : RUN apt-get install -y lsb-release ---> Running in 5a15956df1ba 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.3 kB of archives. After this operation, 85.0 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian-security bullseye-security/main amd64 distro-info-data all 0.51+deb11u7 [8436 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.3 kB in 0s (297 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+deb11u7_all.deb ... Unpacking distro-info-data (0.51+deb11u7) ... 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+deb11u7) ... Setting up lsb-release (11.1.0) ... Removing intermediate container 5a15956df1ba ---> 56f7d110ba48 Step 5/8 : RUN rm -rf /var/lib/apt/lists/* ---> Running in 7dd8a3d60f13 Removing intermediate container 7dd8a3d60f13 ---> 45031f581128 Step 6/8 : COPY . /go/src/github.com/github/gh-ost ---> f89164ab7f0b Step 7/8 : WORKDIR /go/src/github.com/github/gh-ost ---> Running in 1b04a4220338 Removing intermediate container 1b04a4220338 ---> 4b40c114c9ca Step 8/8 : CMD ["script/test"] ---> Running in 9ca28ae60465 Removing intermediate container 9ca28ae60465 ---> 2e8b9005f1df Successfully built 2e8b9005f1df 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=2e62f2a83905eeea92fd892fe187f2f617f77df8 ++ git describe --tags --always --dirty + describe=v1.1.6-55-g2e62f2a + 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=2e62f2a83905eeea92fd892fe187f2f617f77df8 -X main.BuildDescribe=v1.1.6-55-g2e62f2a' ./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.009s 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 28 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x5e github.com/stretchr/testify/suite.failOnPanic(0xc0003f5380, {0xaa2520, 0xc0003dd068}) /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(0xc0003f5380) /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({0xaa2520?, 0xc0003dd068?}) /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(0xc00045bd98?, 0xc00045bde8?) /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({0xc52500?, 0x11085e0?}) /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({0xc52500, 0x11085e0}, {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({0xc52500, 0x11085e0}, {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({0xc000389c00, 0x2, 0xb5f36d?}) /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, {0xc0000daf90, 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(0xc0003e2230) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/go/logic/applier_test.go:237 +0x17c github.com/stretchr/testify/suite.Run(0xc0003f5380, {0xc50960, 0xc0003e2230}) /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(0xc0003f5380) /go/src/github.com/github/gh-ost/.gopath/src/github.com/github/gh-ost/go/logic/applier_test.go:525 +0x33 testing.tRunner(0xc0003f5380, 0xba46e0) /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-25 08:38:52 INFO executing failed-hook hook: /tmp/TestHooksExecutorExecuteHooks-failed682332150/failed-hook 2024-10-25 08:38:52 ERROR exit status 1 === RUN TestHooksExecutorExecuteHooks/success 2024-10-25 08:38:52 INFO executing success-hook hook: /tmp/TestHooksExecutorExecuteHooks-success4198258249/success-hook --- PASS: TestHooksExecutorExecuteHooks (0.00s) --- PASS: TestHooksExecutorExecuteHooks/does-not-exist (0.00s) --- PASS: TestHooksExecutorExecuteHooks/failed (0.00s) --- PASS: TestHooksExecutorExecuteHooks/success (0.00s) === RUN TestInspectGetSharedUniqueKeys --- PASS: TestInspectGetSharedUniqueKeys (0.00s) === RUN TestMigratorOnChangelogEvent === RUN TestMigratorOnChangelogEvent/heartbeat === RUN TestMigratorOnChangelogEvent/state-AllEventsUpToLockProcessed 2024-10-25 08:38:52 INFO Intercepted changelog state AllEventsUpToLockProcessed 2024-10-25 08:38:52 INFO Handled changelog state AllEventsUpToLockProcessed === RUN TestMigratorOnChangelogEvent/state-GhostTableMigrated 2024-10-25 08:38:52 INFO Intercepted changelog state GhostTableMigrated 2024-10-25 08:38:52 INFO Handled changelog state GhostTableMigrated === RUN TestMigratorOnChangelogEvent/state-Migrated 2024-10-25 08:38:52 INFO Intercepted changelog state Migrated 2024-10-25 08:38:52 INFO Handled changelog state Migrated === RUN TestMigratorOnChangelogEvent/state-ReadMigrationRangeValues 2024-10-25 08:38:52 INFO Intercepted changelog state ReadMigrationRangeValues 2024-10-25 08:38:52 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-25 08:38:52 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-25 08:38:52 INFO Created postpone-cut-over-flag-file: /tmp/TestMigratorCreateFlagFiles1260703873/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-25 08:38:52 INFO Captured 523 byte runtime/pprof CPU profile (gzip=false) === RUN TestServerRunCPUProfile/success_with_block 2024-10-25 08:38:52 INFO Captured 522 byte runtime/pprof CPU profile (gzip=false) === RUN TestServerRunCPUProfile/success_with_block_and_gzip 2024-10-25 08:38:53 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.648s === 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.005s 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: 72.5% of statements ok github.com/github/gh-ost/go/sql 0.009s coverage: 72.5% 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=2e62f2a83905eeea92fd892fe187f2f617f77df8 ++ git describe --tags --always --dirty + describe=v1.1.6-55-g2e62f2a + 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=2e62f2a83905eeea92fd892fe187f2f617f77df8 -X main.BuildDescribe=v1.1.6-55-g2e62f2a' ./go/cmd/gh-ost/main.go bin/ bin/gh-ost
Shutting down services...
Removing gh-ost-build-deploy-tarball_app_run_c10a991e5e98 ... Removing gh-ost-build-deploy-tarball_app_run_c10a991e5e98 ... done Removing network gh-ost-build-deploy-tarball_default
Uploading deployable artifacts...
Gathering artifacts for Octofactory upload... Upload artifacts to Octofactory... Uploaded 2e62f2a83905eeea92fd892fe187f2f617f77df8-focal-x86_64.tar.gz to Octofactory@github-generic-releases-local/builds/gh-ost-build-deploy-tarball/2e62f2a83905eeea92fd892fe187f2f617f77df8/2e62f2a83905eeea92fd892fe187f2f617f77df8-focal-x86_64.tar.gz Set properties on Octofactory@github-generic-releases-local/builds/gh-ost-build-deploy-tarball/2e62f2a83905eeea92fd892fe187f2f617f77df8/2e62f2a83905eeea92fd892fe187f2f617f77df8-focal-x86_64.tar.gz Uploaded 2e62f2a83905eeea92fd892fe187f2f617f77df8-bullseye-x86_64.tar.gz to Octofactory@github-generic-releases-local/builds/gh-ost-build-deploy-tarball/2e62f2a83905eeea92fd892fe187f2f617f77df8/2e62f2a83905eeea92fd892fe187f2f617f77df8-bullseye-x86_64.tar.gz Set properties on Octofactory@github-generic-releases-local/builds/gh-ost-build-deploy-tarball/2e62f2a83905eeea92fd892fe187f2f617f77df8/2e62f2a83905eeea92fd892fe187f2f617f77df8-bullseye-x86_64.tar.gz Finished uploading artifacts! Gathering artifacts for build hosts upload... Uploading artifacts to S3... artifact 2e62f2a83905eeea92fd892fe187f2f617f77df8-focal-x86_64.tar.gz uploaded to s3://bp-artifact-escrow/builds/development/101370028 Published artifact message for 2e62f2a83905eeea92fd892fe187f2f617f77df8-focal-x86_64.tar.gz to the artifacts exchange artifact 2e62f2a83905eeea92fd892fe187f2f617f77df8-bullseye-x86_64.tar.gz uploaded to s3://bp-artifact-escrow/builds/development/101370028 Published artifact message for 2e62f2a83905eeea92fd892fe187f2f617f77df8-bullseye-x86_64.tar.gz to the artifacts exchange Finished uploading artifacts! Confirming all artifacts have been uploaded to build hosts... Confirmed upload of 2e62f2a83905eeea92fd892fe187f2f617f77df8-focal-x86_64.tar.gz Confirmed upload of 2e62f2a83905eeea92fd892fe187f2f617f77df8-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": 4, "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===