[libcxx-commits] [PATCH] D144739: [libc++][chrono] Add sys_time formatter.
Bjorn Pettersson via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 12 02:22:38 PDT 2023
bjope added a comment.
Started to see failures as shown below, downstream, after merging this patch.
So it seems like in my environment it says "GMT" instead of "UTC".
Not sure exactly what might cause that and how to debug this problem. Any clues to what might cause this or what to look for?
FAIL: llvm-libc++-shared.cfg.in :: std/time/time.syn/formatter.sys_time.pass.cpp (79693 of 80953)
******************** TEST 'llvm-libc++-shared.cfg.in :: std/time/time.syn/formatter.sys_time.pass.cpp' FAILED ********************
Script:
--
: 'COMPILED WITH'; /repo/llvm-project/llvm/build-all-builtins/./bin/clang++ /repo/llvm-project/libcxx/test/std/time/time.syn/formatter.sys_time.pass.cpp --target=x86_64-unknown-linux-gnu -nostdinc++ -I /repo/llvm-project/llvm/build-all-builtins/include/c++/v1 -I /repo/llvm-project/llvm/build-all-builtins/include/x86_64-unknown-linux-gnu/c++/v1 -I /repo/llvm-project/libcxx/test/support -std=c++2b -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -Werror=thread-safety -Wuser-defined-warnings -lc++experimental -nostdlib++ -L /repo/llvm-project/llvm/build-all-builtins/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/repo/llvm-project/llvm/build-all-builtins/./lib/x86_64-unknown-linux-gnu -lc++ -pthread -o /repo/llvm-project/llvm/build-all-builtins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/test/std/time/time.syn/Output/formatter.sys_time.pass.cpp.dir/t.tmp.exe
: 'EXECUTED AS'; "/python/3.8.0/bin/python3.8" /repo/llvm-project/libcxx/test/../utils/run.py --execdir /repo/llvm-project/llvm/build-all-builtins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/test/std/time/time.syn/Output/formatter.sys_time.pass.cpp.dir -- /repo/llvm-project/llvm/build-all-builtins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/test/std/time/time.syn/Output/formatter.sys_time.pass.cpp.dir/t.tmp.exe
--
Exit Code: 250
Command Output (stdout):
--
$ ":" "COMPILED WITH"
note: command had no output on stdout or stderr
$ "/repo/llvm-project/llvm/build-all-builtins/./bin/clang++" "/repo/llvm-project/libcxx/test/std/time/time.syn/formatter.sys_time.pass.cpp" "--target=x86_64-unknown-linux-gnu" "-nostdinc++" "-I" "/repo/llvm-project/llvm/build-all-builtins/include/c++/v1" "-I" "/repo/llvm-project/llvm/build-all-builtins/include/x86_64-unknown-linux-gnu/c++/v1" "-I" "/repo/llvm-project/libcxx/test/support" "-std=c++2b" "-Werror" "-Wall" "-Wctad-maybe-unsupported" "-Wextra" "-Wshadow" "-Wundef" "-Wunused-template" "-Wno-unused-command-line-argument" "-Wno-attributes" "-Wno-pessimizing-move" "-Wno-c++11-extensions" "-Wno-noexcept-type" "-Wno-atomic-alignment" "-Wno-user-defined-literals" "-Wno-tautological-compare" "-Wsign-compare" "-Wunused-variable" "-Wunused-parameter" "-Wunreachable-code" "-Wno-unused-local-typedef" "-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER" "-D_LIBCPP_ENABLE_EXPERIMENTAL" "-Werror=thread-safety" "-Wuser-defined-warnings" "-lc++experimental" "-nostdlib++" "-L" "/repo/llvm-project/llvm/build-all-builtins/./lib/x86_64-unknown-linux-gnu" "-Wl,-rpath,/repo/llvm-project/llvm/build-all-builtins/./lib/x86_64-unknown-linux-gnu" "-lc++" "-pthread" "-o" "/repo/llvm-project/llvm/build-all-builtins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/test/std/time/time.syn/Output/formatter.sys_time.pass.cpp.dir/t.tmp.exe"
note: command had no output on stdout or stderr
$ ":" "EXECUTED AS"
note: command had no output on stdout or stderr
$ "/python/3.8.0/bin/python3.8" "/repo/llvm-project/libcxx/test/../utils/run.py" "--execdir" "/repo/llvm-project/llvm/build-all-builtins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/test/std/time/time.syn/Output/formatter.sys_time.pass.cpp.dir" "--" "/repo/llvm-project/llvm/build-all-builtins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/test/std/time/time.syn/Output/formatter.sys_time.pass.cpp.dir/t.tmp.exe"
# command stderr:
Format string {:L%%c='%c'%t%%Ec='%Ec'%n}
Expected output %c='jeu. 01 janv. 1970 00:00:00 GMT' %Ec='jeu. 01 janv. 1970 00:00:00 GMT'
Actual output %c='jeu. 01 janv. 1970 00:00:00 UTC' %Ec='jeu. 01 janv. 1970 00:00:00 UTC'
t.tmp.exe: /repo/llvm-project/libcxx/test/std/time/time.syn/formatter_tests.h :41 : void check(std::basic_string_view<CharT>, test_format_string<CharT, Args...>, Args &&...) [CharT = char, Args = <std::chrono::time_point<std::chrono::system_clock, std::chrono::duration<long long>>>]: l'assertion « out == expected » a échoué.
error: command failed with exit status: 250
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
1 warning(s) in tests
********************
Failed Tests (1):
llvm-libc++-shared.cfg.in :: std/time/time.syn/formatter.sys_time.pass.cpp
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144739/new/
https://reviews.llvm.org/D144739
More information about the libcxx-commits
mailing list