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
Anuraag Agrawal
1e57fd0f54
Enable smoke-tests iff specified on command line ( #3542 )
...
* Enable smoke-tests iff specified on command line
* README
2021-07-12 13:29:48 +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
Trask Stalnaker
ac54f9d446
Sync windows and linux wildfly smoke test images ( #3486 )
2021-07-04 09:24:55 -07:00
Trask Stalnaker
614d5dc905
Revert tomcat smoke test image changes ( #3483 )
2021-07-03 08:49:59 -07:00
Trask Stalnaker
103fba247b
Fix Tomcat windows smoke test images ( #3469 )
2021-07-01 19:19:59 -07:00
Anuraag Agrawal
44f2354d41
Allow disabling thread details and disable for most tests. ( #3464 )
2021-07-01 08:31:27 -07:00
Trask Stalnaker
e2aae6fc87
Fix Tomcat Java 16 images ( #3463 )
2021-07-01 17:17:38 +03:00
Anuraag Agrawal
c0467567f0
Migrate smoke-tests build to kotlin ( #3461 )
2021-07-01 18:53:40 +09:00
Trask Stalnaker
c40bcc52fd
More Java 16 smoke test images ( #3458 )
2021-06-30 22:40:05 -07:00
Anuraag Agrawal
785dc6adf2
Rename build files to build.gradle ( #3409 )
...
* Rename build files to build.gradle
* Rename smoke-tests
* Fix already broken
2021-06-25 16:10:31 +09:00
jason plumb
1f3faca6b9
Register logs marshaller ( #3392 )
2021-06-24 11:08:04 +03:00
Anuraag Agrawal
deb0e255cf
Use plugins block everywhere for applying plugins ( #3386 )
...
* Use plugins block everywhere for applying plugins
* Actually it's library instrumentation
2021-06-24 11:13:35 +09:00
jason plumb
bf3830a8b9
support logs in the fake test backend ( #3374 )
...
* support logs in the fake test backend
* fix copypasta
2021-06-22 16:27:03 +09:00
Anuraag Agrawal
c1d4cf01e8
Move min/max java properties to an extension class ( #3307 )
2021-06-15 11:55:24 -07:00
Anuraag Agrawal
7ad9e7a50b
Move shaded testing dependencies to internal package. ( #3305 )
2021-06-15 13:10:19 +03:00
Anuraag Agrawal
224dc51e93
Migrate java.gradle to conventions plugin ( #3289 )
...
* Migrate java.gradle to convention plugin.
* Switch to java-conventions
* Remove old file
* Fix
* Fix merge
* Missing paragraph
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-15 08:10:39 +09: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
6733b50a65
Update fake backend proto version to 1.3.0 ( #3252 )
2021-06-11 17:22:46 +09: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
Anuraag Agrawal
c358a35414
Use dependency management pattern for dependency versions ( #3113 )
...
* Use dependency management pattern for dependency versions.
* Add groovy bom too
* Update dependencyManagement/dependencyManagement.gradle.kts
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 11:32:08 +09: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
Jakub Wach
53c38ac8e4
Renamed min java for test property to better reflect its purpose ( #2917 )
2021-05-06 11:51:13 -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
Lauri Tulmin
7c517035c0
Fix payara windows image ( #2880 )
2021-04-28 13:26:26 +03:00
Lauri Tulmin
2df0bb4b51
Pass jvm arguments from env var on windows payara ( #2874 )
...
* Pass jvm arguments from env var on windows payara
* enable more debug logging
* capture test output
* use the same fake backend as regular smoke test
2021-04-27 11:22:19 +03:00
Trask Stalnaker
e54eb2ca03
Add doc how to run smoke tests ( #2840 )
2021-04-22 11:37:18 -07:00
Trask Stalnaker
cad3c761a6
Bump smoke test timeout ( #2798 )
2021-04-13 19:56:45 -07:00
Trask Stalnaker
53ffe9fbef
Reduce smoke test timeout after split out ( #2720 )
2021-04-06 16:37:59 +09:00
Ago Allikmaa
314794eaae
Tomcat 10 and Jetty 11 smoke tests ( #2723 )
2021-04-06 08:23:48 +03:00
Ago Allikmaa
905e0c76d6
Fix Tomcat version specified in smoke tests with no public docker image ( #2722 )
2021-04-05 22:04:15 +03:00
Ago Allikmaa
7027006f66
Request handlers and test images for Tomcat 10 and Jetty 11 (Servlet API 5) ( #2703 )
...
* Tomcat 10 and Jetty 11 handlers with Servlet API 5
* Jetty 11 and Tomcat 10 Windows images
2021-04-05 09:45:02 -07:00
Lauri Tulmin
255c7eeb28
Update windows fake backend version ( #2695 )
2021-04-01 16:12:43 -07:00
Lauri Tulmin
4426e1d87b
Update java in windows fake backend image ( #2694 )
2021-04-01 19:25:00 +03:00
Trask Stalnaker
bf03a77b3f
Split out smoke tests further ( #2668 )
2021-03-31 09:23:21 +03: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
Nikita Salnikov-Tarnovski
2a2d4ae2f8
Publish windows images for smoke tests backends ( #2621 )
...
* Build and push Windows Docker images for fake-backend and collector
* Run on main branch only
* Update smoke-tests/fake-backend/build.gradle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Fix comment
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-24 13:20:40 +02:00
Lauri Tulmin
e3155ed977
Run smoketests in parallel ( #2622 )
2021-03-24 08:31:12 +02:00
Ago Allikmaa
69c2644774
Servlet 5 API, reorganize servlet modules ( #2609 )
...
* Servlet 5.0 API support, refactored other servlet modules
* Include correct servlet instrumentation module for grails tests
* Reapply spotless after rebase
* Fix checkstyle
* Spotless
* Addressed PR suggestions
* Fixed files in wrong package.
* Fixed mixed up instrumentation names.
* Fixed incomplete instrumentation name.
* Addressed PR suggestions
* Addressed PR suggestions
2021-03-23 14:11:43 +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
Trask Stalnaker
1e3d9dd992
Increase smoke test timeout ( #2611 )
...
* Increase smoke test timeout
* Fix muzzle build failure
2021-03-21 22:24:47 -07:00
Nikita Salnikov-Tarnovski
fc39d87c82
Remove JCenter which is about to be sunset ( #2387 )
...
* Remove JCenter which is about to be sunset
* Fallback to JCenter for muzzle
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Fixing muzzle without jcenter
* Remove debug logs
* polish
2021-03-19 23:21:52 +02:00
Mateusz Rzeszutek
69dcfb77bf
Resolve a TODO in SmokeTest ( #2604 )
2021-03-19 14:30:11 +02:00