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

[WIP] React native upgrade from version 0.63.3 to 0.71.4 ? #15203

Closed
wants to merge 10 commits into from

Conversation

siddarthkay
Copy link
Contributor

fixes #14386
status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Feb 27, 2023

Jenkins Builds

Click to see older builds (346)
Commit #️⃣ Finished (UTC) Duration Platform Result
c2b1ed1 #2 2023-02-27 16:14:37 ~1 min android-e2e 📄log
c2b1ed1 #2 2023-02-27 16:15:21 ~2 min android 📄log
c2b1ed1 #2 2023-02-27 16:15:21 ~2 min tests 📄log
c2b1ed1 #2 2023-02-27 16:17:22 ~4 min ios 📄log
562bcc1 #3 2023-02-27 17:23:44 ~5 min android-e2e 📄log
562bcc1 #3 2023-02-27 17:24:13 ~5 min android 📄log
✔️ 562bcc1 #3 2023-02-27 17:32:39 ~14 min tests 📄log
562bcc1 #3 2023-02-27 17:54:54 ~36 min ios 📄log
9011487 #5 2023-02-28 01:59:33 ~24 sec android-e2e 📄log
9011487 #5 2023-02-28 01:59:34 ~25 sec android 📄log
✔️ 9011487 #5 2023-02-28 02:04:27 ~5 min tests 📄log
9f3c545 #6 2023-02-28 02:10:21 ~23 sec android 📄log
9f3c545 #6 2023-02-28 02:10:26 ~32 sec android-e2e 📄log
9f3c545 #6 2023-02-28 02:14:35 ~4 min ios 📄log
✔️ 9f3c545 #6 2023-02-28 02:16:13 ~6 min tests 📄log
e016185 #7 2023-02-28 08:22:15 ~25 sec android-e2e 📄log
e016185 #7 2023-02-28 08:22:20 ~30 sec android 📄log
✔️ e016185 #7 2023-02-28 08:28:19 ~6 min tests 📄log
e016185 #7 2023-02-28 08:29:23 ~7 min ios 📄log
d69277e #8 2023-02-28 09:04:39 ~4 min ios 📄log
d69277e #8 2023-02-28 09:04:43 ~4 min android-e2e 📄log
d69277e #8 2023-02-28 09:05:11 ~5 min android 📄log
✔️ d69277e #8 2023-02-28 09:05:46 ~5 min tests 📄log
d4df4a5 #9 2023-02-28 11:49:19 ~3 min android-e2e 📄log
d4df4a5 #9 2023-02-28 11:49:40 ~4 min android 📄log
d4df4a5 #9 2023-02-28 11:51:14 ~5 min ios 📄log
✔️ d4df4a5 #9 2023-02-28 11:51:45 ~6 min tests 📄log
bc8714e #10 2023-02-28 12:28:12 ~2 min android-e2e 📄log
bc8714e #10 2023-02-28 12:28:44 ~3 min android 📄log
bc8714e #10 2023-02-28 12:29:56 ~4 min ios 📄log
✔️ bc8714e #10 2023-02-28 12:31:02 ~5 min tests 📄log
00d61e4 #11 2023-02-28 13:39:43 ~2 min android 📄log
00d61e4 #11 2023-02-28 13:41:04 ~4 min android-e2e 📄log
00d61e4 #11 2023-02-28 13:41:39 ~4 min ios 📄log
✔️ 00d61e4 #11 2023-02-28 13:44:06 ~7 min tests 📄log
4d2c381 #12 2023-02-28 14:51:36 ~4 min android 📄log
4d2c381 #12 2023-02-28 14:51:36 ~4 min android-e2e 📄log
4d2c381 #12 2023-02-28 14:53:23 ~5 min ios 📄log
✔️ 4d2c381 #12 2023-02-28 14:53:37 ~6 min tests 📄log
bca1991 #13 2023-02-28 16:27:53 ~2 min android-e2e 📄log
bca1991 #13 2023-02-28 16:27:55 ~2 min android 📄log
bca1991 #13 2023-02-28 16:29:21 ~4 min ios 📄log
✔️ bca1991 #13 2023-02-28 16:30:13 ~5 min tests 📄log
4eda2a9 #14 2023-02-28 16:40:07 ~2 min android-e2e 📄log
4eda2a9 #14 2023-02-28 16:41:27 ~3 min android 📄log
4eda2a9 #14 2023-02-28 16:41:49 ~4 min ios 📄log
✔️ 4eda2a9 #14 2023-02-28 16:42:54 ~5 min tests 📄log
8bc5bf6 #15 2023-02-28 17:01:09 ~4 min android-e2e 📄log
8bc5bf6 #15 2023-02-28 17:01:26 ~4 min ios 📄log
8bc5bf6 #15 2023-02-28 17:01:49 ~5 min android 📄log
✔️ 8bc5bf6 #15 2023-02-28 17:04:26 ~7 min tests 📄log
6a45df5 #16 2023-02-28 17:39:16 ~3 min ios 📄log
6a45df5 #16 2023-02-28 17:42:32 ~6 min android-e2e 📄log
6a45df5 #16 2023-02-28 17:42:39 ~6 min android 📄log
✔️ 6a45df5 #16 2023-02-28 17:45:09 ~9 min tests 📄log
d9b18aa #17 2023-02-28 18:16:44 ~3 min android-e2e 📄log
d9b18aa #17 2023-02-28 18:16:45 ~3 min android 📄log
d9b18aa #17 2023-02-28 18:18:18 ~5 min ios 📄log
✔️ d9b18aa #17 2023-02-28 18:19:47 ~6 min tests 📄log
12897e4 #18 2023-03-01 04:15:57 ~3 min android 📄log
12897e4 #18 2023-03-01 04:15:57 ~3 min android-e2e 📄log
✔️ 12897e4 #18 2023-03-01 04:18:55 ~6 min tests 📄log
12897e4 #18 2023-03-01 04:20:01 ~7 min ios 📄log
df88e29 #19 2023-03-01 05:09:06 ~2 min android-e2e 📄log
df88e29 #19 2023-03-01 05:11:02 ~4 min ios 📄log
df88e29 #19 2023-03-01 05:11:08 ~4 min android 📄log
✔️ df88e29 #19 2023-03-01 05:12:24 ~5 min tests 📄log
41e8964 #22 2023-03-01 08:02:50 ~1 min android 📄log
41e8964 #22 2023-03-01 08:03:08 ~2 min android-e2e 📄log
41e8964 #22 2023-03-01 08:04:01 ~2 min ios 📄log
✔️ 41e8964 #22 2023-03-01 08:05:48 ~4 min tests 📄log
6de9e46 #23 2023-03-01 11:41:00 ~1 min android 📄log
6de9e46 #23 2023-03-01 11:41:01 ~1 min android-e2e 📄log
✔️ 6de9e46 #23 2023-03-01 11:46:55 ~7 min tests 📄log
6de9e46 #23 2023-03-01 11:51:58 ~12 min ios 📄log
f5273a9 #24 2023-03-03 16:53:59 ~13 sec tests 📄log
f5273a9 #24 2023-03-03 16:54:01 ~13 sec android-e2e 📄log
f5273a9 #24 2023-03-03 16:54:01 ~13 sec android 📄log
f5273a9 #24 2023-03-03 16:54:08 ~22 sec ios 📄log
9aa7050 #25 2023-03-03 17:26:01 ~4 min android 📄log
9aa7050 #25 2023-03-03 17:26:24 ~4 min android-e2e 📄log
9aa7050 #25 2023-03-03 17:27:30 ~5 min ios 📄log
✔️ 9aa7050 #25 2023-03-03 17:29:26 ~7 min tests 📄log
2746207 #26 2023-03-03 19:19:24 ~5 min android-e2e 📄log
2746207 #26 2023-03-03 19:19:30 ~5 min android 📄log
2746207 #26 2023-03-03 19:19:41 ~5 min ios 📄log
✔️ 2746207 #26 2023-03-03 19:19:47 ~5 min tests 📄log
3cf5df8 #27 2023-03-07 08:50:34 ~5 min android-e2e 📄log
3cf5df8 #27 2023-03-07 08:50:35 ~5 min android 📄log
3cf5df8 #27 2023-03-07 08:50:55 ~5 min ios 📄log
✔️ 3cf5df8 #27 2023-03-07 08:51:09 ~5 min tests 📄log
9fc8e9a #28 2023-03-07 09:45:23 ~4 min ios 📄log
9fc8e9a #28 2023-03-07 09:45:52 ~5 min android-e2e 📄log
9fc8e9a #28 2023-03-07 09:45:54 ~5 min android 📄log
✔️ 9fc8e9a #28 2023-03-07 09:46:31 ~5 min tests 📄log
e3ee2eb #29 2023-03-07 12:16:18 ~3 min ios 📄log
e3ee2eb #29 2023-03-07 12:18:33 ~5 min android 📄log
✔️ e3ee2eb #29 2023-03-07 12:18:44 ~5 min tests 📄log
e3ee2eb #29 2023-03-07 12:21:25 ~8 min android-e2e 📄log
d2c8102 #30 2023-03-07 12:38:38 ~3 min ios 📄log
✔️ d2c8102 #30 2023-03-07 12:39:39 ~4 min tests 📄log
d2c8102 #30 2023-03-07 12:42:14 ~6 min android 📄log
d2c8102 #30 2023-03-07 12:45:09 ~9 min android-e2e 📄log
106620e #31 2023-03-07 12:56:54 ~3 min ios 📄log
✔️ 106620e #31 2023-03-07 12:58:51 ~5 min tests 📄log
106620e #31 2023-03-07 12:59:21 ~5 min android 📄log
106620e #31 2023-03-07 13:00:04 ~6 min android-e2e 📄log
36a5a95 #32 2023-03-07 13:44:06 ~3 min ios 📄log
✔️ 36a5a95 #32 2023-03-07 13:45:57 ~4 min tests 📄log
✔️ 36a5a95 #32 2023-03-07 13:47:21 ~6 min android 🤖apk 📲
✔️ 36a5a95 #32 2023-03-07 13:47:50 ~6 min android-e2e 🤖apk 📲
7714aee #33 2023-03-07 13:51:52 ~3 min ios 📄log
✔️ 7714aee #33 2023-03-07 13:54:12 ~5 min tests 📄log
✔️ 7714aee #33 2023-03-07 13:55:06 ~6 min android-e2e 🤖apk 📲
✔️ 7714aee #33 2023-03-07 13:55:31 ~6 min android 🤖apk 📲
40cfba4 #38 2023-03-09 11:58:04 ~3 min ios 📄log
✔️ 40cfba4 #38 2023-03-09 11:59:20 ~4 min tests 📄log
✔️ 40cfba4 #38 2023-03-09 12:02:24 ~7 min android-e2e 🤖apk 📲
✔️ 40cfba4 #38 2023-03-09 12:02:36 ~7 min android 🤖apk 📲
269c55f #39 2023-03-09 12:42:35 ~3 min ios 📄log
✔️ 269c55f #39 2023-03-09 12:43:44 ~4 min tests 📄log
✔️ 269c55f #39 2023-03-09 12:45:19 ~6 min android-e2e 🤖apk 📲
✔️ 269c55f #39 2023-03-09 12:46:45 ~7 min android 🤖apk 📲
9c20b7f #40 2023-03-09 12:56:31 ~3 min ios 📄log
✔️ 9c20b7f #40 2023-03-09 12:57:33 ~4 min tests 📄log
✔️ 9c20b7f #40 2023-03-09 12:59:56 ~6 min android-e2e 🤖apk 📲
a06a681 #42 2023-03-09 14:40:21 ~3 min ios 📄log
✔️ a06a681 #41 2023-03-09 14:40:34 ~4 min tests 📄log
107f2f5 #43 2023-03-09 14:45:52 ~3 min ios 📄log
✔️ 107f2f5 #42 2023-03-09 14:46:40 ~4 min tests 📄log
✔️ 107f2f5 #43 2023-03-09 14:48:08 ~5 min android-e2e 🤖apk 📲
✔️ 107f2f5 #43 2023-03-09 14:48:49 ~6 min android 🤖apk 📲
d3ac267 #44 2023-03-09 14:52:38 ~3 min ios 📄log
✔️ d3ac267 #43 2023-03-09 14:54:18 ~4 min tests 📄log
✔️ d3ac267 #44 2023-03-09 14:55:04 ~5 min android-e2e 🤖apk 📲
✔️ d3ac267 #44 2023-03-09 14:57:08 ~7 min android 🤖apk 📲
✔️ c648b78 #44 2023-03-09 15:13:55 ~4 min tests 📄log
✔️ c648b78 #45 2023-03-09 15:16:13 ~6 min android-e2e 🤖apk 📲
✔️ c648b78 #45 2023-03-09 15:16:16 ~6 min android 🤖apk 📲
4434a0a #46 2023-03-09 15:21:28 ~3 min ios 📄log
✔️ 4434a0a #45 2023-03-09 15:22:37 ~4 min tests 📄log
✔️ 4434a0a #46 2023-03-09 15:24:47 ~6 min android-e2e 🤖apk 📲
✔️ 4434a0a #46 2023-03-09 15:24:55 ~6 min android 🤖apk 📲
c25851a #47 2023-03-09 15:34:44 ~3 min ios 📄log
✔️ c25851a #46 2023-03-09 15:35:30 ~4 min tests 📄log
✔️ c25851a #47 2023-03-09 15:37:55 ~6 min android-e2e 🤖apk 📲
✔️ c25851a #47 2023-03-09 15:37:59 ~6 min android 🤖apk 📲
41ad789 #48 2023-03-09 15:46:37 ~3 min ios 📄log
✔️ 41ad789 #47 2023-03-09 15:47:53 ~4 min tests 📄log
✔️ 41ad789 #48 2023-03-09 15:50:00 ~6 min android-e2e 🤖apk 📲
✔️ 41ad789 #48 2023-03-09 15:50:08 ~6 min android 🤖apk 📲
6353af7 #49 2023-03-09 16:03:13 ~1 min ios 📄log
✔️ 6353af7 #48 2023-03-09 16:05:27 ~4 min tests 📄log
✔️ 6353af7 #49 2023-03-09 16:07:49 ~6 min android-e2e 🤖apk 📲
✔️ 6353af7 #49 2023-03-09 16:07:56 ~6 min android 🤖apk 📲
4f54936 #50 2023-03-09 16:24:41 ~3 min ios 📄log
✔️ 4f54936 #49 2023-03-09 16:25:28 ~4 min tests 📄log
✔️ 4f54936 #50 2023-03-09 16:26:56 ~5 min android-e2e 🤖apk 📲
✔️ 4f54936 #50 2023-03-09 16:27:13 ~6 min android 🤖apk 📲
26e6139 #51 2023-03-09 16:32:02 ~3 min ios 📄log
✔️ 26e6139 #50 2023-03-09 16:33:05 ~4 min tests 📄log
✔️ 26e6139 #51 2023-03-09 16:35:02 ~6 min android 🤖apk 📲
✔️ 26e6139 #51 2023-03-09 16:35:30 ~6 min android-e2e 🤖apk 📲
9179d2b #52 2023-03-09 16:53:42 ~3 min ios 📄log
93d46c5 #53 2023-03-10 02:34:17 ~5 min ios 📄log
caf0a9d #55 2023-03-10 02:54:38 ~3 min ios 📄log
195d3fd #56 2023-03-10 17:25:44 ~2 min ios 📄log
1c05717 #57 2023-03-11 02:55:40 ~5 min ios 📄log
85ec34e #58 2023-03-11 16:03:29 ~3 min ios 📄log
fa88d5e #59 2023-03-11 16:23:54 ~3 min ios 📄log
8312e03 #60 2023-03-12 11:32:02 ~4 min ios 📄log
1068e26 #61 2023-03-12 15:25:59 ~3 min ios 📄log
c62a7e7 #62 2023-03-12 15:42:43 ~3 min ios 📄log
685dd41 #63 2023-03-13 02:38:25 ~4 min ios 📄log
58cc492 #66 2023-03-13 02:46:10 ~2 min ios 📄log
d983f8c #67 2023-03-13 03:04:52 ~2 min ios 📄log
1a81bdb #68 2023-03-13 03:11:18 ~3 min ios 📄log
c00a09d #69 2023-03-13 06:02:45 ~3 min ios 📄log
0333d6f #70 2023-03-13 06:21:03 ~2 min ios 📄log
87932f0 #71 2023-03-13 06:27:55 ~2 min ios 📄log
915681e #72 2023-03-13 07:53:15 ~2 min ios 📄log
✔️ 915681e #1 2023-03-13 07:56:08 ~5 min tests 📄log
✔️ 915681e #1 2023-03-13 07:57:01 ~6 min android 🤖apk 📲
✔️ 915681e #1 2023-03-13 07:57:31 ~6 min android-e2e 🤖apk 📲
941de75 #73 2023-03-13 08:00:59 ~2 min ios 📄log
✔️ 941de75 #2 2023-03-13 08:02:47 ~4 min tests 📄log
✔️ 941de75 #2 2023-03-13 08:04:37 ~6 min android-e2e 🤖apk 📲
✔️ 941de75 #2 2023-03-13 08:04:59 ~6 min android 🤖apk 📲
9b0b047 #74 2023-03-13 08:12:03 ~2 min ios 📄log
✔️ 9b0b047 #3 2023-03-13 08:13:37 ~4 min tests 📄log
✔️ 9b0b047 #3 2023-03-13 08:16:11 ~6 min android-e2e 🤖apk 📲
✔️ 9b0b047 #3 2023-03-13 08:16:14 ~6 min android 🤖apk 📲
9b0b047 #76 2023-03-13 08:48:16 ~2 min ios 📄log
✔️ 9b0b047 #5 2023-03-13 08:50:57 ~5 min tests 📄log
✔️ 9b0b047 #5 2023-03-13 08:52:32 ~7 min android-e2e 🤖apk 📲
✔️ 9b0b047 #5 2023-03-13 08:52:34 ~7 min android 🤖apk 📲
✔️ d73938f #4 2023-03-13 08:22:37 ~4 min tests 📄log
✔️ d73938f #4 2023-03-13 08:25:07 ~6 min android-e2e 🤖apk 📲
✔️ d73938f #4 2023-03-13 08:25:11 ~6 min android 🤖apk 📲
d73938f #75 2023-03-13 08:30:42 ~12 min ios 📄log
66798e0 #77 2023-03-13 12:39:54 ~10 sec ios 📄log
3cefa0e #78 2023-03-13 12:50:03 ~2 min ios 📄log
d409195 #79 2023-03-13 13:05:42 ~2 min ios 📄log
4a4b3f7 #80 2023-03-13 13:12:00 ~2 min ios 📄log
c06a78e #81 2023-03-13 13:21:05 ~2 min ios 📄log
0662429 #82 2023-03-13 13:35:53 ~2 min ios 📄log
30c4488 #84 2023-03-13 13:54:49 ~6 min ios 📄log
29fdcf0 #86 2023-03-14 11:50:13 ~3 min ios 📄log
27e4562 #88 2023-03-14 11:59:59 ~2 min ios 📄log
e839a87 #89 2023-03-14 12:13:38 ~2 min ios 📄log
564f05e #90 2023-03-14 12:27:04 ~2 min ios 📄log
dd2376c #91 2023-03-14 12:40:50 ~2 min ios 📄log
8af80c2 #92 2023-03-14 14:43:16 ~4 min ios 📄log
c7845b8 #96 2023-03-14 14:53:19 ~2 min ios 📄log
8985023 #97 2023-03-14 15:00:35 ~5 min ios 📄log
5d81d46 #98 2023-03-14 15:10:59 ~8 min ios 📄log
9ed4f8d #99 2023-03-14 15:20:29 ~7 min ios 📄log
41bf3af #100 2023-03-14 15:28:41 ~5 min ios 📄log
2f73a44 #101 2023-03-15 02:13:47 ~8 min ios 📄log
8551f84 #102 2023-03-15 02:21:41 ~2 min ios 📄log
c3ffabd #103 2023-03-15 05:37:40 ~2 min ios 📄log
597286c #105 2023-03-15 05:43:57 ~2 min ios 📄log
1679491 #106 2023-03-15 05:57:26 ~2 min ios 📄log
40e0dcd #107 2023-03-15 07:03:11 ~1 min ios 📄log
7142b45 #108 2023-03-15 07:06:53 ~52 sec ios 📄log
62dd339 #109 2023-03-15 07:08:54 ~52 sec ios 📄log
ae7f2cc #111 2023-03-15 07:15:29 ~2 min ios 📄log
cc7f2c0 #112 2023-03-15 07:50:16 ~2 min ios 📄log
1e22dac #113 2023-03-15 08:48:02 ~3 min ios 📄log
340c034 #114 2023-03-15 09:01:47 ~2 min ios 📄log
370285b #115 2023-03-15 09:38:46 ~3 min ios 📄log
050c6b6 #117 2023-03-15 13:14:11 ~3 min ios 📄log
0d0bf28 #118 2023-03-16 06:38:24 ~2 min ios 📄log
2ac6010 #120 2023-03-16 06:43:26 ~1 min ios 📄log
08a72ad #122 2023-03-16 06:51:06 ~2 min ios 📄log
2e670a2 #123 2023-03-16 06:54:58 ~2 min ios 📄log
c034bdf #124 2023-03-16 07:18:22 ~2 min ios 📄log
3f77baa #125 2023-03-16 08:47:45 ~3 min ios 📄log
3efd97a #126 2023-03-16 08:57:21 ~2 min ios 📄log
4a01959 #127 2023-03-16 09:28:04 ~10 min ios 📄log
a54100c #128 2023-03-16 09:58:00 ~3 min ios 📄log
25005fe #129 2023-03-16 10:04:30 ~4 min ios 📄log
566fe55 #130 2023-03-16 10:08:45 ~3 min ios 📄log
baec1bc #131 2023-03-16 10:16:03 ~2 min ios 📄log
b7e2561 #134 2023-03-16 13:49:42 ~2 min ios 📄log
5f9f6b1 #135 2023-03-16 14:18:48 ~18 sec ios 📄log
ede4b94 #137 2023-03-16 14:24:45 ~1 min ios 📄log
993dd44 #138 2023-03-16 14:32:09 ~18 sec ios 📄log
d5278b0 #139 2023-03-16 14:59:05 ~5 min ios 📄log
a5ecc0a #142 2023-03-16 15:18:35 ~5 min ios 📄log
6469d99 #143 2023-03-16 16:13:18 ~11 sec ios 📄log
d50abdd #144 2023-03-16 18:25:58 ~3 min ios 📄log
8f58cce #145 2023-03-16 21:04:45 ~3 min ios 📄log
4f70494 #146 2023-03-16 21:38:21 ~4 min ios 📄log
4f70494 #147 2023-03-16 22:20:47 ~3 min ios 📄log
4f70494 #148 2023-03-16 22:27:25 ~2 min ios 📄log
c6fc529 #149 2023-03-17 03:22:58 ~3 min ios 📄log
aef7130 #150 2023-03-17 06:23:10 ~4 min ios 📄log
455aeec #151 2023-03-17 07:13:46 ~2 min ios 📄log
71c394c #152 2023-03-17 07:17:28 ~2 min ios 📄log
1f53729 #153 2023-03-17 07:54:56 ~1 min ios 📄log
7f5705a #154 2023-03-17 08:36:56 ~2 min ios 📄log
5cd5771 #155 2023-03-17 08:42:34 ~2 min ios 📄log
dea4c41 #156 2023-03-17 08:49:28 ~2 min ios 📄log
6a5c1eb #157 2023-03-17 09:00:15 ~2 min ios 📄log
6241d1f #158 2023-03-17 10:02:29 ~46 sec ios 📄log
9bfb9cc #159 2023-03-17 10:09:51 ~3 min ios 📄log
96c490b #160 2023-03-17 10:22:09 ~5 min ios 📄log
980d251 #161 2023-03-17 10:32:18 ~4 min ios 📄log
31777dc #162 2023-03-17 11:13:48 ~2 min ios 📄log
27ff7ab #163 2023-03-17 11:30:17 ~2 min ios 📄log
e5ad84e #164 2023-03-17 14:38:37 ~1 min ios 📄log
d64091a #165 2023-03-17 14:49:04 ~6 min ios 📄log
e611f2a #166 2023-03-17 15:25:27 ~7 min ios 📄log
fe1edd6 #167 2023-03-19 03:00:36 ~7 min ios 📄log
✔️ e8cbdc1 #169 2023-03-19 04:32:27 ~5 min ios 📱ipa 📲
✔️ 35ffe4e #170 2023-03-19 05:07:28 ~5 min ios 📱ipa 📲
✔️ ae70e2b #172 2023-03-19 05:28:14 ~5 min ios 📱ipa 📲
✔️ 10e0a10 #173 2023-03-19 05:35:04 ~5 min ios 📱ipa 📲
✔️ 18a9784 #174 2023-03-19 05:43:25 ~5 min ios 📱ipa 📲
38ea58e #1 2023-03-20 05:05:25 ~5 min android 📄log
38ea58e #1 2023-03-20 05:05:36 ~5 min android-e2e 📄log
✔️ 38ea58e #175 2023-03-20 05:06:43 ~6 min ios 📱ipa 📲
38ea58e #1 2023-03-20 05:08:16 ~7 min tests 📄log
e913023 #2 2023-03-20 05:42:06 ~1 min android-e2e 📄log
e913023 #2 2023-03-20 05:42:30 ~2 min android 📄log
e913023 #2 2023-03-20 05:44:27 ~4 min tests 📄log
✔️ e913023 #176 2023-03-20 05:45:48 ~5 min ios 📱ipa 📲
6893555 #3 2023-03-20 06:14:44 ~2 min android 📄log
6893555 #3 2023-03-20 06:16:27 ~4 min tests 📄log
6893555 #3 2023-03-20 06:17:01 ~4 min android-e2e 📄log
67c31e9 #4 2023-03-20 06:20:10 ~2 min android-e2e 📄log
67c31e9 #4 2023-03-20 06:20:11 ~2 min android 📄log
67c31e9 #4 2023-03-20 06:21:42 ~4 min tests 📄log
✔️ 67c31e9 #178 2023-03-20 06:23:01 ~5 min ios 📱ipa 📲
8234c9f #5 2023-03-20 06:36:06 ~3 min tests 📄log
8234c9f #5 2023-03-20 06:37:09 ~5 min android 📄log
8234c9f #5 2023-03-20 06:37:14 ~5 min android-e2e 📄log
8234c9f #179 2023-03-20 06:37:49 ~5 min ios 📄log
9dd9285 #6 2023-03-20 07:05:59 ~5 min android 📄log
9dd9285 #6 2023-03-20 07:06:10 ~5 min android-e2e 📄log
✔️ 9dd9285 #180 2023-03-20 07:06:24 ~5 min ios 📱ipa 📲
9dd9285 #6 2023-03-20 07:06:55 ~6 min tests 📄log
2841f67 #7 2023-03-20 10:17:17 ~3 min android-e2e 📄log
2841f67 #7 2023-03-20 10:17:35 ~3 min android 📄log
2841f67 #7 2023-03-20 10:19:49 ~5 min tests 📄log
2841f67 #181 2023-03-20 10:22:49 ~8 min ios 📄log
2987c18 #8 2023-03-20 10:46:22 ~5 min android-e2e 📄log
2987c18 #8 2023-03-20 10:46:56 ~5 min android 📄log
2987c18 #182 2023-03-20 10:47:36 ~6 min ios 📄log
2987c18 #8 2023-03-20 10:49:20 ~8 min tests 📄log
376a714 #9 2023-03-20 11:05:32 ~2 min android 📄log
376a714 #9 2023-03-20 11:05:36 ~2 min android-e2e 📄log
376a714 #9 2023-03-20 11:07:46 ~4 min tests 📄log
✔️ 376a714 #183 2023-03-20 11:08:50 ~5 min ios 📱ipa 📲
30d9a1a #10 2023-03-20 11:51:56 ~2 min android-e2e 📄log
30d9a1a #10 2023-03-20 11:51:58 ~2 min android 📄log
30d9a1a #10 2023-03-20 11:54:01 ~4 min tests 📄log
✔️ 30d9a1a #184 2023-03-20 11:54:51 ~5 min ios 📱ipa 📲
621b7d2 #11 2023-03-20 13:47:18 ~4 min android 📄log
✔️ 621b7d2 #185 2023-03-20 13:48:47 ~5 min ios 📱ipa 📲
621b7d2 #11 2023-03-20 13:49:29 ~6 min android-e2e 📄log
621b7d2 #11 2023-03-20 13:51:24 ~8 min tests 📄log
a04012a #12 2023-03-21 02:19:06 ~4 min android-e2e 📄log
a04012a #12 2023-03-21 02:19:06 ~4 min tests 📄log
a04012a #12 2023-03-21 02:19:06 ~4 min android 📄log
✔️ a04012a #186 2023-03-21 02:21:43 ~7 min ios 📱ipa 📲
fdd40a7 #13 2023-03-21 08:31:55 ~3 min tests 📄log
fdd40a7 #13 2023-03-21 08:31:56 ~3 min android-e2e 📄log
fdd40a7 #13 2023-03-21 08:32:52 ~4 min android 📄log
✔️ fdd40a7 #187 2023-03-21 08:36:00 ~7 min ios 📱ipa 📲
a8be1a6 #14 2023-03-21 09:15:27 ~3 min tests 📄log
a8be1a6 #14 2023-03-21 09:16:36 ~4 min android-e2e 📄log
a8be1a6 #14 2023-03-21 09:16:39 ~4 min android 📄log
✔️ a8be1a6 #188 2023-03-21 09:17:42 ~5 min ios 📱ipa 📲
7fb8a4a #15 2023-03-21 09:42:27 ~3 min tests 📄log
fdec8b4 #16 2023-03-21 09:45:52 ~2 min android 📄log
fdec8b4 #16 2023-03-21 09:46:40 ~3 min tests 📄log
fdec8b4 #16 2023-03-21 09:47:07 ~3 min android-e2e 📄log
✔️ fdec8b4 #190 2023-03-21 09:48:54 ~5 min ios 📱ipa 📲
68464b6 #17 2023-03-21 11:49:07 ~8 min tests 📄log
68464b6 #17 2023-03-21 11:49:41 ~8 min android 📄log
68464b6 #17 2023-03-21 11:53:58 ~12 min android-e2e 📄log
✔️ 68464b6 #191 2023-03-21 11:54:38 ~13 min ios 📱ipa 📲
e8f0e24 #22 2023-03-21 12:05:21 ~2 min tests 📄log
e8f0e24 #22 2023-03-21 12:05:43 ~2 min android 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
851c947 #23 2023-03-21 12:07:55 ~1 min tests 📄log
851c947 #23 2023-03-21 12:08:20 ~2 min android-e2e 📄log
851c947 #23 2023-03-21 12:08:26 ~2 min android 📄log
✔️ 851c947 #197 2023-03-21 12:11:09 ~5 min ios 📱ipa 📲
3f61907 #25 2023-03-22 02:58:20 ~1 min android-e2e 📄log
3f61907 #25 2023-03-22 02:58:38 ~2 min tests 📄log
3f61907 #25 2023-03-22 03:01:08 ~4 min android 📄log
✔️ 3f61907 #199 2023-03-22 03:03:07 ~6 min ios 📱ipa 📲

