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

MSSQL: Fix Integration Test #694

Merged
merged 14 commits into from
Jun 30, 2022
Merged

MSSQL: Fix Integration Test #694

merged 14 commits into from
Jun 30, 2022

Conversation

schmikei
Copy link
Collaborator

@schmikei schmikei commented Jun 27, 2022

These were not run during merge and because of open-telemetry/opentelemetry-collector-contrib#9691, they needed to become different types.

Apologies for not catching it sooner! Should unblock anything that was relying on this being fixed!

http://b/237276968

@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 27, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 27, 2022
@qingling128 qingling128 added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@schmikei schmikei marked this pull request as ready for review June 28, 2022 22:03
@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 28, 2022
@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 29, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 29, 2022
@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 29, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 29, 2022
@schmikei
Copy link
Collaborator Author

@qingling128 This should fix the MSSQL integration tests that were blocking the release. Seeing the current failures don't appear to be related. I can continue to run kokoro if you'd like to be sure but just let me know!

image

@schmikei schmikei changed the title (Ignore): debug mssql integration test Fix mssql integration test Jun 29, 2022
@schmikei schmikei changed the title Fix mssql integration test MSSQL: Fix Integration Test Jun 29, 2022
@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 29, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 29, 2022
Copy link
Contributor

@qingling128 qingling128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -38,11 +38,13 @@ expected_metrics:
monitored_resource: gce_instance
labels: {}
# v2 metrics
- type: workload.googleapis.com/sqlserver.user.connection.count # TODO: look into this metric type change
value_type: DOUBLE
- type: workload.googleapis.com/sqlserver.user.connection.count
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the records: we are ok with changing the expected type from DOUBLE to INT because the V2 mssql metrics was never released.

Copy link
Member

@igorpeshansky igorpeshansky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor stuff, otherwise LGTM.

Copy link
Member

@igorpeshansky igorpeshansky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :shipit:

@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 29, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 29, 2022
@schmikei schmikei added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 30, 2022
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 30, 2022
@igorpeshansky
Copy link
Member

igorpeshansky commented Jun 30, 2022

Both of the failed Kokoro checks (ops agent on windows and third_party tests on rockylinux8) were flakes. We had a successful run of the third_party tests, and I've double-checked that it included mssql:

    --- PASS: TestThirdPartyApps/sql-std-2019-win-2019/mssql (739.41s)

I'm going to merge this.

@igorpeshansky igorpeshansky merged commit 13708e7 into GoogleCloudPlatform:master Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants