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

[WIP] log untar errors #992

Closed
wants to merge 5 commits into from

Conversation

BenTheElder
Copy link
Member

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 22, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BenTheElder

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 22, 2019
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 22, 2019
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 22, 2019
@BenTheElder
Copy link
Member Author

/test all

@@ -130,6 +129,11 @@ func Collect(nodes []nodes.Node, dir string) error {
// untar reads the tar file from r and writes it into dir.
func untar(r io.Reader, dir string) (err error) {
tr := tar.NewReader(r)
defer func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

is this really needed? is is possible this func returns without error?

Copy link
Member Author

Choose a reason for hiding this comment

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

The WIP is to prevent merge. This PR is just being used to obtain debugging information versus trying to trigger this failure mode locally because CI will run many jobs at once for me :-)

Copy link
Member Author

Choose a reason for hiding this comment

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

(also that's why it checks if err != nil)

@BenTheElder
Copy link
Member Author

/test all

1 similar comment
@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/test all
of course now it won't happen 🙃

@BenTheElder
Copy link
Member Author

/test all

7 similar comments
@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/test all

@aojea
Copy link
Contributor

aojea commented Oct 24, 2019

/test all

@aojea
Copy link
Contributor

aojea commented Oct 24, 2019

/test all

@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/retest

@BenTheElder
Copy link
Member Author

/test all

1 similar comment
@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/test all

3 similar comments
@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/test all

2 similar comments
@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

/test all

@BenTheElder
Copy link
Member Author

#1014

@BenTheElder BenTheElder deleted the debug-tar branch October 26, 2019 06:57
@aojea
Copy link
Contributor

aojea commented Oct 26, 2019

Why is the pipe closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants