FailedConsole Output

Started by an SCM change
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/Betaflight
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/betaflight/betaflight.git # timeout=10
Fetching upstream changes from https://github.com/betaflight/betaflight.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/betaflight/betaflight.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 87adab2faccb44fa2f1675aeb2845746161fcd3e (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 87adab2faccb44fa2f1675aeb2845746161fcd3e
Commit message: "Merge pull request #10080 from haslinghuis/british_osd_units"
 > git rev-list --no-walk da9bb85843fad8de99ab2dcc87bba72aa5f581a2 # timeout=10
[Betaflight] $ /bin/bash -xe /tmp/jenkins8852422643679930054.sh
+ rm -rf obj
[Betaflight] $ /usr/share/nsiq/nsiqcollector --csv -i -l /var/jenkins_home/workspace/Betaflight/loc.csv -c /var/jenkins_home/workspace/Betaflight/complexity.csv /var/jenkins_home/workspace/Betaflight/src/main
============================ Analyzing main ===============================

Filter Scope "default" is applied.
Current Filter Setting (Following is applied sequentially)
/.svn/ is excluded
/.cvs/ is excluded
//target/ is excluded

Current File extension and Language Settings
 JSP/PHP=jsp,php,
 C/C++=cpp,cxx,c,h,hxx,hpp,
 Html=htm,html,
 Java=java,
 JavaScript/ActionScript=as,js,


============================= Summary Report ==============================
 Product LOC - only apply filefilter.txt
 ** Total File Count       : 803
 ** Total LOC      : 177228
 ** Total Code LOC : 115284

 Delta LOC - apply both filefilter.txt and basefilelist.txt
 ** Total File Count : 803
 ** Total LOC        : 177228
 ** Total Code LOC   : 115284

 Delta Complexity - apply both filefilter.txt and basefilelist.txt
 ** Total Delta Function Count : 5094
 ** Delta Over 10 Complexity Function Rate: 334 (6.56%)
 ** Delta Over 30 Complexity Function Rate: 41 (0.80%)


 LOC Distribution Per Lang
                Lang C/C++          
  Product File Count 803            
          LOC        177228         
          Code LOC   115284         
  Delta   File Count 803            
          LOC        177228         
          Code LOC   115284         

File analysis report is saved in /var/jenkins_home/workspace/Betaflight/loc.csv

Complexity analysis report is saved in /var/jenkins_home/workspace/Betaflight/complexity.csv

[Betaflight] $ /bin/bash -xe /tmp/jenkins3924997471155852742.sh
+ /usr/share/pmd/bin/run.sh cpd --minimum-tokens 100 --files src/main --language cpp --format xml
/tmp/jenkins3924997471155852742.sh: line 2: build/cpd.xml: Permission denied
+ exit 0
[Betaflight] $ /usr/share/nsiq/nsiqcollector --csv -i -l /var/jenkins_home/workspace/Betaflight/loc.csv -c /var/jenkins_home/workspace/Betaflight/complexity.csv /var/jenkins_home/workspace/Betaflight/src/main
============================ Analyzing main ===============================

Filter Scope "default" is applied.
Current Filter Setting (Following is applied sequentially)
/.svn/ is excluded
/.cvs/ is excluded
//target/ is excluded

Current File extension and Language Settings
 JSP/PHP=jsp,php,
 C/C++=cpp,cxx,c,h,hxx,hpp,
 Html=htm,html,
 Java=java,
 JavaScript/ActionScript=as,js,


============================= Summary Report ==============================
 Product LOC - only apply filefilter.txt
 ** Total File Count       : 803
 ** Total LOC      : 177228
 ** Total Code LOC : 115284

 Delta LOC - apply both filefilter.txt and basefilelist.txt
 ** Total File Count : 803
 ** Total LOC        : 177228
 ** Total Code LOC   : 115284

 Delta Complexity - apply both filefilter.txt and basefilelist.txt
 ** Total Delta Function Count : 5094
 ** Delta Over 10 Complexity Function Rate: 334 (6.56%)
 ** Delta Over 30 Complexity Function Rate: 41 (0.80%)


 LOC Distribution Per Lang
                Lang C/C++          
  Product File Count 803            
          LOC        177228         
          Code LOC   115284         
  Delta   File Count 803            
          LOC        177228         
          Code LOC   115284         

File analysis report is saved in /var/jenkins_home/workspace/Betaflight/loc.csv

Complexity analysis report is saved in /var/jenkins_home/workspace/Betaflight/complexity.csv

[Betaflight] $ /bin/bash -xe /tmp/jenkins5388201755784438689.sh
+ make arm_sdk_install
make: Nothing to be done for 'arm_sdk_install'.
[Betaflight] $ /bin/bash -xe /tmp/jenkins2591142029208863974.sh
+ export CC=clang
+ CC=clang
+ export CXX=clang++
+ CXX=clang++
+ make junittest
cd src/test && make junittest
make[1]: Entering directory '/var/jenkins_home/workspace/Betaflight/src/test'
compiling ../main/sensors/boardalignment.c 
compiling ../main/common/sensor_alignment.c 
compiling ../main/common/maths.c 
compiling unit/alignsensor_unittest.cc 
compiling ../../obj/test/gtest-all.o 
compiling ../../obj/test/gtest_main.o 
linking ../../obj/test/gtest_main.a 
ar: creating ../../obj/test/gtest_main.a
a - ../../obj/test/gtest-all.o
a - ../../obj/test/gtest_main.o
linking ../../obj/test/alignsensor_unittest/alignsensor_unittest 
Running main() from gtest_main.cc
[==========] Running 12 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 12 tests from AlignSensorTest
[ RUN      ] AlignSensorTest.ClockwiseZeroDegrees
[       OK ] AlignSensorTest.ClockwiseZeroDegrees (1 ms)
[ RUN      ] AlignSensorTest.ClockwiseNinetyDegrees
[       OK ] AlignSensorTest.ClockwiseNinetyDegrees (0 ms)
[ RUN      ] AlignSensorTest.ClockwiseOneEightyDegrees
[       OK ] AlignSensorTest.ClockwiseOneEightyDegrees (0 ms)
[ RUN      ] AlignSensorTest.ClockwiseTwoSeventyDegrees
[       OK ] AlignSensorTest.ClockwiseTwoSeventyDegrees (0 ms)
[ RUN      ] AlignSensorTest.ClockwiseZeroDegreesFlip
[       OK ] AlignSensorTest.ClockwiseZeroDegreesFlip (0 ms)
[ RUN      ] AlignSensorTest.ClockwiseNinetyDegreesFlip
[       OK ] AlignSensorTest.ClockwiseNinetyDegreesFlip (0 ms)
[ RUN      ] AlignSensorTest.ClockwiseOneEightyDegreesFlip
[       OK ] AlignSensorTest.ClockwiseOneEightyDegreesFlip (0 ms)
[ RUN      ] AlignSensorTest.ClockwiseTwoSeventyDegreesFlip
[       OK ] AlignSensorTest.ClockwiseTwoSeventyDegreesFlip (0 ms)
[ RUN      ] AlignSensorTest.AttemptBuildAlignmentWithStandardAlignment
[       OK ] AlignSensorTest.AttemptBuildAlignmentWithStandardAlignment (0 ms)
[ RUN      ] AlignSensorTest.AttemptBuildAlignmentFromCustomAlignment
[       OK ] AlignSensorTest.AttemptBuildAlignmentFromCustomAlignment (0 ms)
[ RUN      ] AlignSensorTest.AttemptBuildAlignmentFromDefaultAlignment
[       OK ] AlignSensorTest.AttemptBuildAlignmentFromDefaultAlignment (0 ms)
[ RUN      ] AlignSensorTest.AlignmentBitmasks
[       OK ] AlignSensorTest.AlignmentBitmasks (0 ms)
[----------] 12 tests from AlignSensorTest (1 ms total)

