Skip to content

Comments

selftests: ublk: move test temp files into a sub directory#523

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

selftests: ublk: move test temp files into a sub directory#523
blktests-ci[bot] wants to merge 2 commits intolinus-master_basefrom
series/1048367=>linus-master

Conversation

@blktests-ci
Copy link

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

Pull request for series with
subject: selftests: ublk: move test temp files into a sub directory
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1048367

@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=1048367
version: 1

@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=1048367
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1048367=>linus-master branch from 80e3d96 to 398b64b Compare February 3, 2026 19:09
@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=1048367
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1048367=>linus-master branch from 398b64b to 968af76 Compare February 5, 2026 03:32
@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=1048367
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1048367=>linus-master branch from 968af76 to ab39386 Compare February 6, 2026 08:58
@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=1048367
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1048367=>linus-master branch from ab39386 to 08efeb2 Compare February 8, 2026 04:21
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from eb49f7b to 30e5c22 Compare February 9, 2026 04:29
Create and use a temporary directory for the files created during
test runs. If TMPDIR environment variable is set use it as a base
for the temporary directory path.
TMPDIR=/mnt/scratch make run_tests
and
TMPDIR=/mnt/scratch ./test_generic_01.sh
will place test directory under /mnt/scratch

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=1048367
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1048367=>linus-master branch from 08efeb2 to 61d7595 Compare February 9, 2026 04:36
@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=1048367
version: 1

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

Cmd('git') failed due to: exit code(128)
  cmdline: git am --3way
  stdout: 'Applying: selftests: ublk: move test temp files into a sub directory
Using index info to reconstruct a base tree...
M	tools/testing/selftests/ublk/test_common.sh
Falling back to patching base and 3-way merge...
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: move test temp files into a sub directory'
  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,46983ccf5c1a..000000000000
--- a/tools/testing/selftests/ublk/test_common.sh
+++ b/tools/testing/selftests/ublk/test_common.sh
@@@ -129,12 -119,10 +129,17 @@@ _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)
++=======
+ 	TDIR=$(mktemp -d ${TMPDIR:-.}/ublktest-dir.XXXXXX)
+ 	export UBLK_TEST_DIR=${TDIR}
++>>>>>>> selftests: ublk: move test temp files into a sub directory
  	UBLK_TMP=$(mktemp ${UBLK_TEST_DIR}/ublk_test_XXXXX)
  	[ "$UBLK_TEST_QUIET" -eq 0 ] && echo "ublk $type: $*"
 +	echo "ublk selftest: $TID starting at $(date '+%F %T')" | tee /dev/kmsg
  }
  
  _remove_test_files()
@@@ -185,7 -168,6 +190,10 @@@ _cleanup_test() 
  
  	_remove_files
  	rmdir ${UBLK_TEST_DIR}
++<<<<<<< HEAD
 +	echo "ublk selftest: $TID done at $(date '+%F %T')" | tee /dev/kmsg
++=======
++>>>>>>> selftests: ublk: move test temp files into a sub directory
  }
  
  _have_feature()

@blktests-ci blktests-ci bot force-pushed the linus-master_base branch 9 times, most recently from f714aad to df85678 Compare February 19, 2026 12:49
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