Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix podman version check #7010

Conversation

feloy
Copy link
Contributor

@feloy feloy commented Jul 31, 2023

What type of PR is this:

/kind bug

What does this PR do / why we need it:

There was a problem with the previous implementation; cmd.Wait() and reading the stdout pipe were executed in parallel, but because cmd.Wait() closes the std pipes before to return, this can make the reading of the pipe fail.

Which issue(s) this PR fixes:

Fixes #6956

PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

How to test changes / Special notes to the reviewer:

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 31, 2023
@feloy feloy requested a review from rm3l July 31, 2023 14:51
@netlify
Copy link

netlify bot commented Jul 31, 2023

Deploy Preview for odo-docusaurus-preview canceled.

Name Link
🔨 Latest commit 9953961
🔍 Latest deploy log https://app.netlify.com/sites/odo-docusaurus-preview/deploys/64c8d7738c429700085899bf

@openshift-ci openshift-ci bot requested a review from kadel July 31, 2023 14:52
@odo-robot
Copy link

odo-robot bot commented Jul 31, 2023

NoCluster Tests on commit 1ee9690 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jul 31, 2023

OpenShift Unauthenticated Tests on commit 1ee9690 finished successfully.
View logs: TXT HTML

@feloy feloy removed the request for review from kadel July 31, 2023 14:59
@odo-robot
Copy link

odo-robot bot commented Jul 31, 2023

Unit Tests on commit 1ee9690 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jul 31, 2023

Validate Tests on commit 1ee9690 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jul 31, 2023

Kubernetes Tests on commit 1ee9690 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jul 31, 2023

Windows Tests (OCP) on commit 1ee9690 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jul 31, 2023

OpenShift Tests on commit 1ee9690 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Jul 31, 2023

Kubernetes Docs Tests on commit 3cb1f5c finished successfully.
View logs: TXT HTML

pkg/podman/version.go Outdated Show resolved Hide resolved
@feloy feloy requested a review from rm3l August 1, 2023 08:54
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Aug 1, 2023
@rm3l rm3l added area/odo-on-podman Issues or PRs related to running odo against Podman area/dev Issues or PRs related to `odo dev` labels Aug 1, 2023
@feloy feloy closed this Aug 1, 2023
@feloy feloy reopened this Aug 1, 2023
@feloy feloy closed this Aug 1, 2023
@feloy feloy reopened this Aug 1, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@openshift-merge-robot openshift-merge-robot merged commit 3cb1f5c into redhat-developer:main Aug 1, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dev Issues or PRs related to `odo dev` area/odo-on-podman Issues or PRs related to running odo against Podman kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

odo is unable to get podman version and fails
3 participants