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

Bump intents operator dependency for Bugfix: solve 'Invalid signature' error on AWS IAM Roles Anywhere #168

Merged
merged 2 commits into from
Nov 27, 2024

Go mod tidy

6bd4992
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Bump intents operator dependency for Bugfix: solve 'Invalid signature' error on AWS IAM Roles Anywhere #168

Go mod tidy
6bd4992
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test report - MySQL integrations succeeded Nov 27, 2024 in 0s

0 passed, 6 failed and 0 skipped

Tests failed

❌ /tmp/test_report.xml

6 tests were completed in 600s with 0 passed, 6 failed and 0 skipped.

Test suite Passed Failed Skipped Time
helm_tests/databases/mysql 6❌ 600s
helm_tests/databases/mysql/client 0ms

❌ helm_tests/databases/mysql

❌ TestMySQLEnforcementTestSuite
	time="2024-11-27T12:37:14Z" level=info msg="Using kubeconfig" kubeconfig=/home/runner/.kube/config
❌ TestMySQLEnforcementTestSuite/TestAddSelectAndInsertPermissionsForDB
	time="2024-11-27T12:37:37Z" level=info msg="Creating test namespace"
❌ TestMySQLEnforcementTestSuite/TestAddSelectAndInsertPermissionsWithSecretRefPermissions
	time="2024-11-27T12:39:47Z" level=info msg="Creating test namespace"
❌ TestMySQLEnforcementTestSuite/TestInsertPermissionWithoutSelect
	time="2024-11-27T12:41:58Z" level=info msg="Creating test namespace"
❌ TestMySQLEnforcementTestSuite/TestSelectPermissionWithoutInsert
	time="2024-11-27T12:44:08Z" level=info msg="Creating test namespace"
❌ TestMySQLEnforcementTestSuite/TestWorkloadFailsToAccessDatabase
	time="2024-11-27T12:46:18Z" level=info msg="Creating test namespace"

Annotations

Check failure on line 0 in /tmp/test_report.xml

See this annotation in the file changed.

@github-actions github-actions / Test report - MySQL integrations

helm_tests/databases/mysql ► TestMySQLEnforcementTestSuite

Failed test found in:
  /tmp/test_report.xml
Error:
  time="2024-11-27T12:37:14Z" level=info msg="Using kubeconfig" kubeconfig=/home/runner/.kube/config
Raw output
time="2024-11-27T12:37:14Z" level=info msg="Using kubeconfig" kubeconfig=/home/runner/.kube/config
time="2024-11-27T12:37:14Z" level=info msg="Loaded helm chart" chart=otterize-kubernetes
time="2024-11-27T12:37:14Z" level=info msg="Installing otterize helm chart" namespace=otterize-system values="map[credentialsOperator:map[debug:true operator:map[image:credentials-operator pullPolicy:Never repository:us-central1-docker.pkg.dev/main-383408/otterize tag:e24008231ba930b7858027237f96eabf8adffe4f]] global:map[deployment:map[networkMapper:false] telemetry:map[enabled:false]] intentsOperator:map[debug:true]]"
time="2024-11-27T12:37:14Z" level=debug msg="creating 1 resource(s)"
time="2024-11-27T12:37:14Z" level=debug msg="creating 25 resource(s)"
time="2024-11-27T12:37:15Z" level=debug msg="beginning wait for 25 resources with timeout of 2m0s"
time="2024-11-27T12:37:15Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:17Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:19Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:21Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:23Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:25Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:27Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:29Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:31Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:33Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:35Z" level=debug msg="Deployment is not ready: otterize-system/credentials-operator-controller-manager. 0 out of 1 expected pods are ready"
time="2024-11-27T12:37:37Z" level=info msg="Otterize helm chart installed"

Check failure on line 0 in /tmp/test_report.xml

See this annotation in the file changed.

@github-actions github-actions / Test report - MySQL integrations

helm_tests/databases/mysql ► TestMySQLEnforcementTestSuite/TestAddSelectAndInsertPermissionsForDB

Failed test found in:
  /tmp/test_report.xml
Error:
  time="2024-11-27T12:37:37Z" level=info msg="Creating test namespace"
