Skip to content

[1.17] flakey certification tests - state.mysql #4180

@sicoyle

Description

@sicoyle
Running certification tests for state.mysql ... 
Source Package:  github.com/dapr/components-contrib/state/mysql,github.com/dapr/components-contrib/common/component/sql
FAIL
exit status 1
FAIL	github.com/dapr/components-contrib/tests/certification/state/mysql	91.882s

=== Failed
=== FAIL: state/mysql TestMySQL (91.86s)
    mysql_test.go:276: 
        	Error Trace:	/home/runner/work/components-contrib/components-contrib/tests/certification/state/mysql/mysql_test.go:276
        	            				/home/runner/work/components-contrib/components-contrib/tests/certification/flow/flow.go:227
        	Error:      	Not equal: 
        	            	expected: "driver: bad connection"
        	            	actual  : "dial tcp 127.0.0.1:3307: connect: connection refused"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-driver: bad connection
        	            	+dial tcp 127.0.0.1:3307: connect: connection refused
        	Test:       	TestMySQL
    mysql_test.go:276: 
        	Error Trace:	/home/runner/work/components-contrib/components-contrib/tests/certification/state/mysql/mysql_test.go:276
        	            				/home/runner/work/components-contrib/components-contrib/tests/certification/flow/flow.go:227
        	Error:      	Not equal: 
        	            	expected: "driver: bad connection"
        	            	actual  : "dial tcp 127.0.0.1:3306: connect: connection refused"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-driver: bad connection
        	            	+dial tcp 127.0.0.1:3306: connect: connection refused
        	Test:       	TestMySQL
    flow.go:220: Running step: db
    dockercompose.go:59: time="2026-01-15T22:07:26Z" level=warning msg="/home/runner/work/components-contrib/components-contrib/tests/certification/state/mysql/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
         mariadb Pulling 
         mysql Pulling 
         7e49dc6156b0 Pulling fs layer 
         9629f042e43d Pulling fs layer 
         62c1a43ca7d9 Pulling fs layer 
         2540807a6100 Pulling fs layer 
         892acd9bdcf5 Pulling fs layer 
         0aa9032ee110 Pulling fs layer 
         96d7347ba317 Pulling fs layer 
         cffdfa9765de Pulling fs layer 
         2540807a6100 Waiting 
         892acd9bdcf5 Waiting 

RELEASE NOTE: FIX: Bug in state.mysql certification tests

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions