Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into grom72/pmdk-w-logging
Browse files Browse the repository at this point in the history
Skip NLT tests for full HW validation
Skip-NLT: true

Skip-list: test_ior_intercept_libpil4dfs:DAOS-16260
Allow-unstable-test: true

Signed-off-by: Tomasz Gromadzki <[email protected]>
  • Loading branch information
grom72 committed Feb 10, 2025
2 parents a20d8b5 + eb7fd8c commit c252552
Show file tree
Hide file tree
Showing 87 changed files with 6,064 additions and 912 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ updates:
python-packages:
patterns:
- "*"
exclude-patterns:
- "avocado-*"
- package-ecosystem: github-actions
directory: /
schedule:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python environment
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3'
- name: Install extra python packages
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python environment
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3'
- name: Add parser
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.11'
- name: Install python packages
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python environment
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3'
- name: Install extra python packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ossf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@f6091c0113d1dcf9b98e269ee48e8a7e51b7bdd4 # v3.28.5
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
trivy-config: 'utils/trivy/trivy.yaml'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@f6091c0113d1dcf9b98e269ee48e8a7e51b7bdd4 # v3.28.5
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
sarif_file: 'trivy-results.sarif'

Expand Down
10 changes: 8 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
daos (2.7.101-5) unstable; urgency=medium
daos (2.7.101-6) unstable; urgency=medium
[ Tomasz Gromadzki ]
* pmemobj errors and warnings reported via DAOS logging system

-- Tomasz Gromadzki <[email protected]> Tue, 14 Jan 2025 12:00:00 +0200
-- Tomasz Gromadzki <[email protected]> Mon, 10 Feb 2025 12:00:00 +0200

daos (2.7.101-5) unstable; urgency=medium
[ Jan Michalski ]
* Add ddb_ut and dtx_ut to the server-tests package

-- Jan Michalski <[email protected]> Wed, 22 Jan 2025 14:31:00 +0000

daos (2.7.101-4) unstable; urgency=medium
[ Jeff Olivier ]
Expand Down
2 changes: 2 additions & 0 deletions debian/daos-server-tests.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
usr/bin/dtx_tests
usr/bin/dtx_ut
usr/bin/jump_pl_map
usr/bin/ring_pl_map
usr/bin/evt_ctl
Expand All @@ -9,6 +10,7 @@ usr/bin/bio_ut
usr/bin/vea_ut
usr/bin/vos_tests
usr/bin/ddb_tests
usr/bin/ddb_ut
usr/bin/vea_stress
usr/bin/vos_perf
usr/bin/obj_ctl
23 changes: 14 additions & 9 deletions src/client/dfuse/pil4dfs/int_dfs.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/**
* (C) Copyright 2022-2024 Intel Corporation.
* (C) Copyright 2025 Hewlett Packard Enterprise Development LP
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
Expand Down Expand Up @@ -6129,14 +6130,18 @@ futimens(int fd, const struct timespec times[2])
static int
new_fcntl(int fd, int cmd, ...)
{
int fd_directed, param, OrgFunc = 1;
int fd_directed, OrgFunc = 1;
int next_dirfd, next_fd, rc;
void *param;
va_list arg;

va_start(arg, cmd);
param = va_arg(arg, int);
param = va_arg(arg, void *);
va_end(arg);

if (!d_hook_enabled)
return libc_fcntl(fd, cmd, param);

if (fd < FD_FILE_BASE && d_compatible_mode)
return libc_fcntl(fd, cmd, param);

Expand All @@ -6155,9 +6160,6 @@ new_fcntl(int fd, int cmd, ...)
case F_ADD_SEALS:
fd_directed = d_get_fd_redirected(fd);

if (!d_hook_enabled)
return libc_fcntl(fd, cmd, param);

if (cmd == F_GETFL) {
if (fd_directed >= FD_DIR_BASE)
return dir_list[fd_directed - FD_DIR_BASE]->open_flag;
Expand Down Expand Up @@ -6206,12 +6208,15 @@ new_fcntl(int fd, int cmd, ...)
case F_OFD_GETLK:
case F_GETOWN_EX:
case F_SETOWN_EX:
if (!d_hook_enabled)
fd_directed = d_get_fd_redirected(fd);
if (fd_directed >= FD_FILE_BASE) {
errno = ENOTSUP;
return (-1);
} else {
return libc_fcntl(fd, cmd, param);

return libc_fcntl(fd, cmd, param);
}
default:
return libc_fcntl(fd, cmd);
return libc_fcntl(fd, cmd, param);
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/container/srv_container.c
Original file line number Diff line number Diff line change
Expand Up @@ -1863,9 +1863,9 @@ ds_cont_tgt_refresh_track_eph(uuid_t pool_uuid, uuid_t cont_uuid,
arg.tgt_status[i] = tgts[i].ta_comp.co_status;
ds_pool_put(pool);

rc = ds_pool_task_collective(pool_uuid, PO_COMP_ST_NEW | PO_COMP_ST_DOWN |
PO_COMP_ST_DOWNOUT, cont_refresh_track_eph_one,
&arg, DSS_ULT_FL_PERIODIC);
rc = ds_pool_thread_collective(pool_uuid,
PO_COMP_ST_NEW | PO_COMP_ST_DOWN | PO_COMP_ST_DOWNOUT,
cont_refresh_track_eph_one, &arg, DSS_ULT_FL_PERIODIC);

out:
if (arg.tgt_status != NULL && arg.tgt_status != arg.tgt_status_inline)
Expand Down
Loading

0 comments on commit c252552

Please sign in to comment.