Unable to deploy some GKE jobs because the name was too long

Bug #1825493 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
High
Sean Feole

Bug Description

Several qrt-kernel-aslr-collisions test failed to build on Google jenkins:

 - Invalid value for field 'resource.name': 'b-lgke-4-15-gke-4-15-4-15-0-n1-highcpu-16-qrt-kernel-aslr-collisions'. Must be a match of regex '(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)'

I think it's because the name was too long.

Revision history for this message
Sean Feole (sfeole) wrote :

Yea, i'm seeing this carry over into azure, Since we dropped many non-critical elements of the job name, I see this much less of a problem. Only in particular cases.

For Example:
Azure has ridiculously long instance names which are appended to our instance job name, this in addition to testing with an azure-edge kernel will yield a somewhat similar result.

I don't want to redesign the job naming method in RegressionTestJobsFactoryBase.jobname. I'm thinking to add special cases, where in the event we are testing with a -edge package, we simply drop the package or the kernel version from the cloud job name...

So...

b-lgke-4-15-gke-4-15-4-15-0-n1-highcpu-16-qrt-kernel-aslr-collisions
would become....

b-lgke-4-15-gke-4-15-n1-highcpu-16-qrt-kernel-aslr-collisions

Again, this is a special case, because our package includes the '-4.15' as a part of the name. None of our other packages do that.

I'll own this and tackle it in the next slew of updates.

Changed in ubuntu-kernel-tests:
assignee: nobody → Sean Feole (sfeole)
importance: Undecided → Medium
status: New → Confirmed
importance: Medium → Low
Sean Feole (sfeole)
Changed in ubuntu-kernel-tests:
status: Confirmed → Triaged
Revision history for this message
Sean Feole (sfeole) wrote :

This is still an issue as looking through some of the logs there are failures. It appears that this is the only cloud exhibiting this at this time. I believe Azure did have this problem, will investigate further

Changed in ubuntu-kernel-tests:
status: Triaged → In Progress
importance: Low → High
Revision history for this message
Sean Feole (sfeole) wrote :

updates were made to adjust for this last year. ok to close.

Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
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.