foundationdb icon indicating copy to clipboard operation
foundationdb copied to clipboard

fdbmonitor: track parent process death for FreeBSD

Open dwagin opened this issue 3 years ago • 7 comments

Track parent process death for FreeBSD.

Before: When dbmonitor terminated, the children continued to work. After: Children receive a SIGHUP signal and finish their work.

Also fixed sigprocmask() restore.

Code-Reviewer Section

The general pull request guidelines can be found here.

Please check each of the following things and check all boxes before accepting a PR.

  • [x] The PR has a description, explaining both the problem and the solution.
  • [x] The description mentions which forms of testing were done and the testing seems reasonable.
  • [x] Every function/class/actor that was touched is reasonably well documented.

For Release-Branches

If this PR is made against a release-branch, please also check the following:

  • [ ] This change/bugfix is a cherry-pick from the next younger branch (younger release-branch or main if this is the youngest branch)
  • [ ] There is a good reason why this PR needs to go into a release branch and this reason is documented (either in the description above or in a linked GitHub issue)

dwagin avatar Oct 02 '22 22:10 dwagin

Result of foundationdb-pr-clang on Linux CentOS 7

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Duration 0:16:46
  • Result: :x: FAILED
  • Error: Error while executing command: ninja -v -C build_output -j ${NPROC} all packages strip_targets. Reason: exit status 1
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Oct 02 '22 22:10 foundationdb-ci

Doxense CI Report for Windows 10

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Result: :heavy_check_mark: SUCCEEDED
  • Build Logs (available for 30 days)

fdb-windows-ci avatar Oct 02 '22 22:10 fdb-windows-ci

Result of foundationdb-pr-macos on macOS BigSur 11.5.2

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Duration 0:50:39
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Oct 02 '22 22:10 foundationdb-ci

Result of foundationdb-pr-cluster-tests on Linux CentOS 7

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Duration 2:09:18
  • Result: :x: FAILED
  • Error: Error while executing command: if $(grep -q -- "--- FAIL:" ${CODEBUILD_SRC_DIR}/fdb-kubernetes-tests/logs/*.log); then echo "TESTS FAILED SEE THESE LOGS:"; echo ; grep -l -- "--- FAIL:" ${CODEBUILD_SRC_DIR}/fdb-kubernetes-tests/logs/*.log; exit 1; fi. Reason: exit status 1
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Oct 03 '22 00:10 foundationdb-ci

Result of foundationdb-pr on Linux CentOS 7

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Duration 4:02:14
  • Result: :x: FAILED
  • Error: Build has timed out.
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Oct 03 '22 02:10 foundationdb-ci

Result of foundationdb-pr on Linux CentOS 7

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Duration 1:36:50
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Oct 04 '22 01:10 foundationdb-ci

What about to commit? @jzhou77 , @sfc-gh-abeamon ?

drTr0jan avatar Jan 17 '24 18:01 drTr0jan

Result of foundationdb-pr on Linux CentOS 7

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Duration 0:03:53
  • Result: :x: FAILED
  • Error: Error while executing command: if [[ $(git diff --shortstat 2> /dev/null | tail -n1) == "" ]]; then echo "CODE FORMAT CLEAN"; else echo "CODE FORMAT NOT CLEAN"; echo; echo "THE FOLLOWING FILES NEED TO BE FORMATTED"; echo; git ls-files -m; echo; exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar May 03 '24 17:05 foundationdb-ci

Result of foundationdb-pr-clang-ide on Linux CentOS 7

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Duration 0:03:59
  • Result: :x: FAILED
  • Error: Error while executing command: if [[ $(git diff --shortstat 2> /dev/null | tail -n1) == "" ]]; then echo "CODE FORMAT CLEAN"; else echo "CODE FORMAT NOT CLEAN"; echo; echo "THE FOLLOWING FILES NEED TO BE FORMATTED"; echo; git ls-files -m; echo; exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar May 03 '24 17:05 foundationdb-ci

Result of foundationdb-pr-clang on Linux CentOS 7

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Duration 0:03:56
  • Result: :x: FAILED
  • Error: Error while executing command: if [[ $(git diff --shortstat 2> /dev/null | tail -n1) == "" ]]; then echo "CODE FORMAT CLEAN"; else echo "CODE FORMAT NOT CLEAN"; echo; echo "THE FOLLOWING FILES NEED TO BE FORMATTED"; echo; git ls-files -m; echo; exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar May 03 '24 17:05 foundationdb-ci

Result of foundationdb-pr-cluster-tests on Linux CentOS 7

  • Commit ID: 713fce36572ffc3ac24c1275bfc4f36240709886
  • Duration 0:04:00
  • Result: :x: FAILED
  • Error: Error while executing command: if [[ $(git diff --shortstat 2> /dev/null | tail -n1) == "" ]]; then echo "CODE FORMAT CLEAN"; else echo "CODE FORMAT NOT CLEAN"; echo; echo "THE FOLLOWING FILES NEED TO BE FORMATTED"; echo; git ls-files -m; echo; exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

foundationdb-ci avatar May 03 '24 17:05 foundationdb-ci

Close because of CI failure and cloned this PR in #11361

jzhou77 avatar May 03 '24 17:05 jzhou77