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

Apply env(ICECC_SLOW_NETWORK) also to setsockopt() #623

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jankratochvil
Copy link

When trying to use ccache across the world (450ms RTT) I am unable to start any remote job. I always get mysterious:

[1481618] 2023-08-11 16:01:04: setting error state for channel 192.168.67.1: (B eof: 0)
[1481618] 2023-08-11 16:01:04: remove daemon host1.jankratochvil.net

or

[1223472] 2023-08-11 09:35:48: Connected to scheduler (I am known as 192.168.67.1)
[1223472] 2023-08-11 09:36:51: accepted 10 192.168.67.2 as 1
[1223472] 2023-08-11 09:36:52: handle_transfer_env, client status unknown
[1223472] 2023-08-11 09:36:52: start_install_environment: /var/cache/icecream target x86_64 Name: 03bff24def5e8aca4423fafc5e114c8e
[1223472] 2023-08-11 09:37:00: Created fork for receiving environment on pid 1410411
[1223472] 2023-08-11 09:37:00: PID of child thread running untaring environment: 1410411
[1223472] 2023-08-11 09:38:49: scheduler closed connection
[1223472] 2023-08-11 09:38:49: handle_end 1 192.168.67.2
[1223472] 2023-08-11 09:38:49: finish_transfer_env for x86_64/03bff24def5e8aca4423fafc5e114c8e (cancel)
[1223472] 2023-08-11 09:38:49: finish_transfer_env kill and waiting for child PID 1410411
[1410411] 2023-08-11 09:38:49: copy_data(): Error after write: Write failed
[1410411] 2023-08-11 09:38:49: start_install_environment: r  < ARCHIVE_WARN Truncated input file (needed 1071104 bytes, only 0 available)
[1223472] 2023-08-11 09:38:49: reannounce_environments
[1223472] 2023-08-11 09:38:49: scheduler dead ?!
[1223472] 2023-08-11 09:38:49: cleared children

@jankratochvil
Copy link
Author

There is still some problem:

ICECC[1146277] 2023-08-11 17:10:44: timed out while trying to send data
ICECC[1146277] 2023-08-11 17:10:44: flush_writebuf() failed(Error: Resource temporarily unavailable)
ICECC[1146291] 2023-08-11 17:11:13: write of source chunk to host 192.168.67.1
ICECC[1146291] 2023-08-11 17:11:13: failed (Error: Resource temporarily unavailable)
ICECC[1146291] 2023-08-11 17:11:13: </write_fd_to_server from cpp: 56987ms>
ICECC[1146291] 2023-08-11 17:11:13: got exception Error 15 - write to host failed (192.168.67.1)

@jankratochvil jankratochvil marked this pull request as draft August 11, 2023 09:12
@jankratochvil jankratochvil marked this pull request as ready for review August 11, 2023 12:06
@jankratochvil jankratochvil marked this pull request as draft August 13, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant