awslabs / aws-device-farm-jenkins-plugin

Jenkins plugin for AWS Device Farm.
Apache License 2.0
89 stars 66 forks source link

Problem of archiving download hangs Jenkins job #110

Open pyang-nortonlifelock opened 3 years ago

pyang-nortonlifelock commented 3 years ago

I use Device Farm Jenkins Plugin in my Jenkins project as a post build action. However, from time to time, my Jenkins project is stuck in storing AWS Device Farm results in directory, with the error below.

[AWSDeviceFarm] Storing AWS Device Farm results in directory /Volumes/Data/Home/jobs/Android_Monitoring_Tests/builds/368/archive/AWS Device Farm Results [AWSDeviceFarm] Downloading AWS Device Farm results archive...

It looks to me an API issue which fails to return CUSTOMER_ARTIFACT_URL.

It'll be good if some resiliency (retry) and exit condition is added to the artifact download part of this plugin so that Jenkins projects don't get stuck.

df_plugin_ticket_01

nikhil-dabhade commented 3 years ago

@pyang-nortonlifelock Hi Paul, Thanks for reporting this. Are you seeing this for iOS or Android or it is random and has happened for both?

pyang-nortonlifelock commented 3 years ago

Hi Nikhil, I'm seeing this on both iOS and Android. Thanks, Paul

pyang-nortonlifelock commented 3 years ago

Hi Nikhil, I'd like to follow up with you on this issue. Please feel free to let me know if you need more info from me. Thanks, Paul