[SERVER-36077] Create new resmoke.py test suite for running mongoebench on an Android device Created: 11/Jul/18  Updated: 29/Oct/23  Resolved: 20/Aug/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.0.3, 4.1.3

Type: New Feature Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-36076 Create new resmoke.py test suite for ... Closed
is depended on by SERVER-36078 Integrate adb resource monitor into m... Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: TIG 2018-08-27, TIG 2018-08-13
Participants:
Linked BF Score: 0
Story Points: 3

 Description   

This should build on top of the work from SERVER-36076 to run mongoebench as a statically-linked binary on an Android device. The mongoebench and JSON config file can likely be copied over the to device and then run using some combination of the adb push and adb shell commands.

Note: Integrating the buildscripts/mobile/adb_monitor.py utility into this test suite should happen as part of SERVER-36078.



 Comments   
Comment by Githook User [ 22/Sep/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-36077 Create new resmoke.py test suite for running mongoebench on an Android device

(cherry picked from commit 4d21b46427c3ff65ed4fc2ae463054d7d86ad564)
(cherry picked from commit 64359931e3478ecbac756b2fcef25187e8fe04ce)

Also changed the referenced Evergreen project from mongodb-mongo-master
to mongodb-mongo-v4.0.
Branch: v4.0
https://github.com/mongodb/mongo/commit/819d93b87660999e7778881646cc6bb8c0feffa9

Comment by Githook User [ 20/Aug/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-36077 Fix unittest
Branch: master
https://github.com/mongodb/mongo/commit/64359931e3478ecbac756b2fcef25187e8fe04ce

Comment by Githook User [ 20/Aug/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-36077 Create new resmoke.py test suite for running mongoebench on an Android device
Branch: master
https://github.com/mongodb/mongo/commit/4d21b46427c3ff65ed4fc2ae463054d7d86ad564

Comment by Jonathan Abrahams [ 01/Aug/18 ]

Requires Android Nougat+, aka 7.0+, aka API 24+

Dynamic libraries linked to mongoebench must also be copied to the Android device.

Per discussion with acm:

Because the SDK must be dynamically linked so that JAVA can load the CAPI library with dlopen

Generated at Thu Feb 08 04:41:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.