Skip to content

V1.26.0 #6

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

Merged
merged 177 commits into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
46e5219
Remove some Optional usages (#8190)
Apr 3, 2023
70cd846
Fix possible NPE (#8199)
trask Apr 3, 2023
8c7a8e1
Fix flaky jfr metrics test (#8183)
laurit Apr 3, 2023
5db149e
fix order of cxf handlers to enable symmetric tracing around jaxws ha…
pellmont Apr 3, 2023
8704510
convert spark tests from groovy to java (#8200)
niteshs7 Apr 3, 2023
b01996e
Rename apache-pulsar to pulsar and apache-camel to camel (#8195)
trask Apr 3, 2023
1393604
Add option to capture logback key value pairs (#8074)
laurit Apr 3, 2023
f7d74f5
convert gwt tests from groovy to java (#8201)
niteshs7 Apr 3, 2023
eb83b21
Remove doc version auto-update (#8198)
trask Apr 3, 2023
08236a7
Add library instrumentation for java http client (#8138)
laurit Apr 3, 2023
00dfd99
Alternative fix for flaky jfr telemetry test (#8203)
laurit Apr 3, 2023
3e087e8
Add note about Optional/Stream usage to style guide (#8193)
trask Apr 3, 2023
209d952
Bump io.opentelemetry.contrib:opentelemetry-aws-xray-propagator from …
dependabot[bot] Apr 4, 2023
402635b
Remove aws-sdk-2.2 latest dep restriction (#8207)
laurit Apr 4, 2023
04f2e3e
Bridge agent logs into application's slf4j logger (#7339)
Apr 4, 2023
32b6bd2
Ensure that parsed container ID is 64 chars. (#8206)
breedx-splk Apr 4, 2023
702b9ae
Add breedx-splk as an approver (#8204)
trask Apr 4, 2023
4d21d45
Verify that server span ends after child spans in java tests (#8208)
laurit Apr 4, 2023
34bca4b
Pulsar batch receive instrumentation (#8173)
laurit Apr 4, 2023
8fba02e
Skip spotless and other checks in CI test step (#8142)
laurit Apr 4, 2023
feb2872
Bump io.quarkus from 2.16.5.Final to 2.16.6.Final (#8215)
dependabot[bot] Apr 4, 2023
b52bad1
Bump io.quarkus.platform:quarkus-bom from 2.16.5.Final to 2.16.6.Fina…
dependabot[bot] Apr 4, 2023
e0ecb56
Codeql detects zipslip vulnerability (#8209)
laurit Apr 4, 2023
2f0819a
Improve compatibility with SecurityManager (#7983)
laurit Apr 5, 2023
d87f40c
Instrument akka-http bindAndHandle (#8174)
laurit Apr 5, 2023
856d521
Update testcontainers and selenium (#8218)
laurit Apr 5, 2023
8aeffa5
Rename package.json to avoid dependabot alert (#8219)
laurit Apr 5, 2023
8325497
Add comment about active request count attributes (#8221)
trask Apr 5, 2023
cd9d301
Bump org.testcontainers:testcontainers from 1.17.6 to 1.18.0 in /exam…
dependabot[bot] Apr 5, 2023
6a29e43
Bump org.testcontainers:testcontainers from 1.17.6 to 1.18.0 in /benc…
dependabot[bot] Apr 5, 2023
273a2fe
Bump org.testcontainers:testcontainers from 1.17.6 to 1.18.0 in /exam…
dependabot[bot] Apr 5, 2023
506ca93
webflux 5.0 groovy to java tests part 2 (#7776)
aschugunov Apr 6, 2023
fbdd611
Update squash merge commit message (#8229)
trask Apr 6, 2023
7c9cf7a
Spring scheduling: run error handler with the same context as task (#…
laurit Apr 6, 2023
511f6b7
ZIO 2.0 instrumentation (#7980)
dmytr Apr 6, 2023
c9c5aeb
Attempt to work around flaky reactor rabbitmq test (#8232)
laurit Apr 6, 2023
1cd634b
Replace deprecated method (#8230)
laurit Apr 6, 2023
daee262
Bump com.diffplug.spotless from 6.17.0 to 6.18.0 in /examples/extensi…
dependabot[bot] Apr 7, 2023
f55a534
Bump com.diffplug.spotless from 6.17.0 to 6.18.0 in /benchmark-overhe…
dependabot[bot] Apr 7, 2023
dc696a4
Bump net.bytebuddy:byte-buddy-dep from 1.14.3 to 1.14.4 in /examples/…
dependabot[bot] Apr 7, 2023
8068d9d
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18…
dependabot[bot] Apr 7, 2023
e79c46e
Bump com.diffplug.spotless from 6.17.0 to 6.18.0 (#8235)
dependabot[bot] Apr 7, 2023
f501569
Switch from http.flavor to net.protocol.* in HTTP client instrumentat…
Apr 7, 2023
3d020d2
Bump byteBuddyVersion from 1.14.3 to 1.14.4 (#8233)
dependabot[bot] Apr 7, 2023
1b6d25e
Disable automatic connection recovery in reactor rabbit test (#8243)
laurit Apr 7, 2023
69ee671
Fix armeria latestDepTest (#8247)
Apr 7, 2023
7c628c9
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18…
dependabot[bot] Apr 7, 2023
3de8000
Limit ucp latest dep test version (#8258)
laurit Apr 9, 2023
5b271c4
Switch from http.flavor to net.protocol.* in HTTP server instrumentat…
Apr 9, 2023
09e3269
Bump io.opentelemetry:opentelemetry-bom from 1.24.0 to 1.25.0 in /exa…
dependabot[bot] Apr 9, 2023
91780f4
Bump com.gradle.plugin-publish from 1.1.0 to 1.2.0 (#8251)
dependabot[bot] Apr 9, 2023
a84fccd
Bump com.linecorp.armeria:armeria-grpc from 1.22.1 to 1.23.1 (#8250)
dependabot[bot] Apr 9, 2023
53fc6b6
Update armeria-junit5 (#8259)
laurit Apr 9, 2023
41d7ed0
Fix auto-update SDK automation (#8260)
trask Apr 10, 2023
5609f5f
Bump io.opentelemetry:opentelemetry-bom from 1.24.0 to 1.25.0 in /exa…
dependabot[bot] Apr 11, 2023
bd7d141
Implement HttpServerResponseCustomizer support for Undertow (#8265)
laurit Apr 11, 2023
4b257fe
Implement HttpServerResponseCustomizer support for Liberty (#8264)
laurit Apr 11, 2023
22df586
Update the OpenTelemetry SDK version to 1.25.0 (#8262)
opentelemetrybot Apr 11, 2023
e03aaed
Disable connection recovery in rabbitmq test (#8261)
laurit Apr 11, 2023
2dfe64a
Set timeout for r2dbc test (#8270)
laurit Apr 11, 2023
56eae81
Implement HttpServerResponseCustomizer support for Akka-http (#8273)
laurit Apr 11, 2023
66f4c80
Update instrumentation suppression keys that do not align with their …
trask Apr 11, 2023
271c72b
Implement HttpServerResponseCustomizer support for Grizzly (#8263)
laurit Apr 12, 2023
cec7904
Enable response customizer tests for ratpack (#8277)
laurit Apr 12, 2023
e17feb4
Remove Scala conventions from project that does not compile Scala (#8…
ryandens Apr 12, 2023
300267f
Implement HttpServerResponseCustomizer support for Armeria (#8274)
laurit Apr 12, 2023
17702d6
Application logger bridge: Spring Boot support (#8228)
Apr 12, 2023
1990b06
Implement HttpServerResponseCustomizer support for Restlet (#8272)
Apr 12, 2023
ec22fa4
Bump org.mockito:mockito-core from 5.2.0 to 5.3.0 in /examples/distro…
dependabot[bot] Apr 12, 2023
cd844f4
Bump io.quarkus from 2.16.6.Final to 3.0.0.Final (#8286)
dependabot[bot] Apr 12, 2023
5f48499
Bump org.graalvm.buildtools.native from 0.9.20 to 0.9.21 (#8283)
dependabot[bot] Apr 12, 2023
3779164
Bump com.gradle.enterprise from 3.12.6 to 3.13 (#8285)
dependabot[bot] Apr 12, 2023
1d93308
Bump com.gradle.enterprise:com.gradle.enterprise.gradle.plugin from 3…
dependabot[bot] Apr 12, 2023
b594b7f
Bump com.google.protobuf:protobuf-java-util from 3.22.2 to 3.22.3 (#8…
dependabot[bot] Apr 13, 2023
9b9cf96
Fix javaagent armeria server instrumentation (#8281)
laurit Apr 13, 2023
afc327e
Populate `process.command_args` for Java 9+ and improve `process.comm…
tylerbenson Apr 13, 2023
5752f75
Change log (#8291)
trask Apr 13, 2023
c746162
Update version to 1.26.0-SNAPSHOT (#8293)
opentelemetrybot Apr 13, 2023
0c7acd5
Bump com.google.protobuf:protobuf-java-util from 3.22.2 to 3.22.3 in …
dependabot[bot] Apr 13, 2023
871b4bb
Bump com.google.protobuf:protobuf-java-util from 3.22.2 to 3.22.3 in …
dependabot[bot] Apr 13, 2023
6cb7236
Make using otel sdk SNAPSHOT version easier (#8302)
laurit Apr 14, 2023
0e37243
Bump io.grpc:grpc-bom from 1.54.0 to 1.54.1 (#8308)
dependabot[bot] Apr 18, 2023
37b4a08
Bump me.champeau.jmh:jmh-gradle-plugin from 0.7.0 to 0.7.1 (#8307)
dependabot[bot] Apr 18, 2023
f0acf0c
Add Open Liberty 23.0.0.3 images (#8312)
fmhwong Apr 18, 2023
0a1a3e2
Bump io.opentelemetry.contrib:opentelemetry-aws-xray-propagator from …
dependabot[bot] Apr 19, 2023
f1d946e
Run tests with java 20 (#8314)
laurit Apr 19, 2023
c11208e
Bump ch.qos.logback:logback-classic from 1.4.6 to 1.4.7 in /examples/…
dependabot[bot] Apr 19, 2023
a8cc086
Bump ch.qos.logback:logback-classic from 1.3.6 to 1.3.7 (#8321)
dependabot[bot] Apr 19, 2023
397bb14
Bump ch.qos.logback:logback-classic from 1.4.6 to 1.4.7 in /examples/…
dependabot[bot] Apr 20, 2023
51e3b77
Smoke test with Liberty 23.0.0.3 (#8320)
fmhwong Apr 20, 2023
04097b3
Add instrumentation for vertx-sql-client (#8311)
laurit Apr 20, 2023
e3944a5
Make net.transport an optional attribute (#8279)
Apr 20, 2023
45d35b2
Remove duplicate license normalization rule (#8327)
laurit Apr 20, 2023
1fdb6ee
Bump org.springframework.boot:spring-boot-starter-web from 3.0.5 to 3…
dependabot[bot] Apr 21, 2023
ffb63d6
Fix nested http.route (#8282)
heyams Apr 21, 2023
999863d
Fix GC time in overhead tests (#8328)
laurit Apr 21, 2023
fd9ef74
Migrate rxjava3 unit tests to Java (#7924)
kaibocai7 Apr 21, 2023
2280b3f
Correct logback mdc appender class name (#8335)
laurit Apr 21, 2023
d5aac25
Bump io.opentelemetry.contrib:opentelemetry-aws-xray-propagator from …
dependabot[bot] Apr 22, 2023
0f258c6
Use hasAttributesSatisfyingExactly instead of hasAttributesSatisfying…
laurit Apr 24, 2023
d1b7356
AddingSpanAttributes annotation (#7787)
sfriberg Apr 24, 2023
e87584f
change endpoint from enum to regular class (#8325)
siyuniu-ms Apr 24, 2023
42b5941
Bump com.fasterxml.jackson.core:jackson-databind from 2.14.2 to 2.15.…
dependabot[bot] Apr 25, 2023
669e639
Bump org.mockito:mockito-core from 5.3.0 to 5.3.1 in /examples/distro…
dependabot[bot] Apr 25, 2023
0874b33
Bump com.squareup.okhttp3:okhttp from 4.10.0 to 4.11.0 in /examples/d…
dependabot[bot] Apr 25, 2023
f6987a2
Bump com.squareup.okhttp3:okhttp from 4.10.0 to 4.11.0 in /benchmark-…
dependabot[bot] Apr 25, 2023
d853d0b
Bump com.squareup.okhttp3:okhttp from 4.10.0 to 4.11.0 in /examples/e…
dependabot[bot] Apr 25, 2023
6295c67
Fix a todo (#8343)
heyams Apr 25, 2023
3f33ef2
Bump org.gradle.toolchains.foojay-resolver-convention from 0.4.0 to 0…
dependabot[bot] Apr 25, 2023
2d73bd1
Bump net.ltgt.gradle:gradle-errorprone-plugin from 3.0.1 to 3.1.0 (#8…
dependabot[bot] Apr 25, 2023
f77e6c4
Bump com.fasterxml.jackson.core:jackson-databind from 2.14.2 to 2.15.…
dependabot[bot] Apr 25, 2023
1a68f4d
Bump com.fasterxml.jackson:jackson-bom from 2.14.2 to 2.15.0 (#8344)
dependabot[bot] Apr 25, 2023
b960c56
Correct link to environment variable configuration spec (#8365)
laurit Apr 26, 2023
52e349c
add test case to validate existing rules are correct (#8300)
shuwpan Apr 26, 2023
35a4a98
Bump io.quarkus from 3.0.0.Final to 3.0.1.Final (#8363)
dependabot[bot] Apr 26, 2023
1f51392
Bump org.jetbrains.kotlin.jvm from 1.8.20 to 1.8.21 (#8362)
dependabot[bot] Apr 26, 2023
354ba91
Use namedOneOf instead of named(..).or(named(..)) (#8366)
laurit Apr 26, 2023
0f87eaf
Fix flaky vertx sql test (#8367)
laurit Apr 26, 2023
c7bd3e4
JavaScript Snippet Injection (#7650)
siyuniu-ms Apr 26, 2023
7b47be2
Bump org.junit:junit-bom from 5.9.2 to 5.9.3 (#8373)
dependabot[bot] Apr 27, 2023
65d1210
Bump versions.junit from 5.9.2 to 5.9.3 in /examples/distro (#8377)
dependabot[bot] Apr 27, 2023
c804747
Bump org.junit:junit-bom from 5.9.2 to 5.9.3 in /benchmark-overhead (…
dependabot[bot] Apr 27, 2023
7d0cad2
Bump versions.junit from 5.9.2 to 5.9.3 in /examples/extension (#8375)
dependabot[bot] Apr 27, 2023
8d2cc91
Fix pulsar directory name (#8378)
laurit Apr 27, 2023
b4191fa
[fix]: fix the missing quotation mark (#8380)
ericsyh Apr 27, 2023
c8a7b14
Bump quarkus version to 3.0.1 (#8379)
Apr 27, 2023
f7d93f2
Merge change log updates from release/v1.25.x (#8388)
opentelemetrybot Apr 28, 2023
84a8c11
Fine-tune releasing instructions (#8384)
trask Apr 28, 2023
26a00e0
Updating Sockpeer service. (#7888)
rahuldimri Apr 28, 2023
d0ee3da
Jax-Ws annotation instrumentation should not apply to static methods …
laurit Apr 28, 2023
90e21aa
Move WithSpan class presence check to instrumentation module (#8389)
laurit Apr 28, 2023
dbf7149
Fix snippet injection test (#8390)
laurit Apr 28, 2023
d22dd8c
Introduce new incubating `InstrumenterBuilder` methods (#8392)
Apr 28, 2023
0898653
Remove latest dep test limit from elasticsearch-transport-6.0 (#8401)
laurit May 2, 2023
4bec515
Fix undertow instrumentation with http pipelining (#8400)
laurit May 3, 2023
3aec16b
Bump com.gradle.enterprise:com.gradle.enterprise.gradle.plugin from 3…
dependabot[bot] May 4, 2023
e7b0885
Bump com.gradle.enterprise from 3.13 to 3.13.1 (#8407)
dependabot[bot] May 4, 2023
891dac9
Bump io.quarkus.platform:quarkus-bom from 3.0.1.Final to 3.0.2.Final …
dependabot[bot] May 4, 2023
4d1df34
Bump io.quarkus from 3.0.1.Final to 3.0.2.Final (#8409)
dependabot[bot] May 4, 2023
413890d
Test http pipelining (#8403)
laurit May 4, 2023
60aa421
Enable http pipelining test on Grizzly (#8411)
laurit May 5, 2023
57757a5
Bump com.google.protobuf:protobuf-java-util from 3.22.3 to 3.22.4 (#8…
dependabot[bot] May 5, 2023
e3f21ac
Bump com.google.protobuf:protobuf-java-util from 3.22.3 to 3.22.4 in …
dependabot[bot] May 5, 2023
3ff44fa
Bump com.google.protobuf:protobuf-java-util from 3.22.3 to 3.22.4 in …
dependabot[bot] May 5, 2023
83a4054
Fix aws sdk latest dep tests (#8423)
laurit May 5, 2023
0ecd146
Fix http pipelining test on Netty 4.1 (#8412)
laurit May 5, 2023
32426c8
Enable http pipelining tests for restlet2 (#8424)
laurit May 5, 2023
fe56784
Enable http pipelining tests for jaxrs-2.0-resteasy (#8425)
laurit May 5, 2023
aef70d2
Adds dedicated tests for OC shim (#7488)
dmarkwat May 5, 2023
f7c7004
convert hibernate 6 tests from groovy to java (#8304)
niteshs7 May 5, 2023
ab8285e
convert rxjava2 unit tests to java (#8397)
kaibocai7 May 5, 2023
4711661
Bump io.opentelemetry:opentelemetry-bom from 1.25.0 to 1.26.0 in /exa…
dependabot[bot] May 6, 2023
897031c
Fix aws sdk latest dep tests again (#8431)
laurit May 6, 2023
2b7b27b
Update the OpenTelemetry SDK version to 1.26.0 (#8427)
opentelemetrybot May 6, 2023
9b82a01
Set up EarlyInitAgentConfig even earlier (#8413)
May 6, 2023
b09bddd
Update gradle to 8.1.1 (#8433)
trask May 7, 2023
b43be08
Update smoke test servers and jdks (#8434)
laurit May 8, 2023
b800213
Fix cxf latest dep tests (#8449)
laurit May 9, 2023
e9a74bd
Bump com.google.protobuf:protobuf-java-util from 3.22.4 to 3.23.0 in …
dependabot[bot] May 9, 2023
8e016a7
Fix flaky http pipelining test on akka http (#8437)
laurit May 9, 2023
61d7a42
Bump com.google.protobuf:protobuf-java-util from 3.22.4 to 3.23.0 in …
dependabot[bot] May 9, 2023
e585e66
Bump com.google.protobuf:protobuf-java-util from 3.22.4 to 3.23.0 (#8…
dependabot[bot] May 9, 2023
448b961
Bump groovyVersion from 4.0.11 to 4.0.12 (#8442)
dependabot[bot] May 9, 2023
7fb487a
Rename the "executor" instrumentation to "executors" to match gradle …
May 9, 2023
48688b8
Don't create duplicate issues on workflow failures (#8441)
trask May 9, 2023
b716252
Wait for postgres to start in r2dbc tests (#8450)
laurit May 9, 2023
51ce896
Fix new smoke test server images (#8455)
laurit May 9, 2023
50ca91d
Fix workflows (#8457)
trask May 9, 2023
43073e7
Allow transforming classes with missing field types (#8393)
laurit May 9, 2023
9a247d5
Bump io.grpc:grpc-bom from 1.54.1 to 1.55.1 (#8460)
dependabot[bot] May 9, 2023
1d257a1
Bump com.gradle.enterprise:com.gradle.enterprise.gradle.plugin from 3…
dependabot[bot] May 9, 2023
178b285
Bump com.gradle.enterprise from 3.13.1 to 3.13.2 (#8458)
dependabot[bot] May 9, 2023
24b65ab
Clear context before flux retry (#8456)
laurit May 10, 2023
3122897
Bump errorProneVersion from 2.18.0 to 2.19.0 (#8459)
dependabot[bot] May 10, 2023
e67cd9a
Add change log for upcoming release (#8440)
trask May 10, 2023
150c140
[release/v1.26.x] Prepare release 1.26.0 (#8465)
opentelemetrybot May 11, 2023
25a377c
merge guance
May 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/repository-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf

## General > Pull Requests

* Allow squash merging > Default to pull request title and description
* Allow squash merging > Default to pull request title

* Allow auto-merge

Expand Down
13 changes: 8 additions & 5 deletions .github/scripts/markdown-link-check-config.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
{
"retryOn429" : true,
"aliveStatusCodes" : [
"retryOn429": true,
"aliveStatusCodes": [
200,
403
],
"ignorePatterns" : [
"ignorePatterns": [
{
"pattern" : "https://github.com/open-telemetry/opentelemetry-java-instrumentation/network/updates"
"pattern": "https://github.com/open-telemetry/opentelemetry-java-instrumentation/network/updates"
},
{
"pattern" : "^https://kotlinlang\\.org/docs/coroutines-overview\\.html$"
"pattern": "^https://github.com/open-telemetry/opentelemetry-java-contrib/pulls/app%2Fdependabot$"
},
{
"pattern": "^https://kotlinlang\\.org/docs/coroutines-overview\\.html$"
}
]
}
9 changes: 7 additions & 2 deletions .github/workflows/auto-update-otel-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,20 @@ jobs:
VERSION: ${{ needs.check-versions.outputs.latest-version }}
run: ./.github/scripts/update-sdk-version.sh $VERSION

- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh

- name: Update license report
uses: gradle/gradle-build-action@v2
with:
arguments: generateLicenseReport

- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
- name: Undo license report clean
if: failure()
run: git checkout -- licenses

- name: Create pull request against main
if: success() || failure()
env:
VERSION: ${{ needs.check-versions.outputs.latest-version }}
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
Expand Down
42 changes: 32 additions & 10 deletions .github/workflows/build-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
exit 1
fi

assemble:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -107,15 +107,19 @@ jobs:
distribution: temurin
java-version: 17

- name: Assemble
- name: Increase gradle daemon heap size
run: |
sed -i "s/org.gradle.jvmargs=/org.gradle.jvmargs=-Xmx3g /" gradle.properties

- name: Build
uses: gradle/gradle-build-action@v2
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
GE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
GE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}
with:
# javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/
arguments: assemble -x javadoc ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
arguments: check -x javadoc -x spotlessCheck -PskipTests=true ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
cache-read-only: ${{ inputs.cache-read-only }}
# gradle enterprise is used for the build cache
gradle-home-cache-excludes: caches/build-cache-1
Expand Down Expand Up @@ -143,7 +147,7 @@ jobs:
- 8
- 11
- 17
- 19
- 20
vm:
- hotspot
- openj9
Expand All @@ -154,7 +158,7 @@ jobs:
- 3
exclude:
- vm: ${{ inputs.skip-openj9-tests && 'openj9' || '' }}
- test-java-version: 19
- test-java-version: 20
vm: openj9
fail-fast: false
steps:
Expand Down Expand Up @@ -194,6 +198,26 @@ jobs:
- name: Start deadlock detector
run: .github/scripts/deadlock-detector.sh

- name: List tests
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
GE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
GE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}
uses: gradle/gradle-build-action@v2
with:
# "check" is needed to activate all tests for listing purposes
# listTestsInPartition writes test tasks that apply to the given partition to a file named
# "test-tasks.txt" and then disables all tasks (including tests) after it runs
arguments: >
check -x spotlessCheck
listTestsInPartition
-PtestPartition=${{ matrix.test-partition }}
cache-read-only: true

- name: Set test tasks
run: |
echo "test-tasks=$(cat test-tasks.txt | xargs echo | sed 's/\n/ /g')" >> $GITHUB_ENV

- name: Test
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
Expand All @@ -203,13 +227,11 @@ jobs:
with:
# spotless is checked separately since it's a common source of failure
arguments: >
check
-x spotlessCheck
${{ env.test-tasks }}
-PtestJavaVersion=${{ matrix.test-java-version }}
-PtestJavaVM=${{ matrix.vm }}
-Porg.gradle.java.installations.paths=${{ steps.setup-test-java.outputs.path }}
-Porg.gradle.java.installations.auto-download=false
-PtestPartition=${{ matrix.test-partition }}
${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
# only push cache for one matrix option since github action cache space is limited
cache-read-only: ${{ inputs.cache-read-only || matrix.test-java-version != 11 || matrix.vm != 'hotspot' }}
Expand All @@ -220,15 +242,15 @@ jobs:
if: failure()
uses: actions/upload-artifact@v3
with:
name: deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}
name: deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}
path: /tmp/deadlock-detector-*
if-no-files-found: ignore

- name: Upload jvm crash dump files if any
if: failure()
uses: actions/upload-artifact@v3
with:
name: javacore-test-${{ matrix.test-java-version }}
name: javacore-test-${{ matrix.test-java-version }}-${{ matrix.test-partition }}
path: |
**/hs_err_pid*.log
**/javacore.*.txt
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/build-daily-no-build-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ jobs:
# markdown-link-check and misspell-check are not included here because they don't use gradle cache
# anyway and so are already covered by the normal daily build

open-issue-on-failure:
workflow-notification:
needs:
- common
- test-latest-deps
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: |
${{
needs.common.result == 'success' &&
needs.test-latest-deps.result == 'success'
}}
15 changes: 12 additions & 3 deletions .github/workflows/build-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,21 @@ jobs:
misspell-check:
uses: ./.github/workflows/reusable-misspell-check.yml

open-issue-on-failure:
workflow-notification:
needs:
- common
- test-latest-deps
- muzzle
- markdown-link-check
- misspell-check
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: |
${{
needs.common.result == 'success' &&
needs.test-latest-deps.result == 'success' &&
needs.muzzle.result == 'success' &&
needs.markdown-link-check.result == 'success' &&
needs.misspell-check.result == 'success'
}}
9 changes: 5 additions & 4 deletions .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v2

open-issue-on-failure:
# open an issue on failure because it can be easy to miss CI failure notifications
workflow-notification:
needs:
- analyze
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.analyze.result == 'success' }}
8 changes: 5 additions & 3 deletions .github/workflows/overhead-benchmark-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ jobs:
committer_name: opentelemetrybot
committer_email: 107717825+opentelemetrybot@users.noreply.github.com

open-issue-on-failure:
workflow-notification:
needs:
- run-overhead-tests
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.run-overhead-tests.result == 'success' }}
13 changes: 10 additions & 3 deletions .github/workflows/publish-smoke-test-fake-backend-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,16 @@ jobs:
with:
arguments: ":smoke-tests:images:fake-backend:dockerPush -PextraTag=${{ env.TAG }}"

open-issue-on-failure:
workflow-notification:
needs:
- publishLinux
- publishWindows
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: |
${{
needs.publishLinux.result == 'success' &&
needs.publishWindows.result == 'success'
}}

8 changes: 5 additions & 3 deletions .github/workflows/publish-smoke-test-grpc-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
project: ":smoke-tests:images:grpc"
publish: true

open-issue-on-failure:
workflow-notification:
needs:
- publish
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.publish.result == 'success' }}
8 changes: 5 additions & 3 deletions .github/workflows/publish-smoke-test-play-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
skip-java-17: true
skip-java-19: true

open-issue-on-failure:
workflow-notification:
needs:
- publish
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.publish.result == 'success' }}
8 changes: 5 additions & 3 deletions .github/workflows/publish-smoke-test-quarkus-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
# Quarkus 2.0+ does not support Java 8
skip-java-8: true

open-issue-on-failure:
workflow-notification:
needs:
- publish
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.publish.result == 'success' }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
project: ":smoke-tests:images:security-manager"
publish: true

open-issue-on-failure:
workflow-notification:
needs:
- publish
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.publish.result == 'success' }}
8 changes: 5 additions & 3 deletions .github/workflows/publish-smoke-test-servlet-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ jobs:
if: matrix.os == 'windows-latest'
run: ./gradlew :smoke-tests:images:servlet:buildWindowsTestImages pushMatrix -PextraTag=${{ needs.prepare.outputs.tag }} -PsmokeTestServer=${{ matrix.smoke-test-server }}

open-issue-on-failure:
workflow-notification:
needs:
- publish
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.publish.result == 'success' }}
8 changes: 5 additions & 3 deletions .github/workflows/publish-smoke-test-spring-boot-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
project: ":smoke-tests:images:spring-boot"
publish: true

open-issue-on-failure:
workflow-notification:
needs:
- publish
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.publish.result == 'success' }}
8 changes: 0 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,3 @@ jobs:
version: ${{ needs.release.outputs.version }}
secrets:
OPENTELEMETRYBOT_GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}

create-website-pull-request:
needs: release
uses: ./.github/workflows/reusable-create-website-pull-request.yml
with:
version: ${{ needs.release.outputs.version }}
secrets:
OPENTELEMETRYBOT_GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
Loading