Skip to content

kola: Test interactive ISO login without networking#1330

Merged
openshift-merge-robot merged 1 commit intocoreos:masterfrom
cgwalters:testiso-nonet-interactive
Apr 13, 2020
Merged

kola: Test interactive ISO login without networking#1330
openshift-merge-robot merged 1 commit intocoreos:masterfrom
cgwalters:testiso-nonet-interactive

Conversation

@cgwalters
Copy link
Copy Markdown
Member

@cgwalters cgwalters commented Apr 8, 2020

I initially thought we could just scrape the text serial
console but the ISO doesn't output there by default cry

Instead, this now depends on coreos/fedora-coreos-config#339

@cgwalters
Copy link
Copy Markdown
Member Author

OK, tested and working in concert with coreos/fedora-coreos-config#339 !

@cgwalters cgwalters changed the title WIP: Testiso nonet interactive kola: Test interactive ISO login without networking Apr 8, 2020
Comment thread mantle/cmd/kola/testiso.go
Comment thread mantle/platform/qemu.go
}

// SerialPipe reads the serial console output into a pipe
func (builder *QemuBuilder) SerialPipe() (*os.File, error) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer used in this PR but I kept it because it'll surely be useful later.

@cgwalters
Copy link
Copy Markdown
Member Author

OK the only reason the test was passing here is I'd forgotten to add it to default scenario list. But now that coreos/fedora-coreos-config#339 has merged, let's give it a try.

(That said until we start pinning cosa in the FCOS pipeline this could start failing on the prod pipelines that won't have that change)

I initially thought we could just scrape the text serial
console but the ISO doesn't output there by default 😢

Instead, this now depends on coreos/fedora-coreos-config#339
@cgwalters cgwalters force-pushed the testiso-nonet-interactive branch from 024ae70 to 64bd888 Compare April 9, 2020 21:07
@cgwalters
Copy link
Copy Markdown
Member Author

Successfully tested scenario:iso-live-login for 31.20200409.dev.0 on uefi (metal4k)

🎉

Comment thread mantle/cmd/kola/testiso.go
@ashcrow
Copy link
Copy Markdown
Member

ashcrow commented Apr 13, 2020

/lgtm

@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ashcrow, cgwalters

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 3d5a5f4 into coreos:master Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants