gz-transport icon indicating copy to clipboard operation
gz-transport copied to clipboard

Windows test failures not caught by CI

Open chapulina opened this issue 2 years ago • 0 comments

Environment

  • OS Version: Windows
  • Source or binary build? source

Description

  • Expected behavior: Tests pass. And if they don't pass, CI is red.
  • Actual behavior: Tests fail, and CI is green.

Steps to reproduce

  1. Run Windows CI on Jenkins
  2. See how it says on the front page that there are no test failures
  3. See on the logs that there were indeed failures

Output

      Start 85: ign_log_record_no_overwrite

85: Test command: C:\Ruby30-x64\bin\ruby.exe "C:/Jenkins/workspace/ign_transport-ci-win/ws/ign-transport/log/test/integration/ign_log_record_no_overwrite.rb"
85: Environment variables: 
85:  IGN_CONFIG_PATH=C:/Jenkins/workspace/ign_transport-ci-win/ws/build/ignition-transport12/log/test/lib/ruby/ignition
85:  IGN_TRANSPORT_LOG_SQL_PATH=C:/Jenkins/workspace/ign_transport-ci-win/ws/ign-transport/log/sql
85: Test timeout computed to be: 10
85: C:/Jenkins/workspace/ign_transport-ci-win/ws/ign-transport/log/test/integration/ign_log_record_no_overwrite.rb:33:in `<main>': undefined method `zero?' for nil:NilClass (NoMethodError)
85: -----stdout-----
85: I cannot find any available 'ign' command:
85: 	* Did you install any ignition library?
85: 	* Did you set the IGN_CONFIG_PATH environment variable?
85: 	    E.g.: export IGN_CONFIG_PATH=$HOME/local/share/ignition
85: -----stderr-----
85: 
85: -----status-----
85: pid 10024 SIGSEGV (signal 11)
85/86 Test #85: ign_log_record_no_overwrite ............................***Failed    0.38 sec
test 86
      Start 86: ign_log_record_force

86: Test command: C:\Ruby30-x64\bin\ruby.exe "C:/Jenkins/workspace/ign_transport-ci-win/ws/ign-transport/log/test/integration/ign_log_record_force.rb"
86: Environment variables: 
86:  IGN_CONFIG_PATH=C:/Jenkins/workspace/ign_transport-ci-win/ws/build/ignition-transport12/log/test/lib/ruby/ignition
86:  IGN_TRANSPORT_LOG_SQL_PATH=C:/Jenkins/workspace/ign_transport-ci-win/ws/ign-transport/log/sql
86: Test timeout computed to be: 10
86: -----stdout-----
86: I cannot find any available 'ign' command:
86: 	* Did you install any ignition library?
86: 	* Did you set the IGN_CONFIG_PATH environment variable?
86: 	    E.g.: export IGN_CONFIG_PATH=$HOME/local/share/ignition
86: -----stderr-----
86: 
86: -----status-----
86: pid 1112 SIGSEGV (signal 11)
86/86 Test #86: ign_log_record_force ...................................***Failed    2.14 sec

https://build.osrfoundation.org/job/ign_transport-ci-win/19/consoleFull

chapulina avatar Apr 14 '22 03:04 chapulina