Closed Bug 1786307 Opened 2 years ago Closed 2 years ago

Gecko interactive tasks are unable to connect (missing shell prompt)

Categories

(Release Engineering :: Firefox-CI Administration, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahal, Assigned: masterwayz)

References

(Blocks 1 open bug)

Details

STR:

  1. Find a test or lint task on try in Treeherder
  2. From three dot menu bottom left, select "Create Interactive Task"
  3. Wait for the create-interac action task to complete
  4. Go to it's task details, click on the dependent task.
  5. Append /connect to the URL
  6. Click the shell option

Expected:
You are now in an interactive shell.

Actual:
No shell prompt is displayed. Shell cursor is red and stuck in top left. No text can be entered. This is consistent with what happens when the firewall blocks connecting to L3 tasks.

My theory is that this regressed when we switched test tasks over to GCP. Maybe we need to update the firewall rules.

I did test out an interactive task in the application-services repo, and could connect successfully. So this at least isn't a firefox-ci wide issue. My hunch is GCP, but I haven't tried connecting to any AWS pools to verify.

Blocks: 1785090
See Also: → 1786311
Summary: Gecko interactive tasks are unable to connect → Gecko interactive tasks are unable to connect (missing shell prompt)
Severity: -- → S3
Priority: -- → P3

Workaround:

  1. Start the interactive task shell.
  2. Press F12 to open the browser console.
  3. Go to the console tab.
  4. Open the wss:// link in a browser tab of which it states that it is failing due to an untrusted cert, but make it https://
  5. Trust the certificate
  6. Refresh the page with the shell.
Depends on: 1785152

Just to summarize what happened here, the livelog cert baked into the GCP image is outdated and the interactive feature apparently uses the same certificate. So this did regress when Michelle and I migrated tasks over to GCP. Bug 1785152 tracks updating the certificate in the GCP image, so when that is fixed, interactive tasks should magically work again. In the meantime, the workaround from comment 2 should be "good enough".

I'll leave this bug open (even though no action will be taken here) in case others happen to come looking for an existing bug.

See Also: → 1768865
Depends on: 1768865
No longer depends on: 1785152
See Also: 1768865

This should be fixed now.

I've tried to run a Mn job on a Linux machine and I can indeed get access to the shell again. \o/

Thanks a lot for fixing that Michelle!

Assignee: nobody → mgoossens
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.