New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 728021 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

led get-swarm broken

Project Member Reported by robert...@chromium.org, May 31 2017

Issue description

There's an issue where url.Parse refuses to parse a url without a scheme:// and yet, the flag validation expects the parameter swarming host to be a hostname instead of a url (which doesn't parse)
 
Can you paste the command you used to observe this error?
I tried:

`led 366dadc69f2e4910`
`led get-swarm -S chromium-swarm.appspot.com 366dadc69f2e4910`
`led get-swarm -S https://chromium-swarm.appspot.com 366dadc69f2e4910`
`led get-swarm 366dadc69f2e4910 -S chromium-swarm.appspot.com`
`led get-swarm 366dadc69f2e4910 -S https://chromium-swarm.appspot.com`

And variations thereof, I finally built my own led with this change to cmd_get_swarm.go (this might be defeating the purpose of the check, so I didn't upload it) 


-     if p.Host != c.swarmingHost {
+     if p.Host != "" && p.Host != c.swarmingHost {


Comment 3 by estaab@chromium.org, Jun 21 2017

Components: -Infra>Platform>Swarming Infra>Platform>Recipes
Status: Available (was: Untriaged)
Project Member

Comment 4 by sheriffbot@chromium.org, Jun 21 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Fixed (was: Untriaged)

Sign in to add a comment