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

ci: upgrade go to 1.22 #17084

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

ci: upgrade go to 1.22 #17084

wants to merge 1 commit into from

Conversation

siddarthkay
Copy link
Contributor

@siddarthkay siddarthkay commented Jan 16, 2025

Summary

  • This PR updates status-go to point to ci_: upgrade go to 1.22 status-go#6258
  • updates nix derivation to switch to go 1.22
  • swaps sc3md for sc5md
  • updates docker image used by jenkins for linux jobs to image built with go 1.22.
  • updates, linux, windows and MacOS build scripts to use go 1.22.

Todo

  • upgrade one linux host to go 1.22.10 and test this PR over there.
  • upgrade one macOS arm host to go 1.22.10 and test this PR over there. (Specially the one with Xcode 16.2)
  • upgrade one macOS x86 host to go 1.22.10 and test this PR over there.
  • upgrade one windows host to go 1.22.10 and test this PR over there.

@status-im-auto
Copy link
Member

status-im-auto commented Jan 16, 2025

Jenkins Builds

Click to see older builds (182)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 7f62f15 #1 2025-01-16 13:27:18 ~7 min macos/aarch64 🍎dmg
✔️ 7f62f15 #1 2025-01-16 13:28:30 ~8 min tests/nim 📄log
7f62f15 #1 2025-01-16 13:31:30 ~11 min tests/ui 📄log
✔️ 7f62f15 #1 2025-01-16 13:36:02 ~15 min macos/x86_64 🍎dmg
✔️ 7f62f15 #1 2025-01-16 13:38:36 ~18 min linux/x86_64 📦tgz
✔️ 7f62f15 #1 2025-01-16 13:43:42 ~23 min linux-nix/x86_64 📦tgz
✔️ 7f62f15 #1 2025-01-16 13:46:03 ~25 min windows/x86_64 💿exe
7f62f15 #2 2025-01-16 13:54:09 ~11 min tests/ui 📄log
✔️ 7f62f15 #3 2025-01-16 14:11:55 ~11 min tests/ui 📄log
✔️ 1732ddd #2 2025-01-16 16:40:17 ~5 min macos/aarch64 🍎dmg
✔️ 1732ddd #2 2025-01-16 16:44:04 ~9 min tests/nim 📄log
✔️ 1732ddd #2 2025-01-16 16:48:47 ~14 min macos/x86_64 🍎dmg
1732ddd #4 2025-01-16 16:50:45 ~16 min tests/ui 📄log
✔️ 1732ddd #2 2025-01-16 16:51:09 ~16 min linux/x86_64 📦tgz
✔️ 1732ddd #2 2025-01-16 16:57:39 ~23 min linux-nix/x86_64 📦tgz
✔️ 1732ddd #2 2025-01-16 17:00:35 ~26 min windows/x86_64 💿exe
✔️ 1732ddd #5 2025-01-16 17:41:14 ~11 min tests/ui 📄log
2faf314 #3 2025-01-16 17:48:15 ~17 sec linux-nix/x86_64 📄log
822e686 #4 2025-01-16 17:52:00 ~15 sec linux-nix/x86_64 📄log
✔️ 2979b5d #5 2025-01-16 18:00:51 ~5 min macos/aarch64 🍎dmg
✔️ 2979b5d #5 2025-01-16 18:05:26 ~9 min tests/nim 📄log
✔️ 2979b5d #5 2025-01-16 18:07:18 ~11 min macos/x86_64 🍎dmg
✔️ 2979b5d #8 2025-01-16 18:08:38 ~13 min tests/ui 📄log
✔️ 2979b5d #5 2025-01-16 18:14:29 ~19 min linux/x86_64 📦tgz
✔️ 2979b5d #5 2025-01-16 18:18:07 ~22 min linux-nix/x86_64 📦tgz
✔️ 2979b5d #5 2025-01-16 18:20:21 ~24 min windows/x86_64 💿exe
✔️ 7be95ca #6 2025-01-17 04:42:32 ~5 min macos/aarch64 🍎dmg
✔️ 7be95ca #6 2025-01-17 04:45:30 ~8 min tests/nim 📄log
✔️ 6fd4a4b #7 2025-01-17 04:51:15 ~4 min macos/aarch64 🍎dmg
✔️ 6fd4a4b #7 2025-01-17 04:56:12 ~9 min tests/nim 📄log
✔️ 6fd4a4b #10 2025-01-17 04:58:12 ~11 min tests/ui 📄log
✔️ 6fd4a4b #7 2025-01-17 05:01:16 ~14 min macos/x86_64 🍎dmg
✔️ 6fd4a4b #7 2025-01-17 05:04:53 ~18 min linux/x86_64 📦tgz
✔️ 6fd4a4b #7 2025-01-17 05:10:11 ~23 min linux-nix/x86_64 📦tgz
✔️ 6fd4a4b #7 2025-01-17 05:10:55 ~24 min windows/x86_64 💿exe
✔️ d51083f #8 2025-01-27 13:18:26 ~8 min tests/nim 📄log
✔️ d51083f #8 2025-01-27 13:20:26 ~10 min macos/aarch64 🍎dmg
✔️ d51083f #11 2025-01-27 13:21:40 ~11 min tests/ui 📄log
✔️ d51083f #8 2025-01-27 13:23:41 ~13 min macos/x86_64 🍎dmg
✔️ d51083f #8 2025-01-27 13:25:42 ~15 min linux/x86_64 📦tgz
✔️ d51083f #8 2025-01-27 13:28:17 ~18 min linux-nix/x86_64 📦tgz
✔️ d51083f #8 2025-01-27 13:34:58 ~25 min windows/x86_64 💿exe
5682f20 #10 2025-01-27 15:44:50 ~6 min macos/aarch64 📄log
✔️ 5682f20 #10 2025-01-27 15:47:15 ~8 min tests/nim 📄log
✔️ 5682f20 #13 2025-01-27 15:50:42 ~11 min tests/ui 📄log
✔️ 5682f20 #10 2025-01-27 15:57:56 ~19 min linux-nix/x86_64 📦tgz
✔️ 5682f20 #10 2025-01-27 15:58:41 ~20 min linux/x86_64 📦tgz
✔️ 5682f20 #10 2025-01-27 16:02:54 ~24 min windows/x86_64 💿exe
5682f20 #11 2025-01-27 16:29:35 ~2 min macos/aarch64 📄log
5682f20 #12 2025-01-27 16:32:54 ~2 min macos/aarch64 📄log
5682f20 #13 2025-01-27 16:41:50 ~2 min macos/aarch64 📄log
5682f20 #14 2025-01-27 17:48:22 ~2 min macos/aarch64 📄log
dafda81 #15 2025-01-27 17:54:36 ~2 min macos/aarch64 📄log
af6c3ea #16 2025-01-27 18:06:51 ~8 min macos/aarch64 📄log
✔️ af6c3ea #12 2025-01-27 18:08:11 ~9 min tests/nim 📄log
✔️ af6c3ea #15 2025-01-27 18:10:21 ~11 min tests/ui 📄log
✔️ af6c3ea #12 2025-01-27 18:19:49 ~21 min linux-nix/x86_64 📦tgz
✔️ af6c3ea #12 2025-01-27 18:20:07 ~21 min windows/x86_64 💿exe
✔️ af6c3ea #12 2025-01-27 18:22:54 ~24 min linux/x86_64 📦tgz
✔️ 0498865 #17 2025-01-27 18:31:33 ~6 min macos/aarch64 🍎dmg
✔️ 0498865 #13 2025-01-27 18:33:37 ~8 min tests/nim 📄log
✔️ 0498865 #16 2025-01-27 18:36:56 ~12 min tests/ui 📄log
✔️ 0498865 #13 2025-01-27 18:37:23 ~12 min macos/x86_64 🍎dmg
✔️ 0498865 #13 2025-01-27 18:38:44 ~14 min linux-nix/x86_64 📦tgz
✔️ 0498865 #13 2025-01-27 18:41:43 ~17 min linux/x86_64 📦tgz
✔️ 0498865 #13 2025-01-27 18:47:32 ~22 min windows/x86_64 💿exe
e037206 #18 2025-01-27 19:59:31 ~2 min macos/aarch64 📄log
e037206 #14 2025-01-27 20:00:24 ~3 min macos/x86_64 📄log
✔️ e037206 #14 2025-01-27 20:05:09 ~8 min tests/nim 📄log
✔️ 9479468 #19 2025-01-27 20:11:00 ~4 min macos/aarch64 🍎dmg
✔️ ff9d1be #20 2025-01-27 20:20:41 ~6 min macos/aarch64 🍎dmg
✔️ ff9d1be #16 2025-01-27 20:22:56 ~9 min tests/nim 📄log
✔️ ff9d1be #19 2025-01-27 20:25:52 ~12 min tests/ui 📄log
✔️ ff9d1be #16 2025-01-27 20:28:11 ~14 min linux-nix/x86_64 📦tgz
✔️ ff9d1be #16 2025-01-27 20:37:22 ~23 min linux/x86_64 📦tgz
✔️ ff9d1be #16 2025-01-27 20:37:22 ~23 min windows/x86_64 💿exe
5ba946b #21 2025-01-28 02:45:49 ~7 min macos/aarch64 📄log
✔️ 5ba946b #17 2025-01-28 02:46:27 ~8 min tests/nim 📄log
✔️ 5ba946b #20 2025-01-28 02:49:41 ~11 min tests/ui 📄log
✔️ 5ba946b #17 2025-01-28 02:51:34 ~13 min linux-nix/x86_64 📦tgz
✔️ 5ba946b #17 2025-01-28 02:54:27 ~16 min linux/x86_64 📦tgz
✔️ 4b28abb #22 2025-01-28 03:06:35 ~7 min macos/aarch64 🍎dmg
✔️ 4b28abb #18 2025-01-28 03:07:39 ~8 min tests/nim 📄log
✔️ 4b28abb #21 2025-01-28 03:10:54 ~11 min tests/ui 📄log
✔️ 4b28abb #18 2025-01-28 03:12:46 ~13 min linux-nix/x86_64 📦tgz
4b28abb #18 2025-01-28 03:15:57 ~16 min linux/x86_64 📄log
✔️ 4b28abb #18 2025-01-28 03:19:58 ~20 min windows/x86_64 💿exe
4b28abb #19 2025-01-28 05:02:04 ~16 min linux/x86_64 📄log
✔️ 3a6d8d6 #22 2025-01-28 06:09:40 ~8 min tests/nim 📄log
✔️ 3b95aba #27 2025-01-28 06:18:34 ~7 min macos/aarch64 🍎dmg
3b95aba #26 2025-01-28 06:22:55 ~12 min tests/ui 📄log
✔️ 3b95aba #23 2025-01-28 06:25:48 ~15 min linux-nix/x86_64 📦tgz
3b95aba #24 2025-01-28 06:30:41 ~20 min linux/x86_64 📄log
✔️ 3b95aba #23 2025-01-28 06:33:05 ~22 min windows/x86_64 💿exe
✔️ f572d9c #28 2025-01-28 07:34:55 ~7 min macos/aarch64 🍎dmg
✔️ f572d9c #28 2025-01-28 07:38:11 ~10 min tests/ui 📄log
✔️ f572d9c #24 2025-01-28 07:40:51 ~13 min linux-nix/x86_64 📦tgz
✔️ f572d9c #25 2025-01-28 07:43:52 ~16 min linux/x86_64 📦tgz
✔️ f572d9c #24 2025-01-28 07:49:58 ~22 min windows/x86_64 💿exe
d97c98c #26 2025-01-28 14:07:17 ~5 min linux/x86_64 📄log
✔️ d97c98c #29 2025-01-28 14:10:31 ~8 min macos/aarch64 🍎dmg
d97c98c #25 2025-01-28 14:11:12 ~8 min windows/x86_64 📄log
✔️ d97c98c #29 2025-01-28 14:14:22 ~12 min tests/ui 📄log
✔️ d97c98c #25 2025-01-28 14:17:18 ~15 min linux-nix/x86_64 📦tgz
d97c98c #27 2025-01-28 14:26:54 ~4 min linux/x86_64 📄log
d97c98c #28 2025-01-28 14:39:59 ~5 min linux/x86_64 📄log
c2d83f0 #30 2025-01-28 14:49:57 ~5 min linux/x86_64 📄log
✖️ c2d83f0 #30 2025-01-28 14:51:30 ~6 min tests/nim 📄log
✔️ c2d83f0 #31 2025-01-28 14:52:51 ~8 min macos/aarch64 🍎dmg
c2d83f0 #27 2025-01-28 14:53:27 ~8 min windows/x86_64 📄log
✔️ c2d83f0 #31 2025-01-28 14:56:45 ~12 min tests/ui 📄log
✔️ c2d83f0 #27 2025-01-28 15:00:33 ~16 min linux-nix/x86_64 📦tgz
c2d83f0 #31 2025-01-28 15:32:27 ~4 min linux/x86_64 📄log
✔️ bae15b1 #32 2025-01-29 10:52:30 ~7 min macos/aarch64 🍎dmg
bae15b1 #28 2025-01-29 10:54:23 ~9 min windows/x86_64 📄log
bae15b1 #32 2025-01-29 10:57:43 ~12 min linux/x86_64 📄log
✖️ bae15b1 #31 2025-01-29 11:01:46 ~16 min tests/nim 📄log
bae15b1 #32 2025-01-29 11:05:43 ~20 min tests/ui 📄log
9038084 #33 2025-01-29 11:12:06 ~5 min linux/x86_64 📄log
✔️ 9038084 #33 2025-01-29 11:13:17 ~6 min macos/aarch64 🍎dmg
✖️ 9038084 #32 2025-01-29 11:13:46 ~7 min tests/nim 📄log
9038084 #29 2025-01-29 11:15:29 ~8 min windows/x86_64 📄log
✔️ 9038084 #33 2025-01-29 11:18:40 ~12 min tests/ui 📄log
✔️ 9038084 #29 2025-01-29 11:22:31 ~16 min linux-nix/x86_64 📦tgz
9038084 #34 2025-01-29 12:20:45 ~10 min linux/x86_64 📄log
b9cda8c #35 2025-01-29 18:55:26 ~5 min linux/x86_64 📄log
✔️ b9cda8c #34 2025-01-29 18:56:33 ~6 min macos/aarch64 🍎dmg
✖️ b9cda8c #33 2025-01-29 18:57:32 ~7 min tests/nim 📄log
b9cda8c #30 2025-01-29 18:58:58 ~8 min windows/x86_64 📄log
✔️ b9cda8c #34 2025-01-29 19:07:48 ~17 min tests/ui 📄log
✔️ b9cda8c #30 2025-01-29 19:14:34 ~24 min linux-nix/x86_64 📦tgz
b9cda8c #36 2025-01-30 02:48:12 ~4 min linux/x86_64 📄log
e006790 #37 2025-01-30 03:39:47 ~5 min linux/x86_64 📄log
✔️ e006790 #35 2025-01-30 03:41:33 ~6 min macos/aarch64 🍎dmg
✖️ e006790 #34 2025-01-30 03:42:12 ~7 min tests/nim 📄log
e006790 #31 2025-01-30 03:44:00 ~9 min windows/x86_64 📄log
✔️ e006790 #35 2025-01-30 03:46:48 ~12 min tests/ui 📄log
✔️ e006790 #31 2025-01-30 03:53:26 ~18 min linux-nix/x86_64 📦tgz
3961f8d #38 2025-01-30 05:13:16 ~5 min linux/x86_64 📄log
✔️ 3961f8d #36 2025-01-30 05:14:40 ~6 min macos/aarch64 🍎dmg
✖️ 3961f8d #35 2025-01-30 05:15:03 ~6 min tests/nim 📄log
3961f8d #32 2025-01-30 05:16:41 ~8 min windows/x86_64 📄log
✔️ 3961f8d #36 2025-01-30 05:20:20 ~12 min tests/ui 📄log
3961f8d #32 2025-01-30 05:26:22 ~18 min linux-nix/x86_64 📄log
3961f8d #39 2025-01-30 05:26:39 ~5 min linux/x86_64 📄log
2927956 #41 2025-01-30 06:22:01 ~5 min linux/x86_64 📄log
2927956 #34 2025-01-30 06:23:21 ~6 min windows/x86_64 📄log
✔️ 2927956 #38 2025-01-30 06:23:43 ~7 min macos/aarch64 🍎dmg
✖️ 2927956 #37 2025-01-30 06:23:52 ~7 min tests/nim 📄log
✔️ 2927956 #38 2025-01-30 06:28:41 ~12 min tests/ui 📄log
✔️ 2927956 #34 2025-01-30 06:35:35 ~19 min linux-nix/x86_64 📦tgz
33b065c #42 2025-01-30 08:02:33 ~5 min linux/x86_64 📄log
✖️ 33b065c #38 2025-01-30 08:03:25 ~6 min tests/nim 📄log
33b065c #35 2025-01-30 08:03:45 ~6 min windows/x86_64 📄log
✔️ 33b065c #39 2025-01-30 08:04:18 ~7 min macos/aarch64 🍎dmg
✔️ 33b065c #39 2025-01-30 08:09:45 ~12 min tests/ui 📄log
✔️ 33b065c #35 2025-01-30 08:16:33 ~19 min linux-nix/x86_64 📦tgz
e3ed85c #43 2025-02-04 12:41:53 ~7 min linux/x86_64 📄log
✔️ e3ed85c #40 2025-02-04 12:41:53 ~7 min macos/aarch64 🍎dmg
✖️ e3ed85c #39 2025-02-04 12:42:00 ~7 min tests/nim 📄log
e3ed85c #36 2025-02-04 12:42:57 ~8 min windows/x86_64 📄log
✔️ e3ed85c #40 2025-02-04 12:46:46 ~12 min tests/ui 📄log
✔️ e3ed85c #36 2025-02-04 12:58:19 ~23 min linux-nix/x86_64 📦tgz
✔️ b62d99c #41 2025-02-04 18:00:28 ~7 min macos/aarch64 🍎dmg
b62d99c #37 2025-02-04 18:02:08 ~8 min windows/x86_64 📄log
✔️ b62d99c #40 2025-02-04 18:02:26 ~9 min tests/nim 📄log
✔️ b62d99c #41 2025-02-04 18:05:43 ~12 min tests/ui 📄log
✔️ b62d99c #37 2025-02-04 18:14:08 ~20 min linux-nix/x86_64 📦tgz
✔️ b62d99c #44 2025-02-04 18:14:58 ~21 min linux/x86_64 📦tgz
✔️ 1a2b73b #43 2025-02-05 03:57:30 ~7 min macos/aarch64 🍎dmg
✔️ 1a2b73b #42 2025-02-05 03:58:23 ~8 min tests/nim 📄log
1a2b73b #39 2025-02-05 03:58:56 ~9 min windows/x86_64 📄log
✔️ 1a2b73b #43 2025-02-05 04:02:02 ~12 min tests/ui 📄log
✔️ 1a2b73b #46 2025-02-05 04:10:12 ~20 min linux/x86_64 📦tgz
✔️ 1a2b73b #39 2025-02-05 04:11:09 ~21 min linux-nix/x86_64 📦tgz
✔️ 3c419fc #44 2025-02-05 07:09:20 ~7 min macos/aarch64 🍎dmg
✔️ 3c419fc #43 2025-02-05 07:09:52 ~8 min tests/nim 📄log
3c419fc #44 2025-02-05 07:14:02 ~12 min tests/ui 📄log
✔️ 3c419fc #47 2025-02-05 07:21:28 ~19 min linux/x86_64 📦tgz
✔️ 3c419fc #40 2025-02-05 07:21:38 ~20 min linux-nix/x86_64 📦tgz
✔️ 3c419fc #45 2025-02-05 07:29:55 ~12 min tests/ui 📄log
✔️ 3c419fc #40 2025-02-05 07:33:03 ~31 min windows/x86_64 💿exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ ffa04b4 #45 2025-02-05 07:46:30 ~5 min macos/aarch64 🍎dmg
✔️ ffa04b4 #44 2025-02-05 07:48:56 ~8 min tests/nim 📄log
✔️ ffa04b4 #46 2025-02-05 07:53:42 ~13 min tests/ui 📄log
✔️ ffa04b4 #41 2025-02-05 07:55:43 ~15 min macos/x86_64 🍎dmg
✔️ ffa04b4 #41 2025-02-05 07:58:12 ~17 min linux-nix/x86_64 📦tgz
✔️ ffa04b4 #48 2025-02-05 08:01:11 ~20 min linux/x86_64 📦tgz
✔️ ffa04b4 #41 2025-02-05 08:06:16 ~25 min windows/x86_64 💿exe
✔️ ae93b70 #46 2025-02-05 08:20:21 ~4 min macos/aarch64 🍎dmg
✔️ ae93b70 #45 2025-02-05 08:24:14 ~8 min tests/nim 📄log
✔️ ae93b70 #42 2025-02-05 08:26:43 ~11 min macos/x86_64 🍎dmg
✔️ ae93b70 #47 2025-02-05 08:28:28 ~13 min tests/ui 📄log
✔️ ae93b70 #42 2025-02-05 08:32:38 ~17 min linux-nix/x86_64 📦tgz
✔️ ae93b70 #49 2025-02-05 08:35:29 ~20 min linux/x86_64 📦tgz
✔️ ae93b70 #42 2025-02-05 08:41:25 ~25 min windows/x86_64 💿exe

