foundationdb icon indicating copy to clipboard operation
foundationdb copied to clipboard

FreeBSD build

Open dwagin opened this issue 3 years ago • 12 comments

  1. FreeBSD dont have prctl() function, added workaround
  2. Fixed compilation error:
In file included from /wrkdirs/usr/ports/databases/foundationdb-devel/work/foundationdb-7.1.21/fdbserver/FDBExecHelper.actor.cpp:41:
In file included from /usr/local/include/boost/process.hpp:24:
In file included from /usr/local/include/boost/process/async_system.hpp:22:
In file included from /usr/local/include/boost/process/child.hpp:21:
In file included from /usr/local/include/boost/process/detail/child_decl.hpp:30:
/usr/local/include/boost/process/detail/posix/wait_for_exit.hpp:151:11: error: expected unqualified-id
        ::exit(0);
          ^
/wrkdirs/usr/ports/databases/foundationdb-devel/work/foundationdb-7.1.21/flow/Platform.h:775:14: note: expanded from macro 'exit'
#define exit static_assert(false, "Calls to exit() are forbidden by policy");
             ^
1 error generated.

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 Sep 03 '22 20:09 dwagin

Result of foundationdb-pr-macos on macOS BigSur 11.5.2

  • Commit ID: 0e86d32a8796a90adcab5a13eb25e55db9360053
  • Duration 0:04:54
  • 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 Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Sep 03 '22 20:09 foundationdb-ci

Result of foundationdb-pr on Linux CentOS 7

  • Commit ID: 0e86d32a8796a90adcab5a13eb25e55db9360053
  • Duration 0:05:06
  • 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 Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Sep 03 '22 20:09 foundationdb-ci

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

  • Commit ID: 0e86d32a8796a90adcab5a13eb25e55db9360053
  • Duration 0:05:05
  • 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 Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Sep 03 '22 20:09 foundationdb-ci

Doxense CI Report for Windows 10

  • Commit ID: 0e86d32a8796a90adcab5a13eb25e55db9360053
  • Result: :heavy_check_mark: SUCCEEDED
  • Build Logs (available for 30 days)

fdb-windows-ci avatar Sep 03 '22 20:09 fdb-windows-ci

Doxense CI Report for Windows 10

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

fdb-windows-ci avatar Sep 04 '22 10:09 fdb-windows-ci

Result of foundationdb-pr-macos on macOS BigSur 11.5.2

  • Commit ID: db26b3a1f795a5e0dfde7bc1d670e8c8bd247a79
  • Duration 0:47:28
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Sep 04 '22 10:09 foundationdb-ci

Result of foundationdb-pr on Linux CentOS 7

  • Commit ID: db26b3a1f795a5e0dfde7bc1d670e8c8bd247a79
  • Duration 1:01:52
  • Result: :x: FAILED
  • Error: Error while executing command: if python3 -m joshua.joshua list --stopped | grep ${ENSEMBLE_ID} | grep -q 'pass=10[0-9][0-9][0-9]'; then echo PASS; else echo FAIL && exit 1; fi. Reason: exit status 1
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Sep 04 '22 11:09 foundationdb-ci

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

  • Commit ID: db26b3a1f795a5e0dfde7bc1d670e8c8bd247a79
  • Duration 4:00:13
  • 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 Sep 04 '22 13:09 foundationdb-ci

Doxense CI Report for Windows 10

  • Commit ID: 0cc3e6875f3ff0712124c336e7327f6fc64415fd
  • Result: :heavy_check_mark: SUCCEEDED
  • Build Logs (available for 30 days)

fdb-windows-ci avatar Sep 21 '22 14:09 fdb-windows-ci

Result of foundationdb-pr on Linux CentOS 7

  • Commit ID: 0cc3e6875f3ff0712124c336e7327f6fc64415fd
  • Duration 0:46:04
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Sep 21 '22 15:09 foundationdb-ci

Result of foundationdb-pr-macos on macOS BigSur 11.5.2

  • Commit ID: 0cc3e6875f3ff0712124c336e7327f6fc64415fd
  • Duration 0:49:53
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

foundationdb-ci avatar Sep 21 '22 15:09 foundationdb-ci

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

  • Commit ID: 0cc3e6875f3ff0712124c336e7327f6fc64415fd
  • Duration 2:11:03
  • 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 Sep 21 '22 16:09 foundationdb-ci