Revision a311f4d8327a5051b11a6bcd1c44ed931d4ab261 authored by Jacob Quinn on 20 October 2022, 02:44:43 UTC, committed by GitHub on 20 October 2022, 02:44:43 UTC
As reported [here](https://discourse.julialang.org/t/test-failures-for-sockets-base-runtests-sockets/88898).

My guess on the original issue reported is that, for some reason, the host where the tests are run
is unable to listen on any ports, so we end up cycling through the entire UInt16 range (the test
starts at port 11011), but when we fail on port 65535, we do `addr.port + 1` and instead of wrapping
around as I believe this function intends to happen (as noted by the `addr.port == default_port` check
before we error), it gets promoted to `Int(65536)` which then throws an (unexpected) error in the `InetAddr`
constructor.

I'm not quite sure how to test this exactly though, because we'd need to simulate not being able
to listen on any ports? If anyone has any ideas, I'm all ears.
1 parent 0d52506
History
File Mode Size
TestPkg
clangsa
compiler
depot
embedding
gcext
llvmpasses
manifest
netload
project
strings
testhelpers
unicode
.gitignore -rw-r--r-- 47 bytes
Makefile -rw-r--r-- 1.6 KB
abstractarray.jl -rw-r--r-- 69.4 KB
ambiguous.jl -rw-r--r-- 14.6 KB
arrayops.jl -rw-r--r-- 103.3 KB
asyncmap.jl -rw-r--r-- 2.4 KB
atexit.jl -rw-r--r-- 5.8 KB
atomics.jl -rw-r--r-- 22.8 KB
backtrace.jl -rw-r--r-- 8.9 KB
binaryplatforms.jl -rw-r--r-- 20.0 KB
bitarray.jl -rw-r--r-- 70.2 KB
bitset.jl -rw-r--r-- 10.5 KB
boundscheck.jl -rw-r--r-- 785 bytes
boundscheck_exec.jl -rw-r--r-- 7.1 KB
broadcast.jl -rw-r--r-- 40.5 KB
cartesian.jl -rw-r--r-- 19.1 KB
ccall.jl -rw-r--r-- 64.6 KB
channels.jl -rw-r--r-- 17.7 KB
char.jl -rw-r--r-- 10.4 KB
checked.jl -rw-r--r-- 16.9 KB
choosetests.jl -rw-r--r-- 9.8 KB
client.jl -rw-r--r-- 1.5 KB
cmdlineargs.jl -rw-r--r-- 33.7 KB
combinatorics.jl -rw-r--r-- 4.4 KB
complex.jl -rw-r--r-- 54.7 KB
copy.jl -rw-r--r-- 7.5 KB
core.jl -rw-r--r-- 203.3 KB
corelogging.jl -rw-r--r-- 15.2 KB
deprecation_exec.jl -rw-r--r-- 6.2 KB
dict.jl -rw-r--r-- 42.6 KB
docs.jl -rw-r--r-- 31.6 KB
download.jl -rw-r--r-- 262 bytes
download_exec.jl -rw-r--r-- 1.0 KB
enums.jl -rw-r--r-- 7.4 KB
env.jl -rw-r--r-- 3.3 KB
error.jl -rw-r--r-- 3.8 KB
errorshow.jl -rw-r--r-- 36.4 KB
euler.jl -rw-r--r-- 16.9 KB
exceptions.jl -rw-r--r-- 10.8 KB
fastmath.jl -rw-r--r-- 9.2 KB
file.jl -rw-r--r-- 60.3 KB
filesystem.jl -rw-r--r-- 1.2 KB
float16.jl -rw-r--r-- 7.5 KB
floatapprox.jl -rw-r--r-- 2.3 KB
floatfuncs.jl -rw-r--r-- 7.4 KB
functional.jl -rw-r--r-- 7.1 KB
generic_map_tests.jl -rw-r--r-- 4.0 KB
gmp.jl -rw-r--r-- 22.5 KB
goto.jl -rw-r--r-- 3.0 KB
hashing.jl -rw-r--r-- 9.8 KB
int.jl -rw-r--r-- 14.9 KB
interpreter.jl -rw-r--r-- 919 bytes
intfuncs.jl -rw-r--r-- 20.3 KB
intrinsics.jl -rw-r--r-- 18.0 KB
iobuffer.jl -rw-r--r-- 10.2 KB
iostream.jl -rw-r--r-- 5.1 KB
iterators.jl -rw-r--r-- 34.5 KB
keywordargs.jl -rw-r--r-- 11.0 KB
llvmcall.jl -rw-r--r-- 8.1 KB
llvmcall2.jl -rw-r--r-- 2.7 KB
loading.jl -rw-r--r-- 34.1 KB
math.jl -rw-r--r-- 58.0 KB
meta.jl -rw-r--r-- 7.6 KB
misc.jl -rw-r--r-- 36.5 KB
missing.jl -rw-r--r-- 24.7 KB
mod2pi.jl -rw-r--r-- 12.8 KB
mpfr.jl -rw-r--r-- 35.7 KB
namedtuple.jl -rw-r--r-- 13.4 KB
numbers.jl -rw-r--r-- 109.4 KB
offsetarray.jl -rw-r--r-- 29.7 KB
opaque_closure.jl -rw-r--r-- 8.1 KB
operators.jl -rw-r--r-- 10.4 KB
ordering.jl -rw-r--r-- 1.6 KB
osutils.jl -rw-r--r-- 2.5 KB
parse.jl -rw-r--r-- 12.4 KB
path.jl -rw-r--r-- 17.3 KB
precompile.jl -rw-r--r-- 53.4 KB
print_process_affinity.jl -rw-r--r-- 896 bytes
profile_spawnmany_exec.jl -rw-r--r-- 300 bytes
ranges.jl -rw-r--r-- 91.7 KB
rational.jl -rw-r--r-- 30.6 KB
read.jl -rw-r--r-- 20.3 KB
reduce.jl -rw-r--r-- 24.5 KB
reducedim.jl -rw-r--r-- 30.9 KB
reflection.jl -rw-r--r-- 33.7 KB
regex.jl -rw-r--r-- 11.0 KB
reinterpretarray.jl -rw-r--r-- 20.3 KB
rounding.jl -rw-r--r-- 13.2 KB
runtests.jl -rw-r--r-- 17.9 KB
ryu.jl -rw-r--r-- 38.6 KB
secretbuffer.jl -rw-r--r-- 4.1 KB
sets.jl -rw-r--r-- 29.7 KB
show.jl -rw-r--r-- 96.2 KB
simdloop.jl -rw-r--r-- 4.5 KB
smallarrayshrink.jl -rw-r--r-- 1.4 KB
some.jl -rw-r--r-- 4.2 KB
sorting.jl -rw-r--r-- 34.4 KB
spawn.jl -rw-r--r-- 34.5 KB
specificity.jl -rw-r--r-- 12.3 KB
stack_overflow.jl -rw-r--r-- 619 bytes
stacktraces.jl -rw-r--r-- 5.7 KB
staged.jl -rw-r--r-- 7.7 KB
stress.jl -rw-r--r-- 2.6 KB
stress_fd_exec.jl -rw-r--r-- 675 bytes
subarray.jl -rw-r--r-- 24.3 KB
subtype.jl -rw-r--r-- 98.7 KB
syntax.jl -rw-r--r-- 101.7 KB
sysinfo.jl -rw-r--r-- 370 bytes
test_exec.jl -rw-r--r-- 157 bytes
test_sourcepath.jl -rw-r--r-- 601 bytes
testdefs.jl -rw-r--r-- 3.6 KB
testenv.jl -rw-r--r-- 2.2 KB
threadpool_latency.jl -rw-r--r-- 1.2 KB
threadpool_use.jl -rw-r--r-- 434 bytes
threads.jl -rw-r--r-- 10.3 KB
threads_exec.jl -rw-r--r-- 31.4 KB
triplequote.jl -rw-r--r-- 1.3 KB
tuple.jl -rw-r--r-- 26.7 KB
vecelement.jl -rw-r--r-- 3.4 KB
version.jl -rw-r--r-- 8.7 KB
worlds.jl -rw-r--r-- 14.0 KB

back to top