Skip to content

Commit 0a189bb

Browse files
authored
Release 0.14.2
multipath-tools 0.14.2
2 parents f626171 + 04e3297 commit 0a189bb

8 files changed

Lines changed: 373 additions & 202 deletions

File tree

.github/workflows/abi-stable.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,38 @@ jobs:
3030
- name: assert parent tag
3131
run: /bin/false
3232
if: ${{ env.PARENT_TAG == '' }}
33+
- name: try to download ABI for ${{ env.PARENT_TAG }}
34+
id: download_abi
35+
continue-on-error: true
36+
uses: dawidd6/action-download-artifact@v6
37+
with:
38+
workflow: abi-stable.yaml
39+
workflow_conclusion: ''
40+
branch: ${{ github.ref_name }}
41+
name: multipath-abi-${{ env.PARENT_TAG }}
42+
search_artifacts: true
43+
path: __unused__
3344
- name: update
45+
if: steps.download_abi.outcome != 'success'
3446
run: sudo apt-get update
3547
- name: dependencies
48+
if: steps.download_abi.outcome != 'success'
3649
run: >
3750
sudo apt-get install --yes gcc
3851
gcc make pkg-config abigail-tools
3952
libdevmapper-dev libreadline-dev libaio-dev libsystemd-dev
4053
libudev-dev libjson-c-dev liburcu-dev libcmocka-dev libedit-dev
4154
libmount-dev
4255
- name: checkout ${{ env.PARENT_TAG }}
56+
if: steps.download_abi.outcome != 'success'
4357
uses: actions/checkout@v4
4458
with:
4559
ref: ${{ env.PARENT_TAG }}
4660
- name: build ABI for ${{ env.PARENT_TAG }}
61+
if: steps.download_abi.outcome != 'success'
4762
run: make -j$(nproc) -Orecurse abi
4863
- name: save ABI
64+
if: steps.download_abi.outcome != 'success'
4965
uses: actions/upload-artifact@v4
5066
with:
5167
name: multipath-abi-${{ env.PARENT_TAG }}
@@ -74,13 +90,16 @@ jobs:
7490
ref: ${{ github.ref }}
7591
- name: download ABI for ${{ env.PARENT_TAG }}
7692
id: download_abi
77-
uses: actions/download-artifact@v4
93+
uses: dawidd6/action-download-artifact@v6
7894
with:
95+
workflow: abi-stable.yaml
96+
workflow_conclusion: ''
97+
branch: ${{ github.ref_name }}
7998
name: multipath-abi-${{ env.PARENT_TAG }}
99+
search_artifacts: true
80100
path: reference-abi
81101
- name: update
82102
run: sudo apt-get update
83-
if: steps.download_abi.outcome != 'success'
84103
- name: dependencies
85104
run: >
86105
sudo apt-get install --yes gcc

.github/workflows/abi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: check-abi
22
on:
33
push:
44
branches:
5+
- master
56
- queue
67
- abi
78
paths:

.github/workflows/build-and-unittest.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
run: rm -f tests/dmevents.out tests/directio.out
6868
- name: root-test
6969
run: sudo make DIO_TEST_DEV=/dev/zram$ZRAM test
70+
- name: kpartx-test
71+
run: sudo make -C kpartx test
7072
noble:
7173
runs-on: ubuntu-24.04
7274
strategy:
@@ -108,3 +110,5 @@ jobs:
108110
run: rm -f tests/dmevents.out tests/directio.out
109111
- name: root-test
110112
run: sudo make DIO_TEST_DEV=/dev/ram0 test
113+
- name: kpartx-test
114+
run: sudo make -C kpartx test

NEWS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ release. These bug fixes will be tracked in stable branches.
99

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

12+
## multipath-tools 0.14.2, 2026/01
13+
14+
### Bug fixes
15+
16+
* Fix a possible NULL pointer dereference in the path purging code.
17+
Fixes 0.14.0. Commit 86ff48b.
18+
19+
### CI
20+
21+
* Updated the `test_kpartx` test script, and added it to the
22+
`basic-build-and-ci` workflow.
23+
1224
## multipath-tools 0.14.1, 2026/01
1325

1426
### Bug fixes

kpartx/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,14 @@ uninstall:
4040
$(Q)$(RM) $(DESTDIR)$(libudevdir)/rules.d/67-kpartx-compat.rules
4141
$(Q)$(RM) $(DESTDIR)$(libudevdir)/rules.d/68-del-part-nodes.rules
4242

43+
kpartx.out: $(EXEC)
44+
./test-kpartx >$@ 2>&1 || { cat $@; rm -f $@; exit 1; }
45+
46+
test: export KPARTX_DEBUG := 1
47+
test: kpartx.out
48+
4349
clean: dep_clean
44-
$(Q)$(RM) core *.o $(EXEC) kpartx.rules
50+
$(Q)$(RM) core *.o $(EXEC) kpartx.rules kpartx.out
4551

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

0 commit comments

Comments
 (0)