Skip to content

Conversation

@siddarthkay
Copy link
Contributor

@siddarthkay siddarthkay commented Jun 4, 2025

Otherwise CI builds were failing with :

github.com/status-im/status-go/mobile/requests
github.com/status-im/status-go/server/pairing/preflight
github.com/status-im/status-go/mobile
gobind/gobind
gobind/gobind
/nix/store/9cimpd18hk5dly63v76nwjdfc6h284bm-gomobile-0-unstable-2024-12-13/bin/gomobile: open build/bin/statusgo.aar: no such file or directory
make: *** [Makefile:186: statusgo-android] Error 1

failing CI job : https://ci.status.im/blue/organizations/jenkins/status-go%2Fprs%2Fandroid/detail/PR-6612/13/pipeline/

I tried to build manually on linux-02 and got the same failure, also this build directory was absent.

bash-5.2$ ls -la build/ 2>/dev/null || echo "build directory doesn't exist"
build directory doesn't exist

also fixes : #6579

@siddarthkay siddarthkay self-assigned this Jun 4, 2025
@siddarthkay siddarthkay requested a review from a team as a code owner June 4, 2025 08:18
@status-im-auto
Copy link
Member

status-im-auto commented Jun 4, 2025

Jenkins Builds

Click to see older builds (36)
Commit #️⃣ Finished (UTC) Duration Platform Result
5f846dc #1 2025-06-04 08:19:06 ~38 sec linux 📄log
5f846dc #1 2025-06-04 08:19:07 ~41 sec linux 📄log
5f846dc #1 2025-06-04 08:19:15 ~51 sec android 📄log
5f846dc #1 2025-06-04 08:19:20 ~48 sec macos 📄log
✖️ 5f846dc #1 2025-06-04 08:19:25 ~46 sec tests 📄log
5f846dc #1 2025-06-04 08:19:34 ~1 min ios 📄log
5f846dc #1 2025-06-04 08:19:41 ~1 min windows 📄log
5f846dc #1 2025-06-04 08:19:49 ~1 min macos 📄log
✖️ 5f846dc #1 2025-06-04 08:34:02 ~15 min tests-rpc 📄log
✔️ 17b4735 #2 2025-06-04 08:28:20 ~2 min android 📦aar
✔️ 17b4735 #2 2025-06-04 08:28:33 ~2 min ios 📦zip
✔️ 17b4735 #2 2025-06-04 08:28:33 ~2 min linux 📦zip
✔️ 17b4735 #2 2025-06-04 08:29:03 ~3 min macos 📦zip
✔️ 17b4735 #2 2025-06-04 08:29:44 ~3 min macos 📦zip
✔️ 17b4735 #2 2025-06-04 08:30:34 ~4 min windows 📦zip
✔️ 17b4735 #2 2025-06-04 08:35:29 ~9 min linux 📦zip
✔️ 17b4735 #2 2025-06-04 08:41:40 ~7 min tests-rpc 📄log
✔️ 17b4735 #2 2025-06-04 08:51:52 ~26 min tests 📄log
cae58ee #3 2025-06-04 08:45:51 ~45 sec android 📄log
✔️ cae58ee #3 2025-06-04 08:48:07 ~3 min linux 📦zip
✔️ cae58ee #3 2025-06-04 08:48:11 ~3 min ios 📦zip
✔️ cae58ee #3 2025-06-04 08:49:06 ~3 min macos 📦zip
✔️ cae58ee #3 2025-06-04 08:49:56 ~4 min windows 📦zip
✔️ cae58ee #3 2025-06-04 08:50:40 ~5 min macos 📦zip
✔️ cae58ee #3 2025-06-04 08:52:43 ~7 min tests-rpc 📄log
✔️ cae58ee #3 2025-06-04 08:52:56 ~7 min linux 📦zip
✔️ cae58ee #3 2025-06-04 09:16:39 ~24 min tests 📄log
✔️ ff46c74 #4 2025-06-04 09:05:27 ~2 min android 📦aar
✔️ ff46c74 #4 2025-06-04 09:05:51 ~2 min linux 📦zip
✔️ ff46c74 #4 2025-06-04 09:05:59 ~3 min macos 📦zip
✔️ ff46c74 #4 2025-06-04 09:07:40 ~4 min windows 📦zip
✔️ ff46c74 #4 2025-06-04 09:07:41 ~4 min ios 📦zip
✔️ ff46c74 #4 2025-06-04 09:08:48 ~5 min macos 📦zip
✔️ ff46c74 #4 2025-06-04 09:10:05 ~7 min tests-rpc 📄log
✔️ ff46c74 #4 2025-06-04 09:10:37 ~7 min linux 📦zip
✔️ ff46c74 #4 2025-06-04 09:41:33 ~24 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 9172db3 #5 2025-06-04 09:28:54 ~2 min android 📦aar
✔️ 9172db3 #5 2025-06-04 09:29:34 ~3 min linux 📦zip
✔️ 9172db3 #5 2025-06-04 09:29:36 ~3 min macos 📦zip
✔️ 9172db3 #5 2025-06-04 09:31:16 ~4 min ios 📦zip
✔️ 9172db3 #5 2025-06-04 09:31:24 ~4 min windows 📦zip
✔️ 9172db3 #5 2025-06-04 09:32:09 ~5 min macos 📦zip
✖️ 9172db3 #5 2025-06-04 09:34:14 ~7 min tests-rpc 📄log
✔️ 9172db3 #5 2025-06-04 09:34:51 ~8 min linux 📦zip
✔️ b779de9 #6 2025-06-04 09:31:24 ~2 min android 📦aar
✔️ b779de9 #6 2025-06-04 09:33:06 ~3 min linux 📦zip
✔️ b779de9 #6 2025-06-04 09:33:24 ~3 min macos 📦zip
✔️ b779de9 #6 2025-06-04 09:36:02 ~4 min windows 📦zip
✔️ b779de9 #6 2025-06-04 09:36:20 ~4 min ios 📦zip
✔️ b779de9 #6 2025-06-04 09:37:36 ~5 min macos 📦zip
✔️ b779de9 #6 2025-06-04 09:41:06 ~6 min tests-rpc 📄log
✔️ b779de9 #6 2025-06-04 09:42:36 ~7 min linux 📦zip
✔️ b779de9 #5 2025-06-04 10:06:40 ~25 min tests 📄log

@siddarthkay siddarthkay force-pushed the fix-statusgo-android-build branch from 5f846dc to 17b4735 Compare June 4, 2025 08:25
Makefile Outdated
Comment on lines 187 to 188
export GO111MODULE=on; \
export GOFLAGS="-mod=mod" \
Copy link
Member

@jakubgs jakubgs Jun 4, 2025

Choose a reason for hiding this comment

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

What's the point of this indent? Also you don't need two exports:

Suggested change
export GO111MODULE=on; \
export GOFLAGS="-mod=mod" \
export GO111MODULE=on GOFLAGS="-mod=mod"; \

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah sorry, i fucked up indents trying to get this PR out quickly.
will fix.

@siddarthkay siddarthkay force-pushed the fix-statusgo-android-build branch from 17b4735 to cae58ee Compare June 4, 2025 08:44
Otherwise CI builds were failing with :
```
github.com/status-im/status-go/mobile/requests
github.com/status-im/status-go/server/pairing/preflight
github.com/status-im/status-go/mobile
gobind/gobind
gobind/gobind
/nix/store/9cimpd18hk5dly63v76nwjdfc6h284bm-gomobile-0-unstable-2024-12-13/bin/gomobile: open build/bin/statusgo.aar: no such file or directory
make: *** [Makefile:186: statusgo-android] Error 1
```

failing CI job : https://ci.status.im/blue/organizations/jenkins/status-go%2Fprs%2Fandroid/detail/PR-6612/13/pipeline/

I tried to build manually on `linux-02` and got the same failure, also this build directory was absent.
```
bash-5.2$ ls -la build/ 2>/dev/null || echo "build directory doesn't exist"
build directory doesn't exist
```

also fixes : #6579
@siddarthkay siddarthkay force-pushed the fix-statusgo-android-build branch from cae58ee to ff46c74 Compare June 4, 2025 09:02
@siddarthkay siddarthkay changed the title fix(ci)_: gomobile init android build fix(ci)_: fetch gomobile deps Jun 4, 2025
@siddarthkay siddarthkay force-pushed the fix-statusgo-android-build branch from 9172db3 to b779de9 Compare June 4, 2025 09:27
@codecov
Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.50%. Comparing base (316ed44) to head (b779de9).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6625      +/-   ##
===========================================
+ Coverage    60.44%   60.50%   +0.06%     
===========================================
  Files          837      837              
  Lines       104244   104244              
===========================================
+ Hits         63006    63073      +67     
+ Misses       33661    33618      -43     
+ Partials      7577     7553      -24     
Flag Coverage Δ
functional 25.68% <ø> (-0.24%) ⬇️
unit 58.37% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 36 files with indirect coverage changes

Copy link
Collaborator

@igor-sirotin igor-sirotin left a comment

Choose a reason for hiding this comment

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

👏 ❤️

@siddarthkay siddarthkay merged commit b779de9 into develop Jun 4, 2025
24 checks passed
@siddarthkay siddarthkay deleted the fix-statusgo-android-build branch June 4, 2025 10:37
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.

gomobile init error

5 participants