wrong URL for server results in incorrect error message

Bug #1876805 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Testflinger
New
Undecided
Unassigned

Bug Description

I submitted a job to a testflinger server using the --server option. This resulted in:

bladernr@galactica:~/development/testflinger$ ./checkflinger -s ob-10 --series bionic --server http://10.193.37.116:8000 test -t usb-only
Initiating testflinger run on ob-10 using server at http://10.193.37.116:8000
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
Job submitted successfully!
job_id: b8c9048a-f81b-463a-bd53-4eab8957a053

I then attempted to poll that job but put in the wrong URL:
bladernr@galactica:~$ testflinger --server http://10.193.37.117:8000 poll b8c9048a-f81b-463a-bd53-4eab8957a053
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
Invalid job id specified. Check the job id to be sure it is correct

Rather than an error indicating that the URL was an invalid server, I got one telling me the jobid is invalid. Whihc is kinda confusing.

Expected:

It should attempt to contact the server at $URL and then tell me "Hey, there's no testflinger server listening at that URL"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.