Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

iOS test report for JXcore 0.3.1.8

Enrico Giordani edited this page Jan 27, 2017 · 1 revision

Current test/simple/ status on iOS 10 (simulator)

Tests that are disabled because they rely on features that are unavailable or unsupported on mobile

The following 134 tests invoke child_process.spawn or child_process.fork, and so they will never work on mobile in embedded mode.

test-abort-fatal-error.js
test-child-process-buffering.js
test-child-process-customfd-bounded.js
test-child-process-cwd.js
test-child-process-detached.js
test-child-process-disconnect.js
test-child-process-double-pipe.js
test-child-process-env.js
test-child-process-exec-cwd.js
test-child-process-exec-env.js
test-child-process-exec-error.js
test-child-process-exit-code.js
test-child-process-fork3.js
test-child-process-fork-and-spawn.js
test-child-process-fork-close.js
test-child-process-fork-dgram.js
test-child-process-fork-exec-argv.js
test-child-process-fork-exec-path.js
test-child-process-fork-getconnections.js
test-child-process-fork.js
test-child-process-fork-net2.js
test-child-process-fork-net.js
test-child-process-fork-ref2.js
test-child-process-fork-ref.js
test-child-process-internal.js
test-child-process-ipc.js
test-child-process-kill.js
test-child-process-kill-throw.js
test-child-process-recv-handle.js
test-child-process-send-utf8.js
test-child-process-set-blocking.js
test-child-process-silent.js
test-child-process-spawn-typeerror.js
test-child-process-stdin.js
test-child-process-stdio-big-write-end.js
test-child-process-stdio-inherit.js
test-child-process-stdio.js
test-child-process-stdout-flush.js
test-cli-eval.js
test-cluster-basic.js
test-cluster-bind-twice-v1.js
test-cluster-bind-twice-v2.js
test-cluster-dgram-1.js
test-cluster-dgram-2.js
test-cluster-disconnect.js
test-cluster-eaccess.js
test-cluster-eaddrinuse.js
test-cluster-fork-env.js
test-cluster-http-pipe.js
test-cluster-listening-port.js
test-cluster-master-error.js
test-cluster-master-kill.js
test-cluster-message.js
test-cluster-net-listen.js
test-cluster-net-send.js
test-cluster-send-deadlock.js
test-cluster-send-handle-twice.js
test-cluster-setup-master.js
test-cluster-uncaught-exception.js
test-cluster-worker-death.js
test-cluster-worker-disconnect.js
test-cluster-worker-exit.js
test-cluster-worker-kill.js
test-debug-brk-no-arg.js
test-debugger-client.js
test-deprecation-flags.js
test-dgram-broadcast-multi-process.js
test-domain-nested-throw.js
test-error-reporting.js
test-eval.js
test-eval-require.js
test-exec-max-buffer.js
test-force-repl.js
test-fs-readfile-error.js
test-fs-readfile-pipe.js
test-fs-realpath.js
test-fs-symlink.js
test-http-304.js
test-http-curl-chunk-problem.js
test-http-full-response.js
test-http-pipeline-flood.js
test-http-server-stale-close.js
test-https-foafssl.js
test-https-simple.js
test-https-socket-options.js
test-init.js
test-listen-fd-cluster.js
test-listen-fd-detached-inherit.js
test-listen-fd-detached.js
test-listen-fd-server.js
test-net-GH-5504.js
test-next-tick-error-spin.js
test-pipe-file-to-http.js
test-pipe-head.js
test-process-argv-0.js
test-process-env.js
test-process-exec-argv.js
test-process-getgroups.js
test-process-kill-null.js
test-process-wrap.js
test-regress-GH-1697.js
test-regress-GH-1726.js
test-regress-GH-1899.js
test-regress-GH-4015.js
test-regress-GH-5927.js
test-regress-GH-746.js
test-repl-require-cache.js
test-setproctitle.js
test-sigint-infinite-loop.js
test-signal-handler.js
test-signal-unregister.js
test-stdin-child-proc.js
test-stdin-from-file.js
test-stdin-hang.js
test-stdin-pause-resume.js
test-stdin-pause-resume-sync.js
test-stdin-pipe-resume.js
test-stdin-resume-pause.js
test-stdio-readable-writable.js
test-stdout-cannot-be-closed-child-process-pipe.js
test-stdout-close-catch.js
test-stdout-close-unref.js
test-stdout-stderr-reading.js
test-stdout-to-file.js
test-stream2-stderr-sync.js
test-tls-enable-ssl2.js
test-tls-enable-ssl3.js
test-tls-psk-client.js
test-tls-psk-server.js
test-tls-securepair-client.js
test-tls-securepair-server.js
test-tls-server-verify.js
test-tls-session-cache.js
test-tls-set-ciphers.js

The following 1 test is disabled because it relies on JXcore's task API, which is incompatible with our secondary thread.

test-api-tasks.js

Tests that fail consistently

Test iOS 9.3 iOS 10.2 Symptom Reason
test-http-client-pipe-end.js fail fail pipe EADDRINUSE unknown
test-http-client-response-domain.js fail fail pipe EADDRINUSE unknown
test-http-unix-socket.js fail fail pipe EADDRINUSE unknown
test-net-pingpong.js fail fail pipe EADDRINUSE unknown
test-net-pipe-connect-errors.js fail fail pipe EADDRINUSE unknown
test-pipe-address.js fail fail pipe EADDRINUSE unknown
test-pipe-stream.js fail fail pipe EADDRINUSE unknown
test-pipe-unref.js fail fail pipe EADDRINUSE unknown
test-repl.js fail fail pipe EADDRINUSE unknown
test-tls-connect-pipe.js fail fail pipe EADDRINUSE unknown
test-fs-watch.js fail fail unknown
test-module-loading.js fail fail unknown
test-tls-fast-writing.js fail fail crash! Assertion failed: (buf.base != NULL), function uv__read, file ../deps/uv/src/unix/stream.c, line 925 unknown
test-http-upgrade-server2.js fail fail unknown
test-next-tick-starvation.js fail fail unknown
test-path.js fail fail uses absolute paths

Tests that are flaky

test-https-agent.js
test-memory-usage-emfile.js
test-net-server-max-connections.js
test-tls-client-reject.js
test-tls-hello-parser-failure.js (random crash!!!)  
  JX_StopEngine();   
  EXC_BAD_ACCESS  
test-timers-unref-active.js  
  line 52  assert.equal(nbTimeouts, N);  
  AssertionError: 4 == 5 ( 0:0)

Tests that pass but cause subsequent tests to fail

test-net-error-twice.js

Tests that pass but are very slow:

test-dgram-pingpong.js  
test-domain-stack.js  

Other issues

When running all the tests in one go in the iOS test app, it's common to run into crashes. These happen in various random tests but they are likely the product of a corruption that happened somewhere before during the run.

Symptoms include:

  • EXC_BAD_ACCESS
  • sigabort in libuv
  • Assertion failure: (ptrBits & 0x7) in SpiderMonkey in debug builds