• Bug#1104380: nanoc: FTBFS randomly: ERROR: Test "ruby3.3" failed: Failu

    From Lucas Nussbaum@21:1/5 to All on Tue Apr 29 16:00:05 2025
    Source: nanoc
    Version: 4.13.3-3
    Severity: important
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250428 ftbfs-trixie ftbfs-randomly

    Hi,

    Your package fails to build randomly on amd64: In the exact same
    environment, sometimes it builds fine, and sometimes it fails.

    Relevant part (hopefully):
    Failure/Error: Dir.rmdir path().chomp(?/)

    Errno::ENOTEMPTY:
    Directory not empty @ dir_s_rmdir - /tmp/nanoc-test20250429-13872-1woc9b/tmp/nanoc/46d1b8559d9d1
    # /build/reproducible-path/nanoc-4.13.3/common/spec/spec_helper_foot_core.rb:61:in `block (2 levels) in <top (required)>'

    Progress: |====================================================================|

    Pending: (Failures listed here are expected and do not affect your suite's status)

    1) Nanoc::Live::CommandRunners::Live watches
    # Temporarily skipped with xit
    # ./spec/nanoc/live/command_runners/live_spec.rb:34

    2) Nanoc::Live::CommandRunners::Live listens
    # Temporarily skipped with xit
    # ./spec/nanoc/live/command_runners/live_spec.rb:46

    3) Nanoc::Live::CommandRunners::Live listens for websocket connections
    # Temporarily skipped with xit
    # ./spec/nanoc/live/command_runners/live_spec.rb:58

    Finished in 8.73 seconds (files took 1.12 seconds to load)
    9 examples, 1 failure, 3 pending

    Failed examples:

    rspec ./spec/nanoc/live/live_recompiler_spec.rb:104 # Nanoc::Live::LiveRecompiler detects lib changes
    /usr/bin/ruby3.3 -S rspec --exclude-pattern=spec/**/{gem,meta,manifest}_spec.rb
    mv lib.off lib

    <= spec-nanoc-live
    spec-nanoc-external
    mv lib lib.off

    Progress: |====================================================================|

    Finished in 0.02814 seconds (files took 0.9215 seconds to load)
    1 example, 0 failures
    /usr/bin/ruby3.3 -S rspec --exclude-pattern=spec/**/{gem,meta,manifest}_spec.rb
    mv lib.off lib

    <= spec-nanoc-external
    spec-nanoc-deploying
    mv lib lib.off

    Progress: |========================fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    =======fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    ========fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    =fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    fatal: a branch named 'master' already exists
    ==========|

    Finished in 33.86 seconds (files took 0.99556 seconds to load)
    238 examples, 0 failures
    rake aborted!
    Failed: spec-nanoc-live /build/reproducible-path/nanoc-4.13.3/debian/ruby-tests.rake:55:in `block in <top (required)>'
    /usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
    Tasks: TOP => default
    (See full trace by running task with --trace)
    mv lib.off lib

    <= spec-nanoc-deploying
    ERROR: Test "ruby3.3" failed:


    The full build log is available from: http://qa-logs.debian.net/2025/04/28/nanoc_4.13.3-3_unstable.log

    You can find other build logs (including successful ones) in: http://qa-logs.debian.net/2025/04/28/

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250428;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250428&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)