- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.4k
 
Open
Labels
waiting-for-userSimilar to "moreinfo", but especially need feedback from userSimilar to "moreinfo", but especially need feedback from user
Description
Describe the bug
none
To Reproduce
1、spack install [email protected] [email protected]
2、cd [email protected]
3、bundle exec rake test TEST=test/test_*.rb
Expected behavior
pass
Your Environment
1、cat /etc/os-release
NAME="openEuler"
VERSION="24.03 (LTS-SP2)"
ID="openEuler"
VERSION_ID="24.03"
PRETTY_NAME="openEuler 24.03 (LTS-SP2)"
ANSI_COLOR="0;31"
2、gcc_version:gcc@12.3.0
3、kernel:6.6.0-98.0.0.103.oe2403sp2.aarch64Your Configuration
noneYour Error Log
bundle exec rake test TEST=test/test_*.rb
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
test_file_util.rb for non-root user env. Disable this test on root environment
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/ruby-3.0.0-j7rzrzz5gptnsy2rdkmi437lfuqwadsb/bin/ruby -w -I"lib:test" -Eascii-8bit:ascii-8bit /home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/rake-13.3.0/lib/rake/rake_test_loader.rb "test/test_capability.rb" "test/test_clock.rb" "test/test_config.rb" "test/test_configdsl.rb" "test/test_daemonizer.rb" "test/test_engine.rb" "test/test_event.rb" "test/test_event_router.rb" "test/test_event_time.rb" "test/test_file_wrapper.rb" "test/test_filter.rb" "test/test_fluent_log_event_router.rb" "test/test_formatter.rb" "test/test_input.rb" "test/test_log.rb" "test/test_match.rb" "test/test_mixin.rb" "test/test_msgpack_factory.rb" "test/test_oj_options.rb" "test/test_output.rb" "test/test_plugin.rb" "test/test_plugin_classes.rb" "test/test_plugin_helper.rb" "test/test_plugin_id.rb" "test/test_process.rb" "test/test_root_agent.rb" "test/test_source_only_buffer_agent.rb" "test/test_static_config_analysis.rb" "test/test_supervisor.rb" "test/test_test_drivers.rb" "test/test_time_formatter.rb" "test/test_time_parser.rb" "test/test_tls.rb" "test/test_unique_id.rb" "test/test_variable_store.rb"
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/lib/fluent/plugin_helper.rb:46: warning: method redefined; discarding old inherited
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/lib/fluent/plugin_helper.rb:46: warning: previous definition of inherited was here
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:746: warning: assigned but unused variable - logger
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:767: warning: assigned but unused variable - logger
Loaded suite /home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/rake-13.3.0/lib/rake/rake_test_loader
Started
O
================================================================================================================================================================================================
Omission: chmod of file does not affetct root user [test: raise an error when directory is not writable(DaemonizerTest::when pid file already exists)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_daemonizer.rb:78:in `block (2 levels) in <class:DaemonizerTest>'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: chmod of file does not affetct root user [test: raise an error when file is not redable(DaemonizerTest::when pid file already exists)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_daemonizer.rb:52:in `block (2 levels) in <class:DaemonizerTest>'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: chmod of file does not affetct root user [test: raise an error when file is not writable(DaemonizerTest::when pid file already exists)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_daemonizer.rb:65:in `block (2 levels) in <class:DaemonizerTest>'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: chmod of file does not affetct root user [test: raise an error when process is running(DaemonizerTest::when pid file already exists)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_daemonizer.rb:39:in `block (2 levels) in <class:DaemonizerTest>'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Fluent::Capability class is not usable on this environment [test: effective(FluentCapabilityTest::check capability)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_capability.rb:8:in `block in <class:FluentCapabilityTest>'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Fluent::Capability class is not usable on this environment [test: effective/inheritable/permitted(FluentCapabilityTest::check capability)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_capability.rb:8:in `block in <class:FluentCapabilityTest>'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Fluent::Capability class is not usable on this environment [test: inheritable(FluentCapabilityTest::check capability)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_capability.rb:8:in `block in <class:FluentCapabilityTest>'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Fluent::Capability class is not usable on this environment [test: permitted(FluentCapabilityTest::check capability)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_capability.rb:8:in `block in <class:FluentCapabilityTest>'
================================================================================================================================================================================================
F
================================================================================================================================================================================================
Failure: test_cont_in_main_process_signal_handlers(SupervisorTest):
  class()
  Called 0 times.
  Expected 1 times.
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/sigdump-0.2.5/lib/sigdump.rb:76:in `block in dump_object_count'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/sigdump-0.2.5/lib/sigdump.rb:75:in `each_object'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/sigdump-0.2.5/lib/sigdump.rb:75:in `dump_object_count'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/sigdump-0.2.5/lib/sigdump.rb:18:in `block in dump'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/sigdump-0.2.5/lib/sigdump.rb:138:in `open'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/sigdump-0.2.5/lib/sigdump.rb:138:in `_open_dump_path'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/sigdump-0.2.5/lib/sigdump.rb:14:in `dump'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/lib/fluent/supervisor.rb:1096:in `dump_non_windows'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/lib/fluent/supervisor.rb:996:in `block in install_main_process_signal_handlers'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:270:in `kill'
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:270:in `test_cont_in_main_process_signal_handlers'
     267:     sv = Fluent::Supervisor.new({})
     268:     sv.send(:install_main_process_signal_handlers)
     269:
  => 270:     Process.kill :CONT, Process.pid
     271:
     272:     sleep 1
     273:
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Only for Windows, alternative to UNIX signals [test_main_process_command_handlers(SupervisorTest)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:322:in `test_main_process_command_handlers'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Only for windows platform [test_rpc_server_windows[ipv4](SupervisorTest)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:579:in `test_rpc_server_windows'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Only for windows platform [test_rpc_server_windows[ipv6](SupervisorTest)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:579:in `test_rpc_server_windows'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Only for windows platform [test_rpc_server_windows[localhost_ipv4](SupervisorTest)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:579:in `test_rpc_server_windows'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Only for Windows, alternative to UNIX signals [test_supervisor_event_dump_windows(SupervisorTest)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:479:in `test_supervisor_event_dump_windows'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Only for Windows, alternative to UNIX signals [test_supervisor_event_handler(SupervisorTest)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:444:in `test_supervisor_event_handler'
================================================================================================================================================================================================
O
================================================================================================================================================================================================
Omission: Only for Windows platform [test_windows_shutdown_event(SupervisorTest)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:414:in `test_windows_shutdown_event'
================================================================================================================================================================================================
2025-10-24 16:25:43 +0800 [info]: #0 init worker0 logger path=nil rotate_age=5 rotate_size=nil
O
================================================================================================================================================================================================
Omission: Only for Windows. [test_files_for_each_process_with_rotate_on_windows(SupervisorTest::init logger)]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_supervisor.rb:831:in `test_files_for_each_process_with_rotate_on_windows'
================================================================================================================================================================================================
/#<Thread:0x0000aaaaec6b6088@input_thread_for_test_driver_test /home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/lib/fluent/plugin_helper/thread.rb:70 run> terminated with exception (report_on_exception is true):
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/test/test_test_drivers.rb:88:in `block in start': yaaaaaaaaaay! (RuntimeError)
        from /home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
Finished in 60.850291533 seconds.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
666 tests, 1471 assertions, 1 failures, 0 errors, 0 pendings, 16 omissions, 0 notifications
99.8462% passed
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10.94 tests/s, 24.17 assertions/s
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" -Eascii-8bit:ascii-8bit /home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/rake-13.3.0/lib/rake/rake_test_loader.rb "test/test_capability.rb" "test/test_clock.rb" "test/test_config.rb" "test/test_configdsl.rb" "test/test_daemonizer.rb" "test/test_engine.rb" "test/test_event.rb" "test/test_event_router.rb" "test/test_event_time.rb" "test/test_file_wrapper.rb" "test/test_filter.rb" "test/test_fluent_log_event_router.rb" "test/test_formatter.rb" "test/test_input.rb" "test/test_log.rb" "test/test_match.rb" "test/test_mixin.rb" "test/test_msgpack_factory.rb" "test/test_oj_options.rb" "test/test_output.rb" "test/test_plugin.rb" "test/test_plugin_classes.rb" "test/test_plugin_helper.rb" "test/test_plugin_id.rb" "test/test_process.rb" "test/test_root_agent.rb" "test/test_source_only_buffer_agent.rb" "test/test_static_config_analysis.rb" "test/test_supervisor.rb" "test/test_test_drivers.rb" "test/test_time_formatter.rb" "test/test_time_parser.rb" "test/test_tls.rb" "test/test_unique_id.rb" "test/test_variable_store.rb" ]
/home/stage/root/spack-stage-fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/spack-src/vendor/bundle/ruby/3.0.0/gems/rake-13.3.0/exe/rake:27:in `<top (required)>'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/cli/exec.rb:58:in `load'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/cli/exec.rb:58:in `kernel_load'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/cli/exec.rb:23:in `run'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/cli.rb:456:in `exec'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/cli.rb:35:in `dispatch'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/cli.rb:29:in `start'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/exe/bundle:28:in `block in <top (required)>'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/fluentd-1.18.0-qkg4klr5ndpia436nt4dony6gayx4oq2/gems/bundler-2.5.23/exe/bundle:20:in `<top (required)>'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/ruby-3.0.0-j7rzrzz5gptnsy2rdkmi437lfuqwadsb/bin/bundle:23:in `load'
/home/spack/opt/spack/linux-openeuler24-aarch64/gcc-12.3.1/ruby-3.0.0-j7rzrzz5gptnsy2rdkmi437lfuqwadsb/bin/bundle:23:in `<main>'
Tasks: TOP => test => base_test
(See full trace by running task with --trace)Additional context
No response
Metadata
Metadata
Assignees
Labels
waiting-for-userSimilar to "moreinfo", but especially need feedback from userSimilar to "moreinfo", but especially need feedback from user
Type
Projects
Status
No status