jenkinsci / jenkinsci/ec2-plugin

[JENKINS-62386] Use get latest console output option to speed up host key validation

Open
#1,771 0 comments 0 reactions 0 assignees View on GitHub
component:ec2-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
292
Forks
709
Avg merge
3d 16h
Merged PRs (30d)
4

Description

Host key validation is taking somewhere between 8-10 minutes for me. I think this is because the EC2 console output is not updated regularly, in my tests using the AWS CLI has taken around 8 minutes for the console output to be updated after starting an instance. Using the --latest CLI option reduces the time taken to get the host key through the AWS CLI substantially.

---
Originally reported by stan_crofts, imported from: Use get latest console output option to speed up host key validation


  • assignee: thoulen
  • status: Open
  • priority: Minor
  • component(s): ec2-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-06

Raw content of original issue

Host key validation is taking somewhere between 8-10 minutes for me. I think this is because the EC2 console output is not updated regularly, in my tests using the AWS CLI has taken around 8 minutes for the console output to be updated after starting an instance. Using the --latest CLI option reduces the time taken to get the host key through the AWS CLI substantially.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the EC2 console-output retrieval used during host key validation, then compare its AWS CLI behavior with the reported --latest option. Done means host key validation retrieves the latest output and avoids the reported 8–10 minute delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.