@siddarthkay siddarthkay marked this pull request as ready for review January 16, 2025 16:34
@siddarthkay siddarthkay requested review from a team as code owners January 16, 2025 16:34
@siddarthkay siddarthkay requested review from noeliaSD and removed request for a team January 16, 2025 16:34
Copy link
Member

@jakubgs jakubgs left a comment

Choose a reason for hiding this comment

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

You're missing Nix change:

go_1_21 = callPackage ./pkgs/go/bootstrap121.nix { };
buildGo121Module = callPackage ./pkgs/go-module { go = final.go_1_21; };

@siddarthkay siddarthkay force-pushed the upgrade-go-1-22 branch 2 times, most recently from 822e686 to 2979b5d Compare January 16, 2025 17:55
@siddarthkay siddarthkay requested a review from jakubgs January 16, 2025 18:07
ci/Jenkinsfile.macos Outdated Show resolved Hide resolved
@siddarthkay siddarthkay marked this pull request as draft January 27, 2025 17:52
@siddarthkay siddarthkay force-pushed the upgrade-go-1-22 branch 9 times, most recently from 9038084 to b9cda8c Compare January 29, 2025 18:49
@siddarthkay siddarthkay force-pushed the upgrade-go-1-22 branch 4 times, most recently from 33b065c to e3ed85c Compare February 4, 2025 12:34
@jakubgs
Copy link
Member

