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

Close the streams after getting gcloud auth token #2084

Merged
merged 1 commit into from
Sep 15, 2019
Merged

Conversation

IronPan
Copy link
Member

@IronPan IronPan commented Sep 11, 2019

Error message saw in some cases

/tmpfs/BUILD_ENV/lib/python3.5/site-packages/kfp/_auth.py:34: ResourceWarning: unclosed file <_io.TextIOWrapper name=6 encoding='UTF-8'>
  return os.popen('gcloud auth print-access-token').read().rstrip()


This change is Reviewable

Error message saw in some cases
```
/tmpfs/BUILD_ENV/lib/python3.5/site-packages/kfp/_auth.py:34: ResourceWarning: unclosed file <_io.TextIOWrapper name=6 encoding='UTF-8'>
  return os.popen('gcloud auth print-access-token').read().rstrip()

```
@IronPan
Copy link
Member Author

IronPan commented Sep 11, 2019

/assign @Ark-kun @hongye-sun

@IronPan
Copy link
Member Author

IronPan commented Sep 11, 2019

/retest

2 similar comments
@IronPan
Copy link
Member Author

IronPan commented Sep 11, 2019

/retest

@IronPan
Copy link
Member Author

IronPan commented Sep 11, 2019

/retest

@Ark-kun
Copy link
Contributor

Ark-kun commented Sep 11, 2019

/lgtm
/approve

@Ark-kun Ark-kun changed the title close the thread to get gcloud auth token Close the streams after getting gcloud auth token Sep 13, 2019
@Ark-kun
Copy link
Contributor

Ark-kun commented Sep 13, 2019

/cc @jlewi

@k8s-ci-robot k8s-ci-robot requested a review from jlewi September 13, 2019 20:26
@jlewi
Copy link
Contributor

jlewi commented Sep 15, 2019

@Ark-kun Was there something particular you wanted me to look at?

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun, jlewi

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:

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

@IronPan
Copy link
Member Author

IronPan commented Sep 15, 2019

only the postsubmit tests are failing.

@IronPan IronPan merged commit fb9eb2d into master Sep 15, 2019
@IronPan IronPan deleted the IronPan-patch-4 branch September 19, 2019 05:34
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
ModelMesh needs specific fields to convey predictor status information.
This commit introduces a new ModelStatus object to contain these fields.

Signed-off-by: Paul Van Eck <[email protected]>
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.

5 participants