@siddarthkay
Copy link
Contributor Author

known side effect on IOS Side : #15206

@jakubgs
Copy link
Member

jakubgs commented Feb 28, 2023

Looks like the JAR for AAPT2 now also includes a NOTICE which has exec permissions:

+++ find /build/tmp.OnogTjWbML/ -type f -executable
++ for exe in `find $tmpDir/ -type f -executable`
++ type /build/tmp.OnogTjWbML/NOTICE
/build/tmp.OnogTjWbML/NOTICE is /build/tmp.OnogTjWbML/NOTICE
++ file /build/tmp.OnogTjWbML/NOTICE
/build/tmp.OnogTjWbML/NOTICE: ASCII text
+++ cat /nix/store/j061mvdxw70xz20r2r0lr5lk0rcsjf9i-gcc-wrapper-11.3.0/nix-support/dynamic-linker
++ patchelf --set-interpreter /nix/store/lkxc9m0lm2c9lxzhfxs4hsll6nx3fjsl-glibc-2.35-163/lib/ld-linux-x86-64.so.2 /build/tmp.OnogTjWbML/NOTICE
patchelf: not an ELF executable

Which would cause the derivation to try to patchelf a text file instead of an ELF binary:

unzip $out/${filenames.jar} -d $tmpDir
for exe in `find $tmpDir/ -type f -executable`; do
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $exe
done

