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 v6.9.4 #1107

Merged
merged 26 commits into from
Jun 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9a77e43
Split E2E runs into batches and randomize order (#1100)
nickdowell May 27, 2021
3ac83b3
Fix crash if dsymUUIDs is empty
nickdowell May 24, 2021
e68e233
Locate main image via LC_MAIN instead of name/path
nickdowell May 26, 2021
45af5ea
Fix potential memory leak
nickdowell May 26, 2021
057569b
Update changelog
nickdowell May 26, 2021
67bd131
Merge pull request #1101 from bugsnag/nickdowell/app-uuid
nickdowell May 28, 2021
626e893
Perform symbolication on background thread
nickdowell May 28, 2021
18ae786
Merge pull request #1102 from bugsnag/nickdowell/background-symbolica…
nickdowell Jun 1, 2021
9534023
Cache unchanging systemInfo values
nickdowell Jun 1, 2021
952ed9c
Remove BSG_KSSystemField_BuildType
nickdowell Jun 1, 2021
dd4ed8d
Remove BSG_KSSystemField_ParentProcessID and _Process_*
nickdowell Jun 1, 2021
58e428e
Remove BSG_KSSystemField_AppStartTime
nickdowell Jun 1, 2021
0818b30
Remove BSG_KSSystemField_CPUType and SubType
nickdowell Jun 1, 2021
313fa0a
Remove BSG_KSSystemField_Executable*
nickdowell Jun 1, 2021
4f6e0fc
Remove BSG_KSSystemField_KernelVersion
nickdowell Jun 1, 2021
7e5fcc6
Use BSG_KSSystemField_* instead of string literals
nickdowell Jun 1, 2021
25e394c
Use dispatch_once for +systemInfoStatic
nickdowell Jun 1, 2021
c17efdf
Merge pull request #1104 from bugsnag/nickdowell/system-info-caching
nickdowell Jun 1, 2021
31808fb
Improve performance of bsg_mach_headers_image_at_address
nickdowell Jun 1, 2021
8219a3e
Fix unreliable event.session contents
nickdowell Jun 1, 2021
1eb4fba
Improve incrementing of session event counts
nickdowell Jun 1, 2021
2396856
Merge pull request #1106 from bugsnag/nickdowell/fix-event-session
nickdowell Jun 1, 2021
9a9d37f
Merge pull request #1105 from bugsnag/nickdowell/image-at-address
nickdowell Jun 1, 2021
f51bf5e
Fix typo in comment
nickdowell Jun 2, 2021
a6f796e
Move NSCopying declaration to BugsnagSession+Private.h
nickdowell Jun 2, 2021
3fdeab6
Release v6.9.4
nickdowell Jun 2, 2021
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
119 changes: 110 additions & 9 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,42 @@ env:
LANG: "en_GB.UTF-8"

steps:
- label: ':ios: iOS 13 full end-to-end tests'
##############################################################################
#
# E2E tests
#

- label: 'iOS 13 E2E tests batch 1'
depends_on:
- cocoa_fixture
timeout_in_minutes: 45
agents:
queue: opensource
plugins:
artifacts#v1.3.0:
download: ["features/fixtures/ios-swift-cocoapods/output/iOSTestApp.ipa"]
docker-compose#v3.3.0:
run: cocoa-maze-runner
command:
- "--app=/app/build/iOSTestApp.ipa"
- "--farm=bs"
- "--device=IOS_13"
- "--resilient"
- "--appium-version=1.17.0"
- "--fail-fast"
- "--exclude=features/[h-z].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: 'iOS 13 E2E tests batch 2'
depends_on:
- cocoa_fixture
timeout_in_minutes: 120
timeout_in_minutes: 45
agents:
queue: opensource
plugins:
Expand All @@ -20,17 +52,46 @@ steps:
- "--resilient"
- "--appium-version=1.17.0"
- "--fail-fast"
- "--exclude=features/[a-g].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: 'iOS 12 E2E tests batch 1'
depends_on:
- cocoa_fixture
timeout_in_minutes: 45
agents:
queue: opensource
plugins:
artifacts#v1.3.0:
download: ["features/fixtures/ios-swift-cocoapods/output/iOSTestApp.ipa"]
docker-compose#v3.3.0:
run: cocoa-maze-runner
command:
- "--app=/app/build/iOSTestApp.ipa"
- "--farm=bs"
- "--device=IOS_12"
- "--resilient"
- "--appium-version=1.17.0"
- "--fail-fast"
- "--exclude=features/[h-z].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: ':ios: iOS 12 full end-to-end tests'
- label: 'iOS 12 E2E tests batch 2'
depends_on:
- cocoa_fixture
timeout_in_minutes: 120
timeout_in_minutes: 45
agents:
queue: opensource
plugins:
Expand All @@ -45,19 +106,49 @@ steps:
- "--resilient"
- "--appium-version=1.17.0"
- "--fail-fast"
- "--exclude=features/[a-g].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: 'iOS 11 E2E tests batch 1'
depends_on:
- cocoa_fixture
# More time than other steps as the BrowserStack iOS 11 devices seem particularly unstable and
# sessions need resetting frequently, taking a minute or more each time.
timeout_in_minutes: 50
agents:
queue: opensource
plugins:
artifacts#v1.3.0:
download: ["features/fixtures/ios-swift-cocoapods/output/iOSTestApp.ipa"]
docker-compose#v3.3.0:
run: cocoa-maze-runner
command:
- "--app=/app/build/iOSTestApp.ipa"
- "--farm=bs"
- "--device=IOS_11_0_IPHONE_8_PLUS"
- "--appium-version=1.8.0"
- "--fail-fast"
- "--exclude=features/[h-z].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: ':ios: iOS 11 full end-to-end tests'
- label: 'iOS 11 E2E tests batch 2'
depends_on:
- cocoa_fixture
# More time than other steps as the BrowserStack iOS 11 devices seem particularly unstable and
# sessions need resetting frequently, taking a minute or more each time.
timeout_in_minutes: 120
timeout_in_minutes: 50
agents:
queue: opensource
plugins:
Expand All @@ -71,14 +162,16 @@ steps:
- "--device=IOS_11_0_IPHONE_8_PLUS"
- "--appium-version=1.8.0"
- "--fail-fast"
- "--exclude=features/[a-g].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: ':apple: macOS 11.0 full end-to-end tests'
- label: 'macOS 11.0 E2E tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
Expand All @@ -97,8 +190,9 @@ steps:
--app=macOSTestApp
--tags='not @skip_macos'
--fail-fast
--order=random

- label: ':apple: macOS 10.13 full end-to-end tests'
- label: 'macOS 10.13 E2E tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
Expand All @@ -117,8 +211,9 @@ steps:
--app=macOSTestApp
--tags='not @skip_macos'
--fail-fast
--order=random

- label: ':apple: macOS 10.14 full end-to-end tests'
- label: 'macOS 10.14 E2E tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
Expand All @@ -137,6 +232,12 @@ steps:
--app=macOSTestApp
--tags='not @skip_macos'
--fail-fast
--order=random

##############################################################################
#
# Build example apps
#

- label: 'examples/objective-c-ios'
agents:
Expand Down
62 changes: 51 additions & 11 deletions .buildkite/pipeline.quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ env:
LANG: "en_GB.UTF-8"

steps:
##############################################################################
#
# Unit tests
#

- label: macOS 11 unit tests
timeout_in_minutes: 10
agents:
Expand Down Expand Up @@ -104,7 +109,12 @@ steps:
artifact_paths:
- logs/*

- label: ':apple: macOS 10.15 full end-to-end tests'
##############################################################################
#
# E2E tests
#

- label: 'macOS 10.15 E2E tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
Expand All @@ -123,11 +133,12 @@ steps:
--app=macOSTestApp
--tags='not @skip_macos'
--fail-fast
--order=random

- label: ':ios: iOS 14 full end-to-end tests'
- label: 'iOS 14 E2E tests batch 1'
depends_on:
- cocoa_fixture
timeout_in_minutes: 120
timeout_in_minutes: 45
agents:
queue: opensource
plugins:
Expand All @@ -142,17 +153,46 @@ steps:
- "--resilient"
- "--appium-version=1.17.0"
- "--fail-fast"
- "--exclude=features/[h-z].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: ':ios: iOS 10 full end-to-end tests - batch 1'
- label: 'iOS 14 E2E tests batch 2'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
timeout_in_minutes: 45
agents:
queue: opensource
plugins:
artifacts#v1.3.0:
download: ["features/fixtures/ios-swift-cocoapods/output/iOSTestApp.ipa"]
docker-compose#v3.3.0:
run: cocoa-maze-runner
command:
- "--app=/app/build/iOSTestApp.ipa"
- "--farm=bs"
- "--device=IOS_14"
- "--resilient"
- "--appium-version=1.17.0"
- "--fail-fast"
- "--exclude=features/[a-g].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: 'iOS 10 E2E tests batch 1'
depends_on:
- cocoa_fixture
timeout_in_minutes: 45
agents:
queue: opensource
plugins:
Expand All @@ -166,19 +206,19 @@ steps:
- "--device=IOS_10"
- "--appium-version=1.8.0"
- "--fail-fast"
- "-e"
- "features/[o-z].*.feature"
- "--exclude=features/[h-z].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: ':ios: iOS 10 full end-to-end tests - batch 2'
- label: 'iOS 10 E2E tests batch 2'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
timeout_in_minutes: 45
agents:
queue: opensource
plugins:
Expand All @@ -192,8 +232,8 @@ steps:
- "--device=IOS_10"
- "--appium-version=1.8.0"
- "--fail-fast"
- "-e"
- "features/[a-n].*.feature"
- "--exclude=features/[a-g].*.feature"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
retry:
Expand Down
Loading