autotest: remove disabled LogUpload test

This has been unused for a long time, and is getting in the way of reforms.  Its position as a test rather than as a part of a framework was always going to cause oddities, particularly after we split the Copter tests into several chunks.
This commit is contained in:
Peter Barker 2022-09-11 19:42:30 +10:00 committed by Peter Barker
parent 87e97ca5b2
commit ba6cf1a42b
8 changed files with 0 additions and 26 deletions

View File

@ -8976,7 +8976,6 @@ class AutoTestCopter(AutoTest):
self.PAUSE_CONTINUE_GUIDED,
self.RichenPower,
self.IE24,
self.LogUpload,
self.MAVLandedStateTakeoff,
])
return ret
@ -9039,7 +9038,6 @@ class AutoTestCopter(AutoTest):
self.DefaultIntervalsFromFiles,
self.GPSTypes,
self.MultipleGPS,
self.LogUpload,
])
return ret

View File

@ -3998,7 +3998,6 @@ class AutoTestPlane(AutoTest):
self.MSP_DJI,
self.SpeedToFly,
self.GlideSlopeThresh,
self.LogUpload,
self.HIGH_LATENCY2,
self.MidAirDisarmDisallowed,
])

View File

@ -413,7 +413,6 @@ class AutoTestSub(AutoTest):
self.MotorThrustHoverParameterIgnore,
self.SET_POSITION_TARGET_GLOBAL_INT,
self.TestLogDownloadMAVProxy,
self.LogUpload,
])
return ret

View File

@ -115,7 +115,6 @@ inherit Rover's tests!'''
self.GetBanner,
self.DO_SET_MODE,
self.ServoRelayEvents,
self.LogUpload,
])
return ret

View File

@ -3651,24 +3651,6 @@ class AutoTest(ABC):
self.mavproxy_unload_module(mavproxy, 'log')
self.stop_mavproxy(mavproxy)
def LogUpload(self):
'''upload logs to ArduPilot firmware server'''
self.progress("Log upload disabled as CI artifacts are good")
return
if len(self.fail_list) > 0 and os.getenv("AUTOTEST_UPLOAD"):
# optionally upload logs to server so we can see travis failure logs
import datetime
import glob
import subprocess
logdir = self.buildlogs_dirpath()
datedir = datetime.datetime.now().strftime("%Y-%m-%d-%H-%M")
flist = glob.glob("logs/*.BIN")
for e in ['BIN', 'bin', 'tlog']:
flist += glob.glob(os.path.join(logdir, '*.%s' % e))
self.progress("Uploading %u logs to https://firmware.ardupilot.org/CI-Logs/%s" % (len(flist), datedir))
cmd = ['rsync', '-avz'] + flist + ['cilogs@autotest.ardupilot.org::CI-Logs/%s/' % datedir]
subprocess.call(cmd)
def show_gps_and_sim_positions(self, on_off):
"""Allow to display gps and actual position on map."""
if on_off is True:

View File

@ -438,7 +438,6 @@ class AutoTestHelicopter(AutoTestCopter):
self.SplineWaypoint,
self.AutoRotation,
self.FlyEachFrame,
self.LogUpload,
self.AirspeedDrivers,
])
return ret

View File

@ -946,6 +946,5 @@ class AutoTestQuadPlane(AutoTest):
self.MidAirDisarmDisallowed,
self.BootInAUTO,
self.Ship,
self.LogUpload,
])
return ret

View File

@ -6125,7 +6125,6 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
self.EndMissionBehavior,
self.FlashStorage,
self.FRAMStorage,
self.LogUpload,
self.DepthFinder,
self.ChangeModeByNumber,
self.EStopAtBoot,