Easy fix.

@jakubgs
Copy link
Member

jakubgs commented Feb 28, 2023

Seems to me like this error:

Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.6.10'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.6.10')
  Searched in the following repositories:
    MavenRepo
    Google
    Gradle Central Plugin Repositor

Means that Gradle is not looking for the plugin files in Nix store. Which can mean at least two of those things:

  1. Gradle 6 had all the necessary plugins already provided via maven.repo.local setting.
  2. Gradle 6 was not using any plugins in the first place.

Which would mean that either:

  1. Gradle 7 is not searching for plugins in Nix store path provided via maven.repo.local.
  2. Gradle 7 now requires plugins which were previously not necessary.

Which means either we have to point it to the right path, or provide plugins in some alternative way.

@siddarthkay siddarthkay force-pushed the react-native-upgrade-68 branch 2 times, most recently from 9767fc5 to 41e8964 Compare March 1, 2023 08:00
@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

According to the docs:

A plugin is simply any class that implements the Plugin interface. Gradle provides the core plugins (e.g. JavaPlugin) as part of its distribution which means they are automatically resolved. However, non-core binary plugins need to be resolved before they can be applied. This can be achieved in a number of ways:

https://docs.gradle.org/current/userguide/plugins.html#sec:binary_plugins

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

The way we do it, and it is normally done, is using the buildscript block:

