[SERVER-32373] set up android tests in evergreen Created: 15/Dec/17  Updated: 30/Oct/23  Resolved: 15/Feb/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Bug Priority: Major - P3
Reporter: Gabriel Russell (Inactive) Assignee: Gabriel Russell (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-12-18, Platforms 2018-01-15, Platforms 2018-01-29, Platforms 2018-02-12, Platforms 2018-02-26
Participants:
Linked BF Score: 0

 Description   

Initially, lets download and configure the android sdk every run, but once we figure out what we need, we can hand off our setup script and they'll add it to their chef scripts and get what we need in to a base image.

The setup script should be something along the lines of:

  • Download the sdk-tools package.
  • Then use its sdkmanger to install any remaining pieces of the SDK that we need.
    • platform-tools, build-tools, emulator, ndk-bundle, tools, etc.
  • Use the avdmanager to create an android virtual device

Then to run a test:

  • run the emulator
  • (strip and) install the test on the emulator
  • run the test on the emulator
  • collect the exit code and output of the test from the emulator


 Comments   
Comment by Githook User [ 15/Feb/18 ]

Author:

{'email': 'gabriel.russell@mongodb.com', 'name': 'Gabriel Russell', 'username': 'gabrielrussell'}

Message: SERVER-32373 correct the libmongodbcapi_db_new call in embedded_transport_layer_test.cpp
Branch: master
https://github.com/mongodb/mongo/commit/ff4720eb897427b721a2c492efd957ee1ed3e25b

Comment by Githook User [ 15/Feb/18 ]

Author:

{'email': 'gabriel.russell@mongodb.com', 'name': 'Gabriel Russell', 'username': 'gabrielrussell'}

Message: SERVER-32373 building android targets as TARGET_OS=android
Branch: master
https://github.com/mongodb/mongo/commit/b778690717b7aab1b0cb5274ce562d373c1bee4c

Comment by Githook User [ 31/Jan/18 ]

Author:

{'email': 'gabriel.russell@mongodb.com', 'name': 'Gabriel Russell', 'username': 'gabrielrussell'}

Message: SERVER-32373 wiredtiger/SConscript conf.CheckFunc with headers
Branch: master
https://github.com/mongodb/mongo/commit/d2c29154bcb9c82dd215697bf9131849f696762e

Comment by Gabriel Russell (Inactive) [ 15/Dec/17 ]

$NDK/build/tools/make_standalone_toolchain.py --arch arm64 --api 26 -static-libstdc++ --force --install-dir $HOME/toolchain-android-arm64-26
$NDK/build/tools/make_standalone_toolchain.py --arch arm64 --api 26 --stl=libc++ --force --install-dir $HOME/toolchain-android-arm64-26

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