Commit Graph

50 Commits

Author SHA1 Message Date
zhouzb caf1784a90 build: update otp version 2021-12-02 15:25:11 +08:00
Zaiming Shi e2d7ff2b0f build: rename emqx-ee to emqx-enterprise 2021-11-29 14:53:47 +01:00
Zaiming Shi bab5d2f399 ci: do not run helm_test for enterprise for now 2021-11-20 20:55:22 +01:00
Zaiming Shi a705bc1fc7 build: change package name scheme
`${PROFILE}-${PKG_VSN}-otp${OTP_VSN}-${SYSTEM}-${ARCH}.zip`
2021-11-20 20:44:48 +01:00
Thales Macedo Garitezi 315a06214f
test(rlog): reenable RLOG FVT tests
The RLOG DB backend tests in FVT were temporarily disabled due to some
paho tests being specially flaky in CI.

In particular, those tests had the common pattern of subscribing to a
topic, immediately publishing to that topic and then waiting for the
response.  When in CI and using RLOG, there seems to be more delays in
replication of data, and often this pattern would fail in the
constraint testing enviroment.
2021-11-18 18:03:30 -03:00
Thales Macedo Garitezi 28e3727aae
fix(ci): temporarily disable rlog FVT tests (flakiness)
A few FVT tests are very flaky when run in rlog core+replicant cluster
configuration (for instance `V5/test_publish.py::test_topic`). We are
disabling this test configuration temporarily while we investigate
further and mitigate it.
2021-11-10 11:03:39 -03:00
Thales Macedo Garitezi f8fc67b313
fix(lag): target only replica if rlog core+replicant
there seems to be race conditions related to some tests with sessions
hitting the core and the replicant alternately and rlog.

for intance, if there is some delay in this replication, a new
connection made to the replica with a just-created session in the core
may not have been replicated to the replicant, resulting in a test
failure if it expects the session to be present.