jakubgs commented Feb 4, 2025

Fixed Docker builds in:

Pushed new Docker image as statusteam/nim-status-client-build:1.6.0-qt5.15.2 and updated Jenkinsfiles.

@siddarthkay siddarthkay force-pushed the upgrade-go-1-22 branch 4 times, most recently from 3c419fc to ffa04b4 Compare February 5, 2025 07:40
@siddarthkay siddarthkay marked this pull request as ready for review February 5, 2025 07:43
Copy link
Member

@jakubgs jakubgs left a comment

Choose a reason for hiding this comment

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

Mostly correct.

ci/Jenkinsfile.linux-nix Outdated Show resolved Hide resolved
ci/Jenkinsfile.tests-e2e Outdated Show resolved Hide resolved
ci/Jenkinsfile.tests-ui Outdated Show resolved Hide resolved
This commit:
- updates status-go to point to status-im/status-go#6258
- updates nix derivation to switch to go 1.22
- swaps `sc3md` for `sc5md`
- updates docker image used by jenkins for linux jobs to image built with go 1.22.
- updates, linux, windows and MacOS build scripts to use go 1.22
@anastasiyaig
Copy link
Contributor

tests cant pass here because application is crashing right after Start using status button is clicked when creating fresh account or recovering account

app log:
data_attachments_e1fb2ce58d19d4a2.txt

macOS built-in crash report:
message.txt

i can confirm the problem is easily reproducible manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants