fdb-kubernetes-operator icon indicating copy to clipboard operation
fdb-kubernetes-operator copied to clipboard

Add test process count

Open iyuroch opened this issue 3 years ago • 7 comments

Description

This PR adds "test" processCount.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Discussion

This changes are based on discussion under https://github.com/FoundationDB/fdb-kubernetes-operator/issues/1346

Testing

Unit test

Do we need to perform additional testing once this is merged, or perform in a larger testing environment?

Documentation

Yes, added description in fdb cluster page.

Follow-up

Add deprecation for tester Does not have anything

iyuroch avatar Sep 26 '22 12:09 iyuroch

@johscheuer I'll fix them, have to pull amd hardware.

iyuroch avatar Sep 26 '22 16:09 iyuroch

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: b8a7087c4406c39761849f39e6b586dd09d51184
  • Duration 4:06:02
  • Result: :x: FAILED
  • Error: Error while executing command: if $(grep -q -- "--- FAIL:" logs/*.log); then echo "TESTS FAILED SEE THESE LOGS:"; echo ; grep -l -- "--- FAIL:" logs/*.log; exit 1; fi. Reason: exit status 1
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Sep 26 '22 16:09 foundationdb-ci

@johscheuer I'll fix them, have to pull amd hardware.

Most of the command can also be run with docker e.g. https://github.com/FoundationDB/fdb-kubernetes-operator#local-development-with-arm64 (or your favourite container runtime). Just a heads up if you run things inside docker everything will be quite slow and a dedicated VM might be faster.

johscheuer avatar Sep 26 '22 17:09 johscheuer

@johscheuer https://github.com/iyuroch/fdb-kubernetes-operator/actions/runs/3136372461 can you please re-trigger here? much thanks.

iyuroch avatar Sep 27 '22 14:09 iyuroch

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: 53795c8daffe714044745e49450531009d1e1984
  • Duration 4:07:45
  • Result: :x: FAILED
  • Error: Error while executing command: if $(grep -q -- "--- FAIL:" logs/*.log); then echo "TESTS FAILED SEE THESE LOGS:"; echo ; grep -l -- "--- FAIL:" logs/*.log; exit 1; fi. Reason: exit status 1
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Sep 27 '22 18:09 foundationdb-ci

@johscheuer I don't see operator_velocity_test tests located in this repository. Can you please point me where to look to find simulated scenario?

iyuroch avatar Sep 28 '22 07:09 iyuroch

@johscheuer I don't see operator_velocity_test tests located in this repository. Can you please point me where to look to find simulated scenario?

Sadly they are currently not open-source (we are working on that). Thanks for creating the PR!

johscheuer avatar Sep 28 '22 07:09 johscheuer