bpftrace icon indicating copy to clipboard operation
bpftrace copied to clipboard

0.14.1: test suite is failing

Open kloczek opened this issue 4 years ago • 15 comments

+ cd bpftrace-0.13.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu
    Start 1: bpftrace_test
1/4 Test #1: bpftrace_test ....................   Passed   85.24 sec
    Start 2: runtime_test
2/4 Test #2: runtime_test .....................***Failed    0.01 sec
Must be run as root

    Start 3: tools-parsing-test
3/4 Test #3: tools-parsing-test ...............***Failed    0.01 sec
Must be run as root

    Start 4: codegen-validator
4/4 Test #4: codegen-validator ................   Passed    4.65 sec

50% tests passed, 2 tests failed out of 4

Total Test time (real) =  89.90 sec

The following tests FAILED:
          2 - runtime_test (Failed)
          3 - tools-parsing-test (Failed)
Errors while running CTest

cmake settings:

[tkloczko@barrel x86_64-redhat-linux-gnu]$ cmake -L
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


CMake Error: The source directory "/home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-- Cache values
BUILD_ASAN:BOOL=OFF
BUILD_FUZZ:BOOL=OFF
BUILD_TESTING:BOOL=ON
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
Clang_DIR:PATH=/usr/lib64/cmake/clang
EMBED_BUILD_LLVM:BOOL=OFF
EMBED_LLVM_VERSION:STRING=8
EMBED_USE_LLVM:BOOL=OFF
ENABLE_MAN:BOOL=ON
ENABLE_TEST_VALIDATE_CODEGEN:BOOL=ON
FUZZ_TARGET:STRING=codegen
GTest_DIR:PATH=/usr/lib64/cmake/GTest
GZIP:FILEPATH=/usr/bin/gzip
KERNEL_HEADERS_DIR:PATH=
LIBBCC_BPF_LIBRARY_STATIC:FILEPATH=/usr/lib64/libbcc_bpf.so
LIBBCC_INCLUDE_DIRS:PATH=/usr/include
LIBBCC_LIBRARIES:FILEPATH=/usr/lib64/libbcc.so
LIBBCC_LOADER_LIBRARY_STATIC:FILEPATH=LIBBCC_LOADER_LIBRARY_STATIC-NOTFOUND
LIBIBERTY_LIBRARIES:FILEPATH=/usr/lib64/libiberty.a
LLVM_DIR:PATH=/usr/lib64/cmake/llvm
STATIC_LIBC:BOOL=OFF
STATIC_LINKING:BOOL=OFF
USE_LIBFUZZER:BOOL=OFF
VENDOR_GTEST:BOOL=OFF
WARNINGS_AS_ERRORS:BOOL=OFF
found_LLVM:FILEPATH=/usr/lib64/libLLVM.so

kloczek avatar Jul 01 '21 08:07 kloczek

can you run ctest -V ? Curious as to what fails.

fbs avatar Jul 01 '21 08:07 fbs

Here it is

[tkloczko@barrel x86_64-redhat-linux-gnu]$ ctest -V
UpdateCTestConfiguration  from :/home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu/DartConfiguration.tcl
Parse Config file:/home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu/DartConfiguration.tcl
UpdateCTestConfiguration  from :/home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu/DartConfiguration.tcl
Parse Config file:/home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu/DartConfiguration.tcl
Test project /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
    Start 1: bpftrace_test

