Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
86ff48b
multipathd: fix possible null deference in purge_disconnected code
bmarzins Jan 28, 2026
865fef7
test_kpartx: add cleanup action before running kpartx
mwilck Jan 28, 2026
74bb951
test_kpartx: Use system kpartx for cleanup
mwilck Jan 28, 2026
99066e0
test_kpartx: hide dd output
mwilck Jan 28, 2026
28b0515
test_kpartx: add function to debug current system state
mwilck Jan 28, 2026
033ee8d
test_kpartx: run cleanly on systems using lvmdevices
mwilck Jan 28, 2026
8ecdf28
test-kpartx: use more unusual VG and LV names
mwilck Jan 28, 2026
d630783
test-kpartx: improve output for errors and cleanup
mwilck Jan 28, 2026
a47916e
test-kpartx: support running from kpartx subdirectory
mwilck Jan 28, 2026
2089ef9
test-kpartx: fix shellcheck-reported problems
mwilck Jan 28, 2026
1a7ea48
test-kpartx: make partition renaming test more robust
mwilck Jan 28, 2026
5813a60
test-kpartx: use "command -v" instead of "which"
mwilck Jan 28, 2026
525d563
test-kpartx: use sleep for microsecond sleep
mwilck Jan 28, 2026
37f0d63
test-kpartx: also add trap for signals
mwilck Jan 29, 2026
57fcf59
test-kpartx: use sfdisk instead of parted
mwilck Jan 29, 2026
785a75e
test-kpartx: improve step descriptions to ease debugging
mwilck Jan 29, 2026
bfd063a
kpartx/Makefile: add test target to run test-kpartx
mwilck Jan 28, 2026
124558c
kpartx/Makefile: enable debugging for test-kpartx
mwilck Jan 29, 2026
f67c2ef
GitHub workflows: add kpartx test to build-and-unittest.yaml
mwilck Jan 28, 2026
900f535
Update NEWS.md for 0.14.2
mwilck Jan 29, 2026
b35369b
libmultipath: bump version to 0.14.2
mwilck Jan 29, 2026
957b5cb
GitHub workflows: run abi.yaml for pushes on "master", too
mwilck Jan 30, 2026
04e3297
GitHub workflows: abi-stable: try to download the artifact
mwilck Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions .github/workflows/abi-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,38 @@ jobs:
- name: assert parent tag
run: /bin/false
if: ${{ env.PARENT_TAG == '' }}
- name: try to download ABI for ${{ env.PARENT_TAG }}
id: download_abi
continue-on-error: true
uses: dawidd6/action-download-artifact@v6
with:
workflow: abi-stable.yaml
workflow_conclusion: ''
branch: ${{ github.ref_name }}
name: multipath-abi-${{ env.PARENT_TAG }}
search_artifacts: true
path: __unused__
- name: update
if: steps.download_abi.outcome != 'success'
run: sudo apt-get update
- name: dependencies
if: steps.download_abi.outcome != 'success'
run: >
sudo apt-get install --yes gcc
gcc make pkg-config abigail-tools
libdevmapper-dev libreadline-dev libaio-dev libsystemd-dev
libudev-dev libjson-c-dev liburcu-dev libcmocka-dev libedit-dev
libmount-dev
- name: checkout ${{ env.PARENT_TAG }}
if: steps.download_abi.outcome != 'success'
uses: actions/checkout@v4
with:
ref: ${{ env.PARENT_TAG }}
- name: build ABI for ${{ env.PARENT_TAG }}
if: steps.download_abi.outcome != 'success'
run: make -j$(nproc) -Orecurse abi
- name: save ABI
if: steps.download_abi.outcome != 'success'
uses: actions/upload-artifact@v4
with:
name: multipath-abi-${{ env.PARENT_TAG }}
Expand Down Expand Up @@ -74,13 +90,16 @@ jobs:
ref: ${{ github.ref }}
- name: download ABI for ${{ env.PARENT_TAG }}
id: download_abi
uses: actions/download-artifact@v4
uses: dawidd6/action-download-artifact@v6
with:
workflow: abi-stable.yaml
workflow_conclusion: ''
branch: ${{ github.ref_name }}
name: multipath-abi-${{ env.PARENT_TAG }}
search_artifacts: true
path: reference-abi
- name: update
run: sudo apt-get update
if: steps.download_abi.outcome != 'success'
- name: dependencies
run: >
sudo apt-get install --yes gcc
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/abi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: check-abi
on:
push:
branches:
- master
- queue
- abi
paths:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-and-unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
run: rm -f tests/dmevents.out tests/directio.out
- name: root-test
run: sudo make DIO_TEST_DEV=/dev/zram$ZRAM test
- name: kpartx-test
run: sudo make -C kpartx test
noble:
runs-on: ubuntu-24.04
strategy:
Expand Down Expand Up @@ -108,3 +110,5 @@ jobs:
run: rm -f tests/dmevents.out tests/directio.out
- name: root-test
run: sudo make DIO_TEST_DEV=/dev/ram0 test
- name: kpartx-test
run: sudo make -C kpartx test
12 changes: 12 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ release. These bug fixes will be tracked in stable branches.

See [README.md](README.md) for additional information.

## multipath-tools 0.14.2, 2026/01

### Bug fixes

* Fix a possible NULL pointer dereference in the path purging code.
Fixes 0.14.0. Commit 86ff48b.

### CI

* Updated the `test_kpartx` test script, and added it to the
`basic-build-and-ci` workflow.

## multipath-tools 0.14.1, 2026/01

### Bug fixes
Expand Down
8 changes: 7 additions & 1 deletion kpartx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@ uninstall:
$(Q)$(RM) $(DESTDIR)$(libudevdir)/rules.d/67-kpartx-compat.rules
$(Q)$(RM) $(DESTDIR)$(libudevdir)/rules.d/68-del-part-nodes.rules

kpartx.out: $(EXEC)
./test-kpartx >$@ 2>&1 || { cat $@; rm -f $@; exit 1; }

test: export KPARTX_DEBUG := 1
test: kpartx.out

clean: dep_clean
$(Q)$(RM) core *.o $(EXEC) kpartx.rules
$(Q)$(RM) core *.o $(EXEC) kpartx.rules kpartx.out

include $(wildcard $(OBJS:.o=.d))

Expand Down
Loading