[----------] Global test environment tear-down
[==========] 12 tests from 1 test case ran. (1 ms total)
[  PASSED  ] 12 tests.
running test_alignsensor_unittest: PASS
compiling ../main/fc/core.c 
compiling ../main/fc/dispatch.c 
compiling ../main/fc/rc_controls.c 
compiling ../main/fc/rc_modes.c 
compiling ../main/fc/runtime_config.c 
compiling ../main/flight/gps_rescue.c 
compiling ../main/common/bitarray.c 
compiling unit/arming_prevention_unittest.cc 
linking ../../obj/test/arming_prevention_unittest/arming_prevention_unittest 
Running main() from gtest_main.cc
[==========] Running 11 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 11 tests from ArmingPreventionTest
[ RUN      ] ArmingPreventionTest.CalibrationPowerOnGraceAngleThrottleArmSwitch
[       OK ] ArmingPreventionTest.CalibrationPowerOnGraceAngleThrottleArmSwitch (0 ms)
[ RUN      ] ArmingPreventionTest.ArmingGuardRadioLeftOnAndArmed
[       OK ] ArmingPreventionTest.ArmingGuardRadioLeftOnAndArmed (0 ms)
[ RUN      ] ArmingPreventionTest.Prearm
[       OK ] ArmingPreventionTest.Prearm (0 ms)
[ RUN      ] ArmingPreventionTest.RadioTurnedOnAtAnyTimeArmed
[       OK ] ArmingPreventionTest.RadioTurnedOnAtAnyTimeArmed (0 ms)
[ RUN      ] ArmingPreventionTest.In3DModeAllowArmingWhenEnteringThrottleDeadband
[       OK ] ArmingPreventionTest.In3DModeAllowArmingWhenEnteringThrottleDeadband (0 ms)
[ RUN      ] ArmingPreventionTest.When3DModeDisabledThenNormalThrottleArmingConditionApplies
[       OK ] ArmingPreventionTest.When3DModeDisabledThenNormalThrottleArmingConditionApplies (0 ms)
[ RUN      ] ArmingPreventionTest.WhenUsingSwitched3DModeThenNormalThrottleArmingConditionApplies
[       OK ] ArmingPreventionTest.WhenUsingSwitched3DModeThenNormalThrottleArmingConditionApplies (0 ms)
[ RUN      ] ArmingPreventionTest.GPSRescueWithoutFixPreventsArm
[       OK ] ArmingPreventionTest.GPSRescueWithoutFixPreventsArm (0 ms)
[ RUN      ] ArmingPreventionTest.GPSRescueSwitchPreventsArm
[       OK ] ArmingPreventionTest.GPSRescueSwitchPreventsArm (0 ms)
[ RUN      ] ArmingPreventionTest.ParalyzeOnAtBoot
[       OK ] ArmingPreventionTest.ParalyzeOnAtBoot (0 ms)
[ RUN      ] ArmingPreventionTest.Paralyze
[       OK ] ArmingPreventionTest.Paralyze (0 ms)
[----------] 11 tests from ArmingPreventionTest (0 ms total)

[----------] Global test environment tear-down
[==========] 11 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 11 tests.
running test_arming_prevention_unittest: PASS
compiling ../main/build/atomic.c 
compiling test c file: unit/atomic_unittest_c.c 
compiling unit/atomic_unittest.cc 
linking ../../obj/test/atomic_unittest/atomic_unittest 
Running main() from gtest_main.cc
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from AtomicUnittest
[ RUN      ] AtomicUnittest.TestAtomicBlock
[       OK ] AtomicUnittest.TestAtomicBlock (0 ms)
[ RUN      ] AtomicUnittest.TestAtomicBlockNB
[       OK ] AtomicUnittest.TestAtomicBlockNB (0 ms)
[ RUN      ] AtomicUnittest.TestAtomicBarrier
[       OK ] AtomicUnittest.TestAtomicBarrier (0 ms)
[----------] 3 tests from AtomicUnittest (0 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 3 tests.
running test_atomic_unittest: PASS
compiling ../main/drivers/barometer/barometer_bmp280.c 
compiling unit/baro_bmp280_unittest.cc 
linking ../../obj/test/baro_bmp280_unittest/baro_bmp280_unittest 
Running main() from gtest_main.cc
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from baroBmp280Test
[ RUN      ] baroBmp280Test.TestBmp280Calculate
[       OK ] baroBmp280Test.TestBmp280Calculate (0 ms)
[ RUN      ] baroBmp280Test.TestBmp280CalculateHighP
[       OK ] baroBmp280Test.TestBmp280CalculateHighP (0 ms)
[ RUN      ] baroBmp280Test.TestBmp280CalculateZeroP
[       OK ] baroBmp280Test.TestBmp280CalculateZeroP (0 ms)
[----------] 3 tests from baroBmp280Test (0 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 3 tests.
running test_baro_bmp280_unittest: PASS
compiling ../main/common/maths.c 
compiling ../main/drivers/barometer/barometer_bmp388.c 
compiling unit/baro_bmp388_unittest.cc 
linking ../../obj/test/baro_bmp388_unittest/baro_bmp388_unittest 
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from baroBmp388Test
[ RUN      ] baroBmp388Test.TestBmp388CalculateWithZeroCalibration
[       OK ] baroBmp388Test.TestBmp388CalculateWithZeroCalibration (0 ms)
[ RUN      ] baroBmp388Test.TestBmp388CalculateWithSampleCalibration
[       OK ] baroBmp388Test.TestBmp388CalculateWithSampleCalibration (0 ms)
[----------] 2 tests from baroBmp388Test (0 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 2 tests.
running test_baro_bmp388_unittest: PASS
compiling ../main/drivers/barometer/barometer_ms5611.c 
compiling unit/baro_ms5611_unittest.cc 
linking ../../obj/test/baro_ms5611_unittest/baro_ms5611_unittest 
Running main() from gtest_main.cc
[==========] Running 7 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 7 tests from baroMS5611Test
[ RUN      ] baroMS5611Test.TestValidMs5611Crc
[       OK ] baroMS5611Test.TestValidMs5611Crc (0 ms)
[ RUN      ] baroMS5611Test.TestInvalidMs5611Crc
[       OK ] baroMS5611Test.TestInvalidMs5611Crc (0 ms)
[ RUN      ] baroMS5611Test.TestMs5611AllZeroProm
[       OK ] baroMS5611Test.TestMs5611AllZeroProm (0 ms)
[ RUN      ] baroMS5611Test.TestMs5611AllOnesProm
[       OK ] baroMS5611Test.TestMs5611AllOnesProm (0 ms)
[ RUN      ] baroMS5611Test.TestMs5611CalculatePressureGT20Deg
[       OK ] baroMS5611Test.TestMs5611CalculatePressureGT20Deg (0 ms)
[ RUN      ] baroMS5611Test.TestMs5611CalculatePressureLT20Deg
[       OK ] baroMS5611Test.TestMs5611CalculatePressureLT20Deg (0 ms)
[ RUN      ] baroMS5611Test.TestMs5611CalculatePressureLTMinus15Deg
[       OK ] baroMS5611Test.TestMs5611CalculatePressureLTMinus15Deg (0 ms)
[----------] 7 tests from baroMS5611Test (0 ms total)

[----------] Global test environment tear-down
[==========] 7 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 7 tests.
running test_baro_ms5611_unittest: PASS
compiling ../main/blackbox/blackbox_encoding.c 
compiling ../main/common/encoding.c 
compiling ../main/common/printf.c 
compiling ../main/common/typeconversion.c 
compiling unit/blackbox_encoding_unittest.cc 
linking ../../obj/test/blackbox_encoding_unittest/blackbox_encoding_unittest 
Running main() from gtest_main.cc
[==========] Running 4 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 1 test from BlackboxEncodingTest
[ RUN      ] BlackboxEncodingTest.TestWriteUnsignedVB
[       OK ] BlackboxEncodingTest.TestWriteUnsignedVB (0 ms)
[----------] 1 test from BlackboxEncodingTest (0 ms total)

[----------] 3 tests from BlackboxTest
[ RUN      ] BlackboxTest.TestWriteTag2_3SVariable_BITS2
[       OK ] BlackboxTest.TestWriteTag2_3SVariable_BITS2 (0 ms)
[ RUN      ] BlackboxTest.TestWriteTag2_3SVariable_BITS554
[       OK ] BlackboxTest.TestWriteTag2_3SVariable_BITS554 (0 ms)
[ RUN      ] BlackboxTest.TestWriteTag2_3SVariable_BITS887
[       OK ] BlackboxTest.TestWriteTag2_3SVariable_BITS887 (0 ms)
[----------] 3 tests from BlackboxTest (0 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 2 test cases ran. (0 ms total)
[  PASSED  ] 4 tests.
running test_blackbox_encoding_unittest: PASS
compiling ../main/blackbox/blackbox.c 
compiling ../main/blackbox/blackbox_encoding.c 
compiling ../main/blackbox/blackbox_io.c 
compiling ../main/common/encoding.c 
compiling ../main/common/printf.c 
compiling ../main/common/maths.c 
compiling ../main/common/typeconversion.c 
compiling ../main/drivers/accgyro/gyro_sync.c 
compiling unit/blackbox_unittest.cc 
linking ../../obj/test/blackbox_unittest/blackbox_unittest 
Running main() from gtest_main.cc
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from BlackboxTest
[ RUN      ] BlackboxTest.TestInitIntervals
[       OK ] BlackboxTest.TestInitIntervals (0 ms)
[ RUN      ] BlackboxTest.Test_500Hz
[       OK ] BlackboxTest.Test_500Hz (0 ms)
[ RUN      ] BlackboxTest.Test_1kHz
[       OK ] BlackboxTest.Test_1kHz (0 ms)
[ RUN      ] BlackboxTest.Test_2kHz
[       OK ] BlackboxTest.Test_2kHz (0 ms)
[ RUN      ] BlackboxTest.Test_8kHz
[       OK ] BlackboxTest.Test_8kHz (0 ms)
[ RUN      ] BlackboxTest.Test_zero_p_interval
[       OK ] BlackboxTest.Test_zero_p_interval (0 ms)
[ RUN      ] BlackboxTest.Test_CalculatePDenom
[       OK ] BlackboxTest.Test_CalculatePDenom (0 ms)
[ RUN      ] BlackboxTest.Test_CalculateRates
[       OK ] BlackboxTest.Test_CalculateRates (0 ms)
[----------] 8 tests from BlackboxTest (0 ms total)

[----------] Global test environment tear-down
[==========] 8 tests from 1 test case ran. (1 ms total)
[  PASSED  ] 8 tests.
running test_blackbox_unittest: PASS
compiling ../main/cli/cli.c 
compiling ../main/common/printf.c 
compiling ../main/config/feature.c 
compiling ../main/pg/pg.c 
compiling ../main/common/typeconversion.c 
compiling unit/cli_unittest.cc 
linking ../../obj/test/cli_unittest/cli_unittest 
Running main() from gtest_main.cc
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from CLIUnittest
[ RUN      ] CLIUnittest.TestCliSetArray

===============================
data[0] = 123
data[1] = -3
data[2] = 1

===============================
[       OK ] CLIUnittest.TestCliSetArray (1 ms)
[ RUN      ] CLIUnittest.TestCliSetStringNoFlags

===============================
data[0] = 83 (S)
data[1] = 65 (A)
data[2] = 77 (M)
data[3] = 80 (P)
data[4] = 76 (L)
data[5] = 69 (E)

===============================
[       OK ] CLIUnittest.TestCliSetStringNoFlags (0 ms)
[ RUN      ] CLIUnittest.TestCliSetStringWriteOnce

===============================
data[0] = 83 (S)
data[1] = 65 (A)
data[2] = 77 (M)
data[3] = 80 (P)
data[4] = 76 (L)
data[5] = 69 (E)

===============================

[       OK ] CLIUnittest.TestCliSetStringWriteOnce (0 ms)
[----------] 3 tests from CLIUnittest (1 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (1 ms total)
[  PASSED  ] 3 tests.
running test_cli_unittest: PASS
compiling ../main/cms/cms.c 
compiling ../main/cms/cms_menu_saveexit.c 
compiling ../main/common/typeconversion.c 
compiling ../main/drivers/display.c 
compiling unit/cms_unittest.cc 
linking ../../obj/test/cms_unittest/cms_unittest 
Running main() from gtest_main.cc
[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 6 tests from CMSUnittest
[ RUN      ] CMSUnittest.TestCmsDisplayPortRegister
[       OK ] CMSUnittest.TestCmsDisplayPortRegister (0 ms)
[ RUN      ] CMSUnittest.TestCmsMenuOpen
[       OK ] CMSUnittest.TestCmsMenuOpen (0 ms)
[ RUN      ] CMSUnittest.TestCmsMenuExit0
[       OK ] CMSUnittest.TestCmsMenuExit0 (0 ms)
[ RUN      ] CMSUnittest.TestCmsMenuExit1
[       OK ] CMSUnittest.TestCmsMenuExit1 (0 ms)
[ RUN      ] CMSUnittest.TestCmsMenuBack
[       OK ] CMSUnittest.TestCmsMenuBack (0 ms)
[ RUN      ] CMSUnittest.TestCmsMenuKey
[       OK ] CMSUnittest.TestCmsMenuKey (0 ms)
[----------] 6 tests from CMSUnittest (0 ms total)

[----------] Global test environment tear-down
[==========] 6 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 6 tests.
running test_cms_unittest: PASS
compiling ../main/common/filter.c 
compiling ../main/common/maths.c 
compiling unit/common_filter_unittest.cc 
linking ../../obj/test/common_filter_unittest/common_filter_unittest 
Running main() from gtest_main.cc
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from FilterUnittest
[ RUN      ] FilterUnittest.TestPt1FilterInit
[       OK ] FilterUnittest.TestPt1FilterInit (0 ms)
[ RUN      ] FilterUnittest.TestPt1FilterGain
[       OK ] FilterUnittest.TestPt1FilterGain (0 ms)
[ RUN      ] FilterUnittest.TestPt1FilterApply
[       OK ] FilterUnittest.TestPt1FilterApply (0 ms)
[ RUN      ] FilterUnittest.TestSlewFilterInit
[       OK ] FilterUnittest.TestSlewFilterInit (0 ms)
[ RUN      ] FilterUnittest.TestSlewFilter
[       OK ] FilterUnittest.TestSlewFilter (0 ms)
[----------] 5 tests from FilterUnittest (0 ms total)

[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 5 tests.
running test_common_filter_unittest: PASS
compiling ../main/common/encoding.c 
compiling unit/encoding_unittest.cc 
linking ../../obj/test/encoding_unittest/encoding_unittest 
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from EncodingTest
[ RUN      ] EncodingTest.ZigzagEncodingTest
[       OK ] EncodingTest.ZigzagEncodingTest (0 ms)
[ RUN      ] EncodingTest.FloatToIntEncodingTest
[       OK ] EncodingTest.FloatToIntEncodingTest (0 ms)
[----------] 2 tests from EncodingTest (0 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 2 tests.
running test_encoding_unittest: PASS
compiling ../main/common/bitarray.c 
compiling ../main/fc/rc_modes.c 
compiling ../main/fc/runtime_config.c 
compiling ../main/flight/failsafe.c 
compiling unit/flight_failsafe_unittest.cc 
linking ../../obj/test/flight_failsafe_unittest/flight_failsafe_unittest 
Running main() from gtest_main.cc
[==========] Running 11 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 11 tests from FlightFailsafeTest
[ RUN      ] FlightFailsafeTest.TestFailsafeInitialState
[       OK ] FlightFailsafeTest.TestFailsafeInitialState (0 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeStartMonitoring
[       OK ] FlightFailsafeTest.TestFailsafeStartMonitoring (0 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeFirstArmedCycle
[       OK ] FlightFailsafeTest.TestFailsafeFirstArmedCycle (0 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeNotActivatedWhenReceivingData
[       OK ] FlightFailsafeTest.TestFailsafeNotActivatedWhenReceivingData (1 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeDetectsRxLossAndStartsLanding
[       OK ] FlightFailsafeTest.TestFailsafeDetectsRxLossAndStartsLanding (0 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeCausesLanding
[       OK ] FlightFailsafeTest.TestFailsafeCausesLanding (0 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeDetectsRxLossAndJustDisarms
[       OK ] FlightFailsafeTest.TestFailsafeDetectsRxLossAndJustDisarms (0 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeSwitchModeKill
[       OK ] FlightFailsafeTest.TestFailsafeSwitchModeKill (0 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeSwitchModeStage2Drop
[       OK ] FlightFailsafeTest.TestFailsafeSwitchModeStage2Drop (0 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeSwitchModeStage2Land
[       OK ] FlightFailsafeTest.TestFailsafeSwitchModeStage2Land (0 ms)
[ RUN      ] FlightFailsafeTest.TestFailsafeNotActivatedWhenDisarmedAndRXLossIsDetected
[       OK ] FlightFailsafeTest.TestFailsafeNotActivatedWhenDisarmedAndRXLossIsDetected (0 ms)
[----------] 11 tests from FlightFailsafeTest (1 ms total)

[----------] Global test environment tear-down
[==========] 11 tests from 1 test case ran. (1 ms total)
[  PASSED  ] 11 tests.
running test_flight_failsafe_unittest: PASS
compiling ../main/common/bitarray.c 
compiling ../main/common/maths.c 
compiling ../main/config/feature.c 
compiling ../main/fc/rc_modes.c 
compiling ../main/flight/position.c 
compiling ../main/flight/imu.c 
compiling unit/flight_imu_unittest.cc 
linking ../../obj/test/flight_imu_unittest/flight_imu_unittest 
Running main() from gtest_main.cc
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from FlightImuTest
[ RUN      ] FlightImuTest.TestCalculateRotationMatrix
[       OK ] FlightImuTest.TestCalculateRotationMatrix (0 ms)
[ RUN      ] FlightImuTest.TestUpdateEulerAngles
[       OK ] FlightImuTest.TestUpdateEulerAngles (0 ms)
[ RUN      ] FlightImuTest.TestSmallAngle
[       OK ] FlightImuTest.TestSmallAngle (0 ms)
[----------] 3 tests from FlightImuTest (0 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 3 tests.
running test_flight_imu_unittest: PASS
compiling ../main/common/gps_conversion.c 
compiling unit/gps_conversion_unittest.cc 
linking ../../obj/test/gps_conversion_unittest/gps_conversion_unittest 
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from GpsConversionTest
[ RUN      ] GpsConversionTest.GPSCoordToDegrees_BadString
[       OK ] GpsConversionTest.GPSCoordToDegrees_BadString (0 ms)
[ RUN      ] GpsConversionTest.GPSCoordToDegrees_NMEA_Values
[       OK ] GpsConversionTest.GPSCoordToDegrees_NMEA_Values (0 ms)
[----------] 2 tests from GpsConversionTest (0 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 2 tests.
running test_gps_conversion_unittest: PASS
compiling ../main/common/huffman.c 
compiling ../main/common/huffman_table.c 
compiling unit/huffman_unittest.cc 
linking ../../obj/test/huffman_unittest/huffman_unittest 
Running main() from gtest_main.cc
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from HuffmanUnittest
[ RUN      ] HuffmanUnittest.TestHuffmanEncode
[       OK ] HuffmanUnittest.TestHuffmanEncode (0 ms)
[ RUN      ] HuffmanUnittest.TestHuffmanEncodeStreaming
[       OK ] HuffmanUnittest.TestHuffmanEncodeStreaming (0 ms)
[ RUN      ] HuffmanUnittest.TestHuffmanDecode
[       OK ] HuffmanUnittest.TestHuffmanDecode (0 ms)
[----------] 3 tests from HuffmanUnittest (0 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 3 tests.
running test_huffman_unittest: PASS
compiling ../main/io/serial.c 
compiling ../main/drivers/serial_pinconfig.c 
compiling unit/io_serial_unittest.cc 
linking ../../obj/test/io_serial_unittest/io_serial_unittest 
Running main() from gtest_main.cc
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from IoSerialTest
[ RUN      ] IoSerialTest.TestFindPortConfig
[       OK ] IoSerialTest.TestFindPortConfig (0 ms)
[----------] 1 test from IoSerialTest (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[  PASSED  ] 1 test.
running test_io_serial_unittest: PASS
compiling ../main/common/bitarray.c 
compiling ../main/fc/rc_modes.c 
compiling ../main/io/ledstrip.c 
compiling unit/ledstrip_unittest.cc 
linking ../../obj/test/ledstrip_unittest/ledstrip_unittest 
Running main() from gtest_main.cc
[==========] Running 4 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from LedStripTest
[ RUN      ] LedStripTest.parseLedStripConfig
[       OK ] LedStripTest.parseLedStripConfig (0 ms)
[ RUN      ] LedStripTest.smallestGridWithCenter
[       OK ] LedStripTest.smallestGridWithCenter (0 ms)
[ RUN      ] LedStripTest.smallestGrid
[       OK ] LedStripTest.smallestGrid (0 ms)
[----------] 3 tests from LedStripTest (0 ms total)

[----------] 1 test from ColorTest
[ RUN      ] ColorTest.parseColor
[       OK ] ColorTest.parseColor (0 ms)
[----------] 1 test from ColorTest (0 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 2 test cases ran. (0 ms total)
[  PASSED  ] 4 tests.
running test_ledstrip_unittest: PASS
compiling ../main/osd/osd.c 
compiling ../main/osd/osd_elements.c 
compiling ../main/common/typeconversion.c 
compiling ../main/drivers/display.c 
compiling ../main/drivers/serial.c 
compiling ../main/common/crc.c 
compiling ../main/common/maths.c 
compiling ../main/common/printf.c 
compiling ../main/common/streambuf.c 
compiling ../main/common/time.c 
compiling ../main/fc/runtime_config.c 
compiling ../main/common/bitarray.c 
compiling ../main/fc/rc_modes.c 
compiling ../main/rx/rx.c 
compiling ../main/pg/pg.c 
compiling ../main/rx/crsf.c 
compiling ../main/pg/rx.c 
compiling unit/link_quality_unittest.cc 
unit/link_quality_unittest.cc:353:33: error: use of undeclared identifier 'OSD_UNIT_METRIC'; did you mean 'UNIT_METRIC'?
    osdConfigMutable()->units = OSD_UNIT_METRIC;
                                ^~~~~~~~~~~~~~~
                                UNIT_METRIC
../main/common/unit.h:25:5: note: 'UNIT_METRIC' declared here
    UNIT_METRIC,
    ^
1 error generated.
Makefile:697: recipe for target '../../obj/test/link_quality_unittest/link_quality_unittest.o' failed
make[1]: *** [../../obj/test/link_quality_unittest/link_quality_unittest.o] Error 1
make[1]: Leaving directory '/var/jenkins_home/workspace/Betaflight/src/test'
Makefile:678: recipe for target 'junittest' failed
make: *** [junittest] Error 2
Build step 'Execute shell' marked build as failure
[DRY] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Skipped archiving because build is not successful
Build step 'Publish N'SIQ Collector' marked build as failure
Recording test results
[Slack Notifications] found #2270 as previous completed, non-aborted build
[Slack Notifications] will send OnSingleFailureNotification because build matches and user preferences allow it
Finished: FAILURE