kubevirt / kubevirtci

Contains cluster definitions and client tools to quickly spin up and destroy ephemeral and scalable k8s and ocp clusters for testing
Apache License 2.0
79 stars 118 forks source link

Opts package #1217

Closed aerosouund closed 2 weeks ago

aerosouund commented 2 months ago

What this PR does / why we need it:

Replace all bash script calls in the run command with the golang native opts package

Part of: #1110

Special Notes This branch is based off library-based-ssh. PR: #1209 it introduces the same commits but after library based ssh gets merged it will only introduce commits of the opts package

Checklist

Release note:

Move bash scripts to the gocli
aerosouund commented 3 weeks ago

@dhiller apologies, i pushed code to address this and didn't see you requested a test

please rerequest

dhiller commented 3 weeks ago

/test all

kubevirt-bot commented 3 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhiller, xpivarc

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

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubevirt/kubevirtci/blob/main/OWNERS)~~ [dhiller,xpivarc] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
dhiller commented 3 weeks ago

/test check-provision-k8s-1.29 /test check-provision-k8s-1.30 /test check-provision-k8s-1.31

dhiller commented 3 weeks ago

/unhold

xpivarc commented 3 weeks ago

/lgtm

kubevirt-bot commented 3 weeks ago

@aerosouund: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
check-up-kind-1.30-vgpu 6fae0987ec998e9f1fb47c9dd201fa3c5b3aba1c link false /test check-up-kind-1.30-vgpu
check-up-kind-1.27-vgpu 6fae0987ec998e9f1fb47c9dd201fa3c5b3aba1c link false /test check-up-kind-1.27-vgpu
Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
kubevirt-commenter-bot commented 2 weeks ago

/retest-required This bot automatically retries required jobs that failed/flaked on approved PRs. Silence the bot with an /lgtm cancel or /hold comment for consistent failures.

brianmcarey commented 2 weeks ago

It looks like we are hitting issues with cluster-up since this PR was merged - https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12677/pull-kubevirt-e2e-k8s-1.29-sig-storage/1828330116103540736#1:build-log.txt%3A327

https://github.com/kubevirt/kubevirt/pull/12677

aerosouund commented 2 weeks ago

@brianmcarey this is fixed in #1255 please take a look at it

this is concerning the issue with the storage lane, for the others is this a flake or also related to this PR ?

aerosouund commented 2 weeks ago

we also added #1253 for quicker detection of such issues in the future, this script is meant to run as a CI lane on kubevirt CI

aerosouund commented 2 weeks ago

@brianmcarey: https://github.com/kubevirt/kubevirtci/pull/1258 here's the fix :)

brianmcarey commented 1 week ago

@aerosouund - there looks to be some issue with the istio deployment that is being picked up by the network lanes on the bump kubevirtci PR - https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12677/pull-kubevirt-e2e-k8s-1.31-sig-network/1829308375628779520

aerosouund commented 1 week ago

checking

aerosouund commented 1 week ago

FIX: https://github.com/kubevirt/kubevirtci/pull/1262