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

unix_socket_test fails on dartkp-strong-linux-release-x64 #47416

Closed
aam opened this issue Oct 8, 2021 · 0 comments
Closed

unix_socket_test fails on dartkp-strong-linux-release-x64 #47416

aam opened this issue Oct 8, 2021 · 0 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Comments

@aam
Copy link
Contributor

aam commented Oct 8, 2021

from https://dart-ci.appspot.com/log/vm-kernel-precomp-nnbd-linux-release-x64/dartkp-strong-linux-release-x64/4013/standalone/io/unix_socket_test

--- Command "vm_compile_to_kernel" (took 04.000165s):
DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o /b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-strong-linux-release-x64/tests_standalone_io_unix_socket_test/out.dill /b/s/w/ir/tests/standalone/io/unix_socket_test.dart --packages=/b/s/w/ir/.packages -Ddart.vm.product=false --sound-null-safety

exit code:
0

--- Command "precompiler" (took 05.000178s):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/gen_snapshot --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-strong-linux-release-x64/tests_standalone_io_unix_socket_test/out.S --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-strong-linux-release-x64/tests_standalone_io_unix_socket_test/out.dill

exit code:
0

--- Command "remove_kernel_file" (took 5ms):
DART_CONFIGURATION=ReleaseX64 rm /b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-strong-linux-release-x64/tests_standalone_io_unix_socket_test/out.dill

exit code:
0

--- Command "assemble" (took 01.000691s):
DART_CONFIGURATION=ReleaseX64 gcc -m64 -shared -nostdlib -o /b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-strong-linux-release-x64/tests_standalone_io_unix_socket_test/out.aotsnapshot /b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-strong-linux-release-x64/tests_standalone_io_unix_socket_test/out.S

exit code:
0

--- Command "remove_assembly" (took 7ms):
DART_CONFIGURATION=ReleaseX64 rm /b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-strong-linux-release-x64/tests_standalone_io_unix_socket_test/out.S

exit code:
0

--- Command "vm" (took 01.000175s):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart_precompiled_runtime --sound-null-safety --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/ReleaseX64/generated_compilations/dartkp-strong-linux-release-x64/tests_standalone_io_unix_socket_test/out.aotsnapshot

exit code:
255

stdout:
server started a socket Instance of '_RawSocket'

stderr:
Unhandled exception:
NoSuchMethodError: Class '_ResourceHandleImpl' has no instance getter '_handle'.
Receiver: Instance of '_ResourceHandleImpl'
Tried calling: _handle
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:68)
#1      _objectNoSuchMethod (dart:core-patch/object_patch.dart:115)
#2      new SocketControlMessage.fromHandles (dart:io-patch/socket_patch.dart:2581)
#3      testFileMessage.<anonymous closure> (file:///b/s/w/ir/tests/standalone/io/unix_socket_test.dart:492)
#4      _rootRunUnary (dart:async/zone.dart:1436)
#5      _CustomZone.runUnary (dart:async/zone.dart:1335)
#6      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244)
#7      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
#8      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271)
#9      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733)
#10     _StreamController._add (dart:async/stream_controller.dart:607)
#11     _StreamController.add (dart:async/stream_controller.dart:554)
#12     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1813)
#13     _NativeSocket.issueWriteEvent.issue (dart:io-patch/socket_patch.dart:1318)
#14     _rootRun (dart:async/zone.dart:1420)
#15     _CustomZone.run (dart:async/zone.dart:1328)
#16     _CustomZone.runGuarded (dart:async/zone.dart:1236)
#17     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276)
#18     _rootRun (dart:async/zone.dart:1428)
#19     _CustomZone.run (dart:async/zone.dart:1328)
#20     _CustomZone.runGuarded (dart:async/zone.dart:1236)
#21     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276)
#22     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#23     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#24     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:122)
#25     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:193)

--- Re-run this test:
python3 tools/test.py -n dartkp-strong-linux-release-x64 standalone/io/unix_socket_test

@aam aam added the area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. label Oct 8, 2021
@aam aam self-assigned this Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

1 participant