Package: distcc Version: 3.1-5 Severity: minor
Summary: The message Warning: failed to distribute and fallbacks are disabled should be an error, not a warning. One of the hosts in our build cluster is broken: osstest@army:~$ DISTCC_HOSTS=armpit/4 distcc gcc -Wall -c t.c distcc[6366] (dcc_readx) ERROR: failed to read: Connection reset by peer distcc[6366] (dcc_r_token_int) ERROR: read failed while waiting for token "DONE" distcc[6366] (dcc_r_result_header) ERROR: server provided no answer. Is the server configured to allow access from your IP address? Does the server have the compiler installed? Is the server configured to access the compiler? distcc[6366] Warning: failed to distribute t.c to armpit/4, running locally instead osstest@army:~$ DISTCC_HOSTS=armpit/4 distcc gcc -Wall -c t.c distcc[6372] (dcc_build_somewhere) Warning: failed to distribute, running locally instead osstest@army:~$ DISTCC_FALLBACK=0 DISTCC_HOSTS=armpit/4 distcc gcc -Wall -c t.c distcc[6399] (dcc_build_somewhere) Warning: failed to distribute and fallbacks are disabled osstest@army:~$ There are some problems with these error messages. This bug report is about the message from the third run above. It appears from strace that the 2nd and 3rd runs didn't run on armpit because of a backoff algorithm built into distcc: mkdir("/local/scratch/osstest/.distcc", 0777) = -1 EEXIST (File exists) mkdir("/local/scratch/osstest/.distcc/lock", 0777) = -1 EEXIST (File exists) stat64("/local/scratch/osstest/.distcc/lock/backoff_tcp_armpit_3632_0", {st_mode=S_IFREG|0644, st_size=1, ...}) = 0 gettimeofday({1407754354, 166974}, NULL) = 0 write(2, "distcc[6430] (dcc_build_somewher"..., 92) = 92 The 3rd run's output does not contain an error message, despite the overall operation having failed completely. I think that particular message ought to be an error. Ian. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org