JuliaLang / JuliaLang/PackageCompiler.jl

Tests hang on MacOS 1.8 runner

Open
#730 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
1.6k
Forks
205
Avg merge
18h 37m
Merged PRs (30d)
7

Description

This is where the job was cancelled after >2h
https://github.com/JuliaLang/PackageCompiler.jl/actions/runs/3206496644/jobs/5240316638#step:4:501
```
Running a jll package:
HelloWorld artifact at /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/jl_kPLjTW/artifacts/0b5bbb50bdd521e5d13a2b9da2d5a7fbb4c1f706/bin/hello_world
Hello, World!

is_crayons_loaded() = false
Running the artifact
The result of 2*5^2 - 10 == 40.000000

unsafe_string((Base.JLOptions()).image_file) = "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/jl_2y2B1k/sys.ji"
Example.domath(5) = 10
sin(0.0) = 0.0
outputo: ok
myrand: ok
From worker 5: Master process (id 1) could not connect within 60.0 seconds.
From worker 5: exiting.
From worker 4: Master process (id 1) could not connect within 60.0 seconds.
From worker 4: exiting.
Worker 5 terminated.
Worker 4 terminated.Unhandled Task ERROR: Version read failed. Connection closed by peer.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] process_hdr(s::Sockets.TCPSocket, validate_cookie::Bool)
@ Distributed ~/hostedtoolcache/julia/1.8.2/x64/share/julia/stdlib/v1.8/Distributed/src/process_messages.jl:274
[3] message_handler_loop(r_stream::Sockets.TCPSocket, w_stream::Sockets.TCPSocket, incoming::Bool)
@ Distributed ~/hostedtoolcache/julia/1.8.2/x64/share/julia/stdlib/v1.8/Distributed/src/process_messages.jl:158
[4] process_tcp_streams(r_stream::Sockets.TCPSocket, w_stream::Sockets.TCPSocket, incoming::Bool)
@ Distributed ~/hostedtoolcache/julia/1.8.2/x64/share/julia/stdlib/v1.8/Distributed/src/process_messages.jl:133
[5] (::Distributed.var"#103#104"{Sockets.TCPSocket, Sockets.TCPSocket, Bool})()
@ Distributed ./task.jl:484
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked GitHub Actions job, especially step 4, and review the Julia 1.8 worker-connection errors in the log. Reproduce the hang on the macOS runner and trace the distributed test setup; done means the relevant tests complete without waiting over two hours or losing worker connections.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, macos
Domain
ci-cd, operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.