Skip to content

selftests: ublk: use tmpdir for scratch files and improve relative paths use#509

Closed
blktests-ci[bot] wants to merge 2 commits intolinus-master_basefrom
series/1046223=>linus-master
Closed

selftests: ublk: use tmpdir for scratch files and improve relative paths use#509
blktests-ci[bot] wants to merge 2 commits intolinus-master_basefrom
series/1046223=>linus-master

Conversation

@blktests-ci
Copy link

@blktests-ci blktests-ci bot commented Jan 24, 2026

Pull request for series with
subject: selftests: ublk: use tmpdir for scratch files and improve relative paths use
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1046223

@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 24, 2026

Upstream branch: 6208587
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 25, 2026

Upstream branch: d91a46d
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1046223=>linus-master branch from 92c76d4 to 184e100 Compare January 25, 2026 10:22
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 1dff21b to b44af19 Compare January 27, 2026 10:02
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 27, 2026

Upstream branch: fcb70a5
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1046223=>linus-master branch from 184e100 to 455643d Compare January 27, 2026 10:06
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from b44af19 to 483aa43 Compare January 29, 2026 00:24
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 29, 2026

Upstream branch: 8dfce89
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1046223=>linus-master branch from 455643d to e825450 Compare January 29, 2026 00:28
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 483aa43 to 9d3c6de Compare February 3, 2026 19:06
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 3, 2026

Upstream branch: de0674d
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1046223=>linus-master branch from e825450 to 557aeac Compare February 3, 2026 19:15
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 9d3c6de to 7c2ae0a Compare February 5, 2026 03:28
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 5, 2026

Upstream branch: f14faaf
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1046223=>linus-master branch from 557aeac to 9639f0c Compare February 5, 2026 03:38
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 7c2ae0a to 54294d6 Compare February 6, 2026 08:51
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 6, 2026

Upstream branch: b7ff715
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1046223=>linus-master branch from 9639f0c to f687a10 Compare February 6, 2026 09:00
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 54294d6 to eb49f7b Compare February 8, 2026 02:55
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 8, 2026

Upstream branch: e7aa572
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1046223=>linus-master branch from f687a10 to cad2416 Compare February 8, 2026 04:23
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from eb49f7b to 30e5c22 Compare February 9, 2026 04:29
…ths use

Create a temp dir for temporary files and use it instead of
placing them inside source tree.
Reference files in subdirectories relative to script's source dir
for bpftrace uses.
While there fix a typo.

Signed-off-by: Alexander Atanasov <alex@zazolabs.com>
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 9, 2026

Upstream branch: 05f7e89
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1046223=>linus-master branch from cad2416 to 8873796 Compare February 9, 2026 04:38
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 30e5c22 to 519f160 Compare February 12, 2026 00:34
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 12, 2026

Upstream branch: c22e26b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1046223
version: 1

Pull request is NOT updated. Failed to apply https://patchwork.kernel.org/project/linux-block/list/?series=1046223
error message:

Cmd('git') failed due to: exit code(128)
  cmdline: git am --3way
  stdout: 'Applying: selftests: ublk: use tmpdir for scratch files and improve relative paths use
Using index info to reconstruct a base tree...
M	tools/testing/selftests/ublk/test_common.sh
A	tools/testing/selftests/ublk/test_generic_01.sh
M	tools/testing/selftests/ublk/test_generic_02.sh
M	tools/testing/selftests/ublk/test_generic_12.sh
Falling back to patching base and 3-way merge...
Auto-merging tools/testing/selftests/ublk/test_generic_12.sh
Auto-merging tools/testing/selftests/ublk/test_generic_02.sh
CONFLICT (modify/delete): tools/testing/selftests/ublk/test_generic_01.sh deleted in HEAD and modified in selftests: ublk: use tmpdir for scratch files and improve relative paths use. Version selftests: ublk: use tmpdir for scratch files and improve relative paths use of tools/testing/selftests/ublk/test_generic_01.sh left in tree.
Auto-merging tools/testing/selftests/ublk/test_common.sh
CONFLICT (content): Merge conflict in tools/testing/selftests/ublk/test_common.sh
Patch failed at 0001 selftests: ublk: use tmpdir for scratch files and improve relative paths use'
  stderr: 'error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"'

conflict:

diff --cc tools/testing/selftests/ublk/test_common.sh
index 163a40007910,ab1ea5cc904a..000000000000
--- a/tools/testing/selftests/ublk/test_common.sh
+++ b/tools/testing/selftests/ublk/test_common.sh
@@@ -58,7 -43,7 +58,11 @@@ _create_backfile() 
  	old_file="${UBLK_BACKFILES[$index]}"
  	[ -f "$old_file" ] && rm -f "$old_file"
  
++<<<<<<< HEAD
 +	new_file=$(mktemp ${UBLK_TEST_DIR}/ublk_file_"${new_size}"_XXXXX)
++=======
+ 	new_file=$(mktemp $TMPDIR/ublk_file_"${new_size}"_XXXXX)
++>>>>>>> selftests: ublk: use tmpdir for scratch files and improve relative paths use
  	truncate -s "${new_size}" "${new_file}"
  	UBLK_BACKFILES["$index"]="$new_file"
  }
@@@ -129,12 -120,8 +134,16 @@@ _prep_test() 
  	local type=$1
  	shift 1
  	modprobe ublk_drv > /dev/null 2>&1
++<<<<<<< HEAD
 +	local base_dir=${TMPDIR:-./ublktest-dir}
 +	mkdir -p "$base_dir"
 +	UBLK_TEST_DIR=$(mktemp -d ${base_dir}/${TID}.XXXXXX)
 +	UBLK_TMP=$(mktemp ${UBLK_TEST_DIR}/ublk_test_XXXXX)
++=======
+ 	UBLK_TMP=$(mktemp $TMPDIR/ublk_test_XXXXX)
++>>>>>>> selftests: ublk: use tmpdir for scratch files and improve relative paths use
  	[ "$UBLK_TEST_QUIET" -eq 0 ] && echo "ublk $type: $*"
 +	echo "ublk selftest: $TID starting at $(date '+%F %T')" | tee /dev/kmsg
  }
  
  _remove_test_files()
* Unmerged path tools/testing/selftests/ublk/test_generic_01.sh

@blktests-ci blktests-ci bot force-pushed the linus-master_base branch 9 times, most recently from e1fefe2 to f714aad Compare February 18, 2026 05:50
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch 2 times, most recently from df85678 to 50e7070 Compare February 22, 2026 05:34
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 22, 2026

At least one diff in series https://patchwork.kernel.org/project/linux-block/list/?series=1046223 irrelevant now for [{'archived': False, 'project': 241}] search patterns

@blktests-ci blktests-ci bot closed this Feb 22, 2026
@blktests-ci blktests-ci bot deleted the series/1046223=>linus-master branch February 24, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants