-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.P-2Issues/test failures with a fix SLA of 3 monthsIssues/test failures with a fix SLA of 3 monthsT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)X-stalebranch-release-23.2.10-rcno-test-failure-activity
Milestone
Description
sql/pgwire.TestAuthenticationAndHBARules failed with artifacts on release-23.2.10-rc @ 4c8ca4cf727684f1f2acd54da6ff4cf60fdf6587:
HINT: consider using .ApplicationLayer().GetAdminHTTPClient() instead.
conditional_wrap.go:194: TIP: consider replacing the test server initialization from:
ts, ... := serverutils.StartServer(t, ...)
defer ts.Stopper().Stop(...)
to:
srv, ... := serverutils.StartServer(t, ...)
defer srv.Stopper().Stop(...)
ts := srv.ApplicationLayer()
See also: https://go.crdb.dev/p/testserver-and-cluster-virtualization
datadriven.go:144:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/1799/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/sql/pgwire/pgwire_test_/pgwire_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/pgwire/testdata/auth/special_cases:3:
config [1 args]
<no input to command>
----
datadriven.go:144:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/1799/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/sql/pgwire/pgwire_test_/pgwire_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/pgwire/testdata/auth/special_cases:6:
sql [0 args]
CREATE USER passworduser WITH PASSWORD 'pass'
----
ok
panic.go:523: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/28616e575ae934b92eba220441c7ca42/logTestAuthenticationAndHBARules_insecure=false_special_cases795626815
--- FAIL: TestAuthenticationAndHBARules/insecure=false/special_cases (1.26s)
=== RUN TestAuthenticationAndHBARules/insecure=false/special_cases/root_user_cannot_use_password
datadriven.go:259:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/1799/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/sql/pgwire/pgwire_test_/pgwire_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/pgwire/testdata/auth/special_cases:17:
set_hba [0 args]
host all root 0.0.0.0/0 password
----
# Active authentication configuration on this node:
# Original configuration:
# loopback all all all trust # built-in CockroachDB default
# host all root all cert-password # CockroachDB mandatory rule
# host all root 0.0.0.0/0 password
#
# Interpreted configuration:
# TYPE DATABASE USER ADDRESS METHOD OPTIONS
loopback all all all trust
host all root all cert-password
host all root 0.0.0.0/0 password
datadriven.go:259:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/1799/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/sql/pgwire/pgwire_test_/pgwire_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/pgwire/testdata/auth/special_cases:32:
expected:
ERROR: password authentication failed for user root (SQLSTATE 28P01)
found:
ERROR: pq: SSL is not enabled on the server
--- FAIL: TestAuthenticationAndHBARules/insecure=false/special_cases/root_user_cannot_use_password (0.01s)
Parameters:
TAGS=bazel,gssstress=true
Same failure on other branches
- sql/pgwire: TestAuthenticationAndHBARules failed #128765 sql/pgwire: TestAuthenticationAndHBARules failed [C-test-failure O-robot P-2 T-sql-foundations branch-release-23.2.9-rc]
- sql/pgwire: TestAuthenticationAndHBARules failed #128094 sql/pgwire: TestAuthenticationAndHBARules failed [C-test-failure O-robot P-2 T-sql-foundations branch-master]
- sql/pgwire: TestAuthenticationAndHBARules failed #127745 sql/pgwire: TestAuthenticationAndHBARules failed [C-test-failure O-robot P-2 T-sql-foundations branch-release-23.1]
- sql/pgwire: TestAuthenticationAndHBARules failed #126758 sql/pgwire: TestAuthenticationAndHBARules failed [C-test-failure O-robot P-2 T-sql-foundations branch-release-23.1.24-rc no-test-failure-activity]
- sql/pgwire: TestAuthenticationAndHBARules failed #126239 sql/pgwire: TestAuthenticationAndHBARules failed [C-test-failure O-robot P-2 T-sql-foundations branch-release-23.2]
This test on roachdash | Improve this report!
Jira issue: CRDB-41421
Metadata
Metadata
Assignees
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.P-2Issues/test failures with a fix SLA of 3 monthsIssues/test failures with a fix SLA of 3 monthsT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)X-stalebranch-release-23.2.10-rcno-test-failure-activity