since such replication lags are inherent to the core-replicant
topology, we can try to target only the replicant to avoid seeing this
inconsistent view of the system during the tests.
2021-11-08 14:18:07 -03:00
Thales Macedo Garitezi c60feaaad2
test(fvt): extend functional verification tests to use replicant node
This parameterizes the Functional Verification Tests (FVTs) that run
in CI to use a replication log (RLOG) role of "replicant" for one of
the nodes.  With this addition, our FVTs may explore more scenarios
with data replication.
2021-11-07 17:02:57 -03:00
zhanghongtong f817ba0075 chore(CI): rename image 2021-10-22 13:40:01 +08:00
zhanghongtong 7732796331 chore(CI): change otp version for docker compose file
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-10-22 13:40:01 +08:00
zhanghongtong 46a794e38b chore(CI): use concurrency to cancel in-progress workflows 2021-10-22 13:40:01 +08:00
zhanghongtong 4d27d371eb chore(CI): change otp version for workflows 2021-10-22 13:40:01 +08:00
zhanghongtong 1e8948e091 chore(CI): use ghcr
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-16 14:33:59 +08:00
zhanghongtong 41f2b77ec3 chore(CI): update workflows
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-24 15:04:27 +08:00
Zaiming (Stone) Shi 64ddb13d8e
Merge pull request #5450 from zmstone/chore-update-otp-version-for-ci
chore: update otp version in CI
2021-08-11 14:02:54 +02:00
Zaiming Shi 4abb3e65eb test(ci): dump haproxy logs if test failed 2021-08-11 10:39:40 +08:00
Zaiming Shi bf94051d56 chore: update otp version in CI 2021-08-10 15:56:22 +02:00
x1001100011 0fe3083cd7 build: add erlang 24.0.1 for ci 2021-08-09 11:12:25 +02:00
zhanghongtong b69059d442 build: easier build docker
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-04 09:31:02 +08:00
Shawn f8f7493352 fix(test): set RETRY_INTERVAL and MAX_TOPIC_ALIAS for paho test 2021-07-17 17:36:01 +08:00
Rory Z b93ec0a83a chore(CI): fix github workflows error (#1) 2021-07-02 17:01:16 +08:00
Turtle 918a26e921 feat(conf): merge all conf to emqx.conf 2021-07-02 17:01:16 +08:00
Zaiming Shi c84af95190 chore: ensure new env override prefix variable 2021-06-15 12:35:08 +02:00
zhanghongtong 1098df815a chore(CI): fix relup error 2021-06-10 09:25:37 +08:00
zhanghongtong d825535d04 chore(CI): update events that trigger workflows 2021-06-05 14:09:12 +08:00
zhanghongtong f2ccf97780 chore(CI): fix relup tests error in enterprise repo 2021-05-24 18:00:48 +08:00
zhanghongtong 09084e4e27 chore(CI): fix relup tests error in enterprise repo 2021-05-24 15:11:46 +08:00
Zaiming Shi 7a969e085f test: ensure erlang 23 in more github actions 2021-05-21 17:59:17 +02:00
Zaiming Shi a8cb5678b5 test: ensure erlang 23 in github action 2021-05-21 16:48:01 +02:00
zhanghongtong 9c244679dc chore(CI): relup test support any commit 2021-05-13 19:05:34 +08:00
z8674558 50f4e0617b fix(docker-entrypoint): do not mv loaded_plugins file, copy it by cat 2021-05-10 20:54:33 +09:00
zhanghongtong 88df1713b1 chore(CI): fix relup tests error 2021-05-07 10:18:14 +08:00
zhanghongtong 323c1a4896 chore(CI): fix relup tests error 2021-05-07 09:32:52 +08:00
Zaiming Shi cd53568f36 build: pin otp 23.2.7.2-emqx-2 2021-05-06 21:05:39 +02:00
Zaiming Shi cacb56a25c build: pin erl23.2.7.2-emqx-1 2021-04-27 21:23:40 +02:00
zhanghongtong 84ee523145 chore(fvt test): waiting emqx cluster 2021-04-21 09:30:13 +08:00
zhanghongtong 48b0cc37ed chore(docker compose): update emqx cluster compose file 2021-04-19 18:19:53 +08:00
Zaiming Shi 5c49d5e49d chore(build): Pin Erlang/OTP 23.2.7.1-emqx-1 2021-04-17 22:15:34 +02:00
zhanghongtong ed2a675404 chore(fvt test): update emqx cluster compose file 2021-04-15 21:51:27 +08:00
zhanghongtong 1e249cfd73 chore(CI): target workflows event support enteprise tags 2021-04-08 18:11:59 +08:00
Zaiming Shi f0e947a987 chore(ci): Ensure exit 1 at test failure 2021-03-25 21:23:20 +01:00
Zaiming Shi 4829814c58 chore(ci): inspect docker logs after pytest failure 2021-03-25 18:08:41 +01:00
zhanghongtong b9c913d18f chore(CI): fix windows build error 2021-03-23 20:32:23 +08:00
zhanghongtong 20086bcff1 chore(CI): fvt test support enterprise repo 2021-03-19 09:18:53 +08:00
Zaiming Shi 1ee0432301 chore(build): bump to OTP-23.2.7 2021-03-18 09:04:08 +08:00
zhanghongtong ee776c5099 chore(CI): update events that trigger workflows 2021-03-03 20:55:45 +08:00
Zaiming Shi 197196624e chore(CI): Put OTP 23 on trial 2021-01-25 11:44:00 +01:00
zhanghongtong 17ee5b0af5 build(helm): add loaded-plugins and loaded-modules to helm configmap
turn off telemetry in CI
2021-01-23 12:21:16 +08:00
zhanghongtong e2389ab8e7 chore(CI): update erlang version 2021-01-19 09:08:01 +08:00
zhanghongtong fd6cc1a848 test(CI): update actions
add fvt tests

update test cases
2020-12-17 14:23:33 +08:00