Mateusz Rzeszutek
d89932098a
Disable YodaCondition check and revert some of the changes ( #7596 )
...
Let's keep close to the SDK repo config.
I reverted some of the changes, only left those that I think make sense
anyway (e.g. comparing enums with `==`)
2023-01-17 19:44:15 -08:00
dependabot[bot]
f335861136
Bump errorProneVersion from 2.17.0 to 2.18.0 ( #7532 )
...
Bumps `errorProneVersion` from 2.17.0 to 2.18.0.
Updates `error_prone_annotations` from 2.17.0 to 2.18.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/error-prone/releases ">error_prone_annotations's
releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.18.0</h2>
<p>New Checkers:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/InjectOnBugCheckers "><code>InjectOnBugCheckers</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/LabelledBreakTarget "><code>LabelledBreakTarget</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/UnusedLabel "><code>UnusedLabel</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/YodaCondition "><code>YodaCondition</code></a></li>
</ul>
<p>Fixes issues: <a
href="https://github-redirect.dependabot.com/google/error-prone/issues/1650 ">#1650</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/2706 ">#2706</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3404 ">#3404</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3493 ">#3493</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3504 ">#3504</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3519 ">#3519</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3579 ">#3579</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3610 ">#3610</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3632 ">#3632</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3638 ">#3638</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3645 ">#3645</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3646 ">#3646</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3652 ">#3652</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3690 ">#3690</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/error-prone/compare/v2.17.0...v2.18.0 ">https://github.com/google/error-prone/compare/v2.17.0...v2.18.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="34730decfe
"><code>34730de</code></a>
Release Error Prone 2.18.0</li>
<li><a
href="ee1e7778d3
"><code>ee1e777</code></a>
Remove <code>DoNoCall</code> flags for checking <code>Thread.run</code>
and various <code>getClass</code> meth...</li>
<li><a
href="bb9ede9f25
"><code>bb9ede9</code></a>
Delete dependabot.yml</li>
<li><a
href="7f459e14cd
"><code>7f459e1</code></a>
Refaster: support method invocation type argument inlining</li>
<li><a
href="a57309b018
"><code>a57309b</code></a>
Add a check to reverse Yoda conditions.</li>
<li><a
href="181f9918bc
"><code>181f991</code></a>
Use <code>ASTHelpers.enclosingClass</code>.</li>
<li><a
href="360ed99da2
"><code>360ed99</code></a>
Don't generate a "Suppression" section that recommends
`@SuppressWarnings("Ch...</li>
<li><a
href="c06c7b8b6e
"><code>c06c7b8</code></a>
Look for infinite recursion in the first statement of multi-statement
methods.</li>
<li><a
href="0f5753f67b
"><code>0f5753f</code></a>
Reverse Yoda conditions in EP.</li>
<li><a
href="f36a502b5f
"><code>f36a502</code></a>
Make MemoizeConstantVisitorStateLookups check suppressible</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.17.0...v2.18.0 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `error_prone_core` from 2.17.0 to 2.18.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/error-prone/releases ">error_prone_core's
releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.18.0</h2>
<p>New Checkers:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/InjectOnBugCheckers "><code>InjectOnBugCheckers</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/LabelledBreakTarget "><code>LabelledBreakTarget</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/UnusedLabel "><code>UnusedLabel</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/YodaCondition "><code>YodaCondition</code></a></li>
</ul>
<p>Fixes issues: <a
href="https://github-redirect.dependabot.com/google/error-prone/issues/1650 ">#1650</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/2706 ">#2706</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3404 ">#3404</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3493 ">#3493</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3504 ">#3504</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3519 ">#3519</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3579 ">#3579</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3610 ">#3610</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3632 ">#3632</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3638 ">#3638</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3645 ">#3645</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3646 ">#3646</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3652 ">#3652</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3690 ">#3690</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/error-prone/compare/v2.17.0...v2.18.0 ">https://github.com/google/error-prone/compare/v2.17.0...v2.18.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="34730decfe
"><code>34730de</code></a>
Release Error Prone 2.18.0</li>
<li><a
href="ee1e7778d3
"><code>ee1e777</code></a>
Remove <code>DoNoCall</code> flags for checking <code>Thread.run</code>
and various <code>getClass</code> meth...</li>
<li><a
href="bb9ede9f25
"><code>bb9ede9</code></a>
Delete dependabot.yml</li>
<li><a
href="7f459e14cd
"><code>7f459e1</code></a>
Refaster: support method invocation type argument inlining</li>
<li><a
href="a57309b018
"><code>a57309b</code></a>
Add a check to reverse Yoda conditions.</li>
<li><a
href="181f9918bc
"><code>181f991</code></a>
Use <code>ASTHelpers.enclosingClass</code>.</li>
<li><a
href="360ed99da2
"><code>360ed99</code></a>
Don't generate a "Suppression" section that recommends
`@SuppressWarnings("Ch...</li>
<li><a
href="c06c7b8b6e
"><code>c06c7b8</code></a>
Look for infinite recursion in the first statement of multi-statement
methods.</li>
<li><a
href="0f5753f67b
"><code>0f5753f</code></a>
Reverse Yoda conditions in EP.</li>
<li><a
href="f36a502b5f
"><code>f36a502</code></a>
Make MemoizeConstantVisitorStateLookups check suppressible</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.17.0...v2.18.0 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `error_prone_test_helpers` from 2.17.0 to 2.18.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/error-prone/releases ">error_prone_test_helpers's
releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.18.0</h2>
<p>New Checkers:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/InjectOnBugCheckers "><code>InjectOnBugCheckers</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/LabelledBreakTarget "><code>LabelledBreakTarget</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/UnusedLabel "><code>UnusedLabel</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/YodaCondition "><code>YodaCondition</code></a></li>
</ul>
<p>Fixes issues: <a
href="https://github-redirect.dependabot.com/google/error-prone/issues/1650 ">#1650</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/2706 ">#2706</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3404 ">#3404</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3493 ">#3493</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3504 ">#3504</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3519 ">#3519</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3579 ">#3579</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3610 ">#3610</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3632 ">#3632</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3638 ">#3638</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3645 ">#3645</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3646 ">#3646</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3652 ">#3652</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3690 ">#3690</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/error-prone/compare/v2.17.0...v2.18.0 ">https://github.com/google/error-prone/compare/v2.17.0...v2.18.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="34730decfe
"><code>34730de</code></a>
Release Error Prone 2.18.0</li>
<li><a
href="ee1e7778d3
"><code>ee1e777</code></a>
Remove <code>DoNoCall</code> flags for checking <code>Thread.run</code>
and various <code>getClass</code> meth...</li>
<li><a
href="bb9ede9f25
"><code>bb9ede9</code></a>
Delete dependabot.yml</li>
<li><a
href="7f459e14cd
"><code>7f459e1</code></a>
Refaster: support method invocation type argument inlining</li>
<li><a
href="a57309b018
"><code>a57309b</code></a>
Add a check to reverse Yoda conditions.</li>
<li><a
href="181f9918bc
"><code>181f991</code></a>
Use <code>ASTHelpers.enclosingClass</code>.</li>
<li><a
href="360ed99da2
"><code>360ed99</code></a>
Don't generate a "Suppression" section that recommends
`@SuppressWarnings("Ch...</li>
<li><a
href="c06c7b8b6e
"><code>c06c7b8</code></a>
Look for infinite recursion in the first statement of multi-statement
methods.</li>
<li><a
href="0f5753f67b
"><code>0f5753f</code></a>
Reverse Yoda conditions in EP.</li>
<li><a
href="f36a502b5f
"><code>f36a502</code></a>
Make MemoizeConstantVisitorStateLookups check suppressible</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.17.0...v2.18.0 ">compare
view</a></li>
</ul>
</details>
<br />
You can trigger a rebase of this PR by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-01-11 20:25:46 -08:00
Mateusz Rzeszutek
59f00dfc64
Remove remaining context class loader mentions ( #7419 )
...
Continuation of #7391
2022-12-14 10:21:41 -08:00
jason plumb
6679cc87d2
Update core to 1.21.0 and run license report ( #7384 )
2022-12-10 07:52:04 -08:00
Trask Stalnaker
e2f960323e
Run smoke tests on OpenJ9 Java 17 and 18 ( #7340 )
...
follow-up to #7333
2022-11-30 08:58:57 +01:00
Trask Stalnaker
a4740264c2
Use windows-latest ( #7299 )
2022-11-29 07:54:03 -08:00
Trask Stalnaker
0e4c66a428
Update images to Windows 2022 ( #7300 )
...
preliminary step for #7299
2022-11-27 09:50:08 -08:00
Trask Stalnaker
6bc43450df
Add shell check ( #7125 )
...
Motivated by @mateuszrzeszutek's
https://github.com/signalfx/splunk-otel-java/pull/992
2022-11-11 14:58:05 -08:00
Trask Stalnaker
597b2a5321
More spotless ( #7126 )
2022-11-11 05:01:21 +00:00
Trask Stalnaker
5345c87680
End groovy files with newline ( #7127 )
2022-11-10 12:21:55 +01:00
Aaron Ai
3911cacfdc
Fix typos ( #6961 )
2022-10-24 09:06:01 -07:00
Lauri Tulmin
d1e46556b9
Hopefully fix wildfly smoke test on windows ( #6411 )
...
* Hopefully fix wildfly jdk8 smoke test on windows
* jdk18 also fails
* also add the jvm options that were added by wildfly startup script
2022-08-03 13:31:58 +02:00
Trask Stalnaker
b923647e82
Run smoke tests against Java 19, Part 2 ( #6394 )
...
* Run smoke tests against Java 19, Part 2
* Update docker image tag
2022-08-01 09:19:41 -07:00
Mateusz Rzeszutek
35c63a4184
Remove the 'noop API' feature ( #6313 )
...
* Remove the 'noop API' feature
* remove noop api dep
* fix tooling tests
2022-07-12 10:36:19 -07:00
Trask Stalnaker
8fac01e736
Enable error prone's UnusedVariable check ( #6217 )
...
* Enable error prone's UnusedVariable check
* Spotless
2022-06-27 10:55:27 +02:00
jack-berg
9b8f74515a
Rename p.r.j.memory.max to p.r.j.memory.limit ( #6161 )
...
* Rename p.r.j.memory.max to p.r.j.memory.limit
* Fix build
2022-06-13 13:17:04 -07:00
Trask Stalnaker
9c2e508e20
Fix debug logging ( #6085 )
...
* Fix debug logging
* Add a test
2022-05-24 11:06:38 +03:00
Lauri Tulmin
6c44340f1c
Enable grizzly instrumentation by default ( #6049 )
2022-05-17 14:18:29 -07:00
Mateusz Rzeszutek
fd52ed52d4
Hide the GC runtime metrics behind an experimental config flag ( #5990 )
...
* Hide the GC runtime metrics behind an experimental config flag
* Fix smoke tests
2022-05-06 11:51:38 -07:00
Lauri Tulmin
31ef95d2b0
Fix setting backend -Xmx for linux smoke tests ( #5817 )
2022-04-13 09:45:47 -07:00
Anuraag Agrawal
e58d39d4ad
Update to OTel 1.13 ( #5799 )
...
* Update to OTel 1.13
* Fix test
* Foo
* Fix app server test and start yak shaving
* Yak
* Yak
* groovy fail
* Yak
* GROOVY
* yak farm
2022-04-13 13:16:32 +03:00
Anuraag Agrawal
980746ae44
Update errorprone ( #5776 )
...
* Update errorprone
* Fix errorprone on java 17
* Fix oshi test
* Spot
* Fix merge
2022-04-11 12:48:16 -07:00
Lauri Tulmin
91e9539ac1
Set smoke tests xmx to 512m and backend to 128m ( #5772 )
2022-04-07 15:09:26 -07:00
jack-berg
fbc100a0f6
Update runtime memory metrics to reflect semantic conventions ( #5718 )
...
* Update runtime memory metrics to reflect semantic conventions
* Fix SpringBootSmokeTest
* Fix PrometheusSmokeTest
2022-03-31 09:56:58 -07:00
Lauri Tulmin
2ce764bd2a
Thread dump when smoke test container fails to start ( #5593 )
...
* Thread dump when smoke test contains fails to start
* trigger build
2022-03-16 19:53:52 -07:00
Lauri Tulmin
c7e3177d50
Remove reference to collector configuration file ( #5592 )
2022-03-16 09:50:11 -07:00
Lauri Tulmin
245ac1f7d2
Add prometheus smoke test ( #5417 )
2022-02-22 13:02:07 -08:00
Trask Stalnaker
23b33adb0a
Auto-format groovy files in Intellij ( #5260 )
...
* Auto-format groovy files in Intellij
* A bit of clean up
2022-01-28 09:29:46 -08:00
jason plumb
7266aefb58
Add smoke test for logs signal ( #5108 )
...
* add smoke test for logs signal
* very important to remove the unused variable in the groovy test
* run on LTS jdks
2022-01-13 11:47:47 -08:00
Trask Stalnaker
68c3f17edd
Allow running smoke tests locally on windows ( #5046 )
...
* Allow running smoke tests locally on windows
* Groovy
* codenarc
* Invert condition
* Fix
2022-01-08 11:28:59 -08:00
Anuraag Agrawal
c75c01f871
Update to OTel 1.10 ( #5035 )
...
* Update to OTel 1.10
* Fix metric smoke test
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-07 15:45:20 -08:00
Trask Stalnaker
0b743ceb80
Run servlet smoke tests against Java 18 ( #4921 )
...
* Run servlet smoke tests against Java 18
* Update
2021-12-17 14:04:10 -08:00
Trask Stalnaker
f3b3e6b975
Enable Quarkus smoke test ( #4891 )
2021-12-13 21:02:24 -08:00
Trask Stalnaker
d930971adf
Fix Quarkus correlation ( #4883 )
...
* Fix Quarkus correlation
* Add Quarkus smoke test image
* Add Quarkus smoke test
* Fix permission on gradlew
* Update to gradle 7.3.1
* Fix Jib build
* Bump compilation to Java 11
* Better comment
* Fix comment placement
* Fix
2021-12-13 09:26:44 -08:00
Trask Stalnaker
9896cab71a
Run grpc and spring-boot smoke tests against Java 17 ( #4881 )
2021-12-13 11:29:46 +02:00
Lauri Tulmin
3f3180841e
Avoid crashing on early 1.8 openjdk vms ( #4789 )
2021-12-05 13:37:01 +02:00
Lauri Tulmin
10288c6f25
Work around jvm crash on early 1.8 ( #4345 )
...
* Work around jvm crash on early 1.8
* skip retransform if class was already transformed during load
* fix imports after rebase
* add test
* disable test on windows
2021-11-29 22:47:10 -08:00
Nikita Salnikov-Tarnovski
f525f3e03f
Some logging cleanup ( #4734 )
2021-11-29 09:45:23 -08:00
Nikita Salnikov-Tarnovski
50bfdd1043
Upgrade testcontainers version ( #4727 )
...
* Upgrade testcontainers version
* Polish
* Use more stable waiting strategy
* Upgrade all remaining testcontainrs usages
2021-11-29 09:32:41 -08:00
Trask Stalnaker
09d5883fb8
Update supported application servers ( #4715 )
...
* Update naming to Payara
* Alphabetize
* Update supported application servers
* A little more clarity?
2021-11-25 08:15:35 -08:00
Lauri Tulmin
4e39f1ad5a
Add smoke test for websphere, update smoke test server versions ( #4613 )
...
* Add smoke test for websphere, update smoke test server versions
* update workflows
* fix workflow
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* revert accidental change
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-10 13:43:30 -08:00
Lauri Tulmin
b3d9ae8268
Fix sun.misc.Unsafe generation on jdk17 ( #4558 )
...
* Fix sun.misc.Unsafe generation on jdk17
* remove jmxremote argument for now
* spotless
* remove unneeded annotation
2021-11-02 16:05:51 +02:00
Lauri Tulmin
c109773f17
Test modular jdk ( #4501 )
...
* Test modular jdk
* review comment
2021-10-28 10:54:00 -07:00
Lauri Tulmin
9b8ab5eeec
Migrate to spock 2 ( #4458 )
...
* Migrate to spock 2
* Fix smoke test suites
* address review comments
* review comment
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-22 08:40:58 -07:00
Nikita Salnikov-Tarnovski
62cc2a77db
Use new smoke test images ( #4439 )
2021-10-20 13:25:36 +03:00
Martin
ac91dc090a
Type annotation placement ( #4406 )
...
* switch annotation `org.checkerframework.checker.nullness.qual.Nullable` to `javax.annotation.Nullable`
* code format
2021-10-17 17:38:43 -07:00
Trask Stalnaker
92394ad9ae
Remove url from HttpServerAttributesExtractor ( #4209 )
...
* Remove url from HttpServerAttributesExtractor
* Remove UriBuilder
* Tracers too
* apache-camel
* Finatra
* jsp
* Ratpack
* Ratpack library
* Ratpack
* Spark
* Feedback
* Fix Undertow
* Vertx
* vertx-web
* play-2.4
* webflux
* jaxrs
* Spotless
* Update semantic-conventions.md
* Update smoke tests
* More realistic target
* Remove outdated doc
* Wording
2021-10-03 09:17:23 -07:00
Trask Stalnaker
635acd41f4
Update tomcat smoke tests to run against Java 17 ( #4233 )
...
* Update tomcat smoke tests
* Fix
* Tomcat 10 on Java 8 is failing
* Fix wildfly
* Hopefully last fix
2021-09-29 12:50:19 -07:00
Trask Stalnaker
c5a8920a56
Use repo scoped ghcr package ( #4166 )
...
* smoke-test-spring-boot
* smoke-test-fake-backend
* smoke-test-grpc
* smoke-test-play
* Fix example distro build
* Fix formatting
2021-09-21 13:47:59 -07:00
Trask Stalnaker
0b9d8c37a5
Remove collector from smoke tests ( #4186 )
2021-09-21 12:33:01 -07:00
Trask Stalnaker
278cae4667
Don't use collector dev image ( #4171 )
...
* Update collector config
* Revert "Update collector config"
This reverts commit 4a76a944af
.
* Don't use -dev collector image
2021-09-20 20:47:51 -07:00
Trask Stalnaker
28c68b91a0
Update "other" smoke tests to Java 16 ( #4144 )
...
* Update "other" smoke tests to Java 16
* Bump extraTag
* Play doesn't support Java 16 (or 17) yet
* Fix formatting
2021-09-17 11:50:21 -07:00
Anuraag Agrawal
971ca8b19c
Update to OTel 1.6 ( #4120 )
...
* Update to OTel 1.6
* Example build
* More example
* More example
2021-09-14 20:12:18 +09:00
Matthew Ho
6967484a97
Update groovy import order to match default IntelliJ ( #1708 ) ( #4047 )
...
* Update groovy import order to match default IntelliJ (#1708 )
* organized imports for .groovy files to follow default IntelliJ import settings
* updated intellij-setup.md
* Spotless
* drift
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-11 11:53:08 -07:00
Trask Stalnaker
c13eb7932e
Update collector port ( #4071 )
2021-09-08 18:18:05 -07:00
Trask Stalnaker
99de444ffc
Remove zipkin from otel collector smoke test config ( #3953 )
...
* Remove zipkin from otel collector smoke test config
* Smoke tests too
2021-08-25 12:17:23 -07:00
Trask Stalnaker
fa71cf9c8a
Fix sporadically failing smoke test ( #3895 )
...
* Fix failing smoke test
* Revert "Fix failing smoke test"
This reverts commit 0356ae308b
.
* Apply Xmx
2021-08-23 11:27:16 +09:00
Mateusz Rzeszutek
6a3037df73
Support extraResources in WindowsTestContainerManager ( #3868 )
...
* Support extraResources in WindowsTestContainerManager
* Fix span name for liberty servlet test
* Use different server.xml path for linux and windows
2021-08-19 18:38:17 +02:00
Anna Nosek
0fd8d2cc47
Add noop sdk configuration option ( #3539 )
...
* introduce noop
* test configuration
* rename to noop api, move System.setProperty() calls
* remove unnecessary semicolon
* codenarc fix
2021-07-15 11:33:00 +03:00
Trask Stalnaker
0d27368866
Run smoke tests with Java 16 ( #3457 )
...
* Run smoke tests with Java 16
* Add Wildfly + JDK 16 test
* Bump extra tag
2021-07-05 11:39:47 +03:00
Anuraag Agrawal
44f2354d41
Allow disabling thread details and disable for most tests. ( #3464 )
2021-07-01 08:31:27 -07:00
Anuraag Agrawal
7ad9e7a50b
Move shaded testing dependencies to internal package. ( #3305 )
2021-06-15 13:10:19 +03:00
Trask Stalnaker
62f1f49bcd
Intellij cleanup (Java and Groovy) ( #3285 )
...
* Intellij cleanup
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/code/CodeAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/db/DbAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/db/SqlAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/messaging/MessagingAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/spring/spring-web-3.1/library/src/test/java/io/opentelemetry/instrumentation/spring/httpclients/RestTemplateInterceptorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Use glassfish version that supports lambdas
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-06-14 10:23:01 -07:00
Anuraag Agrawal
c92fbcf624
Update to OTel SDK 1.3.0 ( #3253 )
2021-06-12 09:56:23 -07:00
Anuraag Agrawal
84cc044ddf
Migrate remaining test client calls to Armeria and remove testing-com… ( #3250 )
2021-06-11 11:51:23 -07:00
Anuraag Agrawal
2436499a09
Update to Errorprone 2.7 ( #3181 )
...
* Update to errorprone 2.7
* ToString
* Finish
2021-06-04 10:40:55 +09:00
Anuraag Agrawal
c3dedbb64e
Enable all errorprone checks ( #3155 )
...
* Enable all errorprone checks
* Fixes
* Finish
* Finish
* Add flag to disable error prone
2021-06-01 17:41:08 +09:00
Anuraag Agrawal
ed88cca533
Migrate from spotbugs to errorprone ( #3122 )
...
* Migrate from spotbugs to errorprone
* Fix hashtable
* try-with-resources
* Fix from merge
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 14:23:40 -07:00
Lauri Tulmin
6706dbfe53
Change smoketests to use testcontainers httpclient5 transport ( #3112 )
...
* Change smoketest to use testcontainers httpclient5 transport
* Update smoke-tests/src/test/resources/testcontainers.properties
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-27 12:40:52 -07:00
Trask Stalnaker
10db083e77
Update to OTel API/SDK 1.2.0 ( #2945 )
...
* Update to OTel API/SDK 1.2.0
* TCP.IP -> tcp_ip
* Fix smoke tests
2021-05-10 10:14:07 -07:00
Lauri Tulmin
357140c081
Server span naming for servlet filters ( #2887 )
...
* Server span naming for servlet filters
* wildfly default servlet has empty mappings
* jetty11 requires java11
* try a differnt way to disable jetty11 tests on java8
* Update instrumentation/servlet/servlet-5.0/javaagent/src/test/groovy/TomcatServlet5FilterMappingTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* review fix
* rework to use InstrumentationContext
* remove debugging code
* move MappingResolver to avoid ClassCastException on wildfly
* Update instrumentation/servlet/servlet-3.0/javaagent/src/test/groovy/TomcatServlet3FilterMappingTest.groovy
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* review fixes
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-05-06 13:25:17 +03:00
Lauri Tulmin
beae3276df
Fix flaky smoke tests ( #2849 )
...
* Enable debug logging for smoke tests
* trigger rerunning of smoke tests
* trigger rerunning of smoke tests
* pass agent in JVM_ARGS instead of JAVA_TOOL_OPTIONS on glassfish
* spotless
* remvove debugging code
* update windows image versions
* Ensure java.lang.reflect.Proxy is loaded before bytebuddy transformer is set up
* update windows image version
* Update javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/AgentInstaller.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-04-29 12:47:42 +02:00
Trask Stalnaker
e54eb2ca03
Add doc how to run smoke tests ( #2840 )
2021-04-22 11:37:18 -07:00
Ago Allikmaa
314794eaae
Tomcat 10 and Jetty 11 smoke tests ( #2723 )
2021-04-06 08:23:48 +03:00
Lauri Tulmin
255c7eeb28
Update windows fake backend version ( #2695 )
2021-04-01 16:12:43 -07:00
Lauri Tulmin
e0af64ccdf
Start smoke test backend and collector once ( #2653 )
...
* Start smoke test backend and collector once
* code style fix
* review fixes
* add Override annotation
* move methods from interface to abstract class
2021-03-31 09:23:07 +03:00
Nikita Salnikov-Tarnovski
43f4ab4734
Run smoke tests on Windows as well ( #2617 )
...
* Run smoke tests on Windows as well
* Allow long paths on windows
* Allow long paths on windows
* Polish
* Add check that spans were generated by expected OS
* Fix method name
* Use proper extra tag
* Use long paths on CI build on Windows
* Don't run linux test images on Windows
* Don't run linux test images on Windows
* Typo
* More debug
* Don't use testcontainers on Windows
* Polish
* Update backend
* Support for extra resources on linux
* Trying Linux backend on Windows
* Pull backend images if not found
* We do use windows images for backend as well
* Use correct windows images
* Less logs
* Polish
* Better logs
* Polish
* Polish
2021-03-26 15:11:59 +02:00
Felix Barnsteiner
56c52bc315
Add runtime.jvm.gc.collection.count metric ( #2616 )
...
* Add runtime.jvm.gc.collection.count metric
* Fix format violation
* Rename gc.collection to gc.collection.time
* Another rename 😅
2021-03-23 14:11:23 +02:00
Mateusz Rzeszutek
69dcfb77bf
Resolve a TODO in SmokeTest ( #2604 )
2021-03-19 14:30:11 +02:00
Mateusz Rzeszutek
33042ec842
Verify in smoke tests that runtime metrics are exported ( #2603 )
2021-03-19 12:31:59 +01:00
Lauri Tulmin
29790d8472
Low cardinality name for servlet span ( #2417 )
2021-03-04 12:39:37 -08:00
Anuraag Agrawal
0f32ed42a4
Instrument log4j to include bugfix of contextdataprovider mechanism. ( #2407 )
...
* Instrument log4j to include bugfix of contextdataprovider mechanism.
* Add regression test
* Update smoke test
* Update instrumentation/log4j/log4j-2.13.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/log4j/v2_13_2/BugFixingInstrumentation.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-02-26 09:20:55 +09:00
Ago Allikmaa
0b0a0aace2
Add OpenJ9 image smoke test configurations ( #2386 )
2021-02-23 23:34:02 +02:00
Lauri Tulmin
c8ca7e8d07
Make http.flavor spec compliant ( #2370 )
2021-02-22 13:12:05 -08:00
Anuraag Agrawal
000df967ce
Update to SDK 0.17.0 ( #2338 )
...
* Update to SDK 0.17.0
* Finish
* ottrace
2021-02-19 15:51:55 +09:00
Lauri Tulmin
80f389c778
Instrument all jetty handlers ( #2320 )
2021-02-18 11:51:48 +02:00
Mateusz Rzeszutek
f127a972dc
Add 'trace_flags' to logging MDC ( #2312 )
...
* Add 'trace_flags' to logging MDC
* Remove 'sampled' flag
* Rename MDC keys to the current logging spec convention: trace_id instead of traceId
* Fix smoke tests
2021-02-18 16:47:26 +09:00
Lauri Tulmin
5dc2cd420a
Start smoke test backend and collector only once ( #2249 )
2021-02-11 22:13:24 -08:00
Lauri Tulmin
845f758f8e
Close response to avoid warning about leaked response ( #2240 )
2021-02-10 15:01:54 +02:00
Anuraag Agrawal
fc410706d0
Update to Sdk 0.16.0 ( #2221 )
...
* Update to 0.16.0-SNAPSHOT
* Finish
* Finish
* Update to 0.16.0
* Finish
2021-02-09 18:00:54 +09:00
Lauri Tulmin
c65fb3ede4
Add tomee to supported servers ( #2180 )
...
* Add tomee to supported servers
* move tomee after tomcat
* correct tomee image tag
2021-02-04 14:44:21 +09:00
Anuraag Agrawal
1ebb58a596
Update to SDK 0.15.0 ( #2137 )
...
* Update to SDK 0.15.0
* Fix lightstep test
2021-01-29 21:30:22 +09:00
Anuraag Agrawal
78ef219f74
Remove queued_retry from repo ( #2095 )
2021-01-22 14:06:07 +09:00
Anuraag Agrawal
c6cc263c6e
Use SDK Autoconfigure module ( #2077 )
...
* Use sdk autoconfigure
* Finish
* Finish
* Group exporters
* Update smoke-tests/src/test/groovy/io/opentelemetry/smoketest/SpringBootWithSamplingSmokeTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-20 14:31:49 +09:00
Anuraag Agrawal
97b8712e3b
Remove jaeger-thrift from agent distribution ( #2073 )
...
* Remove jaeger-thrift from agent distribution
* Update test
2021-01-19 16:08:01 +09:00
Anuraag Agrawal
afdde0355b
Update to OTel 0.14.1 ( #2059 )
...
* Update SDK dependency to 0.14.1
* WIP
* Finish
* Cleanup
2021-01-18 13:02:04 +09:00
Lauri Tulmin
11ad12289b
Jetty server span handling ( #2029 )
2021-01-14 09:31:57 -08:00
Mateusz Rzeszutek
822e18675d
Make the agent log its version anymore when starting ( #2026 )
...
* Make the agent not log its version anymore when starting
* Version logger smoke test
* Version logger smoke test
2021-01-14 14:06:36 +09:00
Lauri Tulmin
c7e0a12145
Close request to avoid warnings in stderr ( #2030 )
2021-01-12 11:02:49 -08:00
Lauri Tulmin
28c210ed39
Start each server version once for smoke tests ( #1967 )
...
* start each server version once for smoke tests
* Update smoke-tests/src/test/java/io/opentelemetry/smoketest/AppServerTestRunner.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update smoke-tests/src/test/java/io/opentelemetry/smoketest/AppServerTestRunner.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update smoke-tests/src/test/java/io/opentelemetry/smoketest/AppServerTestRunner.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* review fixes
* review fix
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-06 12:10:38 +09:00