Skip to content

Commit

Permalink
Merge pull request #1844 from bugsnag/release/v5.30.0
Browse files Browse the repository at this point in the history
Release v5.30.0
  • Loading branch information
lemnik authored May 11, 2023
2 parents 2e8fd86 + eff2037 commit f9a1219
Show file tree
Hide file tree
Showing 28 changed files with 487 additions and 375 deletions.
370 changes: 168 additions & 202 deletions .buildkite/pipeline.full.yml

Large diffs are not rendered by default.

221 changes: 126 additions & 95 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,197 +89,228 @@ steps:
#
# BitBar steps
#

- label: ':android: Android 10 NDK r21 smoke tests'
depends_on: "fixture-r21"
- label: ':bitbar: Android 7 NDK r19 smoke tests'
depends_on: "fixture-r19"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download:
- "build/fixture-r21.apk"
- "build/fixture-r21/*"
- "build/fixture-r19.apk"
- "build/fixture-r19/*"
upload: "maze_output/failed/**/*"
docker-compose#v4.7.0:
pull: android-maze-runner-bitbar
run: android-maze-runner-bitbar
service-ports: true
command:
- "features/smoke_tests"
- "--app=build/fixture-r21.apk"
- "--app=build/fixture-r19.apk"
- "--farm=bb"
- "--device=ANDROID_10"
- "--device=ANDROID_7"
- "--no-tunnel"
- "--aws-public-ip"
env:
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r21"
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r19"
concurrency: 25
concurrency_group: 'bitbar-app'
concurrency_method: eager

#
# BrowserStack steps
#
- label: ':android: Android 7 NDK r19 smoke tests'
key: 'android-7-smoke'
depends_on: "fixture-r19"
- label: ':bitbar: Android 9 NDK r21 smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download:
- "build/fixture_r19_url.txt"
- "build/fixture-r19/*"
- "build/fixture-r21.apk"
- "build/fixture-r21/*"
upload: "maze_output/failed/**/*"
docker-compose#v4.7.0:
pull: android-maze-runner
run: android-maze-runner
pull: android-maze-runner-bitbar
run: android-maze-runner-bitbar
service-ports: true
command:
- "features/smoke_tests"
- "--app=@/app/build/fixture_r19_url.txt"
- "--farm=bs"
- "--device=ANDROID_7_1"
- "--appium-version=1.20.2"
- "--fail-fast"
concurrency: 24
concurrency_group: 'browserstack-app'
concurrency_method: eager
- "--app=build/fixture-r21.apk"
- "--farm=bb"
- "--device=ANDROID_9"
- "--no-tunnel"
- "--aws-public-ip"
env:
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r19"
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r21"
concurrency: 25
concurrency_group: 'bitbar-app'
concurrency_method: eager

- label: ':android: Android 8.1 NDK r19 smoke tests'
key: 'android-8-1-smoke'
depends_on: "fixture-r19"
- label: ':bitbar: Android 10 NDK r21 smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download:
- "build/fixture_r19_url.txt"
- "build/fixture-r19/*"
- "build/fixture-r21.apk"
- "build/fixture-r21/*"
upload: "maze_output/failed/**/*"
docker-compose#v4.7.0:
pull: android-maze-runner
run: android-maze-runner
pull: android-maze-runner-bitbar
run: android-maze-runner-bitbar
service-ports: true
command:
- "features/smoke_tests"
- "--app=@/app/build/fixture_r19_url.txt"
- "--farm=bs"
- "--device=ANDROID_8_1"
- "--appium-version=1.20.2"
- "--fail-fast"
concurrency: 24
concurrency_group: 'browserstack-app'
concurrency_method: eager
- "--app=build/fixture-r21.apk"
- "--farm=bb"
- "--device=ANDROID_10"
- "--no-tunnel"
- "--aws-public-ip"
env:
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r19"
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r21"
concurrency: 25
concurrency_group: 'bitbar-app'
concurrency_method: eager

- label: ':android: Android 10 NDK r21 smoke tests'
key: 'android-10-smoke'
- label: ':bitbar: Android 11 NDK r21 smoke tests'
key: 'android-11-smoke'
depends_on: "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download:
- "build/fixture_r21_url.txt"
- "build/fixture-r21.apk"
- "build/fixture-r21/*"
upload: "maze_output/failed/**/*"
docker-compose#v4.7.0:
pull: android-maze-runner
run: android-maze-runner
pull: android-maze-runner-bitbar
run: android-maze-runner-bitbar
service-ports: true
command:
- "features/smoke_tests"
- "--app=@/app/build/fixture_r21_url.txt"
- "--farm=bs"
- "--device=ANDROID_10_0"
- "--appium-version=1.20.2"
- "--app=build/fixture-r21.apk"
- "--farm=bb"
- "--device=ANDROID_11"
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
concurrency: 24
concurrency_group: 'browserstack-app'
concurrency_method: eager
env:
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r21"
concurrency: 25
concurrency_group: 'bitbar-app'
concurrency_method: eager

