[libcxx-dev] Broken libcxx-libcxxabi-libunwind bots due to Filesystem tests

Louis Dionne via libcxx-dev libcxx-dev at lists.llvm.org
Thu Apr 2 10:43:42 PDT 2020


It looks like the following bots assigned to you started failing recently:


The failing tests are all filesystem tests:

    FAIL: libc++::assign.pass.cpp
    FAIL: libc++::path.pass.cpp
    FAIL: libc++::replace_filename.pass.cpp
    FAIL: libc++::refresh.pass.cpp
    FAIL: libc++::file_size.pass.cpp
    FAIL: libc++::file_type_obs.pass.cpp
    FAIL: libc++::hard_link_count.pass.cpp
    FAIL: libc++::last_write_time.pass.cpp
    FAIL: libc++::ctor.pass.cpp
    FAIL: libc++::ctor.pass.cpp
    FAIL: libc++::increment.pass.cpp
    FAIL: libc++::exists.pass.cpp
    FAIL: libc++::is_block_file.pass.cpp
    FAIL: libc++::is_character_file.pass.cpp
    FAIL: libc++::is_directory.pass.cpp
    FAIL: libc++::is_empty.pass.cpp
    FAIL: libc++::is_fifo.pass.cpp
    FAIL: libc++::is_other.pass.cpp
    FAIL: libc++::is_regular_file.pass.cpp
    FAIL: libc++::is_socket.pass.cpp

Having seen some of these issues before, I strongly suspect this is due to the fact that your builder is running as root. Libc++'s filesystem tests are known to fail when run as root, because some of them need to check for failure to access some files for which there's no permission. This doesn't seem to work when run as root.

Can you work with us to resolve this issue?


More information about the libcxx-dev mailing list