Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failures of new test standalone/io/regress_50904_test on android and weak asserts bots #52657

Closed
sstrickl opened this issue Jun 9, 2023 · 0 comments
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). gardening

Comments

@sstrickl
Copy link
Contributor

sstrickl commented Jun 9, 2023

There are new test failures on [io] Take pending writes into account in _SocketStreamConsumer.

The tests

standalone/io/regress_50904_test RuntimeError (expected Pass)

are failing on configurations

dartkp-weak-asserts-linux-release-x64
vm-aot-android-release-arm64c
vm-aot-android-release-arm_x64

On dartkp-weak-asserts-linux-release-x64:

...
--- Command "vm" (took 104ms):
DART_CONFIGURATION=ReleaseX64 TEST_COMPILATION_DIR=/b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-weak-asserts-linux-release-x64/tests_standalone_io_regress_50904_test out/ReleaseX64/dart_precompiled_runtime --enable_asserts --no-sound-null-safety -Dtest_runner.configuration=dartkp-weak-asserts-linux-release-x64 --ignore-unrecognized-flags --packages=/b/s/w/ir/.dart_tool/package_config.json /b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-weak-asserts-linux-release-x64/tests_standalone_io_regress_50904_test/out.aotsnapshot

exit code:
255

stdout:
stderr> VM initialization failed: Snapshot not compatible with the current VM configuration: the snapshot requires 'release no-code_comments no-dwarf_stack_traces_mode no-lazy_dispatchers no-dedup_instructions asserts x64 linux no-compressed-pointers no-null-safety' but the VM has 'release no-code_comments no-dwarf_stack_traces_mode no-lazy_dispatchers no-dedup_instructions no-asserts x64 linux no-compressed-pointers no-null-safety'

stderr:
Unhandled exception:
Expect.equals(expected: <0>, actual: <255>) fails.
#0      Expect._fail (package:expect/expect.dart:696)
#1      Expect.equals (package:expect/expect.dart:120)
#2      runTest (file:///b/s/w/ir/tests/standalone/io/regress_50904_test.dart:35)
<asynchronous suspension>

--- Re-run this test:
python3 tools/test.py -n dartkp-weak-asserts-linux-release-x64 standalone/io/regress_50904_test

On vm-aot-android-release-arm64c :

...
Executing adb -s HT7610205583 push /b/swarming/w/ir/out/ReleaseAndroidARM64C/generated_compilations/vm-aot-android-release-arm64c/tests_standalone_io_regress_50904_test/out.aotsnapshot /data/local/tmp/precompilation-testing/test/out.aotsnapshot
Stdout:
/b/swarming/w/ir/out/ReleaseAndroidARM64C/generated_compilations/vm-aot-android-release-arm64c/tests_standalone_io_regress_50904_test/out.aotsnapshot: 1 file pushed, 0 skipped. 2157.5 MB/s (1524640 bytes in 0.001s)
ExitCode: 0
Time: 0:00:00.232023

Executing adb -s HT7610205583 shell export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/local/tmp/precompilation-testing/test;/data/local/tmp/precompilation-testing/dart_precompiled_runtime --android-log-to-stderr --sound-null-safety -Dtest_runner.configuration=vm-aot-android-release-arm64c --ignore-unrecognized-flags --packages=/b/swarming/w/ir/.dart_tool/package_config.json /data/local/tmp/precompilation-testing/test/out.aotsnapshot ; echo AdbShellExitCode:  $?
Stdout:
AdbShellExitCode: 255
Stderr:
WARNING: linker: Warning: unable to normalize ""
WARNING: linker: /data/local/tmp/precompilation-testing/dart_precompiled_runtime: unsupported flags DT_FLAGS_1=0x8000001
Unhandled exception:
ProcessException: No such file or directory
  Command: /bin/sh -c '/data/local/tmp/precompilation-testing/dart_precompiled_runtime' '/data/local/tmp/precompilation-testing/test/out.aotsnapshot' 'receiver'
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:401)
#1      Process.start (dart:io-patch/process_patch.dart:38)
#2      runTest (file:///b/swarming/w/ir/tests/standalone/io/regress_50904_test.dart:20)
#3      main (file:///b/swarming/w/ir/tests/standalone/io/regress_50904_test.dart:60)
#4      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:294)
#5      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189)
ExitCode: 255
Time: 0:00:00.203945

--- Re-run this test:
python3 tools/test.py -n vm-aot-android-release-arm64c standalone/io/regress_50904_test

So these look like two different types of test infra failures, not related to the change per se. However, I can't find any recent bugs that have similar errors in the logs to add these two at the moment (unless I'm just not searching on the right details).

/cc @mraleph

@sstrickl sstrickl added area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). gardening labels Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). gardening
Projects
None yet
Development

No branches or pull requests

1 participant