- label: ':android: Android 11 NDK r21 smoke tests'
key: 'android-11-smoke'
depends_on: "fixture-r21"
# Android 11+ devices have the GWP-ASAN tool enabled which randomly samples native memory
# to detect misuse (such as use-after-free, buffer overflow). If a failure is detected then
# the device will raise a SIGABRT mentioning GWP-ASAN - this can be investigated further
# by inspecting the devices logs.
- label: ':bitbar: Android 12 NDK r21 end-to-end tests - batch 1'
depends_on:
- "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download:
- "build/fixture_r21_url.txt"
- "build/fixture-r21.apk"
- "build/fixture-r21/*"
upload: "maze_output/failed/**/*"
docker-compose#v4.7.0:
pull: android-maze-runner
run: android-maze-runner
pull: android-maze-runner-bitbar
run: android-maze-runner-bitbar
service-ports: true
command:
- "features/smoke_tests"
- "--app=@/app/build/fixture_r21_url.txt"
- "--farm=bs"
- "--device=ANDROID_11_0"
- "--appium-version=1.20.2"
- "features/full_tests"
- "--exclude=features/full_tests/[^a-k].*.feature"
- "--app=build/fixture-r21.apk"
- "--farm=bb"
- "--device=ANDROID_12"
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
concurrency: 24
concurrency_group: 'browserstack-app'
concurrency_method: eager
env:
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r21"
concurrency: 25
concurrency_group: 'bitbar-app'
concurrency_method: eager

# Android 11+ devices have the GWP-ASAN tool enabled which randomly samples native memory
# to detect misuse (such as use-after-free, buffer overflow). If a failure is detected then
# the device will raise a SIGABRT mentioning GWP-ASAN - this can be investigated further
# by inspecting the devices logs.
- label: ':android: Android 12 NDK r21 end-to-end tests - batch 1'
- label: ':bitbar: Android 12 NDK r21 end-to-end tests - batch 2'
depends_on:
- "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download:
- "build/fixture_r21_url.txt"
- "build/fixture-r21.apk"
- "build/fixture-r21/*"
upload: "maze_output/failed/**/*"
docker-compose#v4.7.0:
pull: android-maze-runner
run: android-maze-runner
pull: android-maze-runner-bitbar
run: android-maze-runner-bitbar
service-ports: true
command:
- "features/full_tests"
- "--exclude=features/full_tests/[^a-k].*.feature"
- "--app=@/app/build/fixture_r21_url.txt"
- "--farm=bs"
- "--device=ANDROID_12_0"
- "--appium-version=1.20.2"
- "--exclude=features/full_tests/[^l-z].*.feature"
- "--app=build/fixture-r21.apk"
- "--farm=bb"
- "--device=ANDROID_12"
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
env:
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r21"
concurrency: 24
concurrency_group: 'browserstack-app'
concurrency: 25
concurrency_group: 'bitbar-app'
concurrency_method: eager

- label: ':android: Android 12 NDK r21 end-to-end tests - batch 2'
depends_on:
- "fixture-r21"
- label: ':bitbar: Android 13 NDK r21 smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download:
- "build/fixture_r21_url.txt"
- "build/fixture-r21.apk"
- "build/fixture-r21/*"
upload: "maze_output/failed/**/*"
docker-compose#v4.7.0:
pull: android-maze-runner-bitbar
run: android-maze-runner-bitbar
service-ports: true
command:
- "features/smoke_tests"
- "--app=build/fixture-r21.apk"
- "--farm=bb"
- "--device=ANDROID_13"
- "--no-tunnel"
- "--aws-public-ip"
env:
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r21"
concurrency: 25
concurrency_group: 'bitbar-app'
concurrency_method: eager

#
# BrowserStack steps
#
- label: ':browserstack: Android 8.1 NDK r19 smoke tests'
key: 'android-8-1-smoke'
depends_on: "fixture-r19"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download:
- "build/fixture_r19_url.txt"
- "build/fixture-r19/*"
upload: "maze_output/failed/**/*"
docker-compose#v4.7.0:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests"
- "--exclude=features/full_tests/[^l-z].*.feature"
- "--app=@/app/build/fixture_r21_url.txt"
- "features/smoke_tests"
- "--app=@/app/build/fixture_r19_url.txt"
- "--farm=bs"
- "--device=ANDROID_12_0"
- "--device=ANDROID_8_1"
- "--appium-version=1.20.2"
- "--fail-fast"
env:
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r21"
concurrency: 24
concurrency: 5
concurrency_group: 'browserstack-app'
concurrency_method: eager
env:
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r19"

- label: 'Conditionally include device farms/full tests'
agents:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [ push, pull_request ]

env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false -Dorg.gradle.parallel=true"
ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL: 60

jobs:
android:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 5.30.0 (2023-05-11)

### Enhancements

* Optimise SessionTracer to reduce the overhead in calculating the current context Activity.
[#1838](https://github.com/bugsnag/bugsnag-android/pull/1838)

* ANR or NDK detection warnings can be suppressed (using `enabledErrorTypes`) when plugin is excluded.
[#1832](https://github.com/bugsnag/bugsnag-android/pull/1832)

## 5.29.0 (2023-03-23)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"
#gem 'bugsnag-maze-runner', path: '../maze-runner'

# Or a specific release:
gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', tag: 'v7.17.0'
gem 'bugsnag-maze-runner', '~>7.0'

# Or follow master:
#gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner'
Expand Down
Loading

0 comments on commit f9a1219

Please sign in to comment.