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

Investigate component conformance tests #3457

Closed
1 of 3 tasks
mikeee opened this issue Jun 22, 2024 · 2 comments
Closed
1 of 3 tasks

Investigate component conformance tests #3457

mikeee opened this issue Jun 22, 2024 · 2 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@mikeee
Copy link
Member

mikeee commented Jun 22, 2024

The last passing conformance test for all components was 4 months ago on the 12th of February.

Consistent failures are:

state.mysql.mysql

Running tests for TestStateConformance/state/mysql.mysql ... 
Source Pacakge:  github.com/dapr/components-contrib/state/mysql,github.com/dapr/components-contrib/common/component/sql
=== RUN   TestStateConformance
=== RUN   TestStateConformance/mysql.mysql
    state.go:100: Base key for test: 9b9981936d0a4c8e8c7d365408e9e800
=== RUN   TestStateConformance/mysql.mysql/init
time="2024-06-22T00:04:36.343217069Z" level=debug msg="Initializing MySql state store" instance=fv-az2036-733 scope=testLogger type=log ver=unknown
time="2024-06-22T00:04:36.343980749Z" level=error msg="dial tcp [::1]:3306: connect: connection refused" instance=fv-az2036-733 scope=testLogger type=log ver=unknown
    state.go:401: 
        	Error Trace:	/home/runner/work/components-contrib/components-contrib/tests/conformance/state/state.go:401
        	Error:      	Received unexpected error:
        	            	dial tcp [::1]:3306: connect: connection refused
        	Test:       	TestStateConformance/mysql.mysql/init
--- FAIL: TestStateConformance/mysql.mysql/init (0.00s)
    state.go:406: Init failed, stopping further tests
--- FAIL: TestStateConformance/mysql.mysql (0.00s)
--- FAIL: TestStateConformance (0.00s)
FAIL
coverage: 12.2% of statements in github.com/dapr/components-contrib/state/mysql, github.com/dapr/components-contrib/common/component/sql
FAIL	github.com/dapr/components-contrib/tests/conformance	0.038s

=== Failed
=== FAIL: tests/conformance TestStateConformance/mysql.mysql/init (0.00s)
time="2024-06-22T00:04:36.343217069Z" level=debug msg="Initializing MySql state store" instance=fv-az2036-733 scope=testLogger type=log ver=unknown
time="2024-06-22T00:04:36.343980749Z" level=error msg="dial tcp [::1]:3306: connect: connection refused" instance=fv-az2036-733 scope=testLogger type=log ver=unknown
    state.go:401: 
        	Error Trace:	/home/runner/work/components-contrib/components-contrib/tests/conformance/state/state.go:401
        	Error:      	Received unexpected error:
        	            	dial tcp [::1]:3306: connect: connection refused
        	Test:       	TestStateConformance/mysql.mysql/init

=== FAIL: tests/conformance TestStateConformance/mysql.mysql (0.00s)
    state.go:100: Base key for test: 9b9981936d0a4c8e8c7d365408e9e800
    state.go:406: Init failed, stopping further tests

=== FAIL: tests/conformance TestStateConformance (0.00s)

DONE 3 tests, 3 failures in 128.963s
Completed tests for TestStateConformance/state/mysql.mysql ... 
Setting CONFORMANCE_FAILURE

Release Note

RELEASE NOTE:

@mikeee mikeee added the kind/bug Something isn't working label Jun 22, 2024
@mikeee
Copy link
Member Author

mikeee commented Jun 22, 2024

/assign

@mikeee
Copy link
Member Author

mikeee commented Jun 25, 2024

The azure related components I am unable to test / the root cause would likely be resolved by a migration to use the azure sdk for go which I am unable to block out time for at the moment. Conformance tests minus the few azure issues seem fine for now so I'm closing this issue.

@mikeee mikeee closed this as completed Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant