Commit Graph

5257 Commits

Author SHA1 Message Date
Sveta Smirnova
37ca3d2d49 PT-1205 - LP #1275034: pt-table-sync reports 'wide character in print' and terminates
- Added binmode :utf8 for STDERR
- Added test case for PT-1205
- Run update-modules
2024-03-22 01:42:14 +03:00
Sveta Smirnova
1ad44e04da PT-2264 - pt-query-digest Pipeline process 11 (--output slowlog) caused an error: Wide character
- Updated lib/DSNParser.pm, so it sets binmode to character set utf8 since
  MySQL 8.0 if character set is not specified in the DSN
- Added test case
- Run update-modules
2024-03-21 13:01:03 +03:00
Sveta Smirnova
80c266b048 Merge pull request #772 from ylacancellera/pt-galera-log-explainer
pt-galera-log-explainer: add custom regexes parameter
2024-03-18 14:33:34 +03:00
Sveta Smirnova
121cf98bce Merge pull request #774 from percona/dependabot/github_actions/aquasecurity/trivy-action-0.18.0
Bump aquasecurity/trivy-action from 0.17.0 to 0.18.0
2024-03-18 14:33:16 +03:00
Sveta Smirnova
1dc207e5f5 Merge pull request #776 from percona/dependabot/go_modules/github.com/stretchr/testify-1.9.0
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
2024-03-18 14:32:57 +03:00
dependabot[bot]
9f4f32a8bd Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 11:32:51 +00:00
Sveta Smirnova
1a463ad8bf Merge pull request #780 from percona/dependabot/go_modules/golang.org/x/crypto-0.21.0
Bump golang.org/x/crypto from 0.19.0 to 0.21.0
2024-03-18 14:32:21 +03:00
Sveta Smirnova
aad54c307c Merge pull request #781 from percona/dependabot/go_modules/github.com/alecthomas/kong-0.9.0
Bump github.com/alecthomas/kong from 0.8.1 to 0.9.0
2024-03-18 14:32:07 +03:00
Sveta Smirnova
5f56d84678 Merge pull request #786 from percona/dependabot/go_modules/k8s.io/api-0.29.3
Bump k8s.io/api from 0.29.2 to 0.29.3
2024-03-18 14:31:48 +03:00
dependabot[bot]
66045e28cf Bump k8s.io/api from 0.29.2 to 0.29.3
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.29.2 to 0.29.3.
- [Commits](https://github.com/kubernetes/api/compare/v0.29.2...v0.29.3)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:40:14 +00:00
Sveta Smirnova
d813b4fbcf Merge pull request #777 from percona/snyk-fix-7674bd8c8e5633939958c3a5c375478b
[Snyk] Fix for 12 vulnerabilities
2024-03-15 16:37:32 +03:00
Sveta Smirnova
e9ec7213f4 Merge pull request #769 from percona/PT-2295_Fix_tests_on_distributions
PT-2295 - fix tests on distributions
2024-03-15 16:24:29 +03:00
Sveta Smirnova
da2e22b785 Merge pull request #782 from percona/Add-Osano-cookie
DOCS-106 Added Osano cookies
2024-03-12 14:42:34 +03:00
Anastasia Alexadrova
26553842b4 DOCS-106 Added Osano cookies
modified:   config/sphinx-build/__pycache__/conf.cpython-37.pyc
	modified:   config/sphinx-build/_static/_templates/theme/layout.html
	new file:   config/sphinx-build/_static/osano.js
	modified:   config/sphinx-build/conf-material/conf.py
	modified:   config/sphinx-build/conf.py
2024-03-12 09:15:39 +01:00
Sveta Smirnova
3eeccd7d32 Merge pull request #779 from alina-derkach-oaza/DOCS-106
Remove the scarf script
2024-03-11 15:53:52 +03:00
Alina Derkach
9231995ad9 Add osano cookies and remove scarf
modified:   config/sphinx-build/_static/_templates/theme/relbar2.html
	modified:   config/sphinx-build/conf.py
2024-03-11 14:32:22 +02:00
dependabot[bot]
1db10b913b Bump github.com/alecthomas/kong from 0.8.1 to 0.9.0
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong) from 0.8.1 to 0.9.0.
- [Commits](https://github.com/alecthomas/kong/compare/v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 09:48:13 +00:00
dependabot[bot]
36746e13be Bump golang.org/x/crypto from 0.19.0 to 0.21.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.19.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.21.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 09:48:02 +00:00
snyk-bot
1e8278fff2 fix: requirements-docbuild.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-CERTIFI-3164749
- https://snyk.io/vuln/SNYK-PYTHON-CERTIFI-5805047
- https://snyk.io/vuln/SNYK-PYTHON-JINJA2-6150717
- https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1086606
- https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1088505
- https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-5750273
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-5595532
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412
- https://snyk.io/vuln/SNYK-PYTHON-SPHINX-570772
- https://snyk.io/vuln/SNYK-PYTHON-SPHINX-570773
- https://snyk.io/vuln/SNYK-PYTHON-SPHINX-5811865
- https://snyk.io/vuln/SNYK-PYTHON-SPHINX-5812109
2024-03-07 14:39:21 +00:00
dependabot[bot]
b16caf53f5 Bump aquasecurity/trivy-action from 0.17.0 to 0.18.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.17.0...0.18.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 09:23:10 +00:00
Yoann La Cancellera
bebd652600 pt-galera-log-explainer: add custom regexes parameter
That way anybody can handle non-galera specific logs in a single view

tests/expected/operator_auto_ambiguous_ips_list_all_no_color has been
updated, it was out-of-sync due to 2 previous pull requests that were
made in parallel
2024-02-19 20:15:39 +01:00
Sveta Smirnova
f684a11335 Merge pull request #770 from percona/dependabot/go_modules/go.mongodb.org/mongo-driver-1.14.0
Bump go.mongodb.org/mongo-driver from 1.13.1 to 1.14.0
2024-02-19 17:38:32 +03:00
Sveta Smirnova
a85ebe71f0 Merge pull request #771 from percona/dependabot/go_modules/k8s.io/api-0.29.2
Bump k8s.io/api from 0.29.1 to 0.29.2
2024-02-19 17:38:16 +03:00
dependabot[bot]
772ea649b4 Bump k8s.io/api from 0.29.1 to 0.29.2
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.29.1 to 0.29.2.
- [Commits](https://github.com/kubernetes/api/compare/v0.29.1...v0.29.2)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 09:05:33 +00:00
dependabot[bot]
bced4936df Bump go.mongodb.org/mongo-driver from 1.13.1 to 1.14.0
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.13.1...v1.14.0)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 09:05:04 +00:00
Sveta Smirnova
37d792f299 Merge pull request #764 from jobinau/3.x
All complexities and failure senarios are removed, No more dependancies
2024-02-17 20:35:20 +03:00
Yoann La Cancellera
1462c4e4af Merge pull request #765 from ylacancellera/pt-galera-log-explainer
pt-galera-log-explainer: improvments from feedbacks
2024-02-14 17:56:07 +01:00
Yoann La Cancellera
4b27054770 pt-galera-log-explainer: removing redundant loop names 2024-02-14 17:54:33 +01:00
Sveta Smirnova
28b3e699fc Merge pull request #767 from percona/dependabot/github_actions/actions/upload-artifact-4.3.1
Bump actions/upload-artifact from 4.3.0 to 4.3.1
2024-02-14 19:28:38 +03:00
Sveta Smirnova
e7226c825b Merge pull request #768 from percona/dependabot/github_actions/aquasecurity/trivy-action-0.17.0
Bump aquasecurity/trivy-action from 0.16.1 to 0.17.0
2024-02-14 19:28:28 +03:00
Sveta Smirnova
19fb9df939 Merge pull request #766 from percona/dependabot/go_modules/golang.org/x/crypto-0.19.0
Bump golang.org/x/crypto from 0.18.0 to 0.19.0
2024-02-14 19:28:13 +03:00
Sveta Smirnova
f46aad842b PT-2295 - Fix tests on distributions
- Fixed test t/pt-table-sync/specify_column_or_index.t, because we
  cannot use exact numbers when pt-osc relies on the EXPLAIN output.
2024-02-14 14:53:00 +03:00
Sveta Smirnova
4d9a406dcb PR-765 - pt-galera-log-explainer: improvments from feedbacks
- Fixed formatting in the documentation
- Synced documentation and README.rst
2024-02-13 20:40:23 +03:00
Sveta Smirnova
19c740084f PT-2295 - Fix tests on distributions
- Found that TIMESTAMP columns in mysql database make last tests in
  t/pt-table-checksum/basics.t unstable, filtering them from the diff.
2024-02-13 20:03:32 +03:00
Sveta Smirnova
f136116826 PT-2295 - Fix tests on distributions
- Added test result adjustment on slow machines for
  t/lib/bash/collect.sh, because no other solution worked
- Updated modules for all tools
2024-02-13 20:03:32 +03:00
Sveta Smirnova
19baa34872 PT-2295 - Fix tests on distributions
- Fixed sporadic pt-tc failures on rolled back SHOW MASTER STATUS code
- Added better diagnostic info for sporadically failing t/pt-table-checksum/basics.t
- Decreased chunk size it t/pt-table-checksum/progress.t, so this test
  has less chances to fail, because pt-osc finishes faster than expected
2024-02-13 20:03:32 +03:00
Sveta Smirnova
d07d6c00ff PT-2295 - Fix tests on distributions
- t/pt-online-schema-change/pt-169.t failure on CentOS7 and potential
  failures on other platforms, because cleanup did not propagate
  original error code
2024-02-13 20:03:32 +03:00
Sveta Smirnova
9819736156 PT-2295 - Fix tests on distributions
- disabled test 'Single column int key' in 8.0.35+ until
  https://bugs.mysql.com/bug.php?id=113892 is fixed
- Fixed data for 'Two column int key' test
2024-02-13 20:03:32 +03:00
Sveta Smirnova
a2209da449 PT-2295 - Fix tests on distributions
- Typos in pt-kill
2024-02-13 20:03:32 +03:00
Sveta Smirnova
91209b5837 PT-2233 - pt-k8s-debug-collector needs psql in the host node
- Adjusted test TestPT_2169, because it does not depend on port for
  --resource=pg anymore
2024-02-13 19:42:18 +03:00
dependabot[bot]
6e6b7466b7 Bump aquasecurity/trivy-action from 0.16.1 to 0.17.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.16.1...0.17.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 09:32:57 +00:00
dependabot[bot]
e2436af1c9 Bump actions/upload-artifact from 4.3.0 to 4.3.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 09:32:54 +00:00
dependabot[bot]
f1349c4980 Bump golang.org/x/crypto from 0.18.0 to 0.19.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 09:07:36 +00:00
Yoann La Cancellera
364c7fc54b pt-galera-log-explainer: update documentation 2024-02-09 12:12:29 +01:00
Yoann La Cancellera
3a5bde7c36 pt-galera-log-explainer: refactor operator detection 2024-02-09 12:12:29 +01:00
Yoann La Cancellera
dbf329ee23 pt-galera-log-explainer: add --skip-operator-detection 2024-02-09 12:12:29 +01:00
Yoann La Cancellera
2e1acd587e pt-galera-log-explainer: fix debug log formatting mismatch
"extrator" log was not using the same output format as the rest
beacuse it was initialized before main()
2024-02-09 12:12:29 +01:00
Yoann La Cancellera
d1459ce0bc pt-galera-log-explainer: Add pxc operator auto detection 2024-02-09 12:12:27 +01:00
Yoann La Cancellera
b15cdf2d68 Add: operators identified by podname, can merge
Merge happen when podname, deployment name and namespace match
2024-02-09 12:06:35 +01:00
Jobin Augustine
7400afe174 Additonally accomodated the review comments on PR : https://github.com/percona/percona-toolkit/pull/764, further simplified the code to remove the extra CASE switch 2024-02-08 11:51:39 +05:30