On Sat, 21 Oct 2017, Brent Busby wrote:

> Peter Palfrader <wea...@debian.org> writes:
> 
> > It seems your mirror fails to finish its update run,
> > failing while building the new tracefile.
> >
> > Status: 
> > https://mirror-master.debian.org/status/mirror-info/debian.uchicago.edu.html
> >
> > Please investigate and if it's an ftpsync issue please let us know.
> 

> Our most recent ftpsync log, from about an hour ago, seems to complete
> successfully on both stages, and ends with returncode zero both times,
> despite the tracefile showing that it hasn't worked since the upgrade.
> 
> Is there some log I can increase the verbosity of that will give more
> information?  If it's imperative that we get syncing fixed immediately,
> I am sure reverting to 20120521 would do that since we've had to do it
> before, but I'd like to not do that because of the security issues that
> were recently announced.

We should get proper syncing back soon, and ideally also fix ftpsync
such that it just works for everyone, including you.  I don't think
downgrading is necessart just yet.

> Here is my most recent ftpsync log:
> Oct 21 16:17:14 punk ftpsync[52281]: Latest recorded rsync transfer speed: 
> 867 KB/s

After that, it tries to write the tracefile and this seems failed.

It seems it failed while writing the new tracefile.  It ends with
writing some log line from cleanup() into the trace file [1].

It wrote Trigger:, but never wrote any Architectures: or related
information, suggesting it fell over in that part of the code:

|       if [[ ${INFO_TRIGGER:-} ]]; then
|           echo "Trigger: ${INFO_TRIGGER}"
|       fi
|
|       if [[ -d ${TO}/dists ]]; then
|           ARCH=$(find ${TO}/dists \( -name 'Packages.*' -o -name 'Sources.*' 
\) -printf '%h\n' 2>/dev/null |
|               sed -Ene 's#.*/binary-([^/]+)$#\1#p; s#.*/(source)$#\1#p' | 
sort -u | tr '\n' ' ')
|           if [[ $ARCH ]]; then
|               echo "Architectures: ${ARCH}"
|           fi
|       fi
|       if [[ ${ARCH_INCLUDE} ]]; then
|           echo "Architectures-Configuration: INCLUDE $(tr ' ' '\n' <<< 
${ARCH_INCLUDE} | sort -u | tr '\n' ' ')"
|       elif [[ ${ARCH_EXCLUDE} ]]; then
|           echo "Architectures-Configuration: EXCLUDE $(tr ' ' '\n' <<< 
${ARCH_EXCLUDE} | sort -u | tr '\n' ' ')"
|       else
|           echo "Architectures-Configuration: ALL"
|       fi
|       echo "Upstream-mirror: ${RSYNC_HOST}"
|       echo "Rsync-Transport: ${RSYNC_TRANSPORT}"

...

Can you tell us more about your environment?  Do you have find/sed variants we 
did not test with?

Peter

1. The last line of
  http://debian.uchicago.edu/debian/project/trace/debian.uchicago.edu.new 
  currently is
  | Oct 21 16:17:14 punk ftpsync[52281]: Mirrorsync done

-- 
                            |  .''`.       ** Debian **
      Peter Palfrader       | : :' :      The  universal
 https://www.palfrader.org/ | `. `'      Operating System
                            |   `-    https://www.debian.org/

Reply via email to