Repository navigation
standalone/io/pipe_server_test/0 flaky -> RuntimeError on vm-ubsan-android-release-x64c #64448
Copy link
Copy link
Open
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.gardeningtriagedIssue has been triaged by sub teamIssue has been triaged by sub team
Description
The tests
standalone/io/pipe_server_test/0 RuntimeError (expected Pass)
are failing on configurations
vm-ubsan-android-release-x64c
--- Command "vm_compile_to_kernel" (took 579ms):
DART_CONFIGURATION=ReleaseAndroidUBSANX64C pkg/vm/tool/gen_kernel --no-aot --platform=out/ReleaseAndroidUBSANX64C/vm_platform.dill -o out/ReleaseAndroidUBSANX64C/generated_compilations/vm-ubsan-android-release-x64c/tests_standalone_io_pipe_server_test/out.dill tests/standalone/io/pipe_server_test.dart -Dtest_runner.configuration=vm-ubsan-android-release-x64c --packages=.dart_tool/package_config.json
exit code:
0
--- Command "adb_precompilation" (took 833ms):
Steps to push Dart VM and Dill file to an attached device. Uses (and requires) adb.
exit code:
255
stdout:
Executing adb -s emulator-5555 shell rm -Rf /data/local/tmp/testing2/test ; echo AdbShellExitCode: $?
Stdout:
AdbShellExitCode: 0
ExitCode: 0
Time: 0:00:00.034349
Executing adb -s emulator-5555 shell mkdir -p /data/local/tmp/testing2/test ; echo AdbShellExitCode: $?
Stdout:
AdbShellExitCode: 0
ExitCode: 0
Time: 0:00:00.052271
Executing Skipped cached push
ExitCode: 0
Time: 0:00:00.000012
Executing Skipped cached push
ExitCode: 0
Time: 0:00:00.000005
Executing Skipped cached push
ExitCode: 0
Time: 0:00:00.000002
Executing adb -s emulator-5555 push out/ReleaseAndroidUBSANX64C/generated_compilations/vm-ubsan-android-release-x64c/tests_standalone_io_pipe_server_test/out.dill /data/local/tmp/testing2/test/out.dill
Stderr:
out/ReleaseAndroidUBSANX64C/generated_compilations/vm-ubsan-android-release-x64c/tests_standalone_io_pipe_server_test/out.dill: 1 file pushed, 0 skipped. 139.7 MB/s (8804880 bytes in 0.060s)
ExitCode: 0
Time: 0:00:00.237433
Executing adb -s emulator-5555 shell export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/local/tmp/testing2/test:/data/local/tmp/testing2;/data/local/tmp/testing2/dartvm --android-log-to-stderr -Dtest_runner.configuration=vm-ubsan-android-release-x64c --ignore-unrecognized-flags --packages=.dart_tool/package_config.json /data/local/tmp/testing2/test/out.dill ; echo AdbShellExitCode: $?
Stdout:
unittest-suite-wait-for-done
AdbShellExitCode: 255
Stderr:
Unhandled exception:
PathNotFoundException: Cannot open file, path = '/data/local/tmp/testing2/test/readline_test1.dat' (OS Error: No such file or directory, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:58:9)
#1 _File.open.<anonymous closure> (dart:io/file_impl.dart:438:7)
<asynchronous suspension>
#2 _FileStream._start.onOpenFile (dart:io/file_impl.dart:165:5)
<asynchronous suspension>
ExitCode: 255
Time: 0:00:00.447670
--- Re-run this test:
python3 tools/test.py -n vm-ubsan-android-release-x64c standalone/io/pipe_server_test/0
This test is also failing on vm-hwasan-android-release-x64c configuration:
--- Command "vm_compile_to_kernel" (took 537ms):
DART_CONFIGURATION=ReleaseAndroidHWASANX64C pkg/vm/tool/gen_kernel --no-aot --platform=out/ReleaseAndroidHWASANX64C/vm_platform.dill -o out/ReleaseAndroidHWASANX64C/generated_compilations/vm-hwasan-android-release-x64c/tests_standalone_io_pipe_server_test/out.dill tests/standalone/io/pipe_server_test.dart -Dtest_runner.configuration=vm-hwasan-android-release-x64c --packages=.dart_tool/package_config.json
exit code:
0
--- Command "adb_precompilation" (took 838ms):
Steps to push Dart VM and Dill file to an attached device. Uses (and requires) adb.
exit code:
255
stdout:
Executing adb -s emulator-5555 shell rm -Rf /data/local/tmp/testing0/test ; echo AdbShellExitCode: $?
Stdout:
AdbShellExitCode: 0
ExitCode: 0
Time: 0:00:00.040222
Executing adb -s emulator-5555 shell mkdir -p /data/local/tmp/testing0/test ; echo AdbShellExitCode: $?
Stdout:
AdbShellExitCode: 0
ExitCode: 0
Time: 0:00:00.048805
Executing Skipped cached push
ExitCode: 0
Time: 0:00:00.000010
Executing Skipped cached push
ExitCode: 0
Time: 0:00:00.000003
Executing Skipped cached push
ExitCode: 0
Time: 0:00:00.000004
Executing Skipped cached push
ExitCode: 0
Time: 0:00:00.000002
Executing adb -s emulator-5555 push out/ReleaseAndroidHWASANX64C/generated_compilations/vm-hwasan-android-release-x64c/tests_standalone_io_pipe_server_test/out.dill /data/local/tmp/testing0/test/out.dill
Stderr:
out/ReleaseAndroidHWASANX64C/generated_compilations/vm-hwasan-android-release-x64c/tests_standalone_io_pipe_server_test/out.dill: 1 file pushed, 0 skipped. 132.1 MB/s (8804880 bytes in 0.064s)
ExitCode: 0
Time: 0:00:00.203111
Executing adb -s emulator-5555 shell export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/local/tmp/testing0/test:/data/local/tmp/testing0;/data/local/tmp/testing0/dartvm --android-log-to-stderr -Dtest_runner.configuration=vm-hwasan-android-release-x64c --ignore-unrecognized-flags --packages=.dart_tool/package_config.json /data/local/tmp/testing0/test/out.dill ; echo AdbShellExitCode: $?
Stdout:
unittest-suite-wait-for-done
AdbShellExitCode: 255
Stderr:
Unhandled exception:
PathNotFoundException: Cannot open file, path = '/data/local/tmp/testing0/test/readline_test1.dat' (OS Error: No such file or directory, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:58:9)
#1 _File.open.<anonymous closure> (dart:io/file_impl.dart:438:7)
<asynchronous suspension>
#2 _FileStream._start.onOpenFile (dart:io/file_impl.dart:165:5)
<asynchronous suspension>
ExitCode: 255
Time: 0:00:00.478579
--- Re-run this test:
python3 tools/test.py -n vm-hwasan-android-release-x64c standalone/io/pipe_server_test/0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.gardeningtriagedIssue has been triaged by sub teamIssue has been triaged by sub team
Activity
vinitsonawane45 commentedon Oct 1, 2026
Hi @alexmarkov, I’d like to investigate this issue.
The failure appears to happen after kernel compilation and the test
.dillis successfully pushed to the Android device, butreadline_test1.datis missing from the test directory when the test starts. The samePathNotFoundExceptionoccurs on both the UBSAN and HWASAN Android configurations.I’ll trace how
pipe_server_testdeclares/locates this resource and how the Android test runner stages/caches test resources, particularly theSkipped cached pushsteps, to determine why the file is not available on the device.I’ll first reproduce the failure and identify the root cause before proposing a minimal fix and regression coverage.
Please let me know if it’s okay for me to work on this.