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

fix: use go 1.19 only for integration tests on Darwin #19965

Merged
merged 1 commit into from
May 10, 2024

Conversation

siddarthkay
Copy link
Contributor

@siddarthkay siddarthkay commented May 10, 2024

fixes #19802

Summary

Contract Tests are failing with missing symbols runtime error on MacOS after golang version was upgraded to 1.20
A simple hack fix such a case is to use go 1.19 only to build the status-go library that is used specifically for these integration tests.
Its ugly but it works and unblocks devs from running tests locally.

Review Notes

  • execute make test-contract on MacOS and it should not fail.

Testing notes

not needed since this impacts only the integration tests.

Platforms

  • macOS

status: ready

@siddarthkay siddarthkay self-assigned this May 10, 2024
@siddarthkay siddarthkay requested a review from jakubgs as a code owner May 10, 2024 09:06
@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA May 10, 2024
@siddarthkay siddarthkay requested a review from a team May 10, 2024 09:06
@siddarthkay siddarthkay changed the title fix: hack fix for contract tests on MacOS fix: use go 1.19 only for integration tests on Darwin May 10, 2024
@status-im-auto
Copy link
Member

status-im-auto commented May 10, 2024

Jenkins Builds

Click to see older builds (12)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 5ff1b5d #1 2024-05-10 09:10:52 ~4 min tests 📄log
✔️ 5ff1b5d #1 2024-05-10 09:13:31 ~6 min android 🤖apk 📲
✔️ 5ff1b5d #1 2024-05-10 09:13:46 ~7 min android-e2e 🤖apk 📲
✔️ 5ff1b5d #1 2024-05-10 09:21:30 ~14 min ios 📱ipa 📲
✔️ dda85c1 #2 2024-05-10 09:26:35 ~4 min tests 📄log
✔️ dda85c1 #2 2024-05-10 09:27:33 ~6 min android 🤖apk 📲
✔️ dda85c1 #2 2024-05-10 09:29:59 ~8 min android-e2e 🤖apk 📲
✔️ dda85c1 #2 2024-05-10 09:38:58 ~17 min ios 📱ipa 📲
✔️ 4d9ca92 #3 2024-05-10 09:52:41 ~4 min tests 📄log
✔️ 4d9ca92 #3 2024-05-10 09:54:04 ~5 min android 🤖apk 📲
✔️ 4d9ca92 #3 2024-05-10 09:56:20 ~8 min android-e2e 🤖apk 📲
✔️ 4d9ca92 #3 2024-05-10 09:58:47 ~10 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ d55f6be #5 2024-05-10 11:42:09 ~4 min tests 📄log
✔️ d55f6be #5 2024-05-10 11:43:32 ~5 min android-e2e 🤖apk 📲
✔️ d55f6be #5 2024-05-10 11:47:30 ~9 min android 🤖apk 📲
✔️ d55f6be #5 2024-05-10 11:49:50 ~12 min ios 📱ipa 📲
✔️ 11bbc5d #6 2024-05-10 12:20:21 ~4 min tests 📄log
✔️ 11bbc5d #6 2024-05-10 12:21:40 ~5 min android-e2e 🤖apk 📲
✔️ 11bbc5d #6 2024-05-10 12:23:57 ~8 min android 🤖apk 📲
✔️ 11bbc5d #6 2024-05-10 12:27:40 ~11 min ios 📱ipa 📲

nix/overlay.nix Outdated Show resolved Hide resolved
nix/overlay.nix Outdated Show resolved Hide resolved
nix/status-go/library/default.nix Outdated Show resolved Hide resolved
@siddarthkay siddarthkay force-pushed the investigate-integration-test-failure branch 2 times, most recently from 63a9fe7 to d55f6be Compare May 10, 2024 11:37
fixes #19802

Contract Tests are failing with missing symbols runtime error on `MacOS` after `golang` version was upgraded to 1.20
A simple hack fix such a case is to use `go 1.19` only to build the status-go library that is used specifically for these integration tests.
Its ugly but it works and unblocks devs from running tests locally.

- execute `make test-contract` on MacOS and it should not fail.

not needed since this impacts only the integration tests.

- macOS

status: ready
@siddarthkay siddarthkay force-pushed the investigate-integration-test-failure branch from d55f6be to 11bbc5d Compare May 10, 2024 12:15
@siddarthkay siddarthkay merged commit cb9a620 into develop May 10, 2024
6 checks passed
Pipeline for QA automation moved this from REVIEW to DONE May 10, 2024
@siddarthkay siddarthkay deleted the investigate-integration-test-failure branch May 10, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Integration & Contract Tests are failing on MacOS after go upgrade 1.20
4 participants