Raw output
time="2024-11-27T12:37:37Z" level=info msg="Creating test namespace"
time="2024-11-27T12:37:37Z" level=info msg="Creating namespace" namespace=mysql-integration-test-1732711057
time="2024-11-27T12:37:37Z" level=info msg="Deploying MySQL database pod & service"
time="2024-11-27T12:37:37Z" level=info msg="Creating deployment" deployment=otterize-mysql namespace=mysql-integration-test-1732711057
time="2024-11-27T12:37:37Z" level=info msg="Waiting for deployment availability" deployment=otterize-mysql namespace=mysql-integration-test-1732711057
time="2024-11-27T12:37:37Z" level=debug msg="Deployment changed" name=otterize-mysql type=ADDED
time="2024-11-27T12:37:37Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:37:37Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:37:37Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:38:03Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:38:03Z" level=info msg="Deployment is ready" deployment=otterize-mysql namespace=mysql-integration-test-1732711057
time="2024-11-27T12:38:03Z" level=info msg="Creating service" namespace=mysql-integration-test-1732711057 service=otterize-database
time="2024-11-27T12:38:03Z" level=info msg="Spawning job to create a test table in the database"
time="2024-11-27T12:38:03Z" level=info msg="Creating job" job=create-table-job namespace=mysql-integration-test-1732711057
time="2024-11-27T12:38:03Z" level=info msg="Waiting for job completion" job=create-table-job namespace=mysql-integration-test-1732711057
time="2024-11-27T12:38:03Z" level=debug msg="Job changed" name=create-table-job type=ADDED
time="2024-11-27T12:38:03Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:38:06Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:38:06Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:38:06Z" level=info msg="Job is completed" job=create-table-job namespace=mysql-integration-test-1732711057
time="2024-11-27T12:38:06Z" level=info msg="Deploying mysql client pod"
time="2024-11-27T12:38:06Z" level=info msg="Creating deployment" deployment=mysql-client namespace=mysql-integration-test-1732711057
time="2024-11-27T12:38:06Z" level=info msg="Waiting for deployment availability" deployment=mysql-client namespace=mysql-integration-test-1732711057
time="2024-11-27T12:38:06Z" level=debug msg="Deployment changed" name=mysql-client type=ADDED
time="2024-11-27T12:38:06Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:38:06Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:38:06Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:39:37Z" level=error msg="Deployment is not ready and wait time exceeded" deployment=mysql-client namespace=mysql-integration-test-1732711057
    base_suite.go:303: 
        	Error Trace:	/home/runner/work/credentials-operator/credentials-operator/tests/base_suite.go:303
        	            				/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:284
        	            				/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:73
        	            				/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.9.0/suite/suite.go:192
        	Error:      	Deployment is not ready and wait time exceeded
        	Test:       	TestMySQLEnforcementTestSuite/TestAddSelectAndInsertPermissionsForDB
time="2024-11-27T12:39:37Z" level=info msg="Deleting namespace" namespace=mysql-integration-test-1732711057
time="2024-11-27T12:39:37Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711057 type=ADDED
time="2024-11-27T12:39:42Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711057 type=MODIFIED
time="2024-11-27T12:39:47Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711057 type=MODIFIED
time="2024-11-27T12:39:47Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711057 type=DELETED
time="2024-11-27T12:39:47Z" level=info msg="Namespace deleted" namespace=mysql-integration-test-1732711057

Check failure on line 0 in /tmp/test_report.xml

See this annotation in the file changed.

@github-actions github-actions / Test report - MySQL integrations

helm_tests/databases/mysql ► TestMySQLEnforcementTestSuite/TestAddSelectAndInsertPermissionsWithSecretRefPermissions

Failed test found in:
  /tmp/test_report.xml
Error:
  time="2024-11-27T12:39:47Z" level=info msg="Creating test namespace"
Raw output
time="2024-11-27T12:39:47Z" level=info msg="Creating test namespace"
time="2024-11-27T12:39:47Z" level=info msg="Creating namespace" namespace=mysql-integration-test-1732711187
time="2024-11-27T12:39:47Z" level=info msg="Deploying MySQL database pod & service"
time="2024-11-27T12:39:47Z" level=info msg="Creating deployment" deployment=otterize-mysql namespace=mysql-integration-test-1732711187
time="2024-11-27T12:39:47Z" level=info msg="Waiting for deployment availability" deployment=otterize-mysql namespace=mysql-integration-test-1732711187
time="2024-11-27T12:39:47Z" level=debug msg="Deployment changed" name=otterize-mysql type=ADDED
time="2024-11-27T12:39:47Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:39:47Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:39:47Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:39:55Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:39:55Z" level=info msg="Deployment is ready" deployment=otterize-mysql namespace=mysql-integration-test-1732711187
time="2024-11-27T12:39:55Z" level=info msg="Creating service" namespace=mysql-integration-test-1732711187 service=otterize-database
time="2024-11-27T12:39:55Z" level=info msg="Spawning job to create a test table in the database"
time="2024-11-27T12:39:55Z" level=info msg="Creating job" job=create-table-job namespace=mysql-integration-test-1732711187
time="2024-11-27T12:39:55Z" level=info msg="Waiting for job completion" job=create-table-job namespace=mysql-integration-test-1732711187
time="2024-11-27T12:39:55Z" level=debug msg="Job changed" name=create-table-job type=ADDED
time="2024-11-27T12:39:55Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:39:58Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:39:58Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:39:58Z" level=info msg="Job is completed" job=create-table-job namespace=mysql-integration-test-1732711187
time="2024-11-27T12:39:58Z" level=info msg="Deploying mysql client pod"
time="2024-11-27T12:39:58Z" level=info msg="Creating deployment" deployment=mysql-client namespace=mysql-integration-test-1732711187
time="2024-11-27T12:39:58Z" level=info msg="Waiting for deployment availability" deployment=mysql-client namespace=mysql-integration-test-1732711187
time="2024-11-27T12:39:58Z" level=debug msg="Deployment changed" name=mysql-client type=ADDED
time="2024-11-27T12:39:58Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:39:58Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:39:58Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:41:47Z" level=error msg="Deployment is not ready and wait time exceeded" deployment=mysql-client namespace=mysql-integration-test-1732711187
    base_suite.go:303: 
        	Error Trace:	/home/runner/work/credentials-operator/credentials-operator/tests/base_suite.go:303
        	            				/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:284
        	            				/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:73
        	            				/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.9.0/suite/suite.go:192
        	Error:      	Deployment is not ready and wait time exceeded
        	Test:       	TestMySQLEnforcementTestSuite/TestAddSelectAndInsertPermissionsWithSecretRefPermissions
time="2024-11-27T12:41:47Z" level=info msg="Deleting namespace" namespace=mysql-integration-test-1732711187
time="2024-11-27T12:41:47Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711187 type=ADDED
time="2024-11-27T12:41:52Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711187 type=MODIFIED
time="2024-11-27T12:41:58Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711187 type=MODIFIED
time="2024-11-27T12:41:58Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711187 type=DELETED
time="2024-11-27T12:41:58Z" level=info msg="Namespace deleted" namespace=mysql-integration-test-1732711187

Check failure on line 0 in /tmp/test_report.xml

See this annotation in the file changed.

@github-actions github-actions / Test report - MySQL integrations

helm_tests/databases/mysql ► TestMySQLEnforcementTestSuite/TestInsertPermissionWithoutSelect

Failed test found in:
  /tmp/test_report.xml
Error:
  time="2024-11-27T12:41:58Z" level=info msg="Creating test namespace"
Raw output
time="2024-11-27T12:41:58Z" level=info msg="Creating test namespace"
time="2024-11-27T12:41:58Z" level=info msg="Creating namespace" namespace=mysql-integration-test-1732711318
time="2024-11-27T12:41:58Z" level=info msg="Deploying MySQL database pod & service"
time="2024-11-27T12:41:58Z" level=info msg="Creating deployment" deployment=otterize-mysql namespace=mysql-integration-test-1732711318
time="2024-11-27T12:41:58Z" level=info msg="Waiting for deployment availability" deployment=otterize-mysql namespace=mysql-integration-test-1732711318
time="2024-11-27T12:41:58Z" level=debug msg="Deployment changed" name=otterize-mysql type=ADDED
time="2024-11-27T12:41:58Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:41:58Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:41:58Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:42:14Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:42:14Z" level=info msg="Deployment is ready" deployment=otterize-mysql namespace=mysql-integration-test-1732711318
time="2024-11-27T12:42:14Z" level=info msg="Creating service" namespace=mysql-integration-test-1732711318 service=otterize-database
time="2024-11-27T12:42:14Z" level=info msg="Spawning job to create a test table in the database"
time="2024-11-27T12:42:14Z" level=info msg="Creating job" job=create-table-job namespace=mysql-integration-test-1732711318
time="2024-11-27T12:42:14Z" level=info msg="Waiting for job completion" job=create-table-job namespace=mysql-integration-test-1732711318
time="2024-11-27T12:42:14Z" level=debug msg="Job changed" name=create-table-job type=ADDED
time="2024-11-27T12:42:14Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:42:18Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:42:18Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:42:18Z" level=info msg="Job is completed" job=create-table-job namespace=mysql-integration-test-1732711318
time="2024-11-27T12:42:18Z" level=info msg="Deploying mysql client pod"
time="2024-11-27T12:42:18Z" level=info msg="Creating deployment" deployment=mysql-client namespace=mysql-integration-test-1732711318
time="2024-11-27T12:42:18Z" level=info msg="Waiting for deployment availability" deployment=mysql-client namespace=mysql-integration-test-1732711318
time="2024-11-27T12:42:18Z" level=debug msg="Deployment changed" name=mysql-client type=ADDED
time="2024-11-27T12:42:18Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:42:18Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:42:18Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:43:58Z" level=error msg="Deployment is not ready and wait time exceeded" deployment=mysql-client namespace=mysql-integration-test-1732711318
    base_suite.go:303: 
        	Error Trace:	/home/runner/work/credentials-operator/credentials-operator/tests/base_suite.go:303
        	            				/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:284
        	            				/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:73
        	            				/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.9.0/suite/suite.go:192
        	Error:      	Deployment is not ready and wait time exceeded
        	Test:       	TestMySQLEnforcementTestSuite/TestInsertPermissionWithoutSelect
time="2024-11-27T12:43:58Z" level=info msg="Deleting namespace" namespace=mysql-integration-test-1732711318
time="2024-11-27T12:43:58Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711318 type=ADDED
time="2024-11-27T12:44:03Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711318 type=MODIFIED
time="2024-11-27T12:44:08Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711318 type=MODIFIED
time="2024-11-27T12:44:08Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711318 type=DELETED
time="2024-11-27T12:44:08Z" level=info msg="Namespace deleted" namespace=mysql-integration-test-1732711318

Check failure on line 0 in /tmp/test_report.xml

See this annotation in the file changed.

@github-actions github-actions / Test report - MySQL integrations

helm_tests/databases/mysql ► TestMySQLEnforcementTestSuite/TestSelectPermissionWithoutInsert

Failed test found in:
  /tmp/test_report.xml
Error:
  time="2024-11-27T12:44:08Z" level=info msg="Creating test namespace"
Raw output
time="2024-11-27T12:44:08Z" level=info msg="Creating test namespace"
time="2024-11-27T12:44:08Z" level=info msg="Creating namespace" namespace=mysql-integration-test-1732711448
time="2024-11-27T12:44:08Z" level=info msg="Deploying MySQL database pod & service"
time="2024-11-27T12:44:08Z" level=info msg="Creating deployment" deployment=otterize-mysql namespace=mysql-integration-test-1732711448
time="2024-11-27T12:44:08Z" level=info msg="Waiting for deployment availability" deployment=otterize-mysql namespace=mysql-integration-test-1732711448
time="2024-11-27T12:44:08Z" level=debug msg="Deployment changed" name=otterize-mysql type=ADDED
time="2024-11-27T12:44:08Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:44:08Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:44:08Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:44:16Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:44:16Z" level=info msg="Deployment is ready" deployment=otterize-mysql namespace=mysql-integration-test-1732711448
time="2024-11-27T12:44:16Z" level=info msg="Creating service" namespace=mysql-integration-test-1732711448 service=otterize-database
time="2024-11-27T12:44:16Z" level=info msg="Spawning job to create a test table in the database"
time="2024-11-27T12:44:16Z" level=info msg="Creating job" job=create-table-job namespace=mysql-integration-test-1732711448
time="2024-11-27T12:44:16Z" level=info msg="Waiting for job completion" job=create-table-job namespace=mysql-integration-test-1732711448
time="2024-11-27T12:44:16Z" level=debug msg="Job changed" name=create-table-job type=ADDED
time="2024-11-27T12:44:16Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:44:18Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:44:18Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:44:18Z" level=info msg="Job is completed" job=create-table-job namespace=mysql-integration-test-1732711448
time="2024-11-27T12:44:18Z" level=info msg="Deploying mysql client pod"
time="2024-11-27T12:44:18Z" level=info msg="Creating deployment" deployment=mysql-client namespace=mysql-integration-test-1732711448
time="2024-11-27T12:44:18Z" level=info msg="Waiting for deployment availability" deployment=mysql-client namespace=mysql-integration-test-1732711448
time="2024-11-27T12:44:18Z" level=debug msg="Deployment changed" name=mysql-client type=ADDED
time="2024-11-27T12:44:18Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:44:18Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:44:19Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:46:08Z" level=error msg="Deployment is not ready and wait time exceeded" deployment=mysql-client namespace=mysql-integration-test-1732711448
    base_suite.go:303: 
        	Error Trace:	/home/runner/work/credentials-operator/credentials-operator/tests/base_suite.go:303
        	            				/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:284
        	            				/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:73
        	            				/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.9.0/suite/suite.go:192
        	Error:      	Deployment is not ready and wait time exceeded
        	Test:       	TestMySQLEnforcementTestSuite/TestSelectPermissionWithoutInsert
