Skip to content

[release-7.4] Forward port audit logging changes from release-7.3 - #14485

Merged
spraza merged 4 commits into
apple:release-7.4from
spraza:port-7.4-audit-logging-v2
Nov 11, 2026
Merged

spraza merged 4 commits into
apple:release-7.4from
spraza:port-7.4-audit-logging-v2

Conversation

@spraza

@spraza spraza commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Forward port #14290 #14257 #14418 #14457

Testing

  • 100K: 20261109-224552-praza-port-7.4-audit-loggin-cf2213c88e5d0566 compressed=True data_size=40830635 duration=3578892 ended=100000 fail_fast=100 interrupted=1907 max_runs=100000 pass=100000 priority=100 remaining=0 runtime=1:33:33 sanity=False started=100000 stopped=20261110-001925 submitted=20261109-224552 timeout=5400 username=praza-port-7.4-audit-logging-v2-ba74d443f21ca98960fb24bb6479bac3183dd584

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@ploxiln ploxiln left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I analyzed the forward-port with an LLM to check for missing or subtly-incompatible bits, and all looks good.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@spraza
spraza force-pushed the port-7.4-audit-logging-v2 branch from ba74d44 to 02b192a Compare November 10, 2026 18:06
)

* Add opt-in JSON audit log to transaction_profiling_analyzer

* Log the client ip_address on transaction_profiling_analyzer audit entries

(cherry picked from commit 6907356)
…ple#14257)

* Add opt-in fdbcli audit logging of keys returned by read commands

* Log the client IPAddress on fdbcli audit events

* Address feedback

* fix ctest noise

(cherry picked from commit a7493c9)
…#14418)

* Write fdbcli audit events to separate trace_audit trace files

* Add TraceEvent flowbench benchmark

* Add flowbench TraceEvent before/after comparison script

(cherry picked from commit a55c533)
@spraza
spraza force-pushed the port-7.4-audit-logging-v2 branch from 02b192a to 6996c10 Compare November 10, 2026 18:41
@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@spraza
spraza enabled auto-merge (squash) November 10, 2026 19:10
@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang on Linux RHEL 9

  • Commit ID: 6996c10
  • Duration 0:43:32
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos-m1 on macOS

  • Commit ID: 6996c10
  • Duration 0:46:58
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 6996c10
  • Duration 0:55:37
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

This comment has been minimized.

@ploxiln

ploxiln commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

"PR Builder - clang arm" failure:

99% tests passed, 1 tests failed out of 68

Total Test time (real) = 397.58 sec

The following tests FAILED:
     38 - fdb_c_api_test_CApiBlobGranuleTenantEncryptionCorrectnessMultiThr (Timeout)
Errors while running CTest

I went ahead and triggered rebuild/retest

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests on Linux RHEL 9

  • Commit ID: 6996c10
  • Duration 1:40:24
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • 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

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-arm on Linux RHEL 9

  • Commit ID: 6996c10
  • Duration 0:44:18
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@spraza

spraza commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator Author

Result of foundationdb-pr-macos on macOS

  • Commit ID: 6996c10
  • Duration 4:10:04
  • Result: ❌ FAILED
  • Error: `Error while executing command: # compatible with bash and zsh
    ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${HOME}/.ssh_key
    -o ServerAliveInterval=9 ec2-user@${MAC_EC2_HOST} "
    set -e -o noclobber
    BUILDNUM=${CODEBUILD_BUILD_NUMBER}
    WAIT_TIME=14400 # 4 hours
    LOCK_STALE=4500 # 75 minutes
    LOCK=/tmp/ci.lock
    "'

macOS stat flags, not linux compatible

lock_mtime() { stat -f %m $LOCK || echo 0 } I=0 while ! (echo $BUILDNUM >$LOCK) 2>/dev/null ; do if (( ++I >= WAIT_TIME )); then echo "timeout waiting for ci.lock after $I seconds" exit 3 fi if (( ( d a t e + (lock_mtime) >= LOCK_STALE )); then echo "lock expired after $LOCK_STALE seconds ..." # racy but sleep so chances are low sleep $(( 3 + RANDOM % 8 )) if (( ( d a t e + (lock_mtime) >= LOCK_STALE )); then echo "lock holder is gone" rm -f $LOCK else echo "new lock holder" fi fi sleep 1 done echo "acquired ci.lock" ' . Reason: exit status 3`

  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Looks unrelated to this PR. All other checks are passing.

@ploxiln ok if I force merge?

@ploxiln

ploxiln commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

Yes, macOS (intel) is behind today, go ahead and force-merge.

@spraza

spraza commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator Author
Screenshot 2026-11-10 at 4 13 08 PM

Merging.

@spraza
spraza disabled auto-merge November 11, 2026 00:14
@spraza
spraza merged commit 92900b9 into apple:release-7.4 Nov 11, 2026
6 of 7 checks passed
@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos on macOS

  • Commit ID: 6996c10
  • Duration 0:40:59
  • Result: ❌ FAILED
  • Error: Error while executing command: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${HOME}/.ssh_key ec2-user@${MAC_EC2_HOST} /usr/local/bin/bash --login ./build_pr_macos.sh. Reason: exit status 8
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants