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

Airbyte-ci: Remove gradle task connectorAcceptanceTest #30326

Merged

Conversation

bnchrch
Copy link
Contributor

@bnchrch bnchrch commented Sep 11, 2023

What

We no longer need or support running the connectorAcceptanceTest gradle task to run CAT tests.

And having this test around is causing failures in some connector test builds

(closes #30306)
(blocked by #30461

How

So lets remove it

  1. Removes connectorAcceptanceTest as a gradle command
  2. Removes airbyte-connector-acceptance-test plugin from all gradle files
  3. Remove -x connectorAcceptanceTest from airbyte-ci

@bnchrch bnchrch requested review from a team September 11, 2023 21:58
@bnchrch bnchrch requested a review from a team as a code owner September 11, 2023 21:58
@octavia-squidington-iii octavia-squidington-iii added the area/connectors Connector related issues label Sep 11, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 11, 2023

Before Merging a Connector Pull Request

Wow! What a great pull request you have here! 🎉

To merge this PR, ensure the following has been done/considered for each connector added or updated:

  • PR name follows PR naming conventions
  • Breaking changes are considered. If a Breaking Change is being introduced, ensure an Airbyte engineer has created a Breaking Change Plan.
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • You've updated the connector's metadata.yaml file any other relevant changes, including a breakingChanges entry for major version bumps. See metadata.yaml docs
  • Secrets in the connector's spec are annotated with airbyte_secret
  • All documentation files are up to date. (README.md, bootstrap.md, docs.md, etc...)
  • Changelog updated in docs/integrations/<source or destination>/<name>.md with an entry for the new version. See changelog example
  • Migration guide updated in docs/integrations/<source or destination>/<name>-migrations.md with an entry for the new version, if the version is a breaking change. See migration guide example
  • If set, you've ensured the icon is present in the platform-internal repo. (Docs)

If the checklist is complete, but the CI check is failing,

  1. Check for hidden checklists in your PR description

  2. Toggle the github label checklist-action-run on/off to re-run the checklist CI.

@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 11, 2023

Cancelled connectors test (too many)

Started new test on subset

--name=destination-bigquery --name=source-chargebee --name=source-postgres --name=destination-postgres

https://github.com/airbytehq/airbyte/actions/runs/6152201971

@github-actions
Copy link
Contributor

github-actions bot commented Sep 11, 2023

Coverage report for source-postgres

There is no coverage information present for the Files changed

Total Project Coverage 70.56% 🍏

@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 12, 2023

Running legacy test for source-mysql: https://github.com/airbytehq/airbyte/actions/runs/6153885185

🕑 connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6153885185
❌ connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6153885185
🐛 https://gradle.com/s/3qt6ah2yi7sas

Build Failed

Test summary info:

Could not find result summary

🕑 source-mysql https://github.com/airbytehq/airbyte/actions/runs/6154180248
❌ source-mysql https://github.com/airbytehq/airbyte/actions/runs/6154180248
🐛 https://gradle.com/s/33kfgvm4diudc

Build Failed

Test summary info:

Could not find result summary

Running legacy test on master

🕑 source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164253329
❌ source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164253329
🐛

Build Failed

Test summary info:

Could not find result summary

🕑 connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164344467
❌ connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164344467
🐛

Build Failed

Test summary info:

Could not find result summary

🕑 source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164471959
❌ source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164471959
🐛

Build Failed

Test summary info:

Could not find result summary

@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 12, 2023

Run regular test for destination-redshift and destination-snowflake: https://github.com/airbytehq/airbyte/actions/runs/6154196448

@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 12, 2023

/legacy-test connector="connectors/source-mysql"

🕑 connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164724615
❌ connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164724615
🐛 https://gradle.com/s/ppgzeatqgqits

Build Failed

Test summary info:

Could not find result summary

@bnchrch bnchrch force-pushed the bnchrch/ci/remove-gradle-connectorAcceptanceTest branch from 14065ea to 977125a Compare September 12, 2023 21:14
@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 12, 2023

/legacy-test connector="connectors/source-mysql"

🕑 connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164947833
❌ connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6164947833
🐛

Build Failed

Test summary info:

Could not find result summary

@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 13, 2023

/legacy-test connector="connectors/source-mysql"

🕑 connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6166860209
✅ connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6166860209
No Python unittests run

Build Passed

Test summary info:

All Passed

@bnchrch bnchrch force-pushed the bnchrch/ci/remove-gradle-connectorAcceptanceTest branch from e9577f1 to c037267 Compare September 14, 2023 00:54
@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 14, 2023

/legacy-test connector="connectors/source-mysql"

🕑 connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6179548664
❌ connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6179548664
🐛 https://gradle.com/s/3kj43hy5jkwxo

Build Failed

Test summary info:

Could not find result summary

Copy link
Contributor

@postamar postamar left a comment

Choose a reason for hiding this comment

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

LGTM! Kill it with fire.

By the way, the script tools/bin/ci_integration_test.sh calls gradle with the integrationTest target and expects to run the acceptance tests. To this end it sets properties on the command line like -PconnectorAcceptanceTest.useLocalCdk=. Can you get rid of these please? FYI this script is what's called in the legacy-test-command.yml workflow.

@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 14, 2023

@postamar I wanted to merge this bad, but unfortunately right now we cant as the cdk team uses legacy test to test out there changes...

Were going to update the airbyte-ci test command to use the local cdk via a flag to solve this. Then we can merge this PR in

@bnchrch bnchrch force-pushed the bnchrch/ci/remove-gradle-connectorAcceptanceTest branch from c037267 to fdb0d58 Compare September 15, 2023 02:08
@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 19, 2023

/legacy-test connector="connectors/source-mysql"

🕑 connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6240116394
✅ connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/6240116394
No Python unittests run

Build Passed

Test summary info:

All Passed

@bnchrch
Copy link
Contributor Author

bnchrch commented Sep 19, 2023

/approve-and-merge reason="format failure on master, and failure of source-postgres qa check on master, unrelated, will deal with separately"

@octavia-approvington
Copy link
Contributor

It's time
fine lets go

@octavia-approvington octavia-approvington merged commit 5c56ac1 into master Sep 19, 2023
15 of 19 checks passed
@octavia-approvington octavia-approvington deleted the bnchrch/ci/remove-gradle-connectorAcceptanceTest branch September 19, 2023 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nightly CI tests: connectorAcceptanceTest' not found
5 participants