1: Test command: /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu/tests/bpftrace_test
1: Test timeout computed to be: 1500
1: [==========] Running 489 tests from 19 test suites.
1: [----------] Global test environment set-up.
1: [----------] 143 tests from codegen
1: [ RUN      ] codegen.args_multiple_tracepoints
1: [       OK ] codegen.args_multiple_tracepoints (77 ms)
1: [ RUN      ] codegen.args_multiple_tracepoints_category_wild
1: [       OK ] codegen.args_multiple_tracepoints_category_wild (76 ms)
1: [ RUN      ] codegen.args_multiple_tracepoints_wild
1: [       OK ] codegen.args_multiple_tracepoints_wild (68 ms)
1: [ RUN      ] codegen.basic_while_loop
1: [       OK ] codegen.basic_while_loop (69 ms)
1: [ RUN      ] codegen.bitshift_left
1: [       OK ] codegen.bitshift_left (66 ms)
1: [ RUN      ] codegen.bitshift_right
1: [       OK ] codegen.bitshift_right (68 ms)
1: [ RUN      ] codegen.bitwise_not
1: [       OK ] codegen.bitwise_not (68 ms)
1: [ RUN      ] codegen.builtin_arg
1: [       OK ] codegen.builtin_arg (63 ms)
1: [ RUN      ] codegen.builtin_comm
1: [       OK ] codegen.builtin_comm (69 ms)
1: [ RUN      ] codegen.builtin_cpid
1: [       OK ] codegen.builtin_cpid (70 ms)
1: [ RUN      ] codegen.builtin_cpu
1: [       OK ] codegen.builtin_cpu (68 ms)
1: [ RUN      ] codegen.builtin_ctx
1: [       OK ] codegen.builtin_ctx (70 ms)
1: [ RUN      ] codegen.builtin_ctx_field
1: [       OK ] codegen.builtin_ctx_field (79 ms)
1: [ RUN      ] codegen.builtin_curtask
1: [       OK ] codegen.builtin_curtask (66 ms)
1: [ RUN      ] codegen.builtin_elapsed
1: [       OK ] codegen.builtin_elapsed (72 ms)
1: [ RUN      ] codegen.builtin_func
1: [       OK ] codegen.builtin_func (60 ms)
1: [ RUN      ] codegen.builtin_func_uprobe
1: [       OK ] codegen.builtin_func_uprobe (61 ms)
1: [ RUN      ] codegen.builtin_func_wild
1: [       OK ] codegen.builtin_func_wild (64 ms)
1: [ RUN      ] codegen.builtin_kstack
1: [       OK ] codegen.builtin_kstack (74 ms)
1: [ RUN      ] codegen.builtin_nsecs
1: [       OK ] codegen.builtin_nsecs (69 ms)
1: [ RUN      ] codegen.builtin_pid_tid
1: [       OK ] codegen.builtin_pid_tid (71 ms)
1: [ RUN      ] codegen.builtin_probe
1: [       OK ] codegen.builtin_probe (70 ms)
1: [ RUN      ] codegen.builtin_probe_wild
1: [       OK ] codegen.builtin_probe_wild (72 ms)
1: [ RUN      ] codegen.builtin_rand
1: [       OK ] codegen.builtin_rand (64 ms)
1: [ RUN      ] codegen.builtin_retval
1: [       OK ] codegen.builtin_retval (77 ms)
1: [ RUN      ] codegen.builtin_sarg
1: [       OK ] codegen.builtin_sarg (62 ms)
1: [ RUN      ] codegen.builtin_uid_gid
1: [       OK ] codegen.builtin_uid_gid (69 ms)
1: [ RUN      ] codegen.builtin_username
1: [       OK ] codegen.builtin_username (70 ms)
1: [ RUN      ] codegen.builtin_ustack
1: [       OK ] codegen.builtin_ustack (54 ms)
1: [ RUN      ] codegen.call_avg
1: [       OK ] codegen.call_avg (72 ms)
1: [ RUN      ] codegen.call_buf_implicit_size
1: [       OK ] codegen.call_buf_implicit_size (55 ms)
1: [ RUN      ] codegen.call_buf_size_literal
1: [       OK ] codegen.call_buf_size_literal (68 ms)
1: [ RUN      ] codegen.call_buf_size_nonliteral
1: [       OK ] codegen.call_buf_size_nonliteral (81 ms)
1: [ RUN      ] codegen.call_cat
1: [       OK ] codegen.call_cat (56 ms)
1: [ RUN      ] codegen.call_cgroup
1: [       OK ] codegen.call_cgroup (67 ms)
1: [ RUN      ] codegen.call_clear
1: [       OK ] codegen.call_clear (66 ms)
1: [ RUN      ] codegen.call_count
1: [       OK ] codegen.call_count (69 ms)
1: [ RUN      ] codegen.call_delete
1: [       OK ] codegen.call_delete (68 ms)
1: [ RUN      ] codegen.call_exit
1: [       OK ] codegen.call_exit (63 ms)
1: [ RUN      ] codegen.call_hist
1: [       OK ] codegen.call_hist (77 ms)
1: [ RUN      ] codegen.call_kstack
1: [       OK ] codegen.call_kstack (197 ms)
1: [ RUN      ] codegen.call_kstack_mapids
1: [       OK ] codegen.call_kstack_mapids (70 ms)
1: [ RUN      ] codegen.call_kstack_modes_mapids
1: [       OK ] codegen.call_kstack_modes_mapids (74 ms)
1: [ RUN      ] codegen.call_lhist
1: [       OK ] codegen.call_lhist (71 ms)
1: [ RUN      ] codegen.call_macaddr
1: [       OK ] codegen.call_macaddr (70 ms)
1: [ RUN      ] codegen.call_max
1: [       OK ] codegen.call_max (72 ms)
1: [ RUN      ] codegen.call_min
1: [       OK ] codegen.call_min (66 ms)
1: [ RUN      ] codegen.call_ntop_char16
1: [       OK ] codegen.call_ntop_char16 (69 ms)
1: [ RUN      ] codegen.call_ntop_char4
1: [       OK ] codegen.call_ntop_char4 (74 ms)
1: [ RUN      ] codegen.call_ntop_key
1: [       OK ] codegen.call_ntop_key (70 ms)
1: [ RUN      ] codegen.call_override
1: [       OK ] codegen.call_override (66 ms)
1: [ RUN      ] codegen.call_override_literal
1: [       OK ] codegen.call_override_literal (71 ms)
1: [ RUN      ] codegen.call_print
1: [       OK ] codegen.call_print (75 ms)
1: [ RUN      ] codegen.call_print_int
1: [       OK ] codegen.call_print_int (70 ms)
1: [ RUN      ] codegen.call_print_composit
1: [       OK ] codegen.call_print_composit (82 ms)
1: [ RUN      ] codegen.call_printf
1: [       OK ] codegen.call_printf (67 ms)
1: [ RUN      ] codegen.call_reg
1: [       OK ] codegen.call_reg (71 ms)
1: [ RUN      ] codegen.call_signal
1: [       OK ] codegen.call_signal (69 ms)
1: [ RUN      ] codegen.call_signal_literal
1: [       OK ] codegen.call_signal_literal (71 ms)
1: [ RUN      ] codegen.call_signal_string_literal
1: [       OK ] codegen.call_signal_string_literal (71 ms)
1: [ RUN      ] codegen.call_sizeof
1: [       OK ] codegen.call_sizeof (71 ms)
1: [ RUN      ] codegen.call_stats
1: [       OK ] codegen.call_stats (74 ms)
1: [ RUN      ] codegen.call_str
1: [       OK ] codegen.call_str (60 ms)
1: [ RUN      ] codegen.call_str_2_expr
1: [       OK ] codegen.call_str_2_expr (66 ms)
1: [ RUN      ] codegen.call_str_2_lit
1: [       OK ] codegen.call_str_2_lit (70 ms)
1: [ RUN      ] codegen.call_strftime
1: [       OK ] codegen.call_strftime (76 ms)
1: [ RUN      ] codegen.call_sum
1: [       OK ] codegen.call_sum (73 ms)
1: [ RUN      ] codegen.call_system
1: [       OK ] codegen.call_system (67 ms)
1: [ RUN      ] codegen.call_time
1: [       OK ] codegen.call_time (69 ms)
1: [ RUN      ] codegen.call_uptr
1: [       OK ] codegen.call_uptr (142 ms)
1: [ RUN      ] codegen.call_ustack
1: [       OK ] codegen.call_ustack (198 ms)
1: [ RUN      ] codegen.call_ustack_mapids
1: [       OK ] codegen.call_ustack_mapids (69 ms)
1: [ RUN      ] codegen.call_ustack_modes_mapids
1: [       OK ] codegen.call_ustack_modes_mapids (68 ms)
1: [ RUN      ] codegen.call_usym_key
1: [       OK ] codegen.call_usym_key (67 ms)
1: [ RUN      ] codegen.call_zero
1: [       OK ] codegen.call_zero (67 ms)
1: [ RUN      ] codegen.comparison_extend
1: [       OK ] codegen.comparison_extend (69 ms)
1: [ RUN      ] codegen.dereference
1: [       OK ] codegen.dereference (72 ms)
1: [ RUN      ] codegen.empty_function
1: [       OK ] codegen.empty_function (65 ms)
1: [ RUN      ] codegen.enum_declaration
1: [       OK ] codegen.enum_declaration (71 ms)
1: [ RUN      ] codegen.populate_sections
1: [       OK ] codegen.populate_sections (20 ms)
1: [ RUN      ] codegen.printf_offsets
1: [       OK ] codegen.printf_offsets (52 ms)
1: [ RUN      ] codegen.probe_count
1: [       OK ] codegen.probe_count (18 ms)
1: [ RUN      ] codegen.if_else_printf
1: [       OK ] codegen.if_else_printf (65 ms)
1: [ RUN      ] codegen.if_else_variable
1: [       OK ] codegen.if_else_variable (68 ms)
1: [ RUN      ] codegen.if_nested_printf
1: [       OK ] codegen.if_nested_printf (70 ms)
1: [ RUN      ] codegen.if_printf
1: [       OK ] codegen.if_printf (70 ms)
1: [ RUN      ] codegen.if_variable
1: [       OK ] codegen.if_variable (69 ms)
1: [ RUN      ] codegen.int_propagation
1: [       OK ] codegen.int_propagation (72 ms)
1: [ RUN      ] codegen.intcast_retval
1: [       OK ] codegen.intcast_retval (69 ms)
1: [ RUN      ] codegen.intcast_call
1: [       OK ] codegen.intcast_call (72 ms)
1: [ RUN      ] codegen.intptrcast_assign_var
1: [       OK ] codegen.intptrcast_assign_var (69 ms)
1: [ RUN      ] codegen.intptrcast_call
1: [       OK ] codegen.intptrcast_call (63 ms)
1: [ RUN      ] codegen.literal_strncmp
1: [       OK ] codegen.literal_strncmp (70 ms)
1: [ RUN      ] codegen.logical_and
1: [       OK ] codegen.logical_and (64 ms)
1: [ RUN      ] codegen.logical_and_or_different_type
1: [       OK ] codegen.logical_and_or_different_type (67 ms)
1: [ RUN      ] codegen.logical_not
1: [       OK ] codegen.logical_not (69 ms)
1: [ RUN      ] codegen.logical_or
1: [       OK ] codegen.logical_or (68 ms)
1: [ RUN      ] codegen.macro_definition
1: [       OK ] codegen.macro_definition (68 ms)
1: [ RUN      ] codegen.map_assign_array
1: [       OK ] codegen.map_assign_array (77 ms)
1: [ RUN      ] codegen.map_assign_int
1: [       OK ] codegen.map_assign_int (61 ms)
1: [ RUN      ] codegen.map_assign_string
1: [       OK ] codegen.map_assign_string (77 ms)
1: [ RUN      ] codegen.map_increment_decrement
1: [       OK ] codegen.map_increment_decrement (67 ms)
1: [ RUN      ] codegen.map_key_array
1: [       OK ] codegen.map_key_array (68 ms)
1: [ RUN      ] codegen.map_key_int
1: [       OK ] codegen.map_key_int (68 ms)
1: [ RUN      ] codegen.map_key_probe
1: [       OK ] codegen.map_key_probe (75 ms)
1: [ RUN      ] codegen.map_key_string
1: [       OK ] codegen.map_key_string (87 ms)
1: [ RUN      ] codegen.map_key_struct
1: [       OK ] codegen.map_key_struct (61 ms)
1: [ RUN      ] codegen.multiple_identical_probes
1: [       OK ] codegen.multiple_identical_probes (63 ms)
1: [ RUN      ] codegen.nested_array_struct
1: [       OK ] codegen.nested_array_struct (78 ms)
1: [ RUN      ] codegen.nested_while_loop
1: [       OK ] codegen.nested_while_loop (71 ms)
1: [ RUN      ] codegen.optional_positional_parameter
1: [       OK ] codegen.optional_positional_parameter (67 ms)
1: [ RUN      ] codegen.pred_binop
1: [       OK ] codegen.pred_binop (69 ms)
1: [ RUN      ] codegen.ptr_to_ptr
1: [       OK ] codegen.ptr_to_ptr (70 ms)
1: [ RUN      ] codegen.regression_957
1: [       OK ] codegen.regression_957 (19 ms)
1: [ RUN      ] codegen.runtime_error_check
1: [       OK ] codegen.runtime_error_check (67 ms)
1: [ RUN      ] codegen.runtime_error_check_lookup
1: [       OK ] codegen.runtime_error_check_lookup (73 ms)
1: [ RUN      ] codegen.string_equal_comparison
1: [       OK ] codegen.string_equal_comparison (73 ms)
1: [ RUN      ] codegen.string_not_equal_comparison
1: [       OK ] codegen.string_not_equal_comparison (67 ms)
1: [ RUN      ] codegen.string_propagation
1: [       OK ] codegen.string_propagation (82 ms)
1: [ RUN      ] codegen.strncmp
1: [       OK ] codegen.strncmp (83 ms)
1: [ RUN      ] codegen.struct_char
1: [       OK ] codegen.struct_char (128 ms)
1: [ RUN      ] codegen.struct_integer_ptr
1: [       OK ] codegen.struct_integer_ptr (144 ms)
1: [ RUN      ] codegen.struct_integers
1: [       OK ] codegen.struct_integers (141 ms)
1: [ RUN      ] codegen.struct_long
1: [       OK ] codegen.struct_long (130 ms)
1: [ RUN      ] codegen.struct_nested_struct_anon
1: [       OK ] codegen.struct_nested_struct_anon (142 ms)
1: [ RUN      ] codegen.struct_nested_struct_named
1: [       OK ] codegen.struct_nested_struct_named (140 ms)
1: [ RUN      ] codegen.struct_nested_struct_ptr_named
1: [       OK ] codegen.struct_nested_struct_ptr_named (124 ms)
1: [ RUN      ] codegen.struct_save
1: [       OK ] codegen.struct_save (132 ms)
1: [ RUN      ] codegen.struct_save_nested
1: [       OK ] codegen.struct_save_nested (70 ms)
1: [ RUN      ] codegen.struct_save_string
1: [       OK ] codegen.struct_save_string (71 ms)
1: [ RUN      ] codegen.struct_semicolon
1: [       OK ] codegen.struct_semicolon (138 ms)
1: [ RUN      ] codegen.struct_short
1: [       OK ] codegen.struct_short (141 ms)
1: [ RUN      ] codegen.struct_string_array
1: [       OK ] codegen.struct_string_array (128 ms)
1: [ RUN      ] codegen.struct_string_ptr
1: [       OK ] codegen.struct_string_ptr (74 ms)
1: [ RUN      ] codegen.ternary_int
1: [       OK ] codegen.ternary_int (67 ms)
1: [ RUN      ] codegen.ternary_none
1: [       OK ] codegen.ternary_none (72 ms)
1: [ RUN      ] codegen.ternary_str
1: [       OK ] codegen.ternary_str (82 ms)
1: [ RUN      ] codegen.tuple
1: [       OK ] codegen.tuple (73 ms)
1: [ RUN      ] codegen.tuple_array_struct
1: [       OK ] codegen.tuple_array_struct (66 ms)
1: [ RUN      ] codegen.unroll
1: [       OK ] codegen.unroll (74 ms)
1: [ RUN      ] codegen.variable
1: [       OK ] codegen.variable (61 ms)
1: [ RUN      ] codegen.variable_assign_array
1: [       OK ] codegen.variable_assign_array (67 ms)
1: [ RUN      ] codegen.variable_increment_decrement
1: [       OK ] codegen.variable_increment_decrement (71 ms)
1: [----------] 143 tests from codegen (10837 ms total)
1:
1: [----------] 5 tests from utils
1: [ RUN      ] utils.split_string
1: [       OK ] utils.split_string (0 ms)
1: [ RUN      ] utils.wildcard_match
1: [       OK ] utils.wildcard_match (0 ms)
1: [ RUN      ] utils.resolve_binary_path
1: [       OK ] utils.resolve_binary_path (7 ms)
1: [ RUN      ] utils.parse_exponent
1: [       OK ] utils.parse_exponent (0 ms)
1: [ RUN      ] utils.abs_path
1: [       OK ] utils.abs_path (0 ms)
1: [----------] 5 tests from utils (7 ms total)
1:
1: [----------] 7 tests from tracepoint_format_parser
1: [ RUN      ] tracepoint_format_parser.tracepoint_struct
1: [       OK ] tracepoint_format_parser.tracepoint_struct (17 ms)
1: [ RUN      ] tracepoint_format_parser.array
1: [       OK ] tracepoint_format_parser.array (10 ms)
1: [ RUN      ] tracepoint_format_parser.data_loc
1: [       OK ] tracepoint_format_parser.data_loc (9 ms)
1: [ RUN      ] tracepoint_format_parser.adjust_integer_types
1: [       OK ] tracepoint_format_parser.adjust_integer_types (9 ms)
1: [ RUN      ] tracepoint_format_parser.padding
1: [       OK ] tracepoint_format_parser.padding (8 ms)
1: [ RUN      ] tracepoint_format_parser.tracepoint_struct_btf
1: [       OK ] tracepoint_format_parser.tracepoint_struct_btf (9 ms)
1: [ RUN      ] tracepoint_format_parser.args_field_access
1: [       OK ] tracepoint_format_parser.args_field_access (9 ms)
1: [----------] 7 tests from tracepoint_format_parser (71 ms total)
1:
1: [----------] 147 tests from semantic_analyser
1: [ RUN      ] semantic_analyser.builtin_variables
1: [       OK ] semantic_analyser.builtin_variables (1661 ms)
1: [ RUN      ] semantic_analyser.builtin_cpid
1: [       OK ] semantic_analyser.builtin_cpid (378 ms)
1: [ RUN      ] semantic_analyser.builtin_functions
1: [       OK ] semantic_analyser.builtin_functions (2009 ms)
1: [ RUN      ] semantic_analyser.undefined_map
1: [       OK ] semantic_analyser.undefined_map (195 ms)
1: [ RUN      ] semantic_analyser.consistent_map_values
1: [       OK ] semantic_analyser.consistent_map_values (128 ms)
1: [ RUN      ] semantic_analyser.consistent_map_keys
1: [       OK ] semantic_analyser.consistent_map_keys (580 ms)
1: [ RUN      ] semantic_analyser.if_statements
1: [       OK ] semantic_analyser.if_statements (288 ms)
1: [ RUN      ] semantic_analyser.predicate_expressions
1: [       OK ] semantic_analyser.predicate_expressions (244 ms)
1: [ RUN      ] semantic_analyser.ternary_expressions
1: [       OK ] semantic_analyser.ternary_expressions (455 ms)
1: [ RUN      ] semantic_analyser.mismatched_call_types
1: [       OK ] semantic_analyser.mismatched_call_types (195 ms)
1: [ RUN      ] semantic_analyser.compound_left
1: [       OK ] semantic_analyser.compound_left (196 ms)
1: [ RUN      ] semantic_analyser.compound_right
1: [       OK ] semantic_analyser.compound_right (191 ms)
1: [ RUN      ] semantic_analyser.compound_plus
1: [       OK ] semantic_analyser.compound_plus (195 ms)
1: [ RUN      ] semantic_analyser.compound_minus
1: [       OK ] semantic_analyser.compound_minus (196 ms)
1: [ RUN      ] semantic_analyser.compound_mul
1: [       OK ] semantic_analyser.compound_mul (191 ms)
1: [ RUN      ] semantic_analyser.compound_div
1: [       OK ] semantic_analyser.compound_div (197 ms)
1: [ RUN      ] semantic_analyser.compound_mod
1: [       OK ] semantic_analyser.compound_mod (192 ms)
1: [ RUN      ] semantic_analyser.compound_band
1: [       OK ] semantic_analyser.compound_band (195 ms)
1: [ RUN      ] semantic_analyser.compound_bor
1: [       OK ] semantic_analyser.compound_bor (196 ms)
1: [ RUN      ] semantic_analyser.compound_bxor
1: [       OK ] semantic_analyser.compound_bxor (192 ms)
1: [ RUN      ] semantic_analyser.call_hist
1: [       OK ] semantic_analyser.call_hist (454 ms)
1: [ RUN      ] semantic_analyser.call_lhist
1: [       OK ] semantic_analyser.call_lhist (776 ms)
1: [ RUN      ] semantic_analyser.call_count
1: [       OK ] semantic_analyser.call_count (451 ms)
1: [ RUN      ] semantic_analyser.call_sum
1: [       OK ] semantic_analyser.call_sum (515 ms)
1: [ RUN      ] semantic_analyser.call_min
1: [       OK ] semantic_analyser.call_min (450 ms)
1: [ RUN      ] semantic_analyser.call_max
1: [       OK ] semantic_analyser.call_max (451 ms)
1: [ RUN      ] semantic_analyser.call_avg
1: [       OK ] semantic_analyser.call_avg (447 ms)
1: [ RUN      ] semantic_analyser.call_stats
1: [       OK ] semantic_analyser.call_stats (448 ms)
1: [ RUN      ] semantic_analyser.call_delete
1: [       OK ] semantic_analyser.call_delete (515 ms)
1: [ RUN      ] semantic_analyser.call_exit
1: [       OK ] semantic_analyser.call_exit (521 ms)
1: [ RUN      ] semantic_analyser.call_print
1: [       OK ] semantic_analyser.call_print (965 ms)
1: [ RUN      ] semantic_analyser.call_print_non_map
1: [       OK ] semantic_analyser.call_print_non_map (874 ms)
1: [ RUN      ] semantic_analyser.call_clear
1: [       OK ] semantic_analyser.call_clear (702 ms)
1: [ RUN      ] semantic_analyser.call_zero
1: [       OK ] semantic_analyser.call_zero (715 ms)
1: [ RUN      ] semantic_analyser.call_time
1: [       OK ] semantic_analyser.call_time (645 ms)
1: [ RUN      ] semantic_analyser.call_strftime
1: [       OK ] semantic_analyser.call_strftime (972 ms)
1: [ RUN      ] semantic_analyser.call_str
1: [       OK ] semantic_analyser.call_str (262 ms)
1: [ RUN      ] semantic_analyser.call_str_2_lit
1: [       OK ] semantic_analyser.call_str_2_lit (258 ms)
1: [ RUN      ] semantic_analyser.call_str_2_expr
1: [       OK ] semantic_analyser.call_str_2_expr (129 ms)
1: [ RUN      ] semantic_analyser.call_str_state_leak_regression_test
1: [       OK ] semantic_analyser.call_str_state_leak_regression_test (65 ms)
1: [ RUN      ] semantic_analyser.call_buf
1: [       OK ] semantic_analyser.call_buf (499 ms)
1: [ RUN      ] semantic_analyser.call_buf_lit
1: [       OK ] semantic_analyser.call_buf_lit (120 ms)
1: [ RUN      ] semantic_analyser.call_buf_expr
1: [       OK ] semantic_analyser.call_buf_expr (130 ms)
1: [ RUN      ] semantic_analyser.call_ksym
1: [       OK ] semantic_analyser.call_ksym (261 ms)
1: [ RUN      ] semantic_analyser.call_usym
1: [       OK ] semantic_analyser.call_usym (258 ms)
1: [ RUN      ] semantic_analyser.call_ntop
1: [       OK ] semantic_analyser.call_ntop (1300 ms)
1: [ RUN      ] semantic_analyser.call_kaddr
1: [       OK ] semantic_analyser.call_kaddr (249 ms)
1: [ RUN      ] semantic_analyser.call_uaddr
1: [       OK ] semantic_analyser.call_uaddr (798 ms)
1: [ RUN      ] semantic_analyser.call_cgroupid
1: [       OK ] semantic_analyser.call_cgroupid (61 ms)
1: [ RUN      ] semantic_analyser.call_reg
1: [       OK ] semantic_analyser.call_reg (328 ms)
1: [ RUN      ] semantic_analyser.call_func
1: [       OK ] semantic_analyser.call_func (262 ms)
1: [ RUN      ] semantic_analyser.call_probe
1: [       OK ] semantic_analyser.call_probe (127 ms)
1: [ RUN      ] semantic_analyser.call_cat
1: [       OK ] semantic_analyser.call_cat (582 ms)
1: [ RUN      ] semantic_analyser.call_stack
1: [       OK ] semantic_analyser.call_stack (1990 ms)
1: [ RUN      ] semantic_analyser.call_macaddr
1: [       OK ] semantic_analyser.call_macaddr (713 ms)
1: [ RUN      ] semantic_analyser.map_reassignment
1: [       OK ] semantic_analyser.map_reassignment (129 ms)
1: [ RUN      ] semantic_analyser.variable_reassignment
1: [       OK ] semantic_analyser.variable_reassignment (130 ms)
1: [ RUN      ] semantic_analyser.map_use_before_assign
1: [       OK ] semantic_analyser.map_use_before_assign (67 ms)
1: [ RUN      ] semantic_analyser.variable_use_before_assign
1: [       OK ] semantic_analyser.variable_use_before_assign (67 ms)
1: [ RUN      ] semantic_analyser.maps_are_global
1: [       OK ] semantic_analyser.maps_are_global (129 ms)
1: [ RUN      ] semantic_analyser.variables_are_local
1: [       OK ] semantic_analyser.variables_are_local (127 ms)
1: [ RUN      ] semantic_analyser.array_access
1: [       OK ] semantic_analyser.array_access (991 ms)
1: [ RUN      ] semantic_analyser.array_in_map
1: [       OK ] semantic_analyser.array_in_map (269 ms)
1: [ RUN      ] semantic_analyser.array_as_map_key
1: [       OK ] semantic_analyser.array_as_map_key (268 ms)
1: [ RUN      ] semantic_analyser.variable_type
1: [       OK ] semantic_analyser.variable_type (58 ms)
1: [ RUN      ] semantic_analyser.unroll
1: [       OK ] semantic_analyser.unroll (411 ms)
1: [ RUN      ] semantic_analyser.map_integer_sizes
1: [       OK ] semantic_analyser.map_integer_sizes (105 ms)
1: [ RUN      ] semantic_analyser.unop_dereference
1: [       OK ] semantic_analyser.unop_dereference (287 ms)
1: [ RUN      ] semantic_analyser.unop_not
1: [       OK ] semantic_analyser.unop_not (306 ms)
1: [ RUN      ] semantic_analyser.unop_lnot
1: [       OK ] semantic_analyser.unop_lnot (388 ms)
1: [ RUN      ] semantic_analyser.unop_increment_decrement
1: [       OK ] semantic_analyser.unop_increment_decrement (701 ms)
1: [ RUN      ] semantic_analyser.printf
1: [       OK ] semantic_analyser.printf (829 ms)
1: [ RUN      ] semantic_analyser.system
1: [       OK ] semantic_analyser.system (260 ms)
1: [ RUN      ] semantic_analyser.printf_format_int
1: [       OK ] semantic_analyser.printf_format_int (447 ms)
1: [ RUN      ] semantic_analyser.printf_format_int_with_length
1: [       OK ] semantic_analyser.printf_format_int_with_length (2565 ms)
1: [ RUN      ] semantic_analyser.printf_format_string
1: [       OK ] semantic_analyser.printf_format_string (321 ms)
1: [ RUN      ] semantic_analyser.printf_bad_format_string
1: [       OK ] semantic_analyser.printf_bad_format_string (255 ms)
1: [ RUN      ] semantic_analyser.printf_format_buf
1: [       OK ] semantic_analyser.printf_format_buf (62 ms)
1: [ RUN      ] semantic_analyser.printf_bad_format_buf
1: [       OK ] semantic_analyser.printf_bad_format_buf (134 ms)
1: [ RUN      ] semantic_analyser.printf_format_multi
1: [       OK ] semantic_analyser.printf_format_multi (129 ms)
1: [ RUN      ] semantic_analyser.join
1: [       OK ] semantic_analyser.join (385 ms)
1: [ RUN      ] semantic_analyser.join_delimiter
1: [       OK ] semantic_analyser.join_delimiter (383 ms)
1: [ RUN      ] semantic_analyser.kprobe
1: [       OK ] semantic_analyser.kprobe (129 ms)
1: [ RUN      ] semantic_analyser.uprobe
1: [       OK ] semantic_analyser.uprobe (1093 ms)
1: [ RUN      ] semantic_analyser.usdt
1: [       OK ] semantic_analyser.usdt (324 ms)
1: [ RUN      ] semantic_analyser.begin_end_probes
1: [       OK ] semantic_analyser.begin_end_probes (255 ms)
1: [ RUN      ] semantic_analyser.tracepoint
1: [       OK ] semantic_analyser.tracepoint (65 ms)
1: [ RUN      ] semantic_analyser.watchpoint_invalid_modes
1: [       OK ] semantic_analyser.watchpoint_invalid_modes (374 ms)
1: [ RUN      ] semantic_analyser.watchpoint_absolute
1: [       OK ] semantic_analyser.watchpoint_absolute (165 ms)
1: [ RUN      ] semantic_analyser.watchpoint_function
1: [       OK ] semantic_analyser.watchpoint_function (267 ms)
1: [ RUN      ] semantic_analyser.asyncwatchpoint
1: [       OK ] semantic_analyser.asyncwatchpoint (315 ms)
1: [ RUN      ] semantic_analyser.args_builtin_wrong_use
1: [       OK ] semantic_analyser.args_builtin_wrong_use (1039 ms)
1: [ RUN      ] semantic_analyser.profile
1: [       OK ] semantic_analyser.profile (311 ms)
1: [ RUN      ] semantic_analyser.interval
1: [       OK ] semantic_analyser.interval (321 ms)
1: [ RUN      ] semantic_analyser.variable_cast_types
1: [       OK ] semantic_analyser.variable_cast_types (185 ms)
1: [ RUN      ] semantic_analyser.map_cast_types
1: [       OK ] semantic_analyser.map_cast_types (177 ms)
1: [ RUN      ] semantic_analyser.variable_casts_are_local
1: [       OK ] semantic_analyser.variable_casts_are_local (85 ms)
1: [ RUN      ] semantic_analyser.map_casts_are_global
1: [       OK ] semantic_analyser.map_casts_are_global (88 ms)
1: [ RUN      ] semantic_analyser.cast_unknown_type
1: [       OK ] semantic_analyser.cast_unknown_type (85 ms)
1: [ RUN      ] semantic_analyser.cast_struct
1: [       OK ] semantic_analyser.cast_struct (174 ms)
1: [ RUN      ] semantic_analyser.field_access
1: [       OK ] semantic_analyser.field_access (221 ms)
1: [ RUN      ] semantic_analyser.field_access_wrong_field
1: [       OK ] semantic_analyser.field_access_wrong_field (267 ms)
1: [ RUN      ] semantic_analyser.field_access_wrong_expr
1: [       OK ] semantic_analyser.field_access_wrong_expr (53 ms)
1: [ RUN      ] semantic_analyser.field_access_types
1: [       OK ] semantic_analyser.field_access_types (558 ms)
1: [ RUN      ] semantic_analyser.field_access_pointer
1: [       OK ] semantic_analyser.field_access_pointer (266 ms)
1: [ RUN      ] semantic_analyser.field_access_sub_struct
1: [       OK ] semantic_analyser.field_access_sub_struct (534 ms)
1: [ RUN      ] semantic_analyser.field_access_is_internal
1: [       OK ] semantic_analyser.field_access_is_internal (176 ms)
1: [ RUN      ] semantic_analyser.struct_as_map_key
1: [       OK ] semantic_analyser.struct_as_map_key (263 ms)
1: [ RUN      ] semantic_analyser.probe_short_name
1: [       OK ] semantic_analyser.probe_short_name (565 ms)
1: [ RUN      ] semantic_analyser.positional_parameters
1: [       OK ] semantic_analyser.positional_parameters (998 ms)
1: [ RUN      ] semantic_analyser.macros
1: [       OK ] semantic_analyser.macros (274 ms)
1: [ RUN      ] semantic_analyser.enums
1: [       OK ] semantic_analyser.enums (88 ms)
1: [ RUN      ] semantic_analyser.signed_int_comparison_warnings
1: [       OK ] semantic_analyser.signed_int_comparison_warnings (1026 ms)
1: [ RUN      ] semantic_analyser.string_comparison
1: [       OK ] semantic_analyser.string_comparison (395 ms)
1: [ RUN      ] semantic_analyser.signed_int_arithmetic_warnings
1: [       OK ] semantic_analyser.signed_int_arithmetic_warnings (524 ms)
1: [ RUN      ] semantic_analyser.signed_int_division_warnings
1: [       OK ] semantic_analyser.signed_int_division_warnings (257 ms)
1: [ RUN      ] semantic_analyser.signed_int_modulo_warnings
1: [       OK ] semantic_analyser.signed_int_modulo_warnings (259 ms)
1: [ RUN      ] semantic_analyser.map_as_lookup_table
1: [       OK ] semantic_analyser.map_as_lookup_table (66 ms)
1: [ RUN      ] semantic_analyser.cast_sign
1: [       OK ] semantic_analyser.cast_sign (115 ms)
1: [ RUN      ] semantic_analyser.binop_sign
1: [       OK ] semantic_analyser.binop_sign (1023 ms)
1: [ RUN      ] semantic_analyser.int_cast_types
1: [       OK ] semantic_analyser.int_cast_types (859 ms)
1: [ RUN      ] semantic_analyser.int_cast_usage
1: [       OK ] semantic_analyser.int_cast_usage (515 ms)
1: [ RUN      ] semantic_analyser.intptr_cast_types
1: [       OK ] semantic_analyser.intptr_cast_types (861 ms)
1: [ RUN      ] semantic_analyser.intptr_cast_usage
1: [       OK ] semantic_analyser.intptr_cast_usage (601 ms)
1: [ RUN      ] semantic_analyser.signal
1: [       OK ] semantic_analyser.signal (1366 ms)
1: [ RUN      ] semantic_analyser.strncmp
1: [       OK ] semantic_analyser.strncmp (455 ms)
1: [ RUN      ] semantic_analyser.override
1: [       OK ] semantic_analyser.override (459 ms)
1: [ RUN      ] semantic_analyser.unwatch
1: [       OK ] semantic_analyser.unwatch (699 ms)
1: [ RUN      ] semantic_analyser.struct_member_keywords
1: [       OK ] semantic_analyser.struct_member_keywords (3393 ms)
1: [ RUN      ] semantic_analyser.jumps
1: [       OK ] semantic_analyser.jumps (179 ms)
1: [ RUN      ] semantic_analyser.while_loop
1: [       OK ] semantic_analyser.while_loop (649 ms)
1: [ RUN      ] semantic_analyser.builtin_args
1: [       OK ] semantic_analyser.builtin_args (416 ms)
1: [ RUN      ] semantic_analyser.type_ctx
1: [       OK ] semantic_analyser.type_ctx (355 ms)
1: [ RUN      ] semantic_analyser.double_pointer_basic
1: [       OK ] semantic_analyser.double_pointer_basic (265 ms)
1: [ RUN      ] semantic_analyser.double_pointer_int
1: [       OK ] semantic_analyser.double_pointer_int (91 ms)
1: [ RUN      ] semantic_analyser.double_pointer_struct
1: [       OK ] semantic_analyser.double_pointer_struct (95 ms)
1: [ RUN      ] semantic_analyser.tuple
1: [       OK ] semantic_analyser.tuple (1429 ms)
1: [ RUN      ] semantic_analyser.tuple_indexing
1: [       OK ] semantic_analyser.tuple_indexing (444 ms)
1: [ RUN      ] semantic_analyser.tuple_assign_var
1: [       OK ] semantic_analyser.tuple_assign_var (75 ms)
1: [ RUN      ] semantic_analyser.tuple_assign_map
1: [       OK ] semantic_analyser.tuple_assign_map (70 ms)
1: [ RUN      ] semantic_analyser.tuple_nested
1: [       OK ] semantic_analyser.tuple_nested (71 ms)
1: [ RUN      ] semantic_analyser.multi_pass_type_inference_zero_size_int
1: [       OK ] semantic_analyser.multi_pass_type_inference_zero_size_int (66 ms)
1: [ RUN      ] semantic_analyser.call_kptr_uptr
1: [       OK ] semantic_analyser.call_kptr_uptr (604 ms)
1: [ RUN      ] semantic_analyser.call_path
1: [       OK ] semantic_analyser.call_path (603 ms)
1: [ RUN      ] semantic_analyser.int_ident
1: [       OK ] semantic_analyser.int_ident (186 ms)
1: [ RUN      ] semantic_analyser.tracepoint_common_field
1: [       OK ] semantic_analyser.tracepoint_common_field (173 ms)
1: [ RUN      ] semantic_analyser.compound_variable_assignments
1: [       OK ] semantic_analyser.compound_variable_assignments (82 ms)
1: [----------] 147 tests from semantic_analyser (65016 ms total)
1:
1: [----------] 4 tests from semantic_analyser_btf
1: [ RUN      ] semantic_analyser_btf.kfunc
1: [       OK ] semantic_analyser_btf.kfunc (547 ms)
1: [ RUN      ] semantic_analyser_btf.short_name
1: [       OK ] semantic_analyser_btf.short_name (73 ms)
1: [ RUN      ] semantic_analyser_btf.call_path
1: [       OK ] semantic_analyser_btf.call_path (75 ms)
1: [ RUN      ] semantic_analyser_btf.iter
1: stdin:1:1-11: ERROR: iter probe type does not support wildcards
1: iter:task* { }
1: ~~~~~~~~~~
1: [       OK ] semantic_analyser_btf.iter (361 ms)
1: [----------] 4 tests from semantic_analyser_btf (1056 ms total)
1:
1: [----------] 1 test from probe
1: [ RUN      ] probe.short_name
1: [       OK ] probe.short_name (1044 ms)
1: [----------] 1 test from probe (1044 ms total)
1:
1: [----------] 1 test from probe_btf
1: [ RUN      ] probe_btf.short_name
1: [       OK ] probe_btf.short_name (297 ms)
1: [----------] 1 test from probe_btf (297 ms total)
1:
1: [----------] 3 tests from procmon
1: [ RUN      ] procmon.no_such_proc
1: [       OK ] procmon.no_such_proc (0 ms)
1: [ RUN      ] procmon.child_terminates
1: [       OK ] procmon.child_terminates (12 ms)
1: [ RUN      ] procmon.pid_string
1: [       OK ] procmon.pid_string (3 ms)
1: [----------] 3 tests from procmon (15 ms total)
1:
1: [----------] 5 tests from portability_analyser
1: [ RUN      ] portability_analyser.generic_field_access_disabled
1: [       OK ] portability_analyser.generic_field_access_disabled (107 ms)
1: [ RUN      ] portability_analyser.tracepoint_field_access
1: [       OK ] portability_analyser.tracepoint_field_access (239 ms)
1: [ RUN      ] portability_analyser.positional_params_disabled
1: [       OK ] portability_analyser.positional_params_disabled (116 ms)
1: [ RUN      ] portability_analyser.curtask_disabled
1: [       OK ] portability_analyser.curtask_disabled (229 ms)
1: [ RUN      ] portability_analyser.selective_probes_disabled
1: [       OK ] portability_analyser.selective_probes_disabled (338 ms)
1: [----------] 5 tests from portability_analyser (1029 ms total)
1:
1: [----------] 1 test from portability_analyser_btf
1: [ RUN      ] portability_analyser_btf.kfunc_field_access
1: [       OK ] portability_analyser_btf.kfunc_field_access (111 ms)
1: [----------] 1 test from portability_analyser_btf (111 ms total)
1:
1: [----------] 85 tests from Parser
1: [ RUN      ] Parser.builtin_variables
1: [       OK ] Parser.builtin_variables (183 ms)
1: [ RUN      ] Parser.positional_param
1: [       OK ] Parser.positional_param (16 ms)
1: [ RUN      ] Parser.positional_param_count
1: [       OK ] Parser.positional_param_count (8 ms)
1: [ RUN      ] Parser.positional_param_attachpoint
1: [       OK ] Parser.positional_param_attachpoint (8 ms)
1: [ RUN      ] Parser.comment
1: [       OK ] Parser.comment (8 ms)
1: [ RUN      ] Parser.map_assign
1: [       OK ] Parser.map_assign (84 ms)
1: [ RUN      ] Parser.variable_assign
1: [       OK ] Parser.variable_assign (24 ms)
1: [ RUN      ] Parser.compound_map_assignments
1: [       OK ] Parser.compound_map_assignments (78 ms)
1: [ RUN      ] Parser.integer_sizes
1: [       OK ] Parser.integer_sizes (15 ms)
1: [ RUN      ] Parser.map_key
1: [       OK ] Parser.map_key (24 ms)
1: [ RUN      ] Parser.predicate
1: [       OK ] Parser.predicate (8 ms)
1: [ RUN      ] Parser.predicate_containing_division
1: [       OK ] Parser.predicate_containing_division (7 ms)
1: [ RUN      ] Parser.expressions
1: [       OK ] Parser.expressions (8 ms)
1: [ RUN      ] Parser.variable_post_increment_decrement
1: [       OK ] Parser.variable_post_increment_decrement (32 ms)
1: [ RUN      ] Parser.map_increment_decrement
1: [       OK ] Parser.map_increment_decrement (31 ms)
1: [ RUN      ] Parser.bit_shifting
1: [       OK ] Parser.bit_shifting (24 ms)
1: [ RUN      ] Parser.ternary_int
1: [       OK ] Parser.ternary_int (8 ms)
1: [ RUN      ] Parser.if_block
1: [       OK ] Parser.if_block (7 ms)
1: [ RUN      ] Parser.if_stmt_if
1: [       OK ] Parser.if_stmt_if (8 ms)
1: [ RUN      ] Parser.if_block_variable
1: [       OK ] Parser.if_block_variable (8 ms)
1: [ RUN      ] Parser.if_else
1: [       OK ] Parser.if_else (8 ms)
1: [ RUN      ] Parser.if_elseif
1: [       OK ] Parser.if_elseif (8 ms)
1: [ RUN      ] Parser.if_elseif_else
1: [       OK ] Parser.if_elseif_else (8 ms)
1: [ RUN      ] Parser.if_elseif_elseif_else
1: [       OK ] Parser.if_elseif_elseif_else (8 ms)
1: [ RUN      ] Parser.unroll
1: [       OK ] Parser.unroll (8 ms)
1: [ RUN      ] Parser.ternary_str
1: [       OK ] Parser.ternary_str (8 ms)
1: [ RUN      ] Parser.ternary_nested
1: [       OK ] Parser.ternary_nested (8 ms)
1: [ RUN      ] Parser.call
1: [       OK ] Parser.call (7 ms)
1: [ RUN      ] Parser.call_unknown_function
1: [       OK ] Parser.call_unknown_function (16 ms)
1: [ RUN      ] Parser.call_builtin
1: [       OK ] Parser.call_builtin (55 ms)
1: [ RUN      ] Parser.call_kaddr
1: [       OK ] Parser.call_kaddr (8 ms)
1: [ RUN      ] Parser.multiple_probes
1: [       OK ] Parser.multiple_probes (8 ms)
1: [ RUN      ] Parser.uprobe
1: [       OK ] Parser.uprobe (62 ms)
1: [ RUN      ] Parser.usdt
1: [       OK ] Parser.usdt (23 ms)
1: [ RUN      ] Parser.usdt_namespaced_probe
1: [       OK ] Parser.usdt_namespaced_probe (31 ms)
1: [ RUN      ] Parser.escape_chars
1: [       OK ] Parser.escape_chars (8 ms)
1: [ RUN      ] Parser.begin_probe
1: [       OK ] Parser.begin_probe (23 ms)
1: [ RUN      ] Parser.end_probe
1: [       OK ] Parser.end_probe (23 ms)
1: [ RUN      ] Parser.tracepoint_probe
1: [       OK ] Parser.tracepoint_probe (31 ms)
1: [ RUN      ] Parser.profile_probe
1: [       OK ] Parser.profile_probe (39 ms)
1: [ RUN      ] Parser.interval_probe
1: [       OK ] Parser.interval_probe (16 ms)
1: [ RUN      ] Parser.software_probe
1: [       OK ] Parser.software_probe (15 ms)
1: [ RUN      ] Parser.hardware_probe
1: [       OK ] Parser.hardware_probe (16 ms)
1: [ RUN      ] Parser.watchpoint_probe
1: [       OK ] Parser.watchpoint_probe (47 ms)
1: [ RUN      ] Parser.asyncwatchpoint_probe
1: [       OK ] Parser.asyncwatchpoint_probe (47 ms)
1: [ RUN      ] Parser.multiple_attach_points_kprobe
1: [       OK ] Parser.multiple_attach_points_kprobe (7 ms)
1: [ RUN      ] Parser.character_class_attach_point
1: [       OK ] Parser.character_class_attach_point (8 ms)
1: [ RUN      ] Parser.wildcard_probetype
1: [       OK ] Parser.wildcard_probetype (25 ms)
1: [ RUN      ] Parser.wildcard_attach_points
1: [       OK ] Parser.wildcard_attach_points (51 ms)
1: [ RUN      ] Parser.wildcard_path
1: [       OK ] Parser.wildcard_path (77 ms)
1: [ RUN      ] Parser.dot_in_func
1: [       OK ] Parser.dot_in_func (8 ms)
1: [ RUN      ] Parser.wildcard_func
1: [       OK ] Parser.wildcard_func (310 ms)
1: [ RUN      ] Parser.short_map_name
1: [       OK ] Parser.short_map_name (8 ms)
1: [ RUN      ] Parser.include
1: [       OK ] Parser.include (8 ms)
1: [ RUN      ] Parser.include_quote
1: [       OK ] Parser.include_quote (8 ms)
1: [ RUN      ] Parser.include_multiple
1: [       OK ] Parser.include_multiple (8 ms)
1: [ RUN      ] Parser.brackets
1: [       OK ] Parser.brackets (7 ms)
1: [ RUN      ] Parser.cast
1: [       OK ] Parser.cast (16 ms)
1: [ RUN      ] Parser.cast_ptr
1: [       OK ] Parser.cast_ptr (16 ms)
1: [ RUN      ] Parser.cast_typedef
1: [       OK ] Parser.cast_typedef (8 ms)
1: [ RUN      ] Parser.cast_ptr_typedef
1: [       OK ] Parser.cast_ptr_typedef (7 ms)
1: [ RUN      ] Parser.cast_or_expr1
1: [       OK ] Parser.cast_or_expr1 (8 ms)
1: [ RUN      ] Parser.cast_or_expr2
1: [       OK ] Parser.cast_or_expr2 (8 ms)
1: [ RUN      ] Parser.cast_precedence
1: [       OK ] Parser.cast_precedence (24 ms)
1: [ RUN      ] Parser.dereference_precedence
1: [       OK ] Parser.dereference_precedence (31 ms)
1: [ RUN      ] Parser.field_access
1: [       OK ] Parser.field_access (16 ms)
1: [ RUN      ] Parser.field_access_builtin
1: [       OK ] Parser.field_access_builtin (15 ms)
1: [ RUN      ] Parser.array_access
1: [       OK ] Parser.array_access (16 ms)
1: [ RUN      ] Parser.cstruct
1: [       OK ] Parser.cstruct (8 ms)
1: [ RUN      ] Parser.cstruct_nested
1: [       OK ] Parser.cstruct_nested (8 ms)
1: [ RUN      ] Parser.unexpected_symbol
1: [       OK ] Parser.unexpected_symbol (8 ms)
1: [ RUN      ] Parser.string_with_tab
1: [       OK ] Parser.string_with_tab (8 ms)
1: [ RUN      ] Parser.unterminated_string
1: [       OK ] Parser.unterminated_string (7 ms)
1: [ RUN      ] Parser.kprobe_offset
1: [       OK ] Parser.kprobe_offset (38 ms)
1: [ RUN      ] Parser.kretprobe_offset
1: [       OK ] Parser.kretprobe_offset (8 ms)
1: [ RUN      ] Parser.uprobe_offset
1: [       OK ] Parser.uprobe_offset (31 ms)
1: [ RUN      ] Parser.uretprobe_offset
1: [       OK ] Parser.uretprobe_offset (17 ms)
1: [ RUN      ] Parser.invalid_increment_decrement
1: [       OK ] Parser.invalid_increment_decrement (40 ms)
1: [ RUN      ] Parser.long_param_overflow
1: [       OK ] Parser.long_param_overflow (8 ms)
1: [ RUN      ] Parser.empty_arguments
1: [       OK ] Parser.empty_arguments (23 ms)
1: [ RUN      ] Parser.scientific_notation
1: [       OK ] Parser.scientific_notation (32 ms)
1: [ RUN      ] Parser.while_loop
1: [       OK ] Parser.while_loop (8 ms)
1: [ RUN      ] Parser.tuple_assignment_error_message
1: [       OK ] Parser.tuple_assignment_error_message (7 ms)
1: [ RUN      ] Parser.tuple_assignment_error
1: [       OK ] Parser.tuple_assignment_error (47 ms)
1: [ RUN      ] Parser.abs_knl_address
1: [       OK ] Parser.abs_knl_address (8 ms)
1: [----------] 85 tests from Parser (2119 ms total)
1:
1: [----------] 2 tests from LogStream
1: [ RUN      ] LogStream.basic
1: [       OK ] LogStream.basic (0 ms)
1: [ RUN      ] LogStream.with_location
1: [       OK ] LogStream.with_location (0 ms)
1: [----------] 2 tests from LogStream (0 ms total)
1:
1: [----------] 1 test from Log
1: [ RUN      ] Log.disable_log_type
1: [       OK ] Log.disable_log_type (0 ms)
1: [----------] 1 test from Log (0 ms total)
1:
1: [----------] 22 tests from clang_parser
1: [ RUN      ] clang_parser.integers
1: [       OK ] clang_parser.integers (59 ms)
1: [ RUN      ] clang_parser.c_union
1: [       OK ] clang_parser.c_union (66 ms)
1: [ RUN      ] clang_parser.c_enum
1: [       OK ] clang_parser.c_enum (66 ms)
1: [ RUN      ] clang_parser.integer_ptr
1: [       OK ] clang_parser.integer_ptr (65 ms)
1: [ RUN      ] clang_parser.string_ptr
1: [       OK ] clang_parser.string_ptr (65 ms)
1: [ RUN      ] clang_parser.string_array
1: [       OK ] clang_parser.string_array (66 ms)
1: [ RUN      ] clang_parser.nested_struct_named
1: [       OK ] clang_parser.nested_struct_named (66 ms)
1: [ RUN      ] clang_parser.nested_struct_ptr_named
1: [       OK ] clang_parser.nested_struct_ptr_named (65 ms)
1: [ RUN      ] clang_parser.nested_struct_no_type
1: [       OK ] clang_parser.nested_struct_no_type (66 ms)
1: [ RUN      ] clang_parser.nested_struct_unnamed_fields
1: [       OK ] clang_parser.nested_struct_unnamed_fields (64 ms)
1: [ RUN      ] clang_parser.nested_struct_anon_union_struct
1: [       OK ] clang_parser.nested_struct_anon_union_struct (65 ms)
1: [ RUN      ] clang_parser.bitfields
1: [       OK ] clang_parser.bitfields (67 ms)
1: [ RUN      ] clang_parser.bitfields_uneven_fields
1: [       OK ] clang_parser.bitfields_uneven_fields (66 ms)
1: [ RUN      ] clang_parser.bitfields_with_padding
1: [       OK ] clang_parser.bitfields_with_padding (62 ms)
1: [ RUN      ] clang_parser.builtin_headers
1: [       OK ] clang_parser.builtin_headers (67 ms)
1: [ RUN      ] clang_parser.macro_preprocessor
1: [       OK ] clang_parser.macro_preprocessor (118 ms)
1: [ RUN      ] clang_parser.parse_fail
1: definitions.h:2:28: error: field has incomplete type 'struct b'
1: definitions.h:2:26: note: forward declaration of 'struct b'
1: [       OK ] clang_parser.parse_fail (91 ms)
1: [ RUN      ] clang_parser.btf_unresolved_typedef
1: [       OK ] clang_parser.btf_unresolved_typedef (65 ms)
1: [ RUN      ] clang_parser.struct_typedef
1: [       OK ] clang_parser.struct_typedef (65 ms)
1: [ RUN      ] clang_parser.struct_qualifiers
1: [       OK ] clang_parser.struct_qualifiers (67 ms)
1: [ RUN      ] clang_parser.redefined_types
1: definitions.h:3:8: error: redefinition of 'a'
1: definitions.h:2:8: note: previous definition is here
1: WARNING: Cannot take type definitions from BTF since there is a redefinition conflict with user-defined types.
1: definitions.h:3:8: error: redefinition of 'a'
1: definitions.h:2:8: note: previous definition is here
1: WARNING: Cannot take type definitions from BTF since there is a redefinition conflict with user-defined types.
1: [       OK ] clang_parser.redefined_types (46 ms)
1: [ RUN      ] clang_parser.data_loc_annotation
1: [       OK ] clang_parser.data_loc_annotation (65 ms)
1: [----------] 22 tests from clang_parser (1494 ms total)
1:
1: [----------] 4 tests from clang_parser_btf
1: [ RUN      ] clang_parser_btf.btf
1: [       OK ] clang_parser_btf.btf (38 ms)
1: [ RUN      ] clang_parser_btf.btf_field_struct
1: [       OK ] clang_parser_btf.btf_field_struct (37 ms)
1: [ RUN      ] clang_parser_btf.btf_variable_field_struct
1: [       OK ] clang_parser_btf.btf_variable_field_struct (37 ms)
1: [ RUN      ] clang_parser_btf.btf_type_override
1: definitions.h:2:27: error: field has incomplete type 'struct Foo2'
1: definitions.h:2:22: note: forward declaration of 'struct Foo2'
1: definitions.h:2:27: error: field has incomplete type 'struct Foo2'
1: definitions.h:2:22: note: forward declaration of 'struct Foo2'
1: [       OK ] clang_parser_btf.btf_type_override (49 ms)
1: [----------] 4 tests from clang_parser_btf (161 ms total)
1:
1: [----------] 12 tests from childproc
1: [ RUN      ] childproc.exe_does_not_exist
1: [       OK ] childproc.exe_does_not_exist (0 ms)
1: [ RUN      ] childproc.too_many_arguments
1: [       OK ] childproc.too_many_arguments (1 ms)
1: [ RUN      ] childproc.child_exit_success
1: [       OK ] childproc.child_exit_success (11 ms)
1: [ RUN      ] childproc.child_exit_err
1: [       OK ] childproc.child_exit_err (12 ms)
1: [ RUN      ] childproc.terminate
1: [       OK ] childproc.terminate (11 ms)
1: [ RUN      ] childproc.destructor_destroy_child
1: [       OK ] childproc.destructor_destroy_child (27 ms)
1: [ RUN      ] childproc.child_kill_before_exec
1: [       OK ] childproc.child_kill_before_exec (11 ms)
1: [ RUN      ] childproc.stop_cont
1: [       OK ] childproc.stop_cont (37 ms)
1: [ RUN      ] childproc.ptrace_child_exit_success
1: [       OK ] childproc.ptrace_child_exit_success (13 ms)
1: [ RUN      ] childproc.ptrace_child_exit_error
1: [       OK ] childproc.ptrace_child_exit_error (13 ms)
1: [ RUN      ] childproc.ptrace_child_kill_before_execve
1: [       OK ] childproc.ptrace_child_kill_before_execve (3 ms)
1: [ RUN      ] childproc.ptrace_child_term_before_execve
1: [       OK ] childproc.ptrace_child_term_before_execve (13 ms)
1: [----------] 12 tests from childproc (153 ms total)
1:
1: [----------] 38 tests from bpftrace
1: [ RUN      ] bpftrace.add_begin_probe
1: [       OK ] bpftrace.add_begin_probe (33 ms)
1: [ RUN      ] bpftrace.add_end_probe
1: [       OK ] bpftrace.add_end_probe (16 ms)
1: [ RUN      ] bpftrace.add_probes_single
1: [       OK ] bpftrace.add_probes_single (16 ms)
1: [ RUN      ] bpftrace.add_probes_multiple
1: [       OK ] bpftrace.add_probes_multiple (15 ms)
1: [ RUN      ] bpftrace.add_probes_wildcard
1: [       OK ] bpftrace.add_probes_wildcard (15 ms)
1: [ RUN      ] bpftrace.add_probes_wildcard_no_matches
1: [       OK ] bpftrace.add_probes_wildcard_no_matches (16 ms)
1: [ RUN      ] bpftrace.add_probes_kernel_module
1: [       OK ] bpftrace.add_probes_kernel_module (15 ms)
1: [ RUN      ] bpftrace.add_probes_kernel_module_wildcard
1: [       OK ] bpftrace.add_probes_kernel_module_wildcard (16 ms)
1: [ RUN      ] bpftrace.add_probes_offset
1: [       OK ] bpftrace.add_probes_offset (16 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe
1: [       OK ] bpftrace.add_probes_uprobe (14 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe_wildcard
1: [       OK ] bpftrace.add_probes_uprobe_wildcard (17 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe_wildcard_file
1: [       OK ] bpftrace.add_probes_uprobe_wildcard_file (16 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe_wildcard_no_matches
1: [       OK ] bpftrace.add_probes_uprobe_wildcard_no_matches (16 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe_string_literal
1: [       OK ] bpftrace.add_probes_uprobe_string_literal (7 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe_address
1: [       OK ] bpftrace.add_probes_uprobe_address (18 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe_string_offset
1: [       OK ] bpftrace.add_probes_uprobe_string_offset (16 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe_cpp_symbol
1: [       OK ] bpftrace.add_probes_uprobe_cpp_symbol (33 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe_cpp_symbol_full
1: [       OK ] bpftrace.add_probes_uprobe_cpp_symbol_full (16 ms)
1: [ RUN      ] bpftrace.add_probes_uprobe_cpp_symbol_wildcard
1: [       OK ] bpftrace.add_probes_uprobe_cpp_symbol_wildcard (16 ms)
1: [ RUN      ] bpftrace.add_probes_usdt
1: [       OK ] bpftrace.add_probes_usdt (16 ms)
1: [ RUN      ] bpftrace.add_probes_usdt_wildcard
1: [       OK ] bpftrace.add_probes_usdt_wildcard (8 ms)
1: [ RUN      ] bpftrace.add_probes_usdt_empty_namespace
1: [       OK ] bpftrace.add_probes_usdt_empty_namespace (8 ms)
1: [ RUN      ] bpftrace.add_probes_usdt_empty_namespace_conflict
1: ERROR: namespace for usdt:/bin/sh:tp not specified, matched 2 probes
1: INFO: please specify a unique namespace or use '*' to attach to all matched probes
1: [       OK ] bpftrace.add_probes_usdt_empty_namespace_conflict (7 ms)
1: [ RUN      ] bpftrace.add_probes_usdt_duplicate_markers
1: [       OK ] bpftrace.add_probes_usdt_duplicate_markers (8 ms)
1: [ RUN      ] bpftrace.add_probes_tracepoint
1: [       OK ] bpftrace.add_probes_tracepoint (16 ms)
1: [ RUN      ] bpftrace.add_probes_tracepoint_wildcard
1: [       OK ] bpftrace.add_probes_tracepoint_wildcard (16 ms)
1: [ RUN      ] bpftrace.add_probes_tracepoint_category_wildcard
1: [       OK ] bpftrace.add_probes_tracepoint_category_wildcard (15 ms)
1: [ RUN      ] bpftrace.add_probes_tracepoint_wildcard_no_matches
1: [       OK ] bpftrace.add_probes_tracepoint_wildcard_no_matches (16 ms)
1: [ RUN      ] bpftrace.add_probes_profile
1: [       OK ] bpftrace.add_probes_profile (16 ms)
1: [ RUN      ] bpftrace.add_probes_interval
1: [       OK ] bpftrace.add_probes_interval (15 ms)
1: [ RUN      ] bpftrace.add_probes_software
1: [       OK ] bpftrace.add_probes_software (16 ms)
1: [ RUN      ] bpftrace.add_probes_hardware
1: [       OK ] bpftrace.add_probes_hardware (15 ms)
1: [ RUN      ] bpftrace.invalid_provider
1: [       OK ] bpftrace.invalid_provider (8 ms)
1: [ RUN      ] bpftrace.sort_by_key_int
1: [       OK ] bpftrace.sort_by_key_int (8 ms)
1: [ RUN      ] bpftrace.sort_by_key_int_int
1: [       OK ] bpftrace.sort_by_key_int_int (8 ms)
1: [ RUN      ] bpftrace.sort_by_key_str
1: [       OK ] bpftrace.sort_by_key_str (8 ms)
1: [ RUN      ] bpftrace.sort_by_key_str_str
1: [       OK ] bpftrace.sort_by_key_str_str (8 ms)
1: [ RUN      ] bpftrace.sort_by_key_int_str
1: [       OK ] bpftrace.sort_by_key_int_str (8 ms)
1: [----------] 38 tests from bpftrace (547 ms total)
1:
1: [----------] 3 tests from bpftrace_btf
1: [ RUN      ] bpftrace_btf.add_probes_kfunc
1: [       OK ] bpftrace_btf.add_probes_kfunc (0 ms)
1: [ RUN      ] bpftrace_btf.add_probes_iter_task
1: [       OK ] bpftrace_btf.add_probes_iter_task (0 ms)
1: [ RUN      ] bpftrace_btf.add_probes_iter_task_file
1: [       OK ] bpftrace_btf.add_probes_iter_task_file (0 ms)
1: [----------] 3 tests from bpftrace_btf (0 ms total)
1:
1: [----------] 5 tests from ast
1: [ RUN      ] ast.probe_name_special
1: [       OK ] ast.probe_name_special (0 ms)
1: [ RUN      ] ast.probe_name_kprobe
1: [       OK ] ast.probe_name_kprobe (0 ms)
1: [ RUN      ] ast.probe_name_uprobe
1: [       OK ] ast.probe_name_uprobe (0 ms)
1: [ RUN      ] ast.probe_name_usdt
1: [       OK ] ast.probe_name_usdt (0 ms)
1: [ RUN      ] ast.attach_point_name
1: [       OK ] ast.attach_point_name (0 ms)
1: [----------] 5 tests from ast (0 ms total)
1:
1: [----------] Global test environment tear-down
1: [==========] 489 tests from 19 test suites ran. (83957 ms total)
1: [  PASSED  ] 489 tests.
1/4 Test #1: bpftrace_test ....................   Passed   84.03 sec
test 2
    Start 2: runtime_test

2: Test command: /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu/tests/runtime-tests.sh
2: Test timeout computed to be: 1500
2: Must be run as root
2/4 Test #2: runtime_test .....................***Failed    0.01 sec
test 3
    Start 3: tools-parsing-test

3: Test command: /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu/tests/tools-parsing-test.sh
3: Test timeout computed to be: 1500
3: Must be run as root
3/4 Test #3: tools-parsing-test ...............***Failed    0.01 sec
test 4
    Start 4: codegen-validator

4: Test command: /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu/tests/codegen-validator.sh "/home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0"
4: Test timeout computed to be: 1500
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/args_multiple_tracepoints_category_wild.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/args_multiple_tracepoints.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/args_multiple_tracepoints_wild.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/basic_while_loop.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/bitshift_left.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/bitshift_right.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/bitwise_not.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_arg.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_comm.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_cpid.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_cpu.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_ctx_field.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_ctx.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_curtask.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_elapsed.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_func.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_func_uprobe.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_func_wild.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_kstack.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_nsecs.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_pid_tid.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_probe.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_probe_wild.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_rand.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_retval.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_sarg.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_uid_gid.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_username.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/builtin_ustack.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_avg.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_buf_implicit_size.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_buf_size_literal.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_buf_size_nonliteral.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_cat.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_cgroup.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_clear.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_count.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_delete.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_exit.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_hist.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_kstack.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_lhist.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_macaddr.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_max.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_min.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_ntop_char16.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_ntop_char4.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_ntop_key.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_override_literal.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_override.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_print_composit.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_printf.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_print_int.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_print.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_reg.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_signal_literal.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_signal.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_signal_string_literal.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_sizeof.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_stats.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_str_2_expr.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_str_2_lit.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_strftime.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_str.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_sum.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_system.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_time.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_uptr_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_uptr_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_ustack.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_usym_key.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/call_zero.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/comparison_extend.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/dereference.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/empty_function.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/enum_declaration.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/if_else_printf.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/if_else_variable.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/if_nested_printf.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/if_printf.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/if_variable.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/intcast_call.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/intcast_retval.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/int_propagation.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/intptrcast_assign_var.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/intptrcast_call.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/literal_strncmp.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/logical_and.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/logical_and_or_different_type.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/logical_not.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/logical_or.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/macro_definition.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/map_assign_array.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/map_assign_int.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/map_assign_string.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/map_increment_decrement.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/map_key_array.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/map_key_int.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/map_key_probe.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/map_key_string.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/map_key_struct.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/multiple_identical_probes.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/nested_array_struct.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/nested_while_loop.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/optional_positional_parameter.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/pred_binop.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/ptr_to_ptr.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/runtime_error_check.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/runtime_error_check_lookup.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/string_equal_comparison.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/string_not_equal_comparison.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/string_propagation.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/strncmp.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_char_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_char_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_integer_ptr_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_integer_ptr_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_integers_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_integers_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_long_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_long_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_nested_struct_anon_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_nested_struct_anon_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_nested_struct_named_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_nested_struct_named_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_nested_struct_ptr_named_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_nested_struct_ptr_named_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_save_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_save_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_save_nested.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_save_string.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_semicolon_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_semicolon_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_short_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_short_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_string_array_1.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_string_array_2.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/struct_string_ptr.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/ternary_int.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/ternary_none.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/ternary_str.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/tuple_array_struct.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/tuple.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/unroll.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/variable_assign_array.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/variable_increment_decrement.ll
4: [   OK   ]   /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/tests/codegen/llvm/variable.ll
4/4 Test #4: codegen-validator ................   Passed    4.64 sec

50% tests passed, 2 tests failed out of 4

Total Test time (real) =  88.69 sec

The following tests FAILED:
          2 - runtime_test (Failed)
          3 - tools-parsing-test (Failed)
Errors while running CTest
Output from these tests are in: /home/tkloczko/rpmbuild/BUILD/bpftrace-0.13.0/x86_64-redhat-linux-gnu/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.

kloczek avatar Jul 01 '21 09:07 kloczek

3: Must be run as root

tools and runtime tests must be ran as root

fbs avatar Jul 01 '21 09:07 fbs

OK closing that ticket. Did not spotted that detail :/ Added those two units to exclude list in my build procedure.

Thank you.

kloczek avatar Jul 01 '21 10:07 kloczek

no worries, thanks for testing so quickly :)

fbs avatar Jul 01 '21 13:07 fbs

Just back to that issue after new release and looks like test suite fails even when it is ececuted with root privs

+ cd bpftrace-0.14.1
+ sudo /usr/bin/make -O -j12 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure

make: Entering directory '/home/tkloczko/rpmbuild/BUILD/bpftrace-0.14.1/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/bpftrace-0.14.1/x86_64-redhat-linux-gnu
    Start 1: bpftrace_test
1/3 Test #1: bpftrace_test ....................Subprocess aborted***Exception: 326.75 sec
    Start 2: runtime_test
2/3 Test #2: runtime_test .....................***Failed  310.29 sec
====================
bpftrace --info:
====================
System
  OS: Linux 5.14.17-301.fc35.x86_64 #1 SMP Mon Nov 8 13:57:43 UTC 2021
  Arch: x86_64

Build
  version: v0.14.1
  LLVM: 13.0.0
  ORC: v2
  foreach_sym: yes
  unsafe uprobe: no
  bfd: yes
  bpf_attach_kfunc: yes
  bcc_usdt_addsem: yes
  bcc bpf_attach_uprobe refcount: yes
  bcc library path resolution: yes
  libbpf: yes
  libbpf btf dump: no
  libbpf btf dump type decl: no
  libdw (DWARF support): yes

Kernel helpers
  probe_read: yes
  probe_read_str: yes
  probe_read_user: yes
  probe_read_user_str: yes
  probe_read_kernel: yes
  probe_read_kernel_str: yes
  get_current_cgroup_id: yes
  send_signal: yes
  override_return: no
  get_boot_ns: yes
  dpath: yes

Kernel features
  Instruction limit: 1000000
  Loop support: yes
  btf (depends on Build:libbpf): no
  map batch (depends on Build:libbpf): yes
  uprobe refcount (depends on Build:bcc bpf_attach_uprobe refcount): yes

Map types
  hash: yes
  percpu hash: yes
  array: yes
  percpu array: yes
  stack_trace: yes
  perf_event_array: yes

Probe types
  kprobe: yes
  tracepoint: yes
  perf_event: yes
  kfunc: yes
  iter:task: yes
  iter:task_file: yes

[==========] Running 441 tests from 26 test cases.

[ RUN      ] call.uaddr
[  FAILED  ] call.uaddr
        Command: ../src//bpftrace -e 'uprobe:testprogs/uprobe_test:function1 { printf("0x%lx -- 0x%lx\n", *uaddr("GLOBAL_A"), *uaddr("GLOBAL_C")); exit(); }' -c ./testprogs/uprobe_test
        Expected: 0x55555555 -- 0x33333333
        Found: stdin:1:69-87: ERROR: Could not resolve symbol: testprogs/uprobe_test:GLOBAL_A\nuprobe:testprogs/uprobe_test:function1 { printf("0x%lx -- 0x%lx\\n", *uaddr("GLOBAL_A"), *uaddr("GLOBAL_C")); exit(); }\n                                                                    ~~~~~~~~~~~~~~~~~~\nstdin:1:89-107: ERROR: Could not resolve symbol: testprogs/uprobe_test:GLOBAL_C\nuprobe:testprogs/uprobe_test:function1 { printf("0x%lx -- 0x%lx\\n", *uaddr("GLOBAL_A"), *uaddr("GLOBAL_C")); exit(); }\n                                                                                        ~~~~~~~~~~~~~~~~~~\n
[ RUN      ] call.ustack
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] call.uaddr
[  FAILED  ] probe.kprobe_offset_fail_size

    Start 3: tools-parsing-test
3/3 Test #3: tools-parsing-test ...............***Failed   33.30 sec
../../tools/bashreadline.bt    passed
../../tools/biolatency.bt    passed
../../tools/biosnoop.bt    passed
../../tools/biostacks.bt    passed
../../tools/bitesize.bt    passed
../../tools/capable.bt    passed
../../tools/cpuwalk.bt    passed
../../tools/dcsnoop.bt    passed
../../tools/execsnoop.bt    passed
../../tools/gethostlatency.bt    failed

AST after: parser
-------------------
Program
 BEGIN
  call: printf :: type[none, ctx: 0]
   string: Tracing getaddr/gethost calls... Hit Ctrl-C to end.\n :: type[none, ctx: 0]
  call: printf :: type[none, ctx: 0]
   string: %-9s %-6s %-16s %6s %s\n :: type[none, ctx: 0]
   string: TIME :: type[none, ctx: 0]
   string: PID :: type[none, ctx: 0]
   string: COMM :: type[none, ctx: 0]
   string: LATms :: type[none, ctx: 0]
   string: HOST :: type[none, ctx: 0]
 uprobe:/lib/x86_64-linux-gnu/libc.so.6:getaddrinfo
 uprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname
 uprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname2
  =
   map: @start :: type[none, ctx: 0]
    builtin: tid :: type[none, ctx: 0]
   builtin: nsecs :: type[none, ctx: 0]
  =
   map: @name :: type[none, ctx: 0]
    builtin: tid :: type[none, ctx: 0]
   builtin: arg0 :: type[none, ctx: 0]
 uretprobe:/lib/x86_64-linux-gnu/libc.so.6:getaddrinfo
 uretprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname
 uretprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname2
  pred
   map: @start :: type[none, ctx: 0]
    builtin: tid :: type[none, ctx: 0]
  =
   variable: $latms :: type[none, ctx: 0]
   / :: type[none, ctx: 0]
    - :: type[none, ctx: 0]
     builtin: nsecs :: type[none, ctx: 0]
     map: @start :: type[none, ctx: 0]
      builtin: tid :: type[none, ctx: 0]
    int: 1000000 :: type[none, ctx: 0]
  call: time :: type[none, ctx: 0]
   string: %H:%M:%S   :: type[none, ctx: 0]
  call: printf :: type[none, ctx: 0]
   string: %-6d %-16s %6d %s\n :: type[none, ctx: 0]
   builtin: pid :: type[none, ctx: 0]
   builtin: comm :: type[none, ctx: 0]
   variable: $latms :: type[none, ctx: 0]
   call: str :: type[none, ctx: 0]
    map: @name :: type[none, ctx: 0]
     builtin: tid :: type[none, ctx: 0]
  call: delete :: type[none, ctx: 0]
   map: @start :: type[none, ctx: 0]
    builtin: tid :: type[none, ctx: 0]
  call: delete :: type[none, ctx: 0]
   map: @name :: type[none, ctx: 0]
    builtin: tid :: type[none, ctx: 0]

../../tools/gethostlatency.bt:27-29: ERROR: uprobe target file '/lib/x86_64-linux-gnu/libc.so.6' does not exist or is not executable
../../tools/gethostlatency.bt:29-30: ERROR: uprobe target file '/lib/x86_64-linux-gnu/libc.so.6' does not exist or is not executable
../../tools/gethostlatency.bt:30-31: ERROR: uprobe target file '/lib/x86_64-linux-gnu/libc.so.6' does not exist or is not executable
../../tools/gethostlatency.bt:35-37: ERROR: uprobe target file '/lib/x86_64-linux-gnu/libc.so.6' does not exist or is not executable
../../tools/gethostlatency.bt:37-38: ERROR: uprobe target file '/lib/x86_64-linux-gnu/libc.so.6' does not exist or is not executable
../../tools/gethostlatency.bt:38-39: ERROR: uprobe target file '/lib/x86_64-linux-gnu/libc.so.6' does not exist or is not executable
../../tools/killsnoop.bt    passed
../../tools/loads.bt    passed
../../tools/mdflush.bt    failed

AST after: parser
-------------------
#include <linux/genhd.h>
#include <linux/bio.h>

Program
 BEGIN
  call: printf :: type[none, ctx: 0]
   string: Tracing md flush events... Hit Ctrl-C to end.\n :: type[none, ctx: 0]
  call: printf :: type[none, ctx: 0]
   string: %-8s %-6s %-16s %s :: type[none, ctx: 0]
   string: TIME :: type[none, ctx: 0]
   string: PID :: type[none, ctx: 0]
   string: COMM :: type[none, ctx: 0]
   string: DEVICE :: type[none, ctx: 0]
 kprobe:md_flush_request
  call: time :: type[none, ctx: 0]
   string: %H:%M:%S  :: type[none, ctx: 0]
  call: printf :: type[none, ctx: 0]
   string: %-6d %-16s %s\n :: type[none, ctx: 0]
   builtin: pid :: type[none, ctx: 0]
   builtin: comm :: type[none, ctx: 0]
   .
    dereference
     .
      dereference
       (struct bio*)
        builtin: arg1 :: type[none, ctx: 0]
      bi_disk
    disk_name

../../tools/mdflush.bt:29:6-36: ERROR: Struct/union of type 'struct bio' does not contain a field named 'bi_disk'
        ((struct bio *)arg1)->bi_disk->disk_name);
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../tools/naptime.bt    passed
../../tools/oomkill.bt    passed
../../tools/opensnoop.bt    passed
../../tools/pidpersec.bt    passed
../../tools/runqlat.bt    passed
../../tools/runqlen.bt    passed
../../tools/setuids.bt    passed
../../tools/statsnoop.bt    passed
../../tools/swapin.bt    passed
../../tools/syncsnoop.bt    passed
../../tools/syscount.bt    passed
../../tools/tcpaccept.bt    passed
../../tools/tcpconnect.bt    passed
../../tools/tcpdrop.bt    passed
../../tools/tcplife.bt    passed
../../tools/tcpretrans.bt    passed
../../tools/tcpsynbl.bt    passed
../../tools/threadsnoop.bt    failed

AST after: parser
-------------------
Program
 BEGIN
  call: printf :: type[none, ctx: 0]
   string: %-10s %-6s %-16s %s\n :: type[none, ctx: 0]
   string: TIME(ms) :: type[none, ctx: 0]
   string: PID :: type[none, ctx: 0]
   string: COMM :: type[none, ctx: 0]
   string: FUNC :: type[none, ctx: 0]
 uprobe:/lib/x86_64-linux-gnu/libpthread.so.0:pthread_create
  call: printf :: type[none, ctx: 0]
   string: %-10u %-6d %-16s %s\n :: type[none, ctx: 0]
   / :: type[none, ctx: 0]
    builtin: elapsed :: type[none, ctx: 0]
    int: 1000000 :: type[none, ctx: 0]
   builtin: pid :: type[none, ctx: 0]
   builtin: comm :: type[none, ctx: 0]
   call: usym :: type[none, ctx: 0]
    builtin: arg2 :: type[none, ctx: 0]

../../tools/threadsnoop.bt:19-21: ERROR: uprobe target file '/lib/x86_64-linux-gnu/libpthread.so.0' does not exist or is not executable
../../tools/vfscount.bt    passed
../../tools/vfsstat.bt    passed
../../tools/writeback.bt    passed
../../tools/xfsdist.bt    passed


0% tests passed, 3 tests failed out of 3

Total Test time (real) = 670.33 sec

The following tests FAILED:
          1 - bpftrace_test (Subprocess aborted)
          2 - runtime_test (Failed)
          3 - tools-parsing-test (Failed)
Errors while running CTest
make: *** [Makefile:74: test] Error 8
make: Leaving directory '/home/tkloczko/rpmbuild/BUILD/bpftrace-0.14.1/x86_64-redhat-linux-gnu'

kloczek avatar Dec 29 '21 19:12 kloczek

reduced your output to the relevant errors :)

I'll try to reproduce it on a fedora system.

We now have automatic library detection but the tools havent been migrated yet, so if a library path changes we run into these issues.

Same with kernel types, tools need updating

        Found: stdin:1:69-87: ERROR: Could not resolve symbol: testprogs/uprobe_test:GLOBAL_A\nuprobe:testprogs/uprobe_test:function1 { printf("0x%lx -- 0x%lx\\n", *uaddr("GLOBAL_A"), *uaddr("GLOBAL_C")); exit(); }\n                                                                    ~~~~~~~~~~~~~~~~~~\nstdin:1:89-107: ERROR: Could not resolve symbol: testprogs/uprobe_test:GLOBAL_C\nuprobe:testprogs/uprobe_test:function1 { printf("0x%lx -- 0x%lx\\n", *uaddr("GLOBAL_A"), *uaddr("GLOBAL_C")); exit(); }\n                                                                                        ~~~~~~~~~~~~~~~~~~\n

does look interesting, would have to dig into that

fbs avatar Dec 29 '21 21:12 fbs

If you want some other diagnostics results please let me know :)

kloczek avatar Dec 29 '21 21:12 kloczek

the Found: stdin:1:69-87: ERROR: Could not resolve symbol: testprogs/uprobe_test:GLOBAL_A, if you can manually verify the symbols in the prog that might be helpful. Wonder if they got compiled out somehow

fbs avatar Dec 29 '21 22:12 fbs

Quite possible that this symbol has been removed because I'm building bpftrace with LTO. Will try to make quick test of the build with disabled LTO.

kloczek avatar Dec 30 '21 00:12 kloczek

BTW I'm using one patch:

--- a/tools/bashreadline.bt     2018-10-30 23:30:06.000000000 +0100
+++ b/tools/bashreadline.bt     2018-11-10 18:05:57.201399223 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * bashreadline    Print entered bash commands from all running shells.
  *                 For Linux, uses bpftrace and eBPF.
--- a/tools/biolatency.bt       2018-10-30 23:30:06.000000000 +0100
+++ b/tools/biolatency.bt       2018-11-10 18:05:57.202399230 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * biolatency.bt       Block I/O latency as a histogram.
  *                     For Linux, uses bpftrace, eBPF.
--- a/tools/bitesize.bt 2018-10-30 23:30:06.000000000 +0100
+++ b/tools/bitesize.bt 2018-11-10 18:05:57.203399238 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * bitesize    Show disk I/O size as a histogram.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/capable.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/capable.bt  2018-11-10 18:05:57.203399238 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * capable     Trace security capabilitiy checks (cap_capable()).
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/cpuwalk.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/cpuwalk.bt  2018-11-10 18:05:57.204399245 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * cpuwalk     Sample which CPUs are executing processes.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/dcsnoop.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/dcsnoop.bt  2018-11-10 18:05:57.204399245 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * dcsnoop     Trace directory entry cache (dcache) lookups.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/execsnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/execsnoop.bt        2018-11-10 18:05:57.205399252 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * execsnoop.bt   Trace new processes via exec() syscalls.
  *                For Linux, uses bpftrace and eBPF.
--- a/tools/gethostlatency.bt   2018-10-30 23:30:06.000000000 +0100
+++ b/tools/gethostlatency.bt   2018-11-10 18:05:57.205399252 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * gethostlatency      Trace getaddrinfo/gethostbyname[2] calls.
  *                     For Linux, uses bpftrace and eBPF.
--- a/tools/killsnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/killsnoop.bt        2018-11-10 18:05:57.206399259 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * killsnoop   Trace signals issued by the kill() syscall.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/loads.bt    2018-10-30 23:30:06.000000000 +0100
+++ b/tools/loads.bt    2018-11-10 18:05:57.206399259 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * loads       Prints load averages.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/mdflush.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/mdflush.bt  2018-11-10 18:05:57.207399266 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * mdflush     Trace md flush events.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/oomkill.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/oomkill.bt  2018-11-10 18:05:57.207399266 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * oomkill     Trace OOM killer.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/opensnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/opensnoop.bt        2018-11-10 18:05:57.207399266 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * opensnoop   Trace open() syscalls.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/pidpersec.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/pidpersec.bt        2018-11-10 18:05:57.207399266 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * pidpersec   Count new procesess (via fork).
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/runqlat.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/runqlat.bt  2018-11-10 18:05:57.208399274 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * runqlat.bt  CPU scheduler run queue latency as a histogram.
  *             For Linux, uses bpftrace, eBPF.
--- a/tools/runqlen.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/runqlen.bt  2018-11-10 18:05:57.209399281 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * runqlen.bt  CPU scheduler run queue length as a histogram.
  *             For Linux, uses bpftrace, eBPF.
--- a/tools/statsnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/statsnoop.bt        2018-11-10 18:05:57.210399288 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * statsnoop   Trace stat() syscalls.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/syncsnoop.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/syncsnoop.bt        2018-11-10 18:05:57.210399288 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * syncsnoop   Trace sync() variety of syscalls.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/vfscount.bt 2018-10-30 23:30:06.000000000 +0100
+++ b/tools/vfscount.bt 2018-11-10 18:05:57.211399295 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * vfscount    Count VFS calls ("vfs_*").
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/vfsstat.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/vfsstat.bt  2018-11-10 18:05:57.211399295 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * vfsstat     Count some VFS calls, with per-second summaries.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/writeback.bt        2018-10-30 23:30:06.000000000 +0100
+++ b/tools/writeback.bt        2018-11-10 18:05:57.212399303 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * writeback   Trace file system writeback events with details.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/xfsdist.bt  2018-10-30 23:30:06.000000000 +0100
+++ b/tools/xfsdist.bt  2018-11-10 18:05:57.212399303 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * xfsdist     Summarize XFS operation latency.
  *             For Linux, uses bpftrace and eBPF.
--- a/tools/syscount.bt~        2021-04-02 11:12:59.000000000 +0100
+++ b/tools/syscount.bt 2021-04-02 12:41:21.863115475 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 /*
  * syscount.bt Count system calls.
  *             For Linux, uses bpftrace, eBPF.
--- a/tools/biosnoop.bt~        2021-04-02 11:12:59.000000000 +0100
+++ b/tools/biosnoop.bt 2021-04-02 12:41:52.240129237 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bpftrace
+#!/usr/bin/bpftrace
 #include <linux/blkdev.h>
 /*
  * biosnoop.bt   Block I/O tracing tool, showing per I/O latency.

I think that all those files can be renamed to *.in and than on all those files can be done sed 's,/usr/bin/env ,@CMAKE_INSTALL_BINDIR@/,

kloczek avatar Dec 30 '21 00:12 kloczek

[tkloczko@ss-desktop testprogs]$ objdump --sym uprobe_test

uprobe_test:     file format elf64-x86-64

SYMBOL TABLE:
0000000000000000 l    df *ABS*  0000000000000000              Scrt1.o
00000000000010b6 l       .text  0000000000000000              .hidden .annobin_abi_note.c
00000000000010b6 l       .text  0000000000000000              .hidden .annobin_abi_note.c_end
00000000000003ac l     O .note.ABI-tag  0000000000000020              __abi_tag
00000000000010b6 l       .text  0000000000000000              .hidden .annobin_init.c
00000000000010b6 l       .text  0000000000000000              .hidden .annobin_init.c_end
0000000000000000 l    df *ABS*  0000000000000000              crtbeginS.o
00000000000010c0 l     F .text  0000000000000000              deregister_tm_clones
00000000000010f0 l     F .text  0000000000000000              register_tm_clones
0000000000001130 l     F .text  0000000000000000              __do_global_dtors_aux
0000000000004000 l     O .bss   0000000000000001              completed.0
0000000000003da8 l     O .fini_array    0000000000000000              __do_global_dtors_aux_fini_array_entry
0000000000001170 l     F .text  0000000000000000              frame_dummy
0000000000003da0 l     O .init_array    0000000000000000              __frame_dummy_init_array_entry
0000000000000000 l    df *ABS*  0000000000000000              uprobe_test.c
0000000000001179 l       .text  0000000000000000              .hidden .annobin_function1.start
0000000000001192 l       .text  0000000000000000              .hidden .annobin_function1.end
0000000000001192 l       .text  0000000000000000              .hidden .annobin_function2.start
00000000000011a8 l       .text  0000000000000000              .hidden .annobin_function2.end
00000000000011a8 l       .text  0000000000000000              .hidden .annobin_main.start
0000000000001255 l       .text  0000000000000000              .hidden .annobin_main.end
0000000000000000 l    df *ABS*  0000000000000000              crtendS.o
0000000000002110 l     O .eh_frame      0000000000000000              __FRAME_END__
0000000000000000 l    df *ABS*  0000000000000000
0000000000003db8 l     O .dynamic       0000000000000000              _DYNAMIC
0000000000002000 l       .eh_frame_hdr  0000000000000000              __GNU_EH_FRAME_HDR
0000000000003fa8 l     O .got   0000000000000000              _GLOBAL_OFFSET_TABLE_
0000000000000000       F *UND*  0000000000000000              __libc_start_main@GLIBC_2.34
0000000000000000  w      *UND*  0000000000000000              _ITM_deregisterTMCloneTable
0000000000001179 g     F .text  0000000000000019              function1
0000000000004000 g       .bss   0000000000000000              _edata
0000000000001258 g     F .fini  0000000000000000              .hidden _fini
0000000000000000       F *UND*  0000000000000000              __stack_chk_fail@GLIBC_2.4
0000000000000000  w      *UND*  0000000000000000              __gmon_start__
0000000000003db0 g     O .data.rel.ro   0000000000000000              .hidden __dso_handle
0000000000004008 g       .bss   0000000000000000              _end
0000000000001090 g     F .text  0000000000000026              _start
0000000000001192 g     F .text  0000000000000016              function2
0000000000004000 g       .bss   0000000000000000              __bss_start
00000000000011a8 g     F .text  00000000000000ad              main
0000000000004000 g     O .got   0000000000000000              .hidden __TMC_END__
0000000000000000  w      *UND*  0000000000000000              _ITM_registerTMCloneTable
0000000000000000  w    F *UND*  0000000000000000              __cxa_finalize@GLIBC_2.2.5
0000000000001000 g     F .init  0000000000000000              .hidden _init
0000000000000000       F *UND*  0000000000000000              usleep@GLIBC_2.2.5


[tkloczko@ss-desktop testprogs]$ objdump --sym uprobe_test | grep GLOBAL
0000000000003fa8 l     O .got   0000000000000000              _GLOBAL_OFFSET_TABLE_

kloczek avatar Dec 30 '21 01:12 kloczek

With or without LTO test suite seems like fails the same way.

kloczek avatar Dec 30 '21 01:12 kloczek

Seems like the symbols got compiled/stripped out for some reason, in the ubuntu box:

$ objdump --sym tests/testprogs/uprobe_test  |grep GLOB
0000000000404000 l     O .got.plt	0000000000000000              _GLOBAL_OFFSET_TABLE_
0000000000404040 g     O .data	0000000000000004              GLOBAL_C
0000000000404038 g     O .data	0000000000000004              GLOBAL_A
0000000000404044 g     O .data	0000000000000001              GLOBAL_D
000000000040403c g     O .data	0000000000000004              GLOBAL_B

We try to disable all compiler stuff that can cause this:

  set_target_properties(${bin_name} PROPERTIES LINK_SEARCH_START_STATIC FALSE LINK_SEARCH_END_STATIC FALSE RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/testprogs/ COMPILE_FLAGS "-g -O0" LINK_FLAGS "-no-pie")

But maybe one of the rpm flags that interfere with this? This test has been there for a while and hasn't changed between 0.14.0 and 0.14.1

fbs avatar Dec 30 '21 20:12 fbs

This is actual set of env variables with flags which I'm using by default.

[tkloczko@ss-desktop SPECS]$ rpm -E %set_build_flags

CFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none";
CXXFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none";
FFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules";
FCFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules";
LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1";
CC="/usr/bin/gcc"; CXX="/usr/bin/g++"; FC="/usr/bin/gfortran";
AR="/usr/bin/gcc-ar"; NM="/usr/bin/gcc-nm"; RANLIB="/usr/bin/gcc-ranlib";
export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB;

kloczek avatar Dec 30 '21 22:12 kloczek

Closing as stale, 0.14.1 is out-of-date.

viktormalik avatar Jan 05 '23 10:01 viktormalik