Binary plugins that have been published as external jar files can be added to a project by adding the plugin to the build script classpath and then applying the plugin. External jars can be added to the build script classpath using the buildscript {} block as described in External dependencies for the build script.

https://docs.gradle.org/current/userguide/plugins.html#sec:applying_plugins_buildscript

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

If I strace gradle I can see it loads some JARs for Kotlin plugin from Gradle nix folder itself:

 > grep kotlin result/strace.log | grep plugin | grep '.jar"' | sort -u
104   newfstatat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/plugins/gradle-kotlin-dsl-tooling-builders-7.5.jar", {st_mode=S_IFREG|0444, st_size=126701, ...}, 0) = 0
31    newfstatat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/kotlin-sam-with-receiver-compiler-plugin-1.6.21.jar", {st_mode=S_IFREG|0444, st_size=11710, ...}, 0) = 0
31    newfstatat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/plugins/gradle-kotlin-dsl-provider-plugins-7.5.jar", {st_mode=S_IFREG|0444, st_size=186678, ...}, 0) = 0
31    newfstatat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/plugins/gradle-kotlin-dsl-tooling-builders-7.5.jar", {st_mode=S_IFREG|0444, st_size=126701, ...}, 0) = 0
31    openat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/kotlin-sam-with-receiver-compiler-plugin-1.6.21.jar", O_RDONLY) = 118
67    newfstatat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/kotlin-sam-with-receiver-compiler-plugin-1.6.21.jar", {st_mode=S_IFREG|0444, st_size=11710, ...}, 0) = 0
67    newfstatat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/plugins/gradle-kotlin-dsl-provider-plugins-7.5.jar", {st_mode=S_IFREG|0444, st_size=186678, ...}, 0) = 0
67    newfstatat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/plugins/gradle-kotlin-dsl-tooling-builders-7.5.jar", {st_mode=S_IFREG|0444, st_size=126701, ...}, 0) = 0
67    openat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/kotlin-sam-with-receiver-compiler-plugin-1.6.21.jar", O_RDONLY) = 118
67    openat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/plugins/gradle-kotlin-dsl-provider-plugins-7.5.jar", O_RDONLY) = 135
67    openat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/plugins/gradle-kotlin-dsl-provider-plugins-7.5.jar", O_RDONLY) = 157
67    openat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/plugins/gradle-kotlin-dsl-tooling-builders-7.5.jar", O_RDONLY) = 135
67    openat(AT_FDCWD, "/nix/store/8fwhgsbmcbp064ki23l65shyvc9digwp-gradle-7.5/lib/gradle/lib/plugins/gradle-kotlin-dsl-tooling-builders-7.5.jar", O_RDONLY) = 180