time="2024-11-27T12:46:08Z" level=info msg="Deleting namespace" namespace=mysql-integration-test-1732711448
time="2024-11-27T12:46:08Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711448 type=ADDED
time="2024-11-27T12:46:13Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711448 type=MODIFIED
time="2024-11-27T12:46:18Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711448 type=MODIFIED
time="2024-11-27T12:46:18Z" level=debug msg="Namespace changed" namespace=mysql-integration-test-1732711448 type=DELETED
time="2024-11-27T12:46:18Z" level=info msg="Namespace deleted" namespace=mysql-integration-test-1732711448

Check failure on line 0 in /tmp/test_report.xml

See this annotation in the file changed.

@github-actions github-actions / Test report - MySQL integrations

helm_tests/databases/mysql ► TestMySQLEnforcementTestSuite/TestWorkloadFailsToAccessDatabase

Failed test found in:
  /tmp/test_report.xml
Error:
  time="2024-11-27T12:46:18Z" level=info msg="Creating test namespace"
Raw output
time="2024-11-27T12:46:18Z" level=info msg="Creating test namespace"
time="2024-11-27T12:46:18Z" level=info msg="Creating namespace" namespace=mysql-integration-test-1732711578
time="2024-11-27T12:46:19Z" level=info msg="Deploying MySQL database pod & service"
time="2024-11-27T12:46:19Z" level=info msg="Creating deployment" deployment=otterize-mysql namespace=mysql-integration-test-1732711578
time="2024-11-27T12:46:19Z" level=info msg="Waiting for deployment availability" deployment=otterize-mysql namespace=mysql-integration-test-1732711578
time="2024-11-27T12:46:19Z" level=debug msg="Deployment changed" name=otterize-mysql type=ADDED
time="2024-11-27T12:46:19Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:46:19Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:46:19Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:46:35Z" level=debug msg="Deployment changed" name=otterize-mysql type=MODIFIED
time="2024-11-27T12:46:35Z" level=info msg="Deployment is ready" deployment=otterize-mysql namespace=mysql-integration-test-1732711578
time="2024-11-27T12:46:35Z" level=info msg="Creating service" namespace=mysql-integration-test-1732711578 service=otterize-database
time="2024-11-27T12:46:35Z" level=info msg="Spawning job to create a test table in the database"
time="2024-11-27T12:46:35Z" level=info msg="Creating job" job=create-table-job namespace=mysql-integration-test-1732711578
time="2024-11-27T12:46:35Z" level=info msg="Waiting for job completion" job=create-table-job namespace=mysql-integration-test-1732711578
time="2024-11-27T12:46:35Z" level=debug msg="Job changed" name=create-table-job type=ADDED
time="2024-11-27T12:46:35Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:46:38Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:46:38Z" level=debug msg="Job changed" name=create-table-job type=MODIFIED
time="2024-11-27T12:46:38Z" level=info msg="Job is completed" job=create-table-job namespace=mysql-integration-test-1732711578
time="2024-11-27T12:46:38Z" level=info msg="Deploying mysql client pod"
time="2024-11-27T12:46:38Z" level=info msg="Creating deployment" deployment=mysql-client namespace=mysql-integration-test-1732711578
time="2024-11-27T12:46:38Z" level=info msg="Waiting for deployment availability" deployment=mysql-client namespace=mysql-integration-test-1732711578
time="2024-11-27T12:46:38Z" level=debug msg="Deployment changed" name=mysql-client type=ADDED
time="2024-11-27T12:46:38Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:46:38Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
time="2024-11-27T12:46:38Z" level=debug msg="Deployment changed" name=mysql-client type=MODIFIED
panic: test timed out after 10m0s
	running tests:
		TestMySQLEnforcementTestSuite (10m0s)
		TestMySQLEnforcementTestSuite/TestWorkloadFailsToAccessDatabase (55s)

goroutine 921 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:2373 +0x385
created by time.goFunc
	/opt/hostedtoolcache/go/1.23.1/x64/src/time/sleep.go:215 +0x2d

goroutine 1 [chan receive, 10 minutes]:
testing.(*T).Run(0xc0000e9520, {0x2fb8ba9?, 0x0?}, 0x30c4608)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:1751 +0x3ab
testing.runTests.func1(0xc0000e9520)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:2168 +0x37
testing.tRunner(0xc0000e9520, 0xc000687c70)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:1690 +0xf4
testing.runTests(0xc00053c780, {0x44b5fb0, 0x1, 0x1}, {0x102d930?, 0x102d59a?, 0x45c6480?})
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:2166 +0x43d
testing.(*M).Run(0xc000694c80)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:2034 +0x64a
main.main()
	_testmain.go:45 +0x9b

goroutine 29 [chan receive]:
testing.(*T).Run(0xc0000e9d40, {0x2a4dacf?, 0x24cbeef?}, 0xc000960b40)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:1751 +0x3ab
github.com/stretchr/testify/suite.runTests({0x331e950, 0xc0000e9d40}, {0xc000434180?, 0x5?, 0x8?})
	/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.9.0/suite/suite.go:247 +0xef
github.com/stretchr/testify/suite.Run(0xc0000e9d40, {0x32f7798, 0xc00020b320})
	/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.9.0/suite/suite.go:220 +0x486
helm_tests/databases/mysql.TestMySQLEnforcementTestSuite(0xc0000e9d40)
	/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:450 +0x33
testing.tRunner(0xc0000e9d40, 0x30c4608)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:1690 +0xf4
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:1743 +0x390

goroutine 30 [chan receive]:
k8s.io/client-go/util/workqueue.(*Type).updateUnfinishedWorkLoop(0xc00045c420)
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/util/workqueue/queue.go:281 +0x8d
created by k8s.io/client-go/util/workqueue.newQueue in goroutine 29
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/util/workqueue/queue.go:106 +0x1a5

goroutine 31 [select]:
k8s.io/client-go/util/workqueue.(*delayingType).waitingLoop(0xc00045c540)
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/util/workqueue/delaying_queue.go:276 +0x2ff
created by k8s.io/client-go/util/workqueue.newDelayingQueue in goroutine 29
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/util/workqueue/delaying_queue.go:113 +0x205

goroutine 32 [chan receive, 10 minutes]:
k8s.io/client-go/transport.(*dynamicClientCert).Run(0xc0003edf00, 0xc000516380)
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/transport/cert_rotation.go:147 +0x289
created by k8s.io/client-go/transport.(*tlsTransportCache).get in goroutine 29
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/transport/cache.go:122 +0x569

goroutine 40 [sync.Cond.Wait, 5 minutes]:
sync.runtime_notifyListWait(0xc0003ede50, 0x1)
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/sema.go:587 +0x159
sync.(*Cond).Wait(0x2afc0e0?)
	/opt/hostedtoolcache/go/1.23.1/x64/src/sync/cond.go:71 +0x85
k8s.io/client-go/util/workqueue.(*Type).Get(0xc00045c420)
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/util/workqueue/queue.go:200 +0x85
k8s.io/client-go/transport.(*dynamicClientCert).processNextWorkItem(0xc0003edf00)
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/transport/cert_rotation.go:156 +0x47
k8s.io/client-go/transport.(*dynamicClientCert).runWorker(...)
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/transport/cert_rotation.go:151
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x30?)
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/backoff.go:226 +0x33
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc0000705f0, {0x32e99c0, 0xc000782630}, 0x1, 0xc000516380)
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/backoff.go:227 +0xaf
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc0000705f0, 0x3b9aca00, 0x0, 0x1, 0xc000516380)
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/backoff.go:204 +0x7f
k8s.io/apimachinery/pkg/util/wait.Until(...)
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/backoff.go:161
created by k8s.io/client-go/transport.(*dynamicClientCert).Run in goroutine 32
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/transport/cert_rotation.go:140 +0x1cf

goroutine 41 [select, 5 minutes]:
k8s.io/apimachinery/pkg/util/wait.waitForWithContext({0x3308d28, 0xc000516380}, 0xc000639f50, 0xc000639f98)
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/wait.go:205 +0xd1
k8s.io/apimachinery/pkg/util/wait.poll({0x3308d28, 0xc000516380}, 0x0?, 0xc000639f50, 0xc000639f98)
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/poll.go:260 +0x89
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext({0x3308d28?, 0xc000516380?}, 0x0?, 0x0?)
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/poll.go:200 +0x45
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntil(0x0?, 0x0?, 0x0?)
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/poll.go:187 +0x36
created by k8s.io/client-go/transport.(*dynamicClientCert).Run in goroutine 32
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/transport/cert_rotation.go:142 +0x27a

goroutine 42 [select, 5 minutes]:
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext.poller.func1.1()
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/poll.go:297 +0x19b
created by k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext.poller.func1 in goroutine 41
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/wait/poll.go:280 +0xbb

goroutine 69 [IO wait]:
internal/poll.runtime_pollWait(0x7ff3e6946f08, 0x72)
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/netpoll.go:351 +0x85
internal/poll.(*pollDesc).wait(0xc000507800?, 0xc0007ee000?, 0x0)
	/opt/hostedtoolcache/go/1.23.1/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.23.1/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000507800, {0xc0007ee000, 0xa000, 0xa000})
	/opt/hostedtoolcache/go/1.23.1/x64/src/internal/poll/fd_unix.go:165 +0x27a
net.(*netFD).Read(0xc000507800, {0xc0007ee000?, 0x10?, 0xc0006368a0?})
	/opt/hostedtoolcache/go/1.23.1/x64/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc00068c000, {0xc0007ee000?, 0xc0007ee005?, 0x22?})
	/opt/hostedtoolcache/go/1.23.1/x64/src/net/net.go:189 +0x45
crypto/tls.(*atLeastReader).Read(0xc00085edb0, {0xc0007ee000?, 0x0?, 0xc00085edb0?})
	/opt/hostedtoolcache/go/1.23.1/x64/src/crypto/tls/conn.go:809 +0x3b
bytes.(*Buffer).ReadFrom(0xc0006222b8, {0x32e8120, 0xc00085edb0})
	/opt/hostedtoolcache/go/1.23.1/x64/src/bytes/buffer.go:211 +0x98
crypto/tls.(*Conn).readFromUntil(0xc000622008, {0x7ff3e45db558, 0xc0006ce000}, 0xc000636a10?)
	/opt/hostedtoolcache/go/1.23.1/x64/src/crypto/tls/conn.go:831 +0xde
crypto/tls.(*Conn).readRecordOrCCS(0xc000622008, 0x0)
	/opt/hostedtoolcache/go/1.23.1/x64/src/crypto/tls/conn.go:629 +0x3cf
crypto/tls.(*Conn).readRecord(...)
	/opt/hostedtoolcache/go/1.23.1/x64/src/crypto/tls/conn.go:591
crypto/tls.(*Conn).Read(0xc000622008, {0xc000449000, 0x1000, 0x2?})
	/opt/hostedtoolcache/go/1.23.1/x64/src/crypto/tls/conn.go:1385 +0x150
bufio.(*Reader).Read(0xc000432600, {0xc0002ec200, 0x9, 0xc000696380?})
	/opt/hostedtoolcache/go/1.23.1/x64/src/bufio/bufio.go:241 +0x197
io.ReadAtLeast({0x32e6880, 0xc000432600}, {0xc0002ec200, 0x9, 0x9}, 0x9)
	/opt/hostedtoolcache/go/1.23.1/x64/src/io/io.go:335 +0x90
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.23.1/x64/src/io/io.go:354
golang.org/x/net/http2.readFrameHeader({0xc0002ec200, 0x9, 0x15e7c1e?}, {0x32e6880?, 0xc000432600?})
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/frame.go:237 +0x65
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0002ec1c0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/frame.go:501 +0x85
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc000636fa8)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/transport.go:2358 +0xda
golang.org/x/net/http2.(*ClientConn).readLoop(0xc000534000)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/transport.go:2254 +0x7c
created by golang.org/x/net/http2.(*Transport).newClientConn in goroutine 68
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/transport.go:869 +0xd1b

goroutine 918 [select]:
golang.org/x/net/http2.(*clientStream).writeRequest(0xc0006a4000, 0xc000499540, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/transport.go:1536 +0xa65
golang.org/x/net/http2.(*clientStream).doRequest(0xc0006a4000, 0x15f1fe5?, 0xc0003ecf80?)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/transport.go:1414 +0x56
created by golang.org/x/net/http2.(*ClientConn).roundTrip in goroutine 930
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/transport.go:1319 +0x3d8

goroutine 913 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc0006a4048, 0x4)
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/sema.go:587 +0x159
sync.(*Cond).Wait(0x2?)
	/opt/hostedtoolcache/go/1.23.1/x64/src/sync/cond.go:71 +0x85
golang.org/x/net/http2.(*pipe).Read(0xc0006a4030, {0xc00062a001, 0x1dff, 0x1dff})
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/pipe.go:76 +0xd6
golang.org/x/net/http2.transportResponseBody.Read({0x102a71d?}, {0xc00062a001?, 0xeb2?, 0x1000?})
	/home/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/transport.go:2641 +0x65
encoding/json.(*Decoder).refill(0xc00025b040)
	/opt/hostedtoolcache/go/1.23.1/x64/src/encoding/json/stream.go:165 +0x188
encoding/json.(*Decoder).readValue(0xc00025b040)
	/opt/hostedtoolcache/go/1.23.1/x64/src/encoding/json/stream.go:140 +0x85
encoding/json.(*Decoder).Decode(0xc00025b040, {0x2c87120, 0xc0008daa98})
	/opt/hostedtoolcache/go/1.23.1/x64/src/encoding/json/stream.go:63 +0x75
k8s.io/apimachinery/pkg/util/framer.(*jsonFrameReader).Read(0xc000b8e1e0, {0xc0000f8000, 0x1000, 0x1500})
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/util/framer/framer.go:152 +0x19c
k8s.io/apimachinery/pkg/runtime/serializer/streaming.(*decoder).Decode(0xc0005d0410, 0x0, {0x32f0090, 0xc000599140})
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/runtime/serializer/streaming/streaming.go:77 +0xa3
k8s.io/client-go/rest/watch.(*Decoder).Decode(0xc000a5ea20)
	/home/runner/go/pkg/mod/k8s.io/client-go@v0.29.0/rest/watch/decoder.go:49 +0x4b
k8s.io/apimachinery/pkg/watch.(*StreamWatcher).receive(0xc000599000)
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/watch/streamwatcher.go:105 +0xc7
created by k8s.io/apimachinery/pkg/watch.NewStreamWatcher in goroutine 930
	/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.30.0/pkg/watch/streamwatcher.go:76 +0x105

goroutine 930 [chan receive]:
helm_tests.(*BaseSuite).WaitForDeploymentAvailability(0xc00020b320, {0x3308290, 0xc000590d20}, {0xc000a14b10, 0x21}, {0x2f935cc, 0xc})
	/home/runner/work/credentials-operator/credentials-operator/tests/base_suite.go:284 +0x374
helm_tests/databases/mysql.(*MySQLTestSuite).deployDatabaseClient(0xc00020b320, {0x3308290, 0xc000590d20})
	/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:284 +0x4d4
helm_tests/databases/mysql.(*MySQLTestSuite).SetupTest(0xc00020b320)
	/home/runner/work/credentials-operator/credentials-operator/tests/databases/mysql/mysql_test.go:73 +0x21f
github.com/stretchr/testify/suite.Run.func1(0xc00052f520)
	/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.9.0/suite/suite.go:192 +0x1e5
testing.tRunner(0xc00052f520, 0xc000960b40)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:1690 +0xf4
created by testing.(*T).Run in goroutine 29
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:1743 +0x390