Commit Graph

61 Commits

Author SHA1 Message Date
Peter Barker 35c25be37e Tools: stop invoking setup.py directly
the command-line interface for setup.py is deprecated

See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
2024-09-19 11:43:03 +10:00
Andrew Tridgell 1daf92e499 Tools: raise build time limit
our build is taking over 20hrs now, which means it gets killed and
restarted at 20 hours, and if another commit has come in it means that
AP_Periph may never get built at all

raise to 40 hrs
2024-09-06 14:47:05 +10:00
Andrew Tridgell 4ba151151c CI: added --force to git tags --fetch
needed for new git version after server upgrade
2024-03-23 12:37:58 +11:00
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Andrew Tridgell 0d029ee055 Tools: change autotest to python3 2023-04-21 15:46:24 +10:00
Peter Barker 27e7042377 Tools: build_autotest.sh: sync submodules from new master not old
Also remove a redundant pull
2022-08-18 22:47:10 +10:00
Peter Barker 41b8728296 autotest: remove report of pull failure
Nobody is ever reading these
2022-07-27 18:25:17 +10:00
Peter Barker 5fbd143d82 Tools: remove references to config.mk
dates from APM-build days.  The build server files references APM1 which is long gone.  Users running build_binaries can pollute their own environments, not need for this.
2022-07-26 21:23:06 +10:00
Peter Barker b45680c9ee Tools: update build_autotest.sh to reflect server content
these times have had to move out as our builds are taking a long time
now
2022-02-08 12:08:17 +11:00
Peter Barker 7c6f1cd590 Tools: build_autotest.sh: pass in --autotest-server to autotest.py
This will tell autotest.py to undertake the steps required for our
autotest server to run correctly
2021-03-26 22:52:35 +11:00
auturgy 1c4873cece Tools: build_autotest.sh update email address
drones_discuss is well obsolete.  I've used ardupilot.devel@google.com for now although we could do better, or simply choose not to emit spam.
2021-01-04 14:41:43 +11:00
Peter Barker 1104f15d88 Tools: build log message documentation on autotest server 2020-03-20 13:05:46 +11:00
Peter Barker 49314b2b86 Tools: build_autotest.sh: install pymavlink after MAVProxy
Currently installing MAVProxy pulls pymavlink in as a dependency, so we
end up running whatever MAVProxy's master branch is pointing to
(currently pymavlink>=2.3.3).

ardupilot master can reference a pymavlink commit which is not part of
whatever MAVProxy's master branch is pointing to, so we end up with
failures like this in autotest:

  fly.ArduCopter:
    Mount (Test Camera/Antenna Mount) ('module' object has no attribute 'MAV_CMD_DO_SET_ROI_SYSID') (see /mnt/volume_nyc3_01/autotest/APM/buildlogs/ArduCopter-Mount.txt)
    FixedYawCalibration (Test Fixed Yaw Calibration) ('module' object has no attribute 'MAV_CMD_FIXED_MAG_CAL_YAW') (see /mnt/volume_nyc3_01/autotest/APM/buildlogs/ArduCopter-FixedYawCalibration.txt)

If we install pymavlink after installing MAVProxy we should end up with
the pymavlink messages generated from the messages in our mavlink
subdirectory, rather that the pymavlink messages shipped as part of the
pymavlink pip release.
2020-03-09 15:04:20 +11:00
Andrew Tridgell c545171cec Tools: fixed compiler path for autotest 2019-12-17 18:10:23 +11:00
Peter Barker 704407118b Tools: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
Andrew Tridgell 6a558bff2b Tools: removed PYTHONPATH setting
this was breaking mavproxy
2019-06-08 07:14:59 +10:00
Andrew Tridgell d66d1a31f0 Tools: set SITL_PANIC_EXIT for build_autotest.sh 2019-06-07 20:33:13 +10:00
Andrew Tridgell 2fb8aba1b2 autotest: use build path on faster filesystem 2019-06-06 09:10:32 +10:00
Andrew Tridgell a745bad5b0 Tools: cleanup autotest script 2019-06-06 08:42:47 +10:00
Lucas De Marchi 47968cda09 scripts: don't set PKG_CONFIG_PATH globally
It was done only for Bebop, but we build it statically so it has
actually no effect.
2017-08-16 10:51:59 -07:00
Andrew Tridgell 2f8e9db606 autotest: fixed update of pymavlink 2017-03-08 16:40:10 +11:00
Andrew Tridgell 5d7d190394 autotest: setup PKG_CONFIG_PATH for Parrot libiio 2017-01-30 14:01:43 +11:00
Jani Hirvinen c99a4a6973 Update build_autotest.sh 2016-10-31 19:53:29 +11:00
Andrew Tridgell c9435963c8 autotest: use ArduPilot mavlink tree 2016-09-19 08:44:32 +10:00
Andrew Tridgell 27934a893e autotest: raise timeout again
after trying lots of other things to speed up build_binaries.sh it
still isn't fast enough, so this just raises the timeout by 50%
2016-04-02 07:47:16 +11:00
Andrew Tridgell 72e4ed5665 autotest: no need to check other repos now
we don't need to check other repos now we use submodules for all code
2016-04-01 09:44:33 +11:00
Andrew Tridgell df765f0d43 autotest: raise lock timeout 2016-03-26 19:28:04 +11:00
Andrew Tridgell dea708b368 Tools: switch to ardupilot.org for firmware and autotest 2016-03-25 16:46:11 +11:00
Grant Morphett 0d9a3840d8 autotest: Added submodule update and removed old modules update
Firstly build.All was failing as the submodules had not been updated
so the 'git submodule update' in this commit resovles that.
Secondly, now that the dependant projects like PX4Firmware etc are git
submodules of ardupilot we no longer need to check them out separately
and update them so I have removed all those.
I left MAVProxy as it isn't a submodule of ardupilot.
2016-03-08 11:40:48 +11:00
Andrew Tridgell c2a12b55a0 scripts: raise max lockage in autotest 2016-01-20 07:43:43 +11:00
Andrew Tridgell b8c6bee132 autotest: raise overall timeout 2016-01-20 07:42:29 +11:00
Andrew Tridgell 279a320f44 Tools: switch autobuild to 4.9 compiler 2015-10-20 15:28:13 +11:00
Grant Morphett f871f040fb scripts: Adding AT to autotest build 2015-09-16 09:24:29 +09:00
Andrew Tridgell b966f7fc3e autotest: ensure we start on master branch 2015-08-27 12:03:14 +10:00
Andrew Tridgell dd5be8837a autotest: raise timeout 2015-02-19 21:49:43 +11:00
Andrew Tridgell 8d393c89d0 autotest: fixed bash syntax 2014-12-27 21:40:57 +11:00
Andrew Tridgell 1c94559fa2 autotest: auto-update uavcan repo 2014-11-28 07:29:44 +11:00
Andrew Tridgell ce4da9b09c autotest: raise timeout again 2014-11-14 10:26:18 +11:00
Andrew Tridgell e49cd68b83 autotest: save core and elf files
try to catch floating pt exception causes
2014-11-13 17:27:02 +11:00
Andrew Tridgell 34a43b2d99 autotest: fixed backup of autotest .bin logs 2014-10-30 18:30:15 +11:00
Andrew Tridgell b688577825 autotest: update compiler 2014-10-13 16:07:32 +11:00
Andrew Tridgell caeb2c4d0d autotest: raise timeout to 7000 seconds 2014-08-14 14:29:16 +10:00
Andrew Tridgell 0b7e96b528 autotest: ensure old tags in PX4NuttX and PX4Firmware don't get used 2014-01-20 19:54:35 +11:00
Andrew Tridgell ea09aebed0 autotest: raise timelimits again 2013-11-05 16:17:25 +11:00
Andrew Tridgell 387b6afed4 autotest: ensure JSBSim is dead at start of testing 2013-09-13 13:22:00 +10:00
Andrew Tridgell b992423f4d autotest: log versions of trees in build log 2013-09-06 11:46:19 +10:00
Andrew Tridgell 935546d80d PX4: setup build layout to assume PX4Firmware and PX4NuttX trees
both in directory above ardupilot
2013-08-30 13:32:23 +10:00
Andrew Tridgell 61507ccd20 autotest: build docs on each autotest run 2013-08-15 09:04:58 +10:00
Andrew Tridgell 81bb4f26a1 autotest: update plane test with more modes
added tests for FBWB, STABILIZE, CRUISE, ACRO and CIRCLE
2013-07-16 13:23:48 +10:00
Andrew Tridgell becd180441 autotest: external timeout must be greater than internal timeout
or we can get blank output
2013-07-08 21:52:24 +10:00