But nothing else.

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

I can't even find any attempt to read a file with the version we need in the filename:

 > grep kotlin result/strace.log | grep 1.6.10                         

Which is worrying.

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

I found one possible issue in the error:

FAILURE: Build failed with an exception.

* Where:
Build file '/build/node_modules/react-native-gradle-plugin/build.gradle.kts' line: 11

They key thing here is that this file is build.gradle.kts and not build.gradle.
Right now when we patch Node dependencies we only take into account build.gradle files:

# Patch build.gradle files in 'react-native-*' dependencies to replace
# maven and google central repositories with our own local directories.
# This prevents the builder from downloading Maven artifacts
patchGradlePhase = ''
for modBuildGradle in $(find -L ./node_modules -name build.gradle); do
relativeToNode=''${modBuildGradle#*node_modules/}
moduleName=''${relativeToNode%%/*}
if [[ -L ./node_modules/$moduleName ]]; then
unlink ./node_modules/$moduleName
cp -r ${deps.nodejs}/node_modules/$moduleName ./node_modules/
chmod u+w -R ./node_modules/$moduleName
fi
${patchMavenSources} $modBuildGradle
done
'';

So that's one thing to fix, but it doesn't appear to make a difference.

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

When I run Gradle with --debug flag I can see it's trying to download org.jetbrains.kotlin.jvm.gradle.plugin:1.6.10:

 > grep 'kotlin.*1.6.10' gradle.log
[DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Download https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom' started
[DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Download https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom'
[DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Download https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom' started
[DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Download https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom'
[DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Download https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom' started
[DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Download https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom'
[DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver] Attempting to resolve component for org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.6.10 using repositories [MavenRepo, Google, Gradle Central Plugin Repository]
[DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver] Loading https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor] Constructing external resource: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.resource.transport.http.HttpResourceAccessor] Constructing external resource: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.resource.transport.http.HttpClientHelper] Performing HTTP GET: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Download https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom' completed
[DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver] Loading https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor] Constructing external resource: https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.resource.transport.http.HttpResourceAccessor] Constructing external resource: https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.resource.transport.http.HttpClientHelper] Performing HTTP GET: https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Download https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom' completed
[DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver] Loading https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor] Constructing external resource: https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.resource.transport.http.HttpResourceAccessor] Constructing external resource: https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.resource.transport.http.HttpClientHelper] Performing HTTP GET: https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom
[DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Download https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom' completed
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.6.10'] was not found in any of the following sources:
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.6.10')

Specifically, it tries the URL:
https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.6.10/org.jetbrains.kotlin.jvm.gradle.plugin-1.6.10.pom

Which does exist, but is just a POM without any JAR.

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

Here we can see where Gradle is looking for the plugin POMs(and JARs):

3460518 newfstatat(AT_FDCWD, "/run/user/1000/tmp.F2sZZMLrXI/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api", 0x7fdeab1f6c80, 0) = -1 ENOENT (No such file or directory)
3460518 newfstatat(AT_FDCWD, "/run/user/1000/tmp.F2sZZMLrXI/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api", 0x7fdeab1f6e30, 0) = -1 ENOENT (No such file or directory)
3460518 newfstatat(AT_FDCWD, "/run/user/1000/tmp.F2sZZMLrXI/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.6.10", 0x7fdeab1f6c80, 0) = -1 ENOENT (No such file or directory)
3460518 newfstatat(AT_FDCWD, "/run/user/1000/tmp.F2sZZMLrXI/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.6.10/509dc9830a6c2f9cd395c0aff195f80309e76260", 0x7fdeab1f6c80, 0) = -1 ENOENT (No such file or directory)
3460518 newfstatat(AT_FDCWD, "/run/user/1000/tmp.F2sZZMLrXI/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.6.10/509dc9830a6c2f9cd395c0aff195f80309e76260/kotlin-gradle-plugin-api-1.6.10.pom", 0x7fdeab1f6d10, 0) = -1 ENOENT (No such file or directory)
3460518 newfstatat(AT_FDCWD, "/run/user/1000/tmp.F2sZZMLrXI/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.6.10/509dc9830a6c2f9cd395c0aff195f80309e76260/kotlin-gradle-plugin-api-1.6.10.pom", 0x7fdeab1f6e00, 0) = -1 ENOENT (No such file or directory)

The location for the POM is:

$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.6.10/509dc9830a6c2f9cd395c0aff195f80309e76260/kotlin-gradle-plugin-api-1.6.10.pom

We can put it there, but what the hell is 509dc9830a6c2f9cd395c0aff195f80309e76260.

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

Apparently:

You are comparing the SHA of file with SHA of url. The sha you are considering from gradle is the sha of url from where the jar is downloaded. gradle maintains sha of url for caching and avoid multiple downloads of jar in the dependency tree. As you know, sha will be unique so existing dependency jar will never download again until you change the dependency itself. Wheres the file sha is a kind of signature to ensure the content of file is not modified and it's as-is. Hope it's clear now.

https://stackoverflow.com/questions/58021095/whats-the-rule-of-the-sha1-code-directory-in-gradle-cache-path

So that's annoying, but doable.

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

Aaaand there we have it:

Gradle will use repositories at two different phases during your build.

The first phase is when configuring your build and loading the plugins it applied. To do that Gradle will use a special set of repositories.

And:

By default Gradle will use the Gradle plugin portal to look for plugins.

However, for different reasons, there are plugins available in other, public or not, repositories. When a build requires one of these plugins, additional repositories need to be specified so that Gradle knows where to search.

As the way to declare the repositories and what they are expected to contain depends on the way the plugin is applied, it is best to refer to Custom Plugin Repositories.

https://docs.gradle.org/7.5/userguide/declaring_repositories.html#sub:plugin-repos

So yes, Gradle does ignore our mavenLocal configuration and just fetches from http://plugins.gradle.org/ anyway.

Moronic.

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

But we can try working around this with:

pluginManagement {
    repositories {
        maven { url './maven-repo' }
        gradlePluginPortal()
        ivy { url './ivy-repo' }
    }
}

https://docs.gradle.org/7.5/userguide/plugins.html#sec:custom_plugin_repositories

Maybe.

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

And indeed react-native-gradle-plugin does define its own pluginManagement section:

 > grep -A6 pluginManagement node_modules/react-native-gradle-plugin/settings.gradle.kts
pluginManagement {
    repositories {
        mavenCentral()
        google()
        gradlePluginPortal()
    }
}

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

Interestingly, we already use this for react-native-share:

project(':react-native-share').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-share/android')
repositories {
mavenLocal() // Let's prioritize local Maven repos so that Nix can provide them offline
gradlePluginPortal()
}
}

And we use mavenLocal, although it's not documented.

@jakubgs
Copy link
Member

jakubgs commented Mar 3, 2023

Progress! By applying mavenLocal to the `` configs in existing Node modules I changed the error into this:

FAILURE: Build failed with an exception.

* Where:
Build file '/build/node_modules/react-native-gradle-plugin/build.gradle.kts' line: 11

* What went wrong:
Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.6.10'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.6.10')
  Searched in the following repositories:
    MavenLocal(file:/build/.m2/repository)
    MavenLocal2(file:/build/.m2/repository)
    MavenLocal3(file:/build/.m2/repository)

It's looking in /build/.m2/repository, which means it's ignoring the -Dmaven.repo.local= flag, but this can be fixed.

siddarthkay and others added 4 commits March 22, 2023 08:21
fix Podfile for `react-native-reanimated`

update `AppDelegate.mm` reference in xcodeProject

some more logs to `app-launched-listener`

upgrade RNN & add more logs

upgrade lib `react-native-reanimated`

to get rid of iOS Warning: RCTBridge required dispatch_sync to load REAModule

get rid of deprecated `bootstrapWithDelegate`

update yarn.lock :)
bump `react-native-hole-view`

use status-im org fork of `react-native-hole-view`

use status-im org fork of `react-native-mail`

use correct fork of `react-native-mail`

nix: use new flags for gradle call

Signed-off-by: Jakub Sokołowski <jakub@status.im>

nix: fix aapt2 derivationt trying to patch a text file

Signed-off-by: Jakub Sokołowski <jakub@status.im>

nix: make AAPT2 installPhase optional for macos

Signed-off-by: Jakub Sokołowski <jakub@status.im>

nix: fix gradle dependencies

Signed-off-by: Jakub Sokołowski <jakub@status.im>

nix: add missing gradle deps (NOT A REAL FIX)

Signed-off-by: Jakub Sokołowski <jakub@status.im>

nix: drop setting JAVA_HOME, breaks apkanalyzer

Signed-off-by: Jakub Sokołowski <jakub@status.im>
show pods and revert the Podfile change

show me what you got in Pods dir

log contents & permissions of IOS PR Pods on fail

patch glog in `patchReactNativePhase`

update gems

remove degenerate pods

add comment todo to remove patch fix later

maybe xcode needs to be cleaned up

get rid of `react-native-codegen`

add default flags to Podfile

:deterministic_uuids => false

ios: pods update, xcode config fix

:deterministic_uuids => false breaks stuff locally

try `make release-ios-pr` when ios build fails

on failure try harder

fix quotes

install pods via makefile

get rid of useless steps

print rn environment info on CI

check rn-info on failure as well

make release-ios-pr

bring back UseModernBuildSystem flag

try if `make release-ios-pr` works on CI macos

try building ios instead of archiving in Prebundle

target ios

fix make

try building scheme StatusIm as well

show CI xcode buildSettings

add `verbose` flag to fastlane ios builds

add verbose to xcargs

use nix shell for rn-info

use script block

xcode-clean on prep stage

can't xcode-select --reset without sudo

dont print info in pre build stage

try on a specific host

no label

update label

`__apply_Xcode_12_5_M1_post_install_workaround`

try and clean xcode better

get rid of entire DerivedData folder

get rid of header_search_path

xcode something something

upgrade nodejs to 18.x
enable new architecture

don't patchBuildIdPhase & patchJavaPhase TEMP

build without fabric
`ndkVersion`-> "23.1.7779620"

android: fix missing gradle dependencies

nix: moar android fixes

add dependency for AsyncStorage
refactor to use latest react-native-config library

add tsconfig & remove flowconfig

upgrade `react-native-redash` to `18.1.0`
@flexsurfer
Copy link
Member

flexsurfer commented Mar 27, 2023

hey @siddarthkay could you pls give a short update on the latest status of this PR, i see you created a new PR with an older version, no luck with 0.71.4 ? :(

@siddarthkay
Copy link
Contributor Author

no luck with 0.71.4

no luck with any version after 0.67.5!
At 0.71.4 Only ray of hope was that IOS builds would be successful on CI only
We could not even get those builds to run on simulator.

The transition to enable new architecture and use newer navigation library and newer reanimated library was too much to handle all together.
Hot reloading was also not working so i had to rebuild application each time and it was just a mess to fix issues on.

So I figured its best to merge what is stable (i.e 0.67) into develop and observe if it breaks any existing functionality and isolate each issue and work on it separately.
I won't be giving up on the upgrade that easily I want to tackle each issue gradually.

@OmarBasem
Copy link
Contributor

Hi @siddarthkay,
Keep in mind that upgrading to v0.70+ and enabling new architecture are 2 different issues. Lots of third-party libraries do not yet support new-arch as it is still in a transition phase, and will probably remain so as long as it is optional from react-native. I think we should focus on upgrading to v0.70+, and then see the possibility of enabling the new-arch after that. We will still reap lots of benefits by upgrading to v0.70+ with or without new-arch.

@flexsurfer
Copy link
Member

hey @siddarthkay should we close this or rename maybe, because we are not on 0.63.3 anymore ?

@siddarthkay
Copy link
Contributor Author

hey @flexsurfer : I'll rename, this PR has some fixes for 0.71 which i'd like to keep as a reference, will also mark this PR as draft.

@siddarthkay siddarthkay marked this pull request as draft April 17, 2023 07:55
@flexsurfer flexsurfer changed the title React native upgrade from version 0.63.3 to 0.71.4 ? [WIP] React native upgrade from version 0.63.3 to 0.71.4 ? Apr 17, 2023
@flexsurfer
Copy link
Member

feel free to reopen when work is ongoing

@flexsurfer flexsurfer closed this May 16, 2023
@siddarthkay siddarthkay deleted the react-native-upgrade-68 branch August 23, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Research into upgrading react-native
5 participants