Failing build check only in Semaphoreci and in unrelated code.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Failing build check only in Semaphoreci and in unrelated code.

Chris Efstathiou
Hi.
I am trying to complete a pull request but my repository fails one check only on Semaphoreci.
The error does not have anything to do with my code and i am at loss to understand what is wrong.
The same aircraft and the whole build succeeds in Travis CI...
Chris

HERE IS THE FAILING OUTPUT.

tests/aircrafts/01_compile_all_aircrafts.t .. 76/124 # compiling AIRCRAFT: [ardrone2_opticflow] TARGET: [ap]

tests/aircrafts/01_compile_all_aircrafts.t .. 77/124 
#   Failed test 'Compile aircraft: ardrone2_opticflow, target: ap'
#   at tests/aircrafts/01_compile_all_aircrafts.t line 115.
# compiling AIRCRAFT: [bebop] TARGET: [ap]

Error: The command "make AIRCRAFT=ardrone2_opticflow clean_ac ap.compile" failed to complete successfully. Exit status: 2
CLEANING ardrone2_opticflow
-----------------------------------------------------------------------
Paparazzi version v5.17_devel-103-g8d0186a
-----------------------------------------------------------------------
#######################################
# BUILD AIRCRAFT=ardrone2_opticflow, TARGET ap
#######################################
Aircraft generator: 'ardrone2_opticflow' for target 'ap'
Parsing airframe '/home/pprz/paparazzi/conf/airframes/examples/ardrone2_opticflow_hover.xml', sorting by target, extracting and parsing autopilot... done.
Parsing flight plan '/home/pprz/paparazzi/conf/flight_plans/rotorcraft_basic.xml', extracting modules... done
Parsing radio '/home/pprz/paparazzi/conf/radios/cockpitSX.xml'... done
Parsing telemetry '/home/pprz/paparazzi/conf/telemetry/default_rotorcraft.xml'... done
Parsing settings... done
Loading modules:
 - opticflow_hover (guidance_opticflow) [/home/pprz/paparazzi/conf/modules/opticflow_hover.xml]
 - pose_history () [/home/pprz/paparazzi/conf/modules/pose_history.xml]
 - video_thread (computer_vision) [/home/pprz/paparazzi/conf/modules/video_thread.xml]
 - agl_dist (sonar) [/home/pprz/paparazzi/conf/modules/agl_dist.xml]
 - cv_opticflow (computer_vision) [/home/pprz/paparazzi/conf/modules/cv_opticflow.xml]
 - logger_file (loggers) [/home/pprz/paparazzi/conf/modules/logger_file.xml]
 - calibration () [/home/pprz/paparazzi/conf/modules/send_imu_mag_current.xml]
 - gps_ubx_ucenter (gps) [/home/pprz/paparazzi/conf/modules/gps_ubx_ucenter.xml]
 - bat_voltage_ardrone2 (sensors) [/home/pprz/paparazzi/conf/modules/bat_voltage_ardrone2.xml]
 - ins (ins) [/home/pprz/paparazzi/conf/modules/ins_extended.xml]
 - ahrs_int_cmpl_quat (ahrs) [/home/pprz/paparazzi/conf/modules/ahrs_int_cmpl_quat.xml]
 - guidance_rotorcraft (guidance) [/home/pprz/paparazzi/conf/modules/guidance_rotorcraft.xml]
 - nav_basic_rotorcraft (nav) [/home/pprz/paparazzi/conf/modules/nav_basic_rotorcraft.xml]
 - stabilization_rotorcraft (stabilization) [/home/pprz/paparazzi/conf/modules/stabilization_rotorcraft.xml]
 - stabilization_int_quat (stabilization) [/home/pprz/paparazzi/conf/modules/stabilization_int_quat.xml]
 - gps (gps) [/home/pprz/paparazzi/conf/modules/gps.xml]
 - gps_ublox (gps) [/home/pprz/paparazzi/conf/modules/gps_ublox.xml]
 - imu_common (imu) [/home/pprz/paparazzi/conf/modules/imu_common.xml]
 - imu_ardrone2 (imu) [/home/pprz/paparazzi/conf/modules/imu_ardrone2.xml]
 - actuators_ardrone2 (actuators) [/home/pprz/paparazzi/conf/modules/actuators_ardrone2.xml]
 - motor_mixing (actuators) [/home/pprz/paparazzi/conf/modules/motor_mixing.xml]
 - radio_control_datalink (radio_control) [/home/pprz/paparazzi/conf/modules/radio_control_datalink.xml]
 - telemetry_udp (datalink) [/home/pprz/paparazzi/conf/modules/telemetry_transparent_udp.xml]
