-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Remove M1-specific docs - Airbyte works on M1 Macs now #11856
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
Conversation
As a note when testing, it looks like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seminal work
Have you tried running acceptance tests locally on the published If you can reliably run the acceptance tests this is 100% good to go. |
Ah! On my local machine (M1 Macbook Pro), I've got one consistent failure. $ uname -a
# Yep, really using an M1 chip (ARM64 something something)
Darwin evan-airbyte-mac.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64
$ SUB_BUILD=PLATFORM ./gradlew clean build
# ...
BUILD SUCCESSFUL in 4m 38s
355 actionable tasks: 318 executed, 24 from cache, 13 up-to-date
$ SUB_BUILD=PLATFORM ./gradlew :airbyte-tests:acceptanceTests
Building Airbyte Sub Build: PLATFORM
> Task :airbyte-tests:acceptanceTests
AcceptanceTests > testGetDestinationSpec() PASSED
AcceptanceTests > testFailedGet404() PASSED
AcceptanceTests > testGetSourceSpec() PASSED
AcceptanceTests > testCreateDestination() PASSED
AcceptanceTests > testDestinationCheckConnection() PASSED
AcceptanceTests > testCreateSource() PASSED
AcceptanceTests > testSourceCheckConnection() PASSED
AcceptanceTests > testDiscoverSourceSchema() PASSED
AcceptanceTests > testCreateConnection() PASSED
AcceptanceTests > testManualSync() FAILED
org.opentest4j.AssertionFailedError: expected: <succeeded> but was: <pending>
at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
at app//io.airbyte.test.acceptance.AcceptanceTests.waitForSuccessfulJob(AcceptanceTests.java:1652)
at app//io.airbyte.test.acceptance.AcceptanceTests.testManualSync(AcceptanceTests.java:498)
11 tests completed, 1 failed, 1 skipped
> Task :airbyte-tests:acceptanceTests FAILED Initially, I couldn't even boot the app, so I thought the problemspace was more binary. I'll try and see if I can get that test passing. |
Any advice on how to get the Github tests passing @jrhizor ? |
can you try |
@jrhizor are we actually publishing M1 images with each release now or are these changes only limited to the developing locally portion? |
I'm still doing discovery on this topic (notes @ https://www.notion.so/MacOS-M1-Problems-6c3c441d951f4410bdf47a8125fbb195), but so far the only custom image I've found for M1/ARM is |
there is an open issue on the infrastructure side to publish Airbyte M1 images that is in the last stages: https://github.com/airbytehq/airbyte-cloud/issues/801 this is separate from actually running Airbyte on M1 macs, which sounds like is part of your goals too? |
|
These problems running syncs with Airbyte go away when using M1-built images for the platform. We probably just need to wait for https://github.com/airbytehq/airbyte-cloud/issues/801 and then we can merge this. |
it looks like ARM64 should be supportable on self-hosted runners: https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#architectures so that's probably the first step actually, like Jared said |
Yeap. We can switch the AMIs out as we need to. We should build both architectures so we don't need to immediately switch those out, though we should eventually do so since AWS ARM instances are 25% cheaper than x86. |
In a fresh environment without any special environment variables, Airbyte works just fine locally now, using the most recent published containers.
To confirm this:
┆Issue is synchronized with this Monday item by Unito