Jenkins run issue after AWS was down

After a recent AWS down, my Cucumber + Appium tests are failing if I run it through Jenkins (Local run works fine) is anybody facing this issue and any possible solution?

‘long_press_keycode’ is already defined. Skipping to override it.
‘keyevent’ is already defined. Skipping to override it.
‘push_file’ is already defined. Skipping to override it.
‘pull_file’ is already defined. Skipping to override it.
‘pull_folder’ is already defined. Skipping to override it.
‘get_clipboard’ is already defined. Skipping to override it.
‘set_clipboard’ is already defined. Skipping to override it.
‘get_settings’ is already defined. Skipping to override it.
‘update_settings’ is already defined. Skipping to override it.
‘stop_recording_screen’ is already defined. Skipping to override it.
‘start_recording_screen’ is already defined. Skipping to override it.
‘compare_images’ is already defined. Skipping to override it.
‘is_keyboard_shown’ is already defined. Skipping to override it.
‘execute_driver’ is already defined. Skipping to override it.
‘touch_id’ is already defined. Skipping to override it.
‘toggle_touch_id_enrollment’ is already defined. Skipping to override it.
‘ime_activate’ is already defined. Skipping to override it.
‘ime_available_engines’ is already defined. Skipping to override it.
‘ime_active_engine’ is already defined. Skipping to override it.
‘ime_activated’ is already defined. Skipping to override it.
‘within_context’ is already defined. Skipping to override it.
‘switch_to_default_context’ is already defined. Skipping to override it.
‘match_images_features’ is already defined. Skipping to override it.
‘find_image_occurrence’ is already defined. Skipping to override it.
‘get_images_similarity’ is already defined. Skipping to override it.
‘stop_and_save_recording_screen’ is already defined. Skipping to override it.
‘execute_cdp’ is already defined. Skipping to override it.
‘start_performance_record’ is already defined. Skipping to override it.
‘get_performance_record’ is already defined. Skipping to override it.
‘battery_info’ is already defined. Skipping to override it.
‘appium_device’ is already defined. Skipping to override it.
‘http_client’ is already defined. Skipping to override it.
‘core’ is already defined. Skipping to override it.
‘server_url’ is already defined. Skipping to override it.
‘window_handle’ is already defined. Skipping to override it.
‘window_handles’ is already defined. Skipping to override it.
‘appium_wait_timeout’ is already defined. Skipping to override it.
‘action’ is already defined. Skipping to override it.
‘appium_debug’ is already defined. Skipping to override it.
‘appium_wait_interval’ is already defined. Skipping to override it.
‘appium_server_status’ is already defined. Skipping to override it.
‘driver_quit’ is already defined. Skipping to override it.
‘title’ is already defined. Skipping to override it.
‘window_size’ is already defined. Skipping to override it.
‘screenshot’ is already defined. Skipping to override it.
‘driver_attributes’ is already defined. Skipping to override it.
‘device_is_android?’ is already defined. Skipping to override it.
‘device_is_ios?’ is already defined. Skipping to override it.
‘device_is_windows?’ is already defined. Skipping to override it.
‘automation_name_is_uiautomator2?’ is already defined. Skipping to override it.
‘window_rect’ is already defined. Skipping to override it.
‘automation_name_is_espresso?’ is already defined. Skipping to override it.
‘automation_name_is_xcuitest?’ is already defined. Skipping to override it.
‘appium_client_version’ is already defined. Skipping to override it.
‘restart’ is already defined. Skipping to override it.
‘element_screenshot’ is already defined. Skipping to override it.
‘set_implicit_wait’ is already defined. Skipping to override it.
‘no_wait’ is already defined. Skipping to override it.
‘set_wait’ is already defined. Skipping to override it.
‘dialect’ is already defined. Skipping to override it.
‘exists’ is already defined. Skipping to override it.
‘set_location’ is already defined. Skipping to override it.
‘caps’ is already defined. Skipping to override it.
‘remote_status’ is already defined. Skipping to override it.
‘custom_url’ is already defined. Skipping to override it.
‘default_wait’ is already defined. Skipping to override it.
‘get’ is already defined. Skipping to override it.
‘export_session’ is already defined. Skipping to override it.
‘export_session_path’ is already defined. Skipping to override it.
‘find_elements_by_image’ is already defined. Skipping to override it.
‘find_element_by_image’ is already defined. Skipping to override it.
‘global_webdriver_http_sleep=’ is already defined. Skipping to override it.
‘log_event=’ is already defined. Skipping to override it.
‘x’ is already defined. Skipping to override it.
‘navigate’ is already defined. Skipping to override it.
‘find_element’ is already defined. Skipping to override it.
‘automation_name’ is already defined. Skipping to override it.
‘switch_to’ is already defined. Skipping to override it.
‘manage’ is already defined. Skipping to override it.
‘find_elements’ is already defined. Skipping to override it.
‘listener’ is already defined. Skipping to override it.
‘current_url’ is already defined. Skipping to override it.
‘execute_async_script’ is already defined. Skipping to override it.
‘execute_script’ is already defined. Skipping to override it.
‘appium_server_version’ is already defined. Skipping to override it.
‘platform_version’ is already defined. Skipping to override it.
‘driver_for_eyes’ is already defined. Skipping to override it.
‘driver’ is already defined. Skipping to override it.
‘quit_driver’ is already defined. Skipping to override it.
‘log_event’ is already defined. Skipping to override it.
‘log_events’ is already defined. Skipping to override it.
‘global_webdriver_http_sleep’ is already defined. Skipping to override it.
‘sauce’ is already defined. Skipping to override it.
‘sauce_username’ is already defined. Skipping to override it.
‘sauce_access_key’ is already defined. Skipping to override it.
‘sauce_endpoint’ is already defined. Skipping to override it.
‘start_driver’ is already defined. Skipping to override it.
‘appium_port’ is already defined. Skipping to override it.
Batch Name Empty. No UI Test Captured
Background: # features/bet_card_default.feature:3
Given I sign in to use the Perfect Picks # features/step_definitions/sign_in_stepdef.rb:172
unexpected response, code=404, content-type=“text/plain”
ERROR The test with session id 1c8afcad0c16478f8845b475d845b358 has already finished, and can’t receive further commands.
You can learn more at https://app.saucelabs.com/tests/1c8afcad0c16478f8845b475d845b358
For help, please check https://docs.saucelabs.com/dev/error-messages (Selenium::WebDriver::Error::WebDriverError)
./features/screens/global_elements.rb:73:in rescue in tap_general_button' ./features/screens/global_elements.rb:71:intap_general_button’
./features/step_definitions/reusable_stepdef.rb:3:in /^I tap on the "(.*?)" button$/' ./features/step_definitions/sign_in_stepdef.rb:8:in/^I decide to sign in with “(.*?)”$/’
./features/step_definitions/sign_in_stepdef.rb:173:in /^I sign in to use the Perfect Picks$/' features/bet_card_default.feature:4:inGiven I sign in to use the Perfect Picks’
And I tap on the “me” icon tab # features/step_definitions/myteams_stepdef.rb:26
And I dismiss the promo # features/step_definitions/reusable_stepdef.rb:47
Then I tap on the Perfect Picks icon # features/step_definitions/bet_center_stepdef.rb:8
And the “How to Play” social promo is shown # features/step_definitions/reusable_stepdef.rb:159

@regression
Scenario: Verify Bet card functionality - Default league only # features/bet_card_default.feature:16
And I complete NEW bet pack # features/step_definitions/bet_center_stepdef.rb:117
Then I sign out to clear the device id # features/step_definitions/settings_stepdef.rb:48
unexpected response, code=404, content-type=“text/plain”
ERROR The test with session id 1c8afcad0c16478f8845b475d845b358 has already finished, and can’t receive further commands.
You can learn more at https://app.saucelabs.com/tests/1c8afcad0c16478f8845b475d845b358
For help, please check https://docs.saucelabs.com/dev/error-messages (Selenium::WebDriver::Error::WebDriverError)
./features/support/env.rb:43:in take_screenshot' ./features/support/env.rb:31:inAfter’

I don’t have a sauce lab account, but it seems like you are supposed to read this, and then go to this url to find the problem: