etcd icon indicating copy to clipboard operation
etcd copied to clipboard

Add randomness to port selection allowing running concurrent e2e tests

Open serathius opened this issue 1 year ago • 4 comments

Useful for using stress to deflake test.

cc @ahrtr @siyuanfoundation @fuweid

serathius avatar Aug 01 '24 19:08 serathius

/retest

siyuanfoundation avatar Aug 01 '24 19:08 siyuanfoundation

2024-08-01T20:05:59.8946831Z {"Time":"2024-08-01T20:05:59.88891373Z","Action":"output","Package":"go.etcd.io/etcd/tests/v3/e2e","Test":"TestCtlV3GetFormat","Output":"/home/runner/work/etcd/etcd/bin/etcdctl (/home/runner/work/etcd/etcd/bin/etcdctl_--endpoints=http://localhost:28121_--dial-timeout=7s_get_--write-out=protobuf_abc) (17766): \u0003abc\u0010\u0002\u0018\u0002 \u0001*\u0003123 \u0001    ctl_v3_kv_test.go:189: \n"}
2024-08-01T20:05:59.8949859Z {"Time":"2024-08-01T20:05:59.888928738Z","Action":"output","Package":"go.etcd.io/etcd/tests/v3/e2e","Test":"TestCtlV3GetFormat","Output":"        \tError Trace:\t/home/runner/work/etcd/etcd/tests/e2e/ctl_v3_kv_test.go:189\n"}
2024-08-01T20:05:59.8951807Z {"Time":"2024-08-01T20:05:59.888933046Z","Action":"output","Package":"go.etcd.io/etcd/tests/v3/e2e","Test":"TestCtlV3GetFormat","Output":"        \t            \t\t\t\t/home/runner/work/etcd/etcd/tests/e2e/ctl_v3_test.go:263\n"}
2024-08-01T20:05:59.8953847Z {"Time":"2024-08-01T20:05:59.888936332Z","Action":"output","Package":"go.etcd.io/etcd/tests/v3/e2e","Test":"TestCtlV3GetFormat","Output":"        \t            \t\t\t\t/opt/hostedtoolcache/go/1.22.5/x64/src/runtime/asm_amd64.s:1695\n"}
2024-08-01T20:05:59.8956669Z {"Time":"2024-08-01T20:05:59.888940179Z","Action":"output","Package":"go.etcd.io/etcd/tests/v3/e2e","Test":"TestCtlV3GetFormat","Output":"        \tError:      \t\"\\r\\n\\n\\x19\\bĭ\\xd4\\xf1ֹ\\xe6\\xa7\\xe7\\x01\\x10\\xec\\xbeÚ\\xef\\x9e\\xd6\\xd6n\\x18\\x02 \\x02\\x12\\x10\\r\\n\\n\\x03abc\\x10\\x02\\x18\\x02 \\x01*\\x03123 \\x01\" does not contain \"\\x17\\b\\x93\\xe7\\xf6\\x93\\xd4ņ\\xe14\\x10\\xed\"\n"}
2024-08-01T20:05:59.8959108Z {"Time":"2024-08-01T20:05:59.888950779Z","Action":"output","Package":"go.etcd.io/etcd/tests/v3/e2e","Test":"TestCtlV3GetFormat","Output":"        \tTest:       \tTestCtlV3GetFormat\n"}
2024-08-01T20:05:59.8960698Z {"Time":"2024-08-01T20:05:59.888955889Z","Action":"output","Package":"go.etcd.io/etcd/tests/v3/e2e","Test":"TestCtlV3GetFormat","Output":"    ctl_v3_test.go:264: ---testFunc logic DONE\n"}
2024-08-01T20:05:59.8962404Z {"Time":"2024-08-01T20:05:59.8889619Z","Action":"output","Package":"go.etcd.io/etcd/tests/v3/e2e","Test":"TestCtlV3GetFormat","Output":"    ctl_v3_test.go:275: closing test cluster...\n"}

fuweid avatar Aug 02 '24 11:08 fuweid

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahrtr, fuweid, serathius, siyuanfoundation

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • ~~OWNERS~~ [ahrtr,serathius]

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Aug 02 '24 11:08 k8s-ci-robot

/retest

henrybear327 avatar Oct 24 '24 12:10 henrybear327

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Jan 10 '25 08:01 k8s-ci-robot

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (ca2d91c) to head (417682c). Report is 1203 commits behind head on main.

:exclamation: Current head 417682c differs from pull request most recent head 8c93f8b

Please upload reports for the commit 8c93f8b to get more accurate results.

Additional details and impacted files
@@      Coverage Diff      @@
##   main   #18391   +/-   ##
=============================
=============================


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ca2d91c...8c93f8b. Read the comment docs.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Jan 10 '25 08:01 codecov[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 05:04 stale[bot]

@serathius: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-etcd-e2e-386 8c93f8b8abf9dbcd75c8da41d167d12cb25cce37 link true /test pull-etcd-e2e-386
pull-etcd-e2e-arm64 8c93f8b8abf9dbcd75c8da41d167d12cb25cce37 link true /test pull-etcd-e2e-arm64
pull-etcd-e2e-amd64 8c93f8b8abf9dbcd75c8da41d167d12cb25cce37 link true /test pull-etcd-e2e-amd64
ci-etcd-robustness-release36-amd64 8c93f8b8abf9dbcd75c8da41d167d12cb25cce37 link true /test ci-etcd-robustness-release36-amd64
ci-etcd-robustness-release35-amd64 8c93f8b8abf9dbcd75c8da41d167d12cb25cce37 link true /test ci-etcd-robustness-release35-amd64
ci-etcd-robustness-release34-amd64 8c93f8b8abf9dbcd75c8da41d167d12cb25cce37 link true /test ci-etcd-robustness-release34-amd64

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

k8s-ci-robot avatar May 24 '25 16:05 k8s-ci-robot