Commit Graph

195 Commits

Author SHA1 Message Date
Daming 33df7c9b85 [test/plugin] Don't copy all optional plugins by default (#3781)
* Not support copy all optional plugins

* fix

* Update test/plugin/run.sh

to correct the mistakes of grammar

Co-Authored-By: kezhenxu94 <kezhenxu94@163.com>
2019-11-05 10:01:39 +08:00
于玉桔 cdb02d5696 redisson plugin support high version (#3780)
* redisson support high lv version

* bugfix

* add comment
2019-11-04 22:45:07 +08:00
于玉桔 c002a6b3bf [test/plugin] immigrate test redisson scenario. (#3775)
* add redisson testcase
2019-11-04 17:51:23 +08:00
Daming cae0df24ce [hotfix] Remove argument BUILID_ID from run.sh (#3774) 2019-11-04 14:34:58 +08:00
zhangwei e39ff8e452 customize-scenario (#3773) 2019-11-03 23:19:13 +08:00
于玉桔 9bed3c7c42 [test/plugin] immigrate test webflux scenario. (#3756)
* add webflux testcase
2019-10-31 16:37:09 +05:30
aderm 6da231d8c7 [test/plugin] immigrate test httpasyncclient scenario. (#3751)
* [test/plugin] immigrate httpasyncclient scenario
2019-10-31 14:19:05 +05:30
zhangwei 5bb35e3f7d validator enhancement (#3750) 2019-10-31 10:08:23 +05:30
zhangwei bcaa8be0aa toolkit-scenario (#3739) 2019-10-30 09:06:16 +05:30
mrproliu 7ebb3107bf fix deficient code, "/socket.io/" http segment declare (#3717)
* fix deficient code, "/socket.io/" http segment declare

* add agent test and fix expectedData.yaml file

* add listener on tomcat start, work for reduce socket io server start time
change "/socket.io/" operation "http.method", cause get or post will invoke both

* resolve style check error

* change socket io server and client start to health check servlet

* if startClientAndWaitConnect invoke on multi-thread, it will only check client ref, no check connect state, fix it.
2019-10-29 18:28:41 +08:00
panjuan f44b09483b Modify application.yml to set MySQL as storage provider (#3733)
*  Modify application.yml to set MySQL as storage provider

* use volume
2019-10-29 16:18:36 +08:00
aderm b3da85b526 1.update pg image to 10.5-alpine;2.update test support list. (#3727) 2019-10-28 20:23:19 +08:00
aderm 7f69a73d13 Add postgresql agent sql query param show (#3695)
* Add postgresql agent sql query param show
2019-10-28 08:43:57 +08:00
panjuan be3db6794b Add E2E test for MySQL storage. (#3648) 2019-10-27 23:29:06 +08:00
zhangwei 2e2616d0ef [test/plugin] spring async scenario optimize (#3723)
* optimize

* fix license header
2019-10-27 21:15:43 +08:00
zhangwei f471293cdc [test/plugin] immigrate undertow scenario (#3698) 2019-10-27 18:33:38 +08:00
Daming c81e8a04b5 [test/plugin] to check agent register status (#3716)
* check agent register status

* update

* remove healtch-check segment

* update

* fix some expectedData.yml

* remove netty-socketio-scenario from Jenkinsfile

* fix
2019-10-26 02:58:08 +08:00
scolia 80af166752 feat: add support of mongodb v3.7.x or higher (#3591)
* feat: add support of mongodb v3.7.x or higher

* feat: remove mapping, using EnhancedInstance to mark remotePeer

* feat: add support of v3.6.x

* fix: disable support will 3.6.x, which will throw ClassCircularityError exception

* style: clean code

* fix support of 3.8.x~3.11.1, update test case and doc

* update stage name

* rename class

* rename stage
2019-10-24 19:16:56 +03:00
mrproliu c640b512cd Provide agent plugin netty-socketio (#3640)
* add plugin netty-socketio https://github.com/mrniko/netty-socketio

* delete create exit span interceptor.

* delete create exit span interceptor testcase.

* delete create exit span interceptor testcase.

* add constructor test unit

* change bind on random port in test case

* reverse upstream master whitespace

* resolve build_id param

* delete health check segment test case

* add ContextManager.isActive check before use activeSpan invoke

* remove unnecessary code and blank line
2019-10-23 13:06:17 +03:00
scolia b56248b0af feat: add test case for mongodb-3.x-plugin (#3667)
* feat: add test case for mongodb-3.x-plugin

* fix: agent-test script error

* feat: change non-compliant code

* fix: remove not proper config

* docs: update docs

* Merge branch 'master' of https://github.com/apache/skywalking into mongodb-testcase

# Conflicts:
#	Jenkinsfile-Agent-Test-3
2019-10-22 22:19:40 +03:00
aderm 7273e63020 [test/plugin] immigrate elasticsearch-5.x scenario (#3686) 2019-10-22 21:09:05 +03:00
xiaoy00 26b1d4156a Supporting RequestRateLimiterGatewayFilterFactory (#3538) 2019-10-22 14:33:26 +03:00
Daming 9996fbb5e0 [test/plugin] docker prune at cleanup (#3679)
* docker prune at cleanup

* update

* no prune volumes

* prune volumes
2019-10-22 13:24:36 +03:00
zhangwei b81726792f [test/plugin] immigrate sofarpc scenario (#3674)
* sofarpc

* sofarpc scenario

* sofarpc scenario

* fix stage
2019-10-22 07:55:06 +03:00
Daming 6657e6ec17 [test/plugin] fast-fail and reliablity (#3666)
* fast-fail and reliablity

* add workload no. as a part of the build_id tag

* print system info
2019-10-21 22:21:05 +03:00
aderm ed6e75e702 Add postgre support-version.list (#3673) 2019-10-21 17:48:24 +03:00
aderm 6658cdf5d1 fix lack file: bin/startup.sh (#3665)
* add startup.sh file
2019-10-21 08:18:22 +03:00
aderm aa18eb695b [test/plugin] immigrate postgresql scenario (#3644)
* Modify plugin test run.sh script parameter error

* shell fun error, delete ()

* delete space line

* [test/plugin] immigrate postgresql scenario

* add licene

* format expectedData.yaml & update support-version.list

* change workload from 3 to 1

* add startup.sh

* update startup.sh

* Add verify health-check segment

* remove health-check segment

* update code. 1. context is not effective; 2.format code. 3.change log to slf4j;

* update expectedData.yaml & change log to log4j2

* Add stage case count

* add immigrate postgresql-9.4-scenario

* repair module name & package name

* repair all postgresql-9.4 to postgresql-above9.4.1207

* change module name to postgresql-above9.4.1207

* change stage name
2019-10-20 19:12:35 +03:00
zhangwei 77c10c681f [test/plugin] immigrate canal scenario (#3660)
* immigrate canal scenario

* add test cases report

* commit

* exclusion spring

* add canal stage

* del org.apache.logging.log4j dep

* del -Dskywalking.agent.service_name
2019-10-20 12:57:24 +03:00
kezhenxu94 50f398a6d2
[CI] Make E2E tests run in multiple JDK versions (#3657)
* [CI] Make E2E tests run in multiple JDK versions

* Polish

* Use new e2e-container version number

* Install socat in reboot case

* Fix reboot case

* Polish

* Reorganize jobs
2019-10-19 23:09:56 +08:00
于玉桔 4fdf9d08a0 gateway testcast update (#3652)
* gateway testcast update

* bugfix

* remove -u
2019-10-18 18:45:43 +03:00
zhangwei 56bfbd61ef [test/plugin] spring scenario update (#3654)
* spring scenario update

* fix withPlugins
2019-10-18 17:40:14 +03:00
zhangwei 19288d85e9 iimmigrate kafak scenario (#3653) 2019-10-18 16:08:08 +03:00
Daming ef91bcf45f [test/plugin] removes the dead codes (#3651)
* removes the dead codes

* sync
2019-10-18 13:24:21 +03:00
Daming 6a7867ef5f [test/plugin] support test cases work with specifying the optional plugins (#3649)
* support test cases work with specifying the optional plugins
2019-10-18 11:57:34 +03:00
Daming f1fa738658 make plugin test more stable on docker-compose (#3642) 2019-10-17 13:03:50 +03:00
Kdump c0be757f43 add graphql getServiceInstance instanceUUID field. (#3595)
* add graphql getServiceInstance instanceUUID field.

* add graphql getServiceInstance instanceUUID field.

* add graphql getServiceInstance instanceUUID field.

* sync query-protocol repo

* add instanceUUID field e2e

* add instanceUUID field e2e

* add instanceUUID field e2e

* add instanceUUID field e2e
2019-10-17 06:38:00 +03:00
于玉桔 61705958be gateway server config close refreshing (#3628) 2019-10-16 13:38:35 +03:00
Daming d572e03661 make SolrJ-testcases stable (#3627) 2019-10-16 11:43:50 +03:00
aderm 353c1ba2c6 Fix plugin test run.sh script parameter error (#3621)
* Modify plugin test run.sh script parameter error

* shell fun error, delete ()

* delete space line
2019-10-16 10:32:37 +03:00
zhangwei c2e261e482 [test/plugin] immigrate spring scenario (#3620)
* immigrate spring async scenario

* fix rat

* Fix async not in effect

* immigrate spring scenario

* immigrate spring scenario

* fix

* immigrate spring scenario

* rollback

* fix log4j2.xml
2019-10-16 08:53:20 +03:00
于玉桔 24cc91c9af [test/plugin] immigrate gateway scenario (#3603)
* gateway-testcase
2019-10-15 09:51:55 +03:00
Daming 2af4ea8cdb support plugin testcases run with optional/bootstap plugins (#3617) 2019-10-14 15:01:48 +03:00
Daming 72153230a1 [test/plugin]support plugin testcases run in docker-compose (#3612)
* support docker-compose

* sync

* support docker-compose

* force rm container

* solrj-7.x-scenario

* fix license header

* fix actualData.yml

* verify Jenkins run on distribution

* test Jenkinsfile v2

* test Jenkinsfile v3, God bless

* test V4, God Bless

* test v5

* rollback

* update opertaion of post
2019-10-14 10:47:02 +03:00
zhangwei 7e7ab42ea0 [test/plugin] immigrate spring async scenario (#3611)
* immigrate spring async scenario

* fix rat

* Fix async not in effect
2019-10-13 21:30:42 +08:00
kezhenxu94 ff0e67e595 [CI] Make e2e more friendly for local test (#3606)
And group the test cases according to their consuming time
2019-10-13 14:11:30 +08:00
zhangwei e2216c8e4f [test/plugin] immigrate dubbo scenario (#3590)
* immigrate dubbo
2019-10-12 13:51:50 +08:00
Daming 530804d0fd [test/plugin] support jvm-container (#3584)
* provides a jvm-container
2019-10-12 09:14:12 +08:00
mrproliu 58804174e1 Provide plugin for Ehcache 2.x (#3575)
* support ehcache 2.x
2019-10-10 22:39:37 +08:00
Daming 9b2672aa59 [test/plugin] rename the package of testcases (#3587)
* remove profiles and rename the package

* remove profiles
2019-10-10 14:23:36 +08:00
Daming 002a161f96 improves script (#3579) 2019-10-09 14:54:06 +08:00
Daming 0114391dd2 test/plugin autotest (#3528)
Provide the codebase of plugin tests. Make the plugin test in the CI loop.
2019-10-08 21:51:20 +08:00
吴晟 Wu Sheng 1046944d69 Fix variable name and log in e2e tests. (#3487) 2019-09-19 12:32:45 +08:00
kezhenxu94 721f86485c Add TTL E2E test (#3437)
* Add TTL E2E test

* Add to Jenkins stage and minor bugfix

* Upgrade e2e container version

* Polish and minor fix

* Polish
2019-09-09 22:06:57 -07:00
kezhenxu94 54614a0594 Support gateway without agent (#3308)
* Support Gateway without agent
2019-08-30 16:17:41 +08:00
kezhenxu94 3549d074b0 Increase test service latency to help it to be counted (#3211)
The current latency of the test service is too slow, causing it's not counted and
the query result is 0, this patch increases the latency intentionally by sleeping
1 second
2019-08-03 18:18:32 +08:00
kezhenxu94 49f50a24a4 Support upgrade backend w/o rebooting agents (#3170)
* Support upgrade backend w/o rebooting agents
2019-08-02 09:25:17 +08:00
kezhenxu94 758b085c4f Fix that e2e fails occasionally (#3125)
* Override ES settings in FAQ

* Resend traffic data when invalid

* Remove unsupported ES setting

* Use seperated buffer directory and remove unnecessary web app 2
2019-07-20 13:22:10 +08:00
kezhenxu94 673b0bbcff Fix bug conflicts when containers start simultaneously (#3092)
The e2e containers' names of single mode and cluster mode
would conflict when they start up simultaneously in Jenkins job.
2019-07-16 10:29:19 +08:00
kezhenxu94 37efd1f95a Add e2e cluster tests (#3016)
* Add e2e cluster tests
2019-07-14 23:25:41 +08:00
kezhenxu94 d1a521b705 Add end to end tests (#2935)
e2e test setup. cc @hanahmily @peng-yongsheng @IanCao @zhaoyuguang @JaredTan95 

# e2e test case
One single standalone Spring service, accessing H2 database. This service has been installed the agent. 
OAP runs in single mode with H2 storage too.

The e2e test will verify the results through GraphQL query
1. Traces exist.
2. Service/Service Instance/Endpoint exist and have expected metrics.
3. Topology exists and match expected.
2019-06-30 20:44:24 +08:00
wusheng 2401428ece remove useless testcase 2016-12-11 22:41:06 +08:00
ascrutae d7804bf443 移除test-api依赖 2016-12-03 19:52:50 +08:00
wusheng cdcb440281 relocate module ‘skywalking-test-api’ to under module ‘skywalking-sniffer’ 2016-11-12 20:23:58 +08:00
ascrutae b185f1e0b4 提交logging工程以及完成zookeeper实现的注册中心,删除对protocol工程的依赖 2016-11-11 14:05:32 +08:00
ascrutae b11c8a79a6 1.修改工程结构,2. 完成部分Storage功能 2016-10-31 16:35:13 +08:00
wusheng 99298c2532 增加新的版本号 2.0-2016,准备下一版本迭代 2016-08-18 11:37:59 +08:00
ascrutae 944160d258 修改包名和修复bug 2016-08-14 16:47:29 +08:00
ascrutae f50566dc6d 修复bug 2016-08-12 15:38:47 +08:00
ascrutae e8b4d26830 1. 提交Tomcat插件,支持7.x-8.x
2. 修复错误类名(InstanceMethodsAroundInterceptor)
2016-07-22 16:05:38 +08:00
ascrutae 64e1e4a0a8 1. 修复agent-test编译失败问题,
2. 修改HttpClient插件定义的类名写错的问题
2016-07-08 17:26:19 +08:00
ascrutae f4efee4ea5 完成所有插件测试 2016-07-08 07:11:18 +08:00
wusheng f286cbd781 1.大规模修改工程结构,sdk降级使用1.6编译,支持1.6以上版本
2.server端程序保持不变
2016-06-25 10:47:25 +08:00
wusheng 7bbe9ceb07 修改部分依赖,试图解决log4j2不兼容的问题。 2016-06-16 13:20:35 +08:00
ascrutae 84a7dc9cbb 移除无用代码
提交jdbc测试工程
2016-06-15 23:11:24 +08:00
ascrutae 09ae8ab5f3 1.增加不校验traceId的方法 2016-06-13 22:58:25 +08:00
ascrutae 1a6ec531ce 新增清理ContextPool的方法,方便测试 2016-06-13 22:17:06 +08:00
ascrutae 9464d94689 1. 完善文档 2016-06-13 18:45:11 +08:00
ascrutae 86f9cd407b 添加文档 2016-06-13 18:37:57 +08:00
ascrutae 11a4b38408 1.添加redis cluster测试类 2016-06-13 18:14:03 +08:00
ascrutae 739ae01718 1.修改参数顺序 2016-06-13 16:59:45 +08:00
ascrutae 3865edc2e2 1.修改传入参数 2016-06-12 14:00:51 +08:00
ascrutae 8f794dc769 异常细分,去除排重功能 2016-06-07 16:27:02 +08:00
wusheng 75b3e154e2 修复部分包名、类名,提高可读性 2016-06-07 09:45:07 +08:00
ascrutae 060afcb56b 1.完善测试API
2. 增加SDK的数据的测试
2016-06-06 23:49:17 +08:00
wusheng 7b741cc280 补充提交 2016-06-06 13:35:54 +08:00
wusheng 2bc3a466b7 修改pom部分描述 2016-06-06 11:53:04 +08:00
ascrutae ccc1c1a640 1.增加校验长度的方法
2. 修改包名
2016-06-06 11:23:12 +08:00
ascrutae f706bff794 1.消费线程为0的时候,不启动消费线程
2. 提交测试工程
2016-06-06 11:13:15 +08:00
wusheng c6aa2ac941 调整test工程结构。 2016-06-05 11:41:07 +08:00
ascrutae 59e2f69d35 1.添加redis测试工程
2. 移除log4j shade
2016-06-05 11:21:56 +08:00
ascrutae 4dd00b97fa 移除无用的工程 2016-06-05 00:05:38 +08:00
ascrutae 5e22ec4b89 修改pom文件 2016-06-04 22:01:37 +08:00
ascrutae 4b90ffbe36 修改pom文件 2016-06-04 21:59:05 +08:00
ascrutae 88377b6889 提交agent-test工程 2016-06-03 18:04:59 +08:00