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

Release v5.30.0 #1844

Merged
merged 43 commits into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
2b9f9c1
Move Android 13 to BitBar
twometresteve Mar 22, 2023
ccfccc3
Use custom emoticons
twometresteve Mar 23, 2023
90809d2
Moves Android 12 tests onto BitBar (#1824)
Cawllec Mar 24, 2023
3cd32bd
Merge branch 'next' into tms/android-13
twometresteve Mar 24, 2023
9510a40
Correction
twometresteve Mar 24, 2023
db4e27f
Add missing lines
twometresteve Mar 25, 2023
539436a
Merge pull request #1825 from bugsnag/master
lemnik Mar 27, 2023
111505a
Merge branch 'next' into tms/android-13
twometresteve Mar 27, 2023
3ce73b3
Merge pull request #1822 from bugsnag/tms/android-13
twometresteve Mar 27, 2023
b813107
Initial implementation of BitBar move
Cawllec Mar 24, 2023
1bdff7a
Fix yaml error
Cawllec Mar 27, 2023
a8b0d87
Use correct connector in file name
Cawllec Mar 27, 2023
4aeb41a
Remove superfluous smoke test
Cawllec Mar 27, 2023
3bf5252
Ensure test headers are correct for moved tests
Cawllec Mar 28, 2023
772f86b
Remove Android 10 BrowserStack tests
Cawllec Mar 29, 2023
62f20a3
Add Android 9 smoke tests to primary pipeline file
Cawllec Mar 30, 2023
c670030
Merge pull request #1826 from bugsnag/tests/android-11-9-bitbar
twometresteve Apr 4, 2023
92f1353
Add global metadata to the example app (#1827)
Apr 6, 2023
0808bc3
added note for apple silicon (#1828)
Apr 11, 2023
477499b
Use correct tag to skip Samsung
twometresteve Apr 12, 2023
87fdcb4
Use labels to distinguish device farms
twometresteve Apr 12, 2023
24caf73
Mutability of metadata in initial client with breacrumb (#1830)
Apr 13, 2023
35def43
Extract the device name correctly
twometresteve Apr 15, 2023
f801102
Merge branch 'next' into tms/correct-skip
twometresteve Apr 15, 2023
ef9f952
Remove debugging
twometresteve Apr 15, 2023
46fd900
Merge pull request #1831 from bugsnag/tms/correct-skip
twometresteve Apr 18, 2023
ddaab36
fix(log): disable ndk and anr warning message when plugins are exclud…
Apr 18, 2023
40d14de
No not run any ANR scenarios on Samsungs
twometresteve Apr 21, 2023
1cead19
Increase emulator wait timeout
twometresteve Apr 21, 2023
d51d006
Merge pull request #1834 from bugsnag/tms/skip-samsung
twometresteve Apr 21, 2023
6d27a25
Reduce BS slots to 5
twometresteve Apr 24, 2023
11eaf73
Feature flag in example app (#1835)
Apr 24, 2023
a52a95b
Merge branch 'next' into tms/bs-5
twometresteve Apr 24, 2023
18f733c
Merge pull request #1836 from bugsnag/tms/bs-5
twometresteve Apr 24, 2023
4a4650d
feature(Example app): upgrade kotlin version and add a network except…
Apr 28, 2023
b465c46
Skip flaky tests
twometresteve May 3, 2023
9b72d98
Correct ticket number (10003 was a dupe)
twometresteve May 3, 2023
d883e15
fix(session tracker): Optimised session tracker to spend less time an…
May 3, 2023
6069e59
Merge branch 'next' into tms/skip-flake
twometresteve May 4, 2023
201e91e
Move Android 7 steps to BitBar
twometresteve May 4, 2023
2a5c308
Merge pull request #1837 from bugsnag/tms/skip-flake
twometresteve May 5, 2023
53ad30b
Merge pull request #1841 from bugsnag/tms/android-7
twometresteve May 5, 2023
eff2037
v5.30.0
lemnik May 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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