Dumping flight plan XML and header...(updated) done
Dumping airframe header...(updated) done
Dumping autopilot header...(skip) done
Dumping radio header...(updated) done
Dumping telemetry header...(updated) done
Dumping modules header...(updated) done
Dumping settings XML and header...(updated) done
No SRTM data found to check altitude.
/usr/bin/make TARGET=ap -f Makefile.ac all_ac_h
cd sw/airborne; /usr/bin/make -j4 TARGET=ap all

Using CC   = arm-linux-gnueabi-gcc
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/mcu.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/arch/linux/mcu_arch.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/boards/ardrone/board.o
GCC version:
arm-linux-gnueabi-gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609

CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/mcu_periph/sys_time.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/arch/linux/mcu_periph/sys_time_arch.o
boards/ardrone/board.c:40:2: warning: #warning No battery voltage measurement available! Please add <load name="bat_voltage_ardrone2.xml"/> to your modules section in aircraft file. [-Wcpp]
 #warning No battery voltage measurement available! Please add <load name="bat_voltage_ardrone2.xml"/> to your modules section in aircraft file.
  ^
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/math/pprz_geodetic_int.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/math/pprz_geodetic_float.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/math/pprz_geodetic_double.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/math/pprz_trig_int.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/math/pprz_orientation_conversion.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/math/pprz_algebra_int.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/math/pprz_algebra_float.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/math/pprz_algebra_double.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/math/pprz_stat.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/subsystems/settings.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/arch/linux/subsystems/settings_arch.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/subsystems/actuators.o
CC /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/subsystems/commands.o
In file included from subsystems/commands.c:28:0:
/home/pprz/paparazzi/sw/airborne/subsystems/commands.h:38:24: error: ‘COMMANDS_NB’ undeclared here (not in a function)
 extern pprz_t commands[COMMANDS_NB];
                        ^
subsystems/commands.c:31:47: error: ‘COMMANDS_FAILSAFE’ undeclared here (not in a function)
 const pprz_t commands_failsafe[COMMANDS_NB] = COMMANDS_FAILSAFE;
                                               ^
/home/pprz/paparazzi/conf/Makefile.linux:116: recipe for target '/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/subsystems/commands.o' failed
make[2]: *** [/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/subsystems/commands.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from firmwares/rotorcraft/autopilot_utils.h:33:0,
                 from /home/pprz/paparazzi/sw/airborne/autopilot.h:43,
                 from /home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h:10,
                 from subsystems/settings.c:29:
/home/pprz/paparazzi/sw/airborne/subsystems/commands.h:38:24: error: ‘COMMANDS_NB’ undeclared here (not in a function)
 extern pprz_t commands[COMMANDS_NB];
                        ^
In file included from subsystems/settings.c:29:0:
/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h: In function ‘settings_get_value’:
/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h:468:20: error: ‘pose_history_pose_periodic_status’ undeclared (first use in this function)
     case 1: return pose_history_pose_periodic_status;
                    ^
/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h:468:20: note: each undeclared identifier is reported only once for each function it appears in
/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h:469:20: error: ‘video_thread_video_thread_periodic_status’ undeclared (first use in this function)
     case 2: return video_thread_video_thread_periodic_status;
                    ^
/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h:470:20: error: ‘cv_opticflow_opticflow_module_run_status’ undeclared (first use in this function)
     case 3: return cv_opticflow_opticflow_module_run_status;
                    ^
/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h:471:20: error: ‘logger_file_file_logger_periodic_status’ undeclared (first use in this function)
     case 4: return logger_file_file_logger_periodic_status;
                    ^
/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h:472:20: error: ‘calibration_send_imu_mag_current_status’ undeclared (first use in this function)
     case 5: return calibration_send_imu_mag_current_status;
                    ^
/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h:473:20: error: ‘gps_ubx_ucenter_gps_ubx_ucenter_periodic_status’ undeclared (first use in this function)
     case 6: return gps_ubx_ucenter_gps_ubx_ucenter_periodic_status;
                    ^
/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/generated/settings.h:474:20: error: ‘gps_ublox_gps_ubx_periodic_check_status’ undeclared (first use in this function)
     case 7: return gps_ublox_gps_ubx_periodic_check_status;
                    ^
/home/pprz/paparazzi/conf/Makefile.linux:116: recipe for target '/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/subsystems/settings.o' failed
make[2]: *** [/home/pprz/paparazzi/var/aircrafts/ardrone2_opticflow/ap/subsystems/settings.o] Error 1
Makefile.ac:211: recipe for target 'ap.compile' failed
make[1]: *** [ap